some minore changes

main
Sebastian Preisner 3 years ago
parent cb8725a036
commit 5538cddf72

@ -179,14 +179,40 @@ $endif$
\usepackage[T1]{fontenc}
$if(csl-refs)$
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
\newenvironment{cslreferences}%
{$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
{\par}
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
\newlength{\csllabelwidth}
\setlength{\csllabelwidth}{3em}
\newlength{\cslentryspacingunit} % times entry-spacing
\setlength{\cslentryspacingunit}{\parskip}
\newenvironment{CSLReferences}[2] % #1 hanging-ident, #2 entry spacing
{% don't indent paragraphs
\setlength{\parindent}{0pt}
% turn on hanging indent if param 1 is 1
\ifodd #1
\let\oldpar\par
\def\par{\hangindent=\cslhangindent\oldpar}
\fi
% set entry spacing
%\setlength{\parskip}{#2\cslentryspacingunit}
}%
{\par}
\usepackage{calc}
\newcommand{\CSLBlock}[1]{#1\hfill\break}
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{#1}}
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}\break}
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
$endif$
%$if(csl-refs)$
%\newlength{\cslhangindent}
%\setlength{\cslhangindent}{1.5em}
%\newenvironment{CSLReferences}%
% {$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
% \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
% {\par}
%$endif$
$if(numbersections)$
\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
$else$
@ -375,32 +401,70 @@ $endif$
$body$
% ----------------------------------------------------------------------------------------------------------
% Literatur
% ----------------------------------------------------------------------------------------------------------
$if(biblatex)$
\pagebreak
\lhead{}
\rhead{QUELLENVERZEICHNIS} %hier kann die rechte Seite der Kopfzeile editiert werden!
\renewcommand{\refname}{Quellenverzeichnis}
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
\pagebreak
$endif$
$if(natbib)$
$if(bibliography)$
\pagebreak
\lhead{}
\rhead{QUELLENVERZEICHNIS} %hier kann die rechte Seite der Kopfzeile editiert werden!
\renewcommand{\refname}{Quellenverzeichnis}
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
$endif$
$if(bibliography)$
$if(biblio-title)$
$if(has-chapters)$
\renewcommand\bibname{$biblio-title$}
$else$
\renewcommand\refname{$biblio-title$}
$endif$
$endif$
$if(beamer)$
\begin{frame}[allowframebreaks]{$biblio-title$}
\bibliographytrue
$endif$
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
$if(beamer)$
\end{frame}
$endif$
$endif$
$endif$
$if(csl-refs)$
\lhead{}
\rhead{QUELLENVERZEICHNIS} %hier kann die rechte Seite der Kopfzeile editiert werden!
$if(biblatex)$
$if(beamer)$
\begin{frame}[allowframebreaks]{$biblio-title$}
\bibliographytrue
\printbibliography[heading=none]
\end{frame}
$else$
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
$endif$
$endif$
$for(include-after)$
$include-after$
$endfor$
%$if(biblatex)$
% \pagebreak
% \lhead{}
% \rhead{QUELLENVERZEICHNIS} %hier kann die rechte Seite der Kopfzeile editiert werden!
% \renewcommand{\refname}{Quellenverzeichnis}
% \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
% \pagebreak
%$endif$
%$if(natbib)$
% $if(bibliography)$
% \pagebreak
% \lhead{}
% \rhead{QUELLENVERZEICHNIS} %hier kann die rechte Seite der Kopfzeile editiert werden!
% \renewcommand{\refname}{Quellenverzeichnis}
% \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
% $endif$
%$endif$
%$if(csl-refs)$
% \pagebreak
%\lhead{}
%\rhead{QUELLENVERZEICHNIS} %hier kann die rechte Seite der Kopfzeile editiert werden!
%\renewcommand{\refname}{Quellenverzeichnis}
%$endif$
%$if(biblatex)$
% ----------------------------------------------------------------------------------------------------------

Loading…
Cancel
Save