Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
LaTeX tips and tricks | ||||||||
Line: 190 to 190 | ||||||||
\begin{theorem}...repeated theorem...\end{theorem} \setcounter{theorem}{\value{thmbackup}} | ||||||||
Added: | ||||||||
> > | %% Define a new style for URLs that will use a smaller font. %% use a different one for footnotes (requires manual switching) \makeatletter \def\url@newstyle{% \@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\ttfamily}}} \def\url@newFNstyle{% \@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\scriptsize\ttfamily}}} \makeatother \urlstyle{new} %% then in a footnote: \footnote{\urlstyle{newFN}\url{http://whatever.com}\urlstyle{new} is worth checking out.} | |||||||