summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty')
-rw-r--r--Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty21
1 files changed, 12 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty b/Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty
index dd1b9f9a85a..abbff96099f 100644
--- a/Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty
+++ b/Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty
@@ -1,7 +1,7 @@
% ********************************************************************
% classicthesis-ldpkg.sty (formerly known as loadpackages.sty)
%
-% Copyright (C) 2007 André Miede http://www.miede.de
+% Copyright (C) 2008 André Miede http://www.miede.de
%
% If you like the style then I would appreciate a postcard. My address
% can be found in the file ClassicThesis.pdf. A collection of the
@@ -26,7 +26,7 @@
%
% ********************************************************************
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{classicthesis-ldpkg}[2007/11/01 v2.3 Package Loader for Classic Thesis Style]
+\ProvidesPackage{classicthesis-ldpkg}[2008/10/01 v2.5 Package Loader for Classic Thesis Style]
\@ifpackageloaded{classicthesis}%
{\PackageWarningNoLine{classicthesis-ldpkg}{Package "classicthesis" should be loaded AFTER "classicthesis-ldpkg".}}%
@@ -36,8 +36,8 @@
% Options
% ********************************************************************
\RequirePackage{ifthen}
- \newboolean{@nochapters} % disable all chapter-specific commands
-\DeclareOption{nochapters}{\setboolean{@nochapters}{true}}
+ \newboolean{cld@nochapters} % disable all chapter-specific commands
+\DeclareOption{nochapters}{\setboolean{cld@nochapters}{true}}
\ProcessOptions\relax
% ********************************************************************
@@ -50,8 +50,7 @@
\RequirePackage{tabularx} % better tables
\RequirePackage{mparhack} % get marginpar right
\RequirePackage{fixltx2e} % fixes some LaTeX stuff
-%\RequirePackage{ellipsis} % ... ;-)
-\RequirePackage[fleqn]{amsmath} % math environments and more by the AMS
+%\RequirePackage{ellipsis} % ... ;-)
\RequirePackage{relsize} % scale font up or down
\RequirePackage[smaller]{acronym} % nice macros for handling all acronyms in the thesis
\renewcommand{\bflabel}[1]{{#1}\hfill} % fix the list of acronyms
@@ -78,7 +77,11 @@
\newcommand{\system}[1]{\emph{#1}}
\newcommand{\person}[1]{#1}
\newcommand{\term}[1]{\emph{#1}}
-\newcommand{\cauthor}[1]{\person{\citeauthor{#1}}}
+\newcommand{\cauthor}[1]{\relax}
+\@ifpackageloaded{natbib}%
+ {\renewcommand{\cauthor}[1]{\person{\citeauthor{#1}}}%
+ }{\PackageWarningNoLine{classicthesis-ldpk}{Package "natbib" not loaded, %
+ command "cauthor" will not work.}}
\newcommand{\tableheadline}[1]{\multicolumn{1}{c}{\spacedlowsmallcaps{#1}}}
% ********************************************************************
\newcommand{\RA}{\ensuremath{\Rightarrow}}
@@ -96,14 +99,14 @@
% caption numbering now w/o chapter number
\RequirePackage{remreset}
\makeatletter
- \ifthenelse{\boolean{@nochapters}}%
+ \ifthenelse{\boolean{cld@nochapters}}%
{\relax}{%
\@removefromreset{table}{chapter} % requires remreset package
}
\renewcommand{\thetable}{\arabic{table}}
\makeatother
\makeatletter
- \ifthenelse{\boolean{@nochapters}}%
+ \ifthenelse{\boolean{cld@nochapters}}%
{\relax}{%
\@removefromreset{figure}{chapter} % requires remreset package
}