mirror of
https://github.com/vale981/Lab_Report_LaTeX
synced 2025-03-04 16:41:38 -05:00
switch between slug and title in footer
This commit is contained in:
parent
281dcb4bd8
commit
bc42f5fa1d
1 changed files with 2 additions and 1 deletions
|
@ -36,13 +36,14 @@
|
||||||
\newcolumntype{L}{>{\(}l<{\)}} % math-mode version of "l" column type
|
\newcolumntype{L}{>{\(}l<{\)}} % math-mode version of "l" column type
|
||||||
\newcommand{\headsection}{\leftmark}
|
\newcommand{\headsection}{\leftmark}
|
||||||
\newcommand{\ifset}[2]{\ifx {#1} \empty\else\ {#2}\fi}
|
\newcommand{\ifset}[2]{\ifx {#1} \empty\else\ {#2}\fi}
|
||||||
|
\newcommand{\ifsetelse}[3]{\ifx {#1} \empty {#3}\else\ {#2}\fi}
|
||||||
\deftripstyle{pagestyle}
|
\deftripstyle{pagestyle}
|
||||||
[0.3pt]
|
[0.3pt]
|
||||||
[0.3pt]
|
[0.3pt]
|
||||||
{\pagemark}
|
{\pagemark}
|
||||||
{}
|
{}
|
||||||
{\headsection}
|
{\headsection}
|
||||||
{\@title\ifset{\lab@slug}{(\lab@slug)}}
|
{\ifsetelse{\lab@slug}{\lab@slug}{\@title}}
|
||||||
{\@author}
|
{\@author}
|
||||||
{\pagemark}
|
{\pagemark}
|
||||||
\pagestyle{pagestyle}
|
\pagestyle{pagestyle}
|
||||||
|
|
Loading…
Add table
Reference in a new issue