- To put footnotes in captions begin{figure}
\begin{minipage}{\textwidth}
...
caption[Caption for LOF]%
{Real caption\footnote{blah}}
\end{minipage}
end{figure}
- To make a PDF copy of your webpage created with Latex. It helps if in the preamble of the website, one offers direct access to pdf copy of the text. Some people like to print out some guidelines or save them for future reference, and pdf is well suited for those purposes. to do that just add: It can be also downloaded in PDF form from:
\begin{rawhtml}
<a href="latex_tricks.pdf">here.</a>
\end{rawhtml}
- Double link. While preparing both pdf and on-line version is fine, preparing external / internal links is extremely time consuming. To save on time, just add the following to the preamble of your TEX document.
\newcommand{\latexlink}[2]{
}
\newcommand{\htmllink}[2]{
\htmlonly
\HTMLcode[href="#1"]{A}{#2}
\endhtmlonly
}
\newcommand{\bothlink}[2]{
\latexhtml{\latexlink{#2}{#1}}{\htmllink{#1}{#2}}
}
Now to get a link both in pdf and html version simply do:
\bothlink{Name}{<URL>}
- To ensure that the resulting webpage is valid HTML 3.2. add to the preamble of the LATEX document
\usepackage[OT4]{fontenc}
\usepackage[latin2]{inputenc}