Skip to content

Commit

Permalink
Introduce \autonameref for combination of \autoref and \nameref
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Apr 30, 2020
1 parent 30aa85a commit e3b8390
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
% Formatting of table headings.
\newcommand{\tablehead}[1]{\textit{#1}}

\newcommand{\autonameref}[1]{\autoref{#1}~\emph{\nameref*{#1}}}

\setcounter{secnumdepth}{5}
% Note: Toc changed for appendex
\setcounter{tocdepth}{1}
Expand Down

0 comments on commit e3b8390

Please sign in to comment.