30 lines
737 B
TeX
30 lines
737 B
TeX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% Configuration, definitions and macros
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% Units
|
|
%% time
|
|
\DeclareSIUnit\day{d}
|
|
\DeclareSIUnit\year{yr}
|
|
\DeclareSIUnit\ka{ka}
|
|
\DeclareSIUnit\Ma{Ma}
|
|
\DeclareSIUnit\Ga{Ga}
|
|
|
|
%% Geochemistry
|
|
\DeclareSIUnit\wperc{wt\%}
|
|
|
|
% German specs for siunitx
|
|
\sisetup{
|
|
separate-uncertainty=true,
|
|
multi-part-units=single,
|
|
range-phrase={--},
|
|
%% Decimalseparator is a comma
|
|
output-decimal-marker={,},
|
|
% repeatunits = false,
|
|
locale=DE
|
|
}
|
|
|
|
% Page configurations, KOMA-Script
|
|
%% Use dashes before and after page number
|
|
\renewcommand\pagemark{{\usekomafont{pagenumber}--\ \thepage\ --}}
|