mirror of
https://github.com/vale981/Lab_Report_LaTeX
synced 2025-03-05 09:01:39 -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{float}%
|
||||||
\RequirePackage{kvoptions}
|
\RequirePackage{kvoptions}
|
||||||
\RequirePackage{booktabs}
|
\RequirePackage{booktabs}
|
||||||
|
\RequirePackage{fncylab}
|
||||||
\RequirePackage[automark,headsepline]{scrpage2}
|
\RequirePackage[automark,headsepline]{scrpage2}
|
||||||
\KOMAoptions{DIV=14}
|
\KOMAoptions{DIV=14}
|
||||||
|
|
||||||
|
\labelformat{section}{section #1}
|
||||||
|
\labelformat{figure}{figure #1}
|
||||||
|
\labelformat{table}{table #1}
|
||||||
|
|
||||||
\newcommand{\headsection}{\leftmark}
|
\newcommand{\headsection}{\leftmark}
|
||||||
\newcommand{\ifset}[2]{\ifx {#1} \empty\else\ {#2}\fi}
|
\newcommand{\ifset}[2]{\ifx {#1} \empty\else\ {#2}\fi}
|
||||||
\deftripstyle{pagestyle}
|
\deftripstyle{pagestyle}
|
||||||
|
@ -21,13 +26,12 @@
|
||||||
{\pagemark}
|
{\pagemark}
|
||||||
{}
|
{}
|
||||||
{\headsection}
|
{\headsection}
|
||||||
{\pagemark}
|
|
||||||
{\@author}
|
|
||||||
{\@title\ifset{\lab@slug}{(\lab@slug)}}
|
{\@title\ifset{\lab@slug}{(\lab@slug)}}
|
||||||
|
{\@author}
|
||||||
|
{\pagemark}
|
||||||
\pagestyle{pagestyle}
|
\pagestyle{pagestyle}
|
||||||
\setlength\parindent{0pt} % Removes all indentation from paragraphs
|
\setlength\parindent{0pt} % Removes all indentation from paragraphs
|
||||||
|
|
||||||
\renewcommand{\labelenumi}{\alph{enumi}.}
|
|
||||||
\SetupKeyvalOptions{family=lab,prefix=lab@}
|
\SetupKeyvalOptions{family=lab,prefix=lab@}
|
||||||
|
|
||||||
\DeclareStringOption{slug}
|
\DeclareStringOption{slug}
|
||||||
|
|
Loading…
Add table
Reference in a new issue