tccv

tccv Commit Details

Date:2015-08-23 15:06:03 (3 years 10 months ago)
Author:Johannes Böttcher
Branch:master
Commit:201d5df40596e2fa11e403b5bf475d17c6f277d7
Parents: 85ff11b991bf36acf04f3cb5f8072726b222f887
Message:biblatex compat

Changes:
Mtccv.cls (2 diffs)

File differences

tccv.cls
8383
8484
8585
86
86
8787
8888
8989
9090
9191
9292
93
93
9494
9595
9696
......
180180
181181
182182
183
184
185
186
187
188
189
183190
184191
% Overrides the \section command to capitalize every
% word for cosmetic purposes and draws a rule under it.
\makeatletter
%\makeatletter
\let\old@section\section
\renewcommand\section[2][]{%
\old@section[#1]{\ucwords{#2}}%
\newdimen\raising%
\raising=\dimexpr-0.7\baselineskip\relax%
\vskip\raising\hrule height 0.4pt\vskip-\raising}
\makeatother
%\makeatother%What the fuck??
% Allow conditionals based on the job name. This can usually be set
% from a command-line argument: check fausto.en.tex for an example.
% http://tex.stackexchange.com/questions/223607/does-the-bibliography-command-specify-a-section-anywhere
\KOMAoption{bibliography}{totocnumbered}
\AtEndPreamble{%
\@ifpackageloaded{biblatex}{%
\defbibheading{bibliography}[\refname]{%
\section{#1}%
}%
}{}%
}
%%
%% End of file `tccv.cls'.

Archive Download the corresponding diff file

Branches