top of page

Some LaTeX tips to improve productivity

I have found these useful LaTeX packages and commands in the internet and decided to put them in one place for future use.

1. Clever cross references

In the past I had to use, e.g, Fig.~\ref{fig1} to refer to the figure whose label is fig1. In a similar manner, Eq.~\ref{eq1} to the equation of which label is eq1. With the cleveref package, things are much simplified. The usage is simple:

In the preamble, put the following

\usepackage[capitalise]{cleveref}

\crefname{figure}{Fig.}{Figs.}

\crefname{equation}{Equation}{Equations}

Then, some examples are

\cref{fig1}

2. Todo list

\usepackage[textsize=tiny]{todonotes}

\listoftodos

\todo{This way of H0 does not work with the cubic degradation function!!!}


Featured Posts
Recent Posts
Archive
Search By Tags
No tags yet.
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page