Group ref commands
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
%% Citations and references
|
||||
\newcommand{\citeauthorcite}[1]{\citeauthor*{#1}~\cite{#1}}
|
||||
|
||||
\newcommand{\secref}[1]{Sec.~\ref{sec:#1}}
|
||||
|
||||
|
||||
%% Figures
|
||||
% example: \fig[1]{universe}{The Universe}[Short title for list of figures]
|
||||
@@ -43,9 +41,6 @@
|
||||
\end{figure*}%
|
||||
}
|
||||
|
||||
\newcommand{\figref}[1]{Fig.~\ref{fig:#1}}
|
||||
|
||||
|
||||
%% Sub-figures
|
||||
% example:
|
||||
% \begin{subfigs}{label}{Title}[Short title for list of figures]
|
||||
@@ -114,8 +109,6 @@
|
||||
|
||||
|
||||
%% Maths
|
||||
\renewcommand{\eqref}[1]{Eq.~\ref{eq:#1}}
|
||||
|
||||
\newcommand{\measure}[3]{$\mathrm{#1} = \qty{#2}{#3}$}
|
||||
|
||||
\newcommand{\chisqr}[3]{$\chi^2(#1, N=#2) = #3$}
|
||||
@@ -168,6 +161,13 @@
|
||||
}
|
||||
|
||||
|
||||
%% References
|
||||
\renewcommand{\eqref}[1]{Eq.~\ref{\labelprefix:eq:#1}}
|
||||
\newcommand{\figref}[1]{Fig.~\ref{\labelprefix:fig:#1}}
|
||||
\newcommand{\secref}[1]{Sec.~\ref{\labelprefix:sec:#1}}
|
||||
\newcommand{\tabref}[1]{Table~\ref{\labelprefix:tab:#1}}
|
||||
|
||||
|
||||
%% Structure
|
||||
\newcommand{\chapterstartoc}[1]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}}
|
||||
\newcommand{\chapterstarbookmark}[1]{\pdfbookmark[chapter]{#1}{#1}\chapter*{#1}}
|
||||
@@ -213,7 +213,9 @@
|
||||
|
||||
\newcommand{\tabrow}[1]{#1 \\ \hline}
|
||||
|
||||
\newcommand{\tabref}[1]{Table~\ref{tab:#1}}
|
||||
|
||||
%% Other
|
||||
\newcommand{\hline}{\par\noindent\rule{\textwidth}{0.4pt}} % Horizontal line
|
||||
|
||||
|
||||
%% User studies
|
||||
|
||||
Reference in New Issue
Block a user