diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-27 19:02:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-27 19:02:15 +0000 |
commit | 957cdf929357b4c2fe6d581b81450567e2e792ea (patch) | |
tree | 70e4640c5e93c2411e82b7115e81e8db20700032 /Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty | |
parent | 2b311b90f06b68e1cb123c58c3b380ea6533eea0 (diff) |
classicthesis (25jan11)
git-svn-id: svn://tug.org/texlive/trunk@21196 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/classicthesis/classicthesis-ldpkg.sty | 41 |
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} |