summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/arsclassica
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-15 00:55:35 +0000
committerKarl Berry <karl@freefriends.org>2010-02-15 00:55:35 +0000
commitff198a8364721065d384ac0d68d26082b530c670 (patch)
treecd54fe960a0589f1cd677a96e933b6e60af0cac0 /Master/texmf-dist/tex/latex/arsclassica
parent2a16b7bd855d23f95f42674847bfa09b8a8cfe84 (diff)
arsclassica update (14feb10)
git-svn-id: svn://tug.org/texlive/trunk@17013 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/arsclassica')
-rw-r--r--Master/texmf-dist/tex/latex/arsclassica/adhoc.sty101
-rw-r--r--Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty7
2 files changed, 70 insertions, 38 deletions
diff --git a/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty b/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty
index af6369a1ff3..b47b2308b8d 100644
--- a/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty
+++ b/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty
@@ -36,41 +36,6 @@
\DeclareRobustCommand*{\texlive}{\TeX{}~Live%
\index{texlive@\protect\TeX{}~Live}}
-\lstset{ morekeywords=%
- {RequirePackage,newboolean,DeclareOption,setboolean,%
- ProcessOptions,PackageError,ifthenelse,boolean,%
- chapterNumber,sodef,textls,allcapsspacing,%
- MakeTextLowercase,orgtheindex,endtheindex,%
- @ifpackageloaded,undefined,sfdefault,%
- DeclareRobustCommand,spacedallcaps,%
- microtypesetup,MakeTextUppercase,lowsmallcapsspacing,%
- lowsmallcapsspacing,spacedlowsmallcaps,
- spacedlowsmallcaps,lehead,headmark,color,%
- headfont,partname,thepart,titleformat,part,
- titlerule,chapter,thechapter,thesection,%
- subsection,thesubsection,thesubsubsection,%
- paragraph,theparagraph,descriptionlabel,titlespacing,%
- graffito,lineskiplimit,finalhyphendemerits,%
- colorbox,captionsetup,labelitemi,%
- myincludegraphics,hypersetup,setlength,%
- definecolor,lsstyle,textssc,subsubsection,%
- graffito@setup,includegraphics,ifdefined,%
- myTitle,textcopyright,myName,lstset,lstnewenvironment,%
- setkeys,lst@BeginAlsoWriteFile,contentsname,%
- toc@heading,@ppljLaTeX,z@,check@mathfonts,%
- sf@size,ptctitle,mtctitle,stctitle,lst@intname,%
- @empty,math@fontsfalse,@ppljscTeX,@iwonaTeX,%
- @iwonascLaTeX,@ctTeX,tw@,ct@sc,@ctTeX,f@family,%
- f@shape,ct@sc,ctLaTeX,ctLaTeXe,@twoe,@sctwoe,%
- texorpdfstring,m@th,ctTeX,@mkboth,ProvidesPackage,%
- theindex,PackageInfo,PackageWarningNoLine,%
- mtifont,mtcindent,@iwonaLaTeX,@ppljTeX,@iwonascTeX,%
- rohead,orgendtheindex,@ppljscLaTeX,%
- @ifclassloaded,toc@headingbkORrp,backreftwosep,%
- backrefalt,backreflastsep,areaset,pnumfont,%
- arsincludegraphics},%
- commentstyle=\color{Emerald}\ttfamily,%
- frame=lines}
\lstset{basicstyle=\normalfont\ttfamily}
\lstset{flexiblecolumns=false}
@@ -109,3 +74,69 @@
\end{minipage}%
\end{center}%
}
+
+\definecolor{lightergray}{gray}{0.99}
+
+\lstset{language=[LaTeX]Tex,
+ keywordstyle=\color{RoyalBlue},
+ basicstyle=\normalfont\ttfamily,
+ commentstyle=\color{Emerald}\ttfamily,
+ stringstyle=\rmfamily,
+ numbers=none,
+ numberstyle=\scriptsize,
+ stepnumber=5,
+ numbersep=8pt,
+ showstringspaces=false,
+ breaklines=true,
+ frameround=ftff,
+ frame=lines,
+ backgroundcolor=\color{lightergray}
+}
+
+\lstset{ morekeywords=%
+ {RequirePackage,newboolean,DeclareOption,setboolean,%
+ ProcessOptions,PackageError,ifthenelse,boolean,%
+ chapterNumber,sodef,textls,allcapsspacing,%
+ MakeTextLowercase,orgtheindex,endtheindex,%
+ @ifpackageloaded,undefined,sfdefault,%
+ DeclareRobustCommand,spacedallcaps,%
+ microtypesetup,MakeTextUppercase,lowsmallcapsspacing,%
+ lowsmallcapsspacing,spacedlowsmallcaps,
+ spacedlowsmallcaps,lehead,headmark,color,%
+ headfont,partname,thepart,titleformat,part,
+ titlerule,chapter,thechapter,thesection,%
+ subsection,thesubsection,thesubsubsection,%
+ paragraph,theparagraph,descriptionlabel,titlespacing,%
+ graffito,lineskiplimit,finalhyphendemerits,%
+ colorbox,captionsetup,labelitemi,%
+ myincludegraphics,hypersetup,setlength,%
+ definecolor,lsstyle,textssc,subsubsection,%
+ graffito@setup,includegraphics,ifdefined,%
+ myTitle,textcopyright,myName,lstset,lstnewenvironment,%
+ setkeys,lst@BeginAlsoWriteFile,contentsname,%
+ toc@heading,@ppljLaTeX,z@,check@mathfonts,%
+ sf@size,ptctitle,mtctitle,stctitle,lst@intname,%
+ @empty,math@fontsfalse,@ppljscTeX,@iwonaTeX,%
+ @iwonascLaTeX,@ctTeX,tw@,ct@sc,@ctTeX,f@family,%
+ f@shape,ct@sc,ctLaTeX,ctLaTeXe,@twoe,@sctwoe,%
+ texorpdfstring,m@th,ctTeX,@mkboth,ProvidesPackage,%
+ theindex,PackageInfo,PackageWarningNoLine,%
+ mtifont,mtcindent,@iwonaLaTeX,@ppljTeX,@iwonascTeX,%
+ rohead,orgendtheindex,@ppljscLaTeX,%
+ @ifclassloaded,toc@headingbkORrp,backreftwosep,%
+ backrefalt,backreflastsep,areaset,pnumfont,%
+ arsincludegraphics,ExecuteOptions,PackageWarning,%
+ MessageBreak,ars@@includegraphics,ifcld@backref},%
+ commentstyle=\color{Emerald}\ttfamily,%
+ frame=lines}
+
+
+\AtBeginDocument{
+ \def\vr@f#1{%
+ \leavevmode\unskip\vref@space
+ \begingroup
+ \hyperref[{#1}]{\ref*{#1}}%
+ \vpageref[\unskip]{#1}%
+ \endgroup
+ }
+} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty b/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty
index 5ce6c101544..4046d71c78d 100644
--- a/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty
+++ b/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty
@@ -1,12 +1,12 @@
%************************************************************
% arsclassica.sty
%
-% copyright (C) 2008-2009 Lorenzo Pantieri
+% copyright (C) 2008-2010 Lorenzo Pantieri
% http://www.lorenzopantieri.net/
%
%************************************************************
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{arsclassica}[2009/01/01 v2.5 Customizing ClassicThesis (LP)]
+\ProvidesPackage{arsclassica}[2010/02/14 v2.7 Customizing ClassicThesis (LP)]
\RequirePackage{classicthesis-ldpkg}
\RequirePackage{classicthesis}
@@ -52,6 +52,7 @@
%************************************************************
% backref
%************************************************************
+\ifcld@backref
\ifthenelse{\boolean{english}}%
{%
\PackageInfo{arsclassica}{Using option "english". %
@@ -136,7 +137,7 @@
\fi}
}
{\relax}
-
+\fi
%************************************************************
% minitoc