mirror of
https://github.com/vale981/Lab_Report_LaTeX
synced 2025-03-04 16:41:38 -05:00
add reference customizations
This commit is contained in:
parent
878e91abf3
commit
34560040ff
1 changed files with 7 additions and 3 deletions
|
@ -10,9 +10,14 @@
|
|||
\RequirePackage{float}%
|
||||
\RequirePackage{kvoptions}
|
||||
\RequirePackage{booktabs}
|
||||
\RequirePackage{fncylab}
|
||||
\RequirePackage[automark,headsepline]{scrpage2}
|
||||
\KOMAoptions{DIV=14}
|
||||
|
||||
\labelformat{section}{section #1}
|
||||
\labelformat{figure}{figure #1}
|
||||
\labelformat{table}{table #1}
|
||||
|
||||
\newcommand{\headsection}{\leftmark}
|
||||
\newcommand{\ifset}[2]{\ifx {#1} \empty\else\ {#2}\fi}
|
||||
\deftripstyle{pagestyle}
|
||||
|
@ -21,13 +26,12 @@
|
|||
{\pagemark}
|
||||
{}
|
||||
{\headsection}
|
||||
{\pagemark}
|
||||
{\@author}
|
||||
{\@title\ifset{\lab@slug}{(\lab@slug)}}
|
||||
{\@author}
|
||||
{\pagemark}
|
||||
\pagestyle{pagestyle}
|
||||
\setlength\parindent{0pt} % Removes all indentation from paragraphs
|
||||
|
||||
\renewcommand{\labelenumi}{\alph{enumi}.}
|
||||
\SetupKeyvalOptions{family=lab,prefix=lab@}
|
||||
|
||||
\DeclareStringOption{slug}
|
||||
|
|
Loading…
Add table
Reference in a new issue