From ce9e51c9b4a10fb42d7d641f6e6dd67a52e5788c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 May 2011 22:54:15 +0000 Subject: skb (12may11) git-svn-id: svn://tug.org/texlive/trunk@22443 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/skb/skb.cfg | 6 +- Master/texmf-dist/tex/latex/skb/skb.sty | 47 ++++-------- Master/texmf-dist/tex/latex/skb/skbarticle.cls | 7 +- Master/texmf-dist/tex/latex/skb/skbbeamer.cls | 5 +- Master/texmf-dist/tex/latex/skb/skbbook.cls | 7 +- Master/texmf-dist/tex/latex/skb/skblncsbeamer.cls | 5 +- Master/texmf-dist/tex/latex/skb/skblncsppt.cls | 7 +- Master/texmf-dist/tex/latex/skb/skbmoderncv.cls | 88 +++++++++++++++++++++++ 8 files changed, 118 insertions(+), 54 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/skb/skbmoderncv.cls (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/skb/skb.cfg b/Master/texmf-dist/tex/latex/skb/skb.cfg index d5eb145f602..b5ae8a9dead 100644 --- a/Master/texmf-dist/tex/latex/skb/skb.cfg +++ b/Master/texmf-dist/tex/latex/skb/skb.cfg @@ -8,7 +8,7 @@ %% %% %% skb.cfg -%% Copyright (c) 2010 Sven van der Meer +%% Copyright (c) 2011 Sven van der Meer %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3 of this license or (at @@ -31,9 +31,9 @@ %% \skbconfig[root=/doc, acr=database/latex, - acrfile=acronym, + acrfile=acronyms, bib=database/bibtex, - bibfile=bibliograhpy, + bibfile=bibliography.tex, rep=repository, pub=publish, fig=figures, diff --git a/Master/texmf-dist/tex/latex/skb/skb.sty b/Master/texmf-dist/tex/latex/skb/skb.sty index 995c0aeb76c..007bb132381 100644 --- a/Master/texmf-dist/tex/latex/skb/skb.sty +++ b/Master/texmf-dist/tex/latex/skb/skb.sty @@ -8,7 +8,7 @@ %% %% %% skb.sty -%% Copyright (c) 2010 Sven van der Meer +%% Copyright (c) 2011 Sven van der Meer %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3 of this license or (at @@ -30,7 +30,7 @@ %% This work consists of all files listed in MANIFEST.TXT. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{skb}[2010/08/04 Sven's Knowledge Base - SKB for LaTeX v0.5] +\ProvidesPackage{skb}[2011/05/12 Sven's Knowledge Base - SKB for LaTeX v0.51] \newif\if@skbBeamerAnim \@skbBeamerAnimfalse \DeclareOption{beameranim}{\@skbBeamerAnimtrue} @@ -83,7 +83,6 @@ \excludeversion{skbmodeslide} \RequirePackage[text\skb@cfg@memoir\skb@cfg@beameranim]{optional} \fi\fi -\providecommand{\SKB}{{\scshape SKB}} \providecommand{\BibTeX}{{\scshape Bib}\TeX} \providecommand{\DescribeMacro}[1]{\relax} \providecommand{\cmdprint}[1]{\texttt{\string#1}} @@ -110,9 +109,9 @@ }% \skb@defCfgVars{root}{/doc} \skb@defCfgVars{acr}{database/latex} -\skb@defCfgVars{acrfile}{acronym} +\skb@defCfgVars{acrfile}{acronyms} \skb@defCfgVars{bib}{database/bibtex} -\skb@defCfgVars{bibfile}{bibliography} +\skb@defCfgVars{bibfile}{bibliography.tex} \skb@defCfgVars{rep}{repository} \skb@defCfgVars{pub}{publish} \skb@defCfgVars{fig}{figures} @@ -471,38 +470,20 @@ \newcommand{\skbcode}[1]{% \lstinline[basicstyle=\ttfamily]{#1}% }% -\def\skb@TmpParskp{} -\def\skb@TmpItemsep{} \newenvironment{skbnotelist} - { - \begin{itemize}% - \ifSkbMemoirLoaded\else - \gdef\skb@TmpParskp{\parskip}\setlength{\parskip}{0cm}% - \gdef\skb@TmpItemsep{\itemsep}\setlength{\itemsep}{0cm}% - \fi - } - { - \end{itemize}% - \ifSkbMemoirLoaded\else - \setlength{\parskip}{\skb@TmpParskp}% - \setlength{\itemsep}{\skb@TmpItemsep}% - \fi% + {\begin{itemize} + \ifSkbMemoirLoaded\else + \setlength{\parskip}{0cm}\setlength{\itemsep}{0cm} + \fi } + {\end{itemize}} \newenvironment{skbnoteenum}% - { - \begin{enumerate}% - \ifSkbMemoirLoaded\else - \gdef\skb@TmpParskp{\parskip}\setlength{\parskip}{0cm}% - \gdef\skb@TmpItemsep{\itemsep}\setlength{\itemsep}{0cm}% - \fi - } - { - \end{enumerate}% - \ifSkbMemoirLoaded\else - \setlength{\parskip}{\skb@TmpParskp}% - \setlength{\itemsep}{\skb@TmpItemsep}% - \fi% + {\begin{enumerate} + \ifSkbMemoirLoaded\else + \setlength{\parskip}{0cm}\setlength{\itemsep}{0cm} + \fi } + {\end{enumerate}} \newcommand{\skbacft}[1]{% \ifAC@dua \ifAC@starred\acl*{#1}\else\acl{#1}\fi% diff --git a/Master/texmf-dist/tex/latex/skb/skbarticle.cls b/Master/texmf-dist/tex/latex/skb/skbarticle.cls index 1e4a1ccb48c..e481a6e1074 100644 --- a/Master/texmf-dist/tex/latex/skb/skbarticle.cls +++ b/Master/texmf-dist/tex/latex/skb/skbarticle.cls @@ -8,7 +8,7 @@ %% %% %% skbarticle.cls -%% Copyright (c) 2010 Sven van der Meer +%% Copyright (c) 2011 Sven van der Meer %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3 of this license or (at @@ -30,7 +30,7 @@ %% This work consists of all files listed in MANIFEST.TXT. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{skbarticle}[2010/08/04 The SKB Article class v0.5] +\ProvidesClass{skbarticle}[2011/05/12 The SKB Article class v0.51] \LoadClass[10pt,a4paper,extrafontsizes,twoside,onecolumn,openright,article]{memoir} \RequirePackage{skb} \RequirePackage[style=alphabetic,sorting=none,hyperref]{biblatex} @@ -39,7 +39,7 @@ \RequirePackage{textcomp,gensymb,wasysym,units,xmpmulti,float} \RequirePackage[x11names]{xcolor} \RequirePackage[colorlinks,% - linkcolor=AntiqueWhite4,% + linkcolor=Brown4,% citecolor=SeaGreen4,% urlcolor=RoyalBlue3% ]{hyperref} @@ -52,7 +52,6 @@ \tightlists \midsloppy \raggedbottom -\skbbibtex \ExecuteBibliographyOptions{sorting=anyt} \endinput %% diff --git a/Master/texmf-dist/tex/latex/skb/skbbeamer.cls b/Master/texmf-dist/tex/latex/skb/skbbeamer.cls index dd3511dd041..29a51ee468b 100644 --- a/Master/texmf-dist/tex/latex/skb/skbbeamer.cls +++ b/Master/texmf-dist/tex/latex/skb/skbbeamer.cls @@ -8,7 +8,7 @@ %% %% %% skbbeamer.cls -%% Copyright (c) 2010 Sven van der Meer +%% Copyright (c) 2011 Sven van der Meer %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3 of this license or (at @@ -30,7 +30,7 @@ %% This work consists of all files listed in MANIFEST.TXT. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{skbbeamer}[2010/08/04 The SKB Beamer class v0.5] +\ProvidesClass{skbbeamer}[2011/05/12 The SKB Beamer class v0.51] \DeclareOption{beameranim}{\PassOptionsToPackage{\CurrentOption}{skb}} \DeclareOption{beamernoanim}{\PassOptionsToPackage{\CurrentOption}{skb}} \ProcessOptions\relax @@ -41,7 +41,6 @@ \RequirePackage[printonlyused]{acronym} \RequirePackage{etoolbox,comment,graphicx,longtable,colortbl} \RequirePackage{textcomp,gensymb,wasysym,units,xmpmulti,float} -\skbbibtex \renewcommand*\DTstylecomment{\itshape\sffamily\color{blue}\scriptsize} \setlength{\DTbaselineskip}{10pt} \DTsetlength{0.2em}{1em}{0.2em}{0.4pt}{1.6pt} diff --git a/Master/texmf-dist/tex/latex/skb/skbbook.cls b/Master/texmf-dist/tex/latex/skb/skbbook.cls index 582e578bdde..efe070f226d 100644 --- a/Master/texmf-dist/tex/latex/skb/skbbook.cls +++ b/Master/texmf-dist/tex/latex/skb/skbbook.cls @@ -8,7 +8,7 @@ %% %% %% skbbook.cls -%% Copyright (c) 2010 Sven van der Meer +%% Copyright (c) 2011 Sven van der Meer %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3 of this license or (at @@ -30,7 +30,7 @@ %% This work consists of all files listed in MANIFEST.TXT. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{skbbook}[2010/08/04 The SKB Book class v0.5] +\ProvidesClass{skbbook}[2011/05/12 The SKB Book class v0.51] \LoadClass[11pt,a4paper,extrafontsizes,twoside,onecolumn,openright]{memoir} \RequirePackage{skb} \RequirePackage[style=alphabetic,sorting=none,hyperref]{biblatex} @@ -39,7 +39,7 @@ \RequirePackage{textcomp,gensymb,wasysym,units,xmpmulti,float} \RequirePackage[x11names]{xcolor} \RequirePackage[colorlinks,% - linkcolor=AntiqueWhite4,% + linkcolor=Brown4,% citecolor=SeaGreen4,% urlcolor=RoyalBlue3% ]{hyperref} @@ -55,7 +55,6 @@ \midsloppy \raggedbottom \chapterstyle{veelo} -\skbbibtex \ExecuteBibliographyOptions{sorting=anyt} \endinput %% diff --git a/Master/texmf-dist/tex/latex/skb/skblncsbeamer.cls b/Master/texmf-dist/tex/latex/skb/skblncsbeamer.cls index 7329f2c9778..75c3e2a7e97 100644 --- a/Master/texmf-dist/tex/latex/skb/skblncsbeamer.cls +++ b/Master/texmf-dist/tex/latex/skb/skblncsbeamer.cls @@ -8,7 +8,7 @@ %% %% %% skblncsbeamer.cls -%% Copyright (c) 2010 Sven van der Meer +%% Copyright (c) 2011 Sven van der Meer %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3 of this license or (at @@ -30,7 +30,7 @@ %% This work consists of all files listed in MANIFEST.TXT. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{skblncsbeamer}[2010/08/04 The SKB LNCS Beamer class v0.5] +\ProvidesClass{skblncsbeamer}[2011/05/12 The SKB LNCS Beamer class v0.51] \providecommand{\titlepage}{} \LoadClass[9pt,a4paper,extrafontsizes,twoside,onecolumn,openright,article,x11names]{memoir} \RequirePackage{beamerarticle,pgf} @@ -55,7 +55,6 @@ \parindent0pt \setlength{\parskip}{0.2cm} \makeindex -\skbbibtex \AtBeginDocument{ \resizebox{\textwidth}{!}{\includeslide{title}} \bigskip diff --git a/Master/texmf-dist/tex/latex/skb/skblncsppt.cls b/Master/texmf-dist/tex/latex/skb/skblncsppt.cls index c05a515cd40..600a009ff36 100644 --- a/Master/texmf-dist/tex/latex/skb/skblncsppt.cls +++ b/Master/texmf-dist/tex/latex/skb/skblncsppt.cls @@ -8,7 +8,7 @@ %% %% %% skblncsppt.cls -%% Copyright (c) 2010 Sven van der Meer +%% Copyright (c) 2011 Sven van der Meer %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3 of this license or (at @@ -30,7 +30,7 @@ %% This work consists of all files listed in MANIFEST.TXT. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{skblncsppt}[2010/08/04 The SKB LNCS PPT class v0.5] +\ProvidesClass{skblncsppt}[2011/05/12 The SKB LNCS PPT class v0.51] \LoadClass[9pt,a4paper,extrafontsizes,twoside,onecolumn,openright,article]{memoir} \RequirePackage{skb} \RequirePackage[style=alphabetic,sorting=none,hyperref]{biblatex} @@ -39,7 +39,7 @@ \RequirePackage{textcomp,gensymb,wasysym,units,xmpmulti,float} \RequirePackage[x11names]{xcolor} \RequirePackage[colorlinks,% - linkcolor=AntiqueWhite4,% + linkcolor=Brown4,% citecolor=SeaGreen4,% urlcolor=RoyalBlue3% ]{hyperref} @@ -59,7 +59,6 @@ \pagestyle{ruled} \pagenumbering{arabic} \makeindex -\skbbibtex \endinput %% %% End of file `skblncsppt.cls'. diff --git a/Master/texmf-dist/tex/latex/skb/skbmoderncv.cls b/Master/texmf-dist/tex/latex/skb/skbmoderncv.cls new file mode 100644 index 00000000000..b772f98b5a0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/skb/skbmoderncv.cls @@ -0,0 +1,88 @@ +%% +%% This is file `skbmoderncv.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% skb.dtx (with options: `skbmoderncv') +%% +%% +%% skbmoderncv.cls +%% Copyright (c) 2011 Sven van der Meer +%% +%% This work may be distributed and/or modified under the conditions of the +%% LaTeX Project Public License, either version 1.3 of this license or (at +%% your option) any later version. +%% The latest version of this license is in +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `author-maintained'. +%% +%% The Current Maintainer of this work is +%% Sven van der Meer +%% +%% This software is provided 'as is', without warranty of any kind, either +%% expressed or implied, including, but not limited to, the implied +%% warranties of merchantability and fitness for a particular purpose. +%% +%% This work consists of all files listed in MANIFEST.TXT. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{skbmoderncv}[2011/05/12 The SKB Modern CV class v0.51] +\LoadClass[11pt,a4paper]{moderncv} +\RequirePackage{skb} +\RequirePackage[style=alphabetic,sorting=ynt,bibstyle=standard,hyperref]{biblatex} +\RequirePackage{eurofont} +\RequirePackage{enumitem} +\RequirePackage[x11names]{xcolor} +\RequirePackage[colorlinks,% + linkcolor=Brown4,% + citecolor=SeaGreen4,% + urlcolor=RoyalBlue3,% + pdftex + ]{hyperref} +\moderncvtheme{classic} +\newcommand{\up}[1]{\ensuremath{^\textrm{\scriptsize#1}}} +\renewcommand{\listitemsymbol}{\textendash} +\defbibheading{None}{} +\newcommand{\skbcvrefplain}[1]{% + \defbibenvironment{bibliography} + {\list{}{% + \setlength{\parindent}{\hintscolumnwidth} + \addtolength{\parindent}{\separatorcolumnwidth} + \leftmargin\parindent + \setlength{\parindent}{0pt} + \itemindent\parindent + \itemsep\bibitemsep + \parsep\bibparsep + }} + {\endlist} + {\item} + + \begin{refsegment} + \nocite{#1} + \printbibliography[heading=None,segment=\therefsegment,maxnames=20,minnames=20] + \end{refsegment} +} +\newcommand{\skbcvrefenum}[1]{% + \defbibenvironment{bibliography} + {\setlength{\parindent}{\hintscolumnwidth} + \addtolength{\parindent}{\separatorcolumnwidth} + \addtolength{\parindent}{1pt} + \begin{enumerate}[leftmargin=\parindent,labelsep=\separatorcolumnwidth,label*=\arabic*,noitemsep,topsep=1pt]{% + }} + {\end{enumerate}% + \setlength{\parindent}{0pt} + } + {\item} + + \begin{refsegment} + \nocite{#1} + \printbibliography[heading=None,segment=\therefsegment,maxnames=20,minnames=20] + \end{refsegment} +} +\endinput +%% +%% End of file `skbmoderncv.cls'. -- cgit v1.2.3