Answers for "how to add a comment in latex"

1

latex long comments

documentclass{article}
usepackage{verbatim}	%You can use long comments from this package
begin{document}
    This text will be displayed
begin{comment}
    This text will not be displayed.
end{comment}
end{document}
Posted by: Guest on March-19-2021
0

Comment only a portion of text in LaTeX

newcommand{cmmnt}[1]{}
...
begin{document}

Hello cmmnt{commented text} bye.

end{document}
Posted by: Guest on June-14-2021

Browse Popular Code Answers by Language