Answers for "Comment only a portion of text in LaTeX"

0

Comment only a portion of text in LaTeX

\documentclass{article}
\begin{document}

I like bacon, sausage,
% pork chops,
and ham.

% Note to self... try pork chops

\end{document}
Posted by: Guest on June-14-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