Skip to content
Snippets Groups Projects
Commit 455a87ab authored by Karl Fogel's avatar Karl Fogel
Browse files

Supply the \fullref command

We had been repeating this command definition in the preamble of all
our LaTeX documents; now we don't have to do that anymore.
parent 3c12210f
No related branches found
No related tags found
No related merge requests found
......@@ -165,11 +165,6 @@
\let\thesection\oldthesection
}
% Use this to refer to a [sub[sub]]section from elsewhere,
% assuming you want to include both its number and its name.
\newcommand{\fullref}[1]{%
\ref{#1}~``\nameref{#1}''}
% Rename the table of contents label
\renewcommand*\contentsname{\vspace{-1em}}
......
......@@ -49,6 +49,11 @@
\newcommand{\filespec}[1]{%
\textit{\href{}{\replace{#1}{/}{/\allowbreak }}}\xspace}
% Use this to refer to a [sub[sub]]section from elsewhere,
% assuming you want to include both its number and its name.
\newcommand{\fullref}[1]{%
\ref{#1}~``\nameref{#1}''}
% Use this for including source references that you don't want to
% include in the output, for example the unique codes used by
% `ots-set-ref' and `ots-find-ref' from ${OTSDIR}/utils/ots.el.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment