diff options
author | Karl Berry <karl@freefriends.org> | 2011-10-06 23:16:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-10-06 23:16:29 +0000 |
commit | ebcdd9921ff34291f79453030c0357c9bf4f9802 (patch) | |
tree | 47f6510f07e371cb4167e40416ce61480b3f4104 | |
parent | a82a5441d3e401cbedb31e1f05b04e48bc6ec00c (diff) |
koma-moderncvclassic (6oct11)
git-svn-id: svn://tug.org/texlive/trunk@24224 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/koma-moderncvclassic/README | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/koma-moderncvclassic/changelog | 24 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/koma-moderncvclassic/cvbasic.pdf | bin | 0 -> 187821 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/koma-moderncvclassic/cvbasic.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/koma-moderncvclassic/koma-moderncvclassic.sty | 56 |
5 files changed, 61 insertions, 44 deletions
diff --git a/Master/texmf-dist/doc/latex/koma-moderncvclassic/README b/Master/texmf-dist/doc/latex/koma-moderncvclassic/README index 4b5e50a4963..8fdc0b5f5b6 100644 --- a/Master/texmf-dist/doc/latex/koma-moderncvclassic/README +++ b/Master/texmf-dist/doc/latex/koma-moderncvclassic/README @@ -1,4 +1,4 @@ -KOMA-MODERNCVCLASSIC v0.3 +KOMA-MODERNCVCLASSIC v0.4 ========================= (License: LaTeX Project) @@ -6,15 +6,16 @@ This package provides an imitation of the moderncv-class with the classic style Thus it is possible to configure pagelayout, headings etc. the way it is done in koma-classes. Moreover, it is possible to use biblatex, while the original moderncv-class is incompatible with biblatex. (This, actually, was the main reason for building this package.) -To be able to use the moderncvclassic-package, -download the gzip-archive, unpack it and copy the file moderncvlassic.sty to your local tex-directory. Run texhash on your local tex-directory. +To be able to use the moderncvclassic-package: +* download the gzip-archive, +* unpack it and +* copy the file moderncvlassic.sty to your local tex-directory. +* Run texhash on your local tex-directory. With \usepackage{koma-moderncvlassic} the moderncvclassic definitions and commands become available in your document. -The cvbasic-file, which is included in the gzip-archive, shows exemplarily, how a document with koma-moderncvclassic might be structured, which commands are available and how they are to be used. Things are self-explanatory, so there comes no documentation with this package. - -Version 0.2 fixed some problems of v0.1 with including a picture and adjusting page margins. Options frame and noframe are added for pictures. -Version 0.3 loads hyperref and graphicx without options to avoid option clashes. +The cvbasic-file, which is included in the gzip-archive, shows exemplarily how a document with koma-moderncvclassic might be structured, which commands are available and how they are to be used. Things are self-explanatory, so there comes no documentation with this package. +The changelog-file contains the revision history and acknowledgements. I hope you enjoy this package. Suggestions, wishes, bug reports: diff --git a/Master/texmf-dist/doc/latex/koma-moderncvclassic/changelog b/Master/texmf-dist/doc/latex/koma-moderncvclassic/changelog new file mode 100644 index 00000000000..7e3d298cee4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/koma-moderncvclassic/changelog @@ -0,0 +1,24 @@ +Revision history and acknowledgements +===================================== + +LaTeX-package koma-moderncvclassic +License: LaTeX Project (LPPL) +Copyright 2010-2011 Salome Södergran, salome.soedergran@gmx.ch + + +0.1 2010/10/11 + * First release of koma-moderncvclassic + +0.2 2010/12/03 + * Including a picture and adjusting page margins: bug fixes (thanks to Dominik Waßenhoven) + * Added new options "frame" and "noframe" for pictures + +0.3 2011/04/16 + * hyperref and graphicx loaded without options to avoid option clashes (thanks to Simon Dreher) + +0.4 2011/10/06 + * Improved formatting of section "Computer Knowledges" (thanks to Andreas Bießmann) + * Minor bug fixes + * changelog file added + * file cvbasic.pdf added + diff --git a/Master/texmf-dist/doc/latex/koma-moderncvclassic/cvbasic.pdf b/Master/texmf-dist/doc/latex/koma-moderncvclassic/cvbasic.pdf Binary files differnew file mode 100644 index 00000000000..3f1837b7555 --- /dev/null +++ b/Master/texmf-dist/doc/latex/koma-moderncvclassic/cvbasic.pdf diff --git a/Master/texmf-dist/doc/latex/koma-moderncvclassic/cvbasic.tex b/Master/texmf-dist/doc/latex/koma-moderncvclassic/cvbasic.tex index 437dd10bbcc..0aa4a04a132 100644 --- a/Master/texmf-dist/doc/latex/koma-moderncvclassic/cvbasic.tex +++ b/Master/texmf-dist/doc/latex/koma-moderncvclassic/cvbasic.tex @@ -1,7 +1,7 @@ %% start of file `cvbasic.tex'; shows exemplarily the use of koma-moderncvclassic -%% (c) Copyright 2010 Salome Södergran (salome.soedergran@gmx.ch) +%% (c) Copyright 2010--2011 Salome Södergran (salome.soedergran@gmx.ch) %% -\ProvidesFile{cvbasic_v03.tex}[v0.3 2011/04/16] +\ProvidesFile{cvbasic_v04.tex}[v0.4 2011/10/06] %% \RequirePackage{filecontents} \begin{filecontents}{cvbasic.bib} @@ -34,8 +34,8 @@ headings=normal,% \usepackage[german=quotes]{csquotes} \tolerance=200 % white space -\clubpenalty = 1000 % Schusterjungen -\widowpenalty = 1000 % Hurenkinder +\clubpenalty = 1000 % orphans +\widowpenalty = 1000 % widows % =========================== % VARIABLES @@ -61,7 +61,7 @@ headings=normal,% % KOMA-MODERNCVCLASSIC % =========================== -\usepackage[myblue]{koma-moderncvclassic-test} % color theme as option; default = myblue; other predefined colors that may be used: red, green, blue, cyan, magenta, yellow, black, white, darkgray, gray, lightgray +\usepackage[myblue]{koma-moderncvclassic} % color theme as option; default = myblue; other predefined colors that may be used: red, green, blue, cyan, magenta, yellow, black, white, darkgray, gray, lightgray % picture %\photo[noframe]{3cm}{picture.jpg} diff --git a/Master/texmf-dist/tex/latex/koma-moderncvclassic/koma-moderncvclassic.sty b/Master/texmf-dist/tex/latex/koma-moderncvclassic/koma-moderncvclassic.sty index 8fba1e8ca22..705dc49b70b 100644 --- a/Master/texmf-dist/tex/latex/koma-moderncvclassic/koma-moderncvclassic.sty +++ b/Master/texmf-dist/tex/latex/koma-moderncvclassic/koma-moderncvclassic.sty @@ -1,7 +1,5 @@ -%% start of file `koma-moderncvclassic.sty'. -%% Copyright 2010 Salome Södergran (salome.soedergran@gmx.ch) -%% -%% Thanks to Dominik Wassenhoven and Simon Dreher for helpful suggestions! +%% start of file `koma-moderncvclassic.sty' v0.4 +%% Copyright 2010--2011 Salome Södergran (salome.soedergran@gmx.ch) %% %% Adaption of moderncv, theme classic %% (Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com)) @@ -15,7 +13,7 @@ % IDENTIFICATION % ============================== -\ProvidesPackage{koma-moderncvclassic}[2011/04/16 v0.3] +\ProvidesPackage{koma-moderncvclassic}[2011/10/06 v0.4] \NeedsTeXFormat{LaTeX2e} % ============================== @@ -45,7 +43,7 @@ ifpdf,% xcolor,% lmodern,% -marvosym,% for symbols like \Telefon, \Letter, \Email +marvosym,% symbols like \Telefon, \Letter, \Email url,% graphicx,% hyperref% @@ -267,29 +265,23 @@ hyperref% %\newcommand*{\colorrule}[2][1ex]{{\color{sectionrectanglecolor}{\rule{#2}{#1}}}} % usage: \cvline{margintext}{linetext} -% aus moderncv.cls-Datei +% from moderncv.cls \newcommand*{\cvline}[3][.25em]{% \begin{tabular}{@{}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\maincolumnwidth}@{}}% \raggedleft\hintfont{#2} &{#3}% \end{tabular}\\[#1]} -% aus modercvclassic.sty-Datei: -% \cvline[1ex]{\color{sectionrectanglecolor}\rule[0]{\hintscolumnwidth}{1ex}}{\sectionstyle{#1}}}% gives bad alignment of rectangle; too bad m{width} columns seem not to work as a valid column definition for tabular environments - -% % usage: \cvlistdoubleitem[symbol]{point1}{point2} -% \newcommand*{\cvlistdoubleitem}[3][\listitemsymbol{}]{% -% \cvline[0pt]{}{#1~\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#2\end{minipage}% -% \hfill% -% \ifthenelse{\equal{#3}{}}% -% {}% -% {#1~\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#3\end{minipage}}}} - -% usage: \cvlistdoubleitem[symbol]{point1}{point2} -\newcommand*{\cvlistdoubleitem}[3][\listitemsymbol{}]{% -\cvline[0pt]{}{#1~\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#2\end{minipage}% - \hfill% - \ifthenelse{\equal{#3}{}}% - {}% - {#1~\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#3\end{minipage}}}} +% + +% usage: \cvdoubleitem{head 1}{description 1}{head 2}{description 2}: +\newcommand*{\cvdoubleitem}[4]{% + \cvline{#1}{% + \begin{minipage}[t]{\doubleitemmaincolumnwidth}#2\end{minipage}% + \hfill% + \begin{minipage}[t]{\hintscolumnwidth}\raggedleft% + \hintfont{#3}\end{minipage}% + \hspace*{\separatorcolumnwidth}% + \begin{minipage}[t]{\doubleitemmaincolumnwidth}#4\end{minipage}}} + % usage: \cventry{years}{degree/job title}{institution/employer}{localization}{optionnal: grade/...}{optional: comment/job description} \newcommand*{\cventry}[6]{% @@ -307,14 +299,14 @@ hyperref% \cvline{#1}{\begin{minipage}[t]{.225\maincolumnwidth}\textbf{#2}\end{minipage}\hfill\begin{minipage}[t]{0.725\maincolumnwidth}\raggedleft\footnotesize\itshape #3\end{minipage}}} % usage (inside 'computer skills' cvsection environment): \cvcomputer{category}{programs}{category}{programs} -\newcommand*{\cvcomputer}[4]{% +\newcommand*{\cvcomputer}[4]{\cvdoubleitem{#1}{\small#2}{#3}{\small#4}} + % \cvlistdoubleitem{#1}{\small#2}{#3}{\small#4}} -% = ursrüngliche Definition in moderncv; ergibt hier merkwürdige Resultat; -% deshalb Neuansatz: -\begin{tabular*}{\textwidth}[t]{@{}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\cvcompcolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\cvcompcolumnwidth} -} -\raggedleft{#1} &\raggedright{#2} &\raggedleft{#3} &\raggedright{#4} -\end{tabular*}} +% = original definition from moderncv.cls, result looks odd; new try: +%\begin{tabular*}{\textwidth}[t]{@{}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\cvcompcolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\cvcompcolumnwidth} +%} +%\raggedleft{#1} &\raggedright{#2} &\raggedleft{#3} &\raggedright{#4} +%\end{tabular*}} % usage: \link[optional text]{link} \newcommand*{\link}[2][]{% |