Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
LaTeX tips and tricks | ||||||||
Line: 208 to 208 | ||||||||
\urlstyle{new} %% then in a footnote: \footnote{\urlstyle{newFN}\url{http://whatever.com}\urlstyle{new} is worth checking out.} | ||||||||
Added: | ||||||||
> > | %create a ref that takes the value of a counter. Use this to make a forward reference to a counter's value % %at the top: \newcounter{countsomething} This is my counter's final value: \ref{numsomething}. % %throughout, or hidden inside a repeatedly used macro: \addtocounter{countsomething}{1} % %at the end: \makeatletter% \immediate\write\@mainaux{% %use the following version if hyperref is being used \string\newlabel{numsomething}{{\arabic{countsomething}}{\arabic{page}}{}{}{}}% %use the following version if hyperref is not being used \string\newlabel{numsomething}{{\arabic{countsomething}}{\arabic{page}}}% }% \makeatother% | |||||||
Spacing displays |