Tuesday, December 11, 2012

How to use reference (cross-links) by their names

There are many ways to do this, see e.g. here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nameref

The way that works for me is the nameref command from within hyperref package. One possible usage is:
\section*{foo}
\label{sec:foo}
...
\nameref{sec:foo}

Monday, December 10, 2012

How to create an empty page in your document

Sometimes we need empty pages in our document, the easiest way to do this is:
\newpage
\mbox{}
\newpage

Also if different style to the empty page is needed the following code is working:
\newpage
\thispagestyle{empty}
\mbox{}
\newpage

 Source: http://nw360.blogspot.pt/2007/10/creat-empty-page-in-latex.html