Implement Latex Single Line Comment and Multiline Comment for Beginners – Latex Tutorial

By | October 22, 2019

When we are using latex to write our scholar, we have to add some comments. How to add single line comment and multiline comment in latex? In this tutorial, we will introduce to you how to add.

Implement Latex Single Line Comment and Multiline Comment

Add single line latex comment

As to single line comment, we can use % to add.

For example:

% this is a single line latex comment

Add multiline latex comment

To add multiline latex comments, we should add a verbatim package firstly.

\usepackage{verbatim}

Then add multiline comment.

\begin{comment}
this is a multiline latex comment
test.
You can add your own comment for this article.
\end{comment}

Leave a Reply

Your email address will not be published. Required fields are marked *