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.sty41
1 files changed, 4 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty b/Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty
index 283fd6f4a42..44a8407f99f 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) 2010 André Miede http://www.miede.de
+% Copyright (C) 2011 Andr\'e 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}[2010/05/01 v2.8 Package Loader for Classic Thesis Style]
+\ProvidesPackage{classicthesis-ldpkg}[2011/01/24 v2.9 Package Loader for Classic Thesis Style]
\@ifpackageloaded{classicthesis}%
{\PackageWarningNoLine{classicthesis-ldpkg}{Package "classicthesis" should be loaded AFTER "classicthesis-ldpkg".}}%
@@ -36,9 +36,7 @@
% Options
% ********************************************************************
\RequirePackage{ifthen}
- \newboolean{cld@nochapters} % disable all chapter-specific commands
\newboolean{cld@backref} % enable backrefs in the bibliography
-\DeclareOption{nochapters}{\setboolean{cld@nochapters}{true}}
\DeclareOption{backref}{\setboolean{cld@backref}{true}}
\ProcessOptions\relax
@@ -100,39 +98,8 @@
% ********************************************************************
% fine typesetting of code listings
-\RequirePackage{listings}
-
-% ********************************************************************
-% caption numbering now w/o chapter number
-\RequirePackage{remreset}
- \makeatletter
- \ifthenelse{\boolean{cld@nochapters}}%
- {\relax}{%
- \@removefromreset{table}{chapter} % requires remreset package
- }
- \renewcommand{\thetable}{\arabic{table}}
- \makeatother
- \makeatletter
- \ifthenelse{\boolean{cld@nochapters}}%
- {\relax}{%
- \@removefromreset{figure}{chapter} % requires remreset package
- }
- \renewcommand{\thefigure}{\arabic{figure}}
- \makeatother
-% \makeatletter
-% \@ifpackageloaded{listings}{%
-% \ifthenelse{\boolean{cld@nochapters}}%
-% {\relax}{%
-% \@removefromreset{lstlisting}{chapter}% requires remreset package
-% %\@removefromreset{listings}{chapter}% requires remreset package
-% }
-% \AtBeginDocument{%
-% \renewcommand{\thelstlisting}{\arabic{lstlisting}}% % <-- might cause an error with some TeX distributions
-% \renewcommand{\thelistings}{\arabic{listings}}% % <-- might cause an error with some TeX distributions
-% }%
-% }{\relax}
-% \makeatother
-
+%\RequirePackage{listings}
+
% ********************************************************************
% enable subfigures in figures
\RequirePackage{subfig}