\newcommand{\etal}{\textit{et al}.}
\newcommand{\ie}{\textit{i}.\textit{e}.}
\newcommand{\eg}{\textit{e}.\textit{g}.}
latex
All posts tagged latex
There’s no block comment (like /* comment */ in c) for Latex source, which is unfortunate. Someone once suggested defining a custom Latex command that did nothing, and use that as a comment tool. This has been working well for me for a few years:
\newcommand{\comment}[1]{}
Use it like this:
\comment{stuff
that
should
be
commented
out}
While looking to put a tilde in my document (in my research group’s homepage URL) I found a variety of suggestions, most from this StackOveflow page. The best results were from this one:
{\raise.17ex\hbox{$\scriptstyle\sim$}}