From c979db647303dca4a7d30383e41061c765438db0 Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Wed, 26 Jun 2024 10:33:46 +0200 Subject: [PATCH] Style in commands --- utils/commands.tex | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/utils/commands.tex b/utils/commands.tex index aab34b1..12b902d 100644 --- a/utils/commands.tex +++ b/utils/commands.tex @@ -16,9 +16,11 @@ \newcommand{\vs}{\textit{vs.}\ } -%% Citations +%% 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] @@ -166,10 +168,6 @@ } -%% References -\newcommand{\secref}[1]{Sec.~\ref{sec:#1}} - - %% Structure \newcommand{\chapterstartoc}[1]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}} \newcommand{\chapterstarbookmark}[1]{\pdfbookmark[chapter]{#1}{#1}\chapter*{#1}}