diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/mycv/Doc')
5 files changed, 28 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Fundamentals.tex b/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Fundamentals.tex index d09efbcf895..8533ce5d527 100644 --- a/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Fundamentals.tex +++ b/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Fundamentals.tex @@ -44,25 +44,25 @@ The class \classname is composed by five files. A short brief of each one is giv it is the main file and, basically, handles the class options~\myref{sec:class-options} as well as the inclusion of all other files (the remaining four); \end{myindent} - \item \ctext{mycv\_base.tex} + \item \ctext{mycv\_base.def} \begin{myindent} it contains all the commands and definitions dealing with the layout components of a \CV~\myref{sec:layout-components}: it is the core-system file; \end{myindent} - \item \ctext{mycv\_default\_style.tex} + \item \ctext{mycv\_style.def} \begin{myindent} it contains the default style commands~\myref{sub:style-commands} provided by this class: if the default style is not used, %~\myref{sec:class-options} this file will not be included by \textit{mycv.cls}; \end{myindent} - \item \ctext{mycv\_dec.tex} + \item \ctext{mycv\_dec.def} \begin{myindent} it contains the decoration commands~\myref{sub:decoration-commands}: if decorations are not enabled% %~\myref{sec:class-options} , this file will not be included by \textit{mycv.cls}; \end{myindent} - \item \ctext{mycv\_misc.tex} + \item \ctext{mycv\_misc.def} \begin{myindent} it contains some miscellaneous commands and definitions. \end{myindent} diff --git a/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex b/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex index faccb9d8767..43cfcbccad6 100644 --- a/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex +++ b/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex @@ -8,14 +8,14 @@ \section{Requirements} When \textit{decorations} are not enabled and the \textit{default style} is not used, \classname has -the following requirements:\codeskip +(apart from \ctLaTeXe) the following requirements:\codeskip \begin{lstlisting}[firstnumber=1,numbers=none] -\NeedsTeXFormat{LaTeX2e} \RequirePackage{kvoptions} % for options \RequirePackage{etextools} % for lists and other useful tools \RequirePackage{ifthen} % for \ifthenelse command \RequirePackage{pifont} % for ding style (itemize environment) \RequirePackage{xstring} % for string utilities +\RequirePackage{svn-prov} % for file info extracted from SVN \RequirePackage{xparse} % for commands with multiple default arguments \end{lstlisting}\codeskip @@ -42,7 +42,6 @@ RequirePackage{tikz} % for graphics \classname can use any option supported by the \textit{article} class, on which is based. In addiction, it provides the following options: - \def\tmpcolor{brown} \squishlist \item {\color{red}language=<\argname[\tmpcolor]{string}>} @@ -56,9 +55,9 @@ addiction, it provides the following options: \end{myindent} \item {\color{red}style=<\argname[\tmpcolor]{filemane}>} \begin{myindent} - specifies the file name (with or without ``.tex'' extension) with the style commands. - By default, the file \textit{mycv\_default\_style}, provided by the class itself, is that used. - It is also possible to not use a style file by specifying the value ``none'' as file name; + specifies the file name (without the extension ``.tex'' if any) with the style commands. + By default, the file \textit{mycv\_style.def}, provided by the class itself, is that used. + It is also possible to not use any file by specifying the value ``none'' as file name; \end{myindent} \item {\color{red}mdlname=<\argname[\tmpcolor]{name}>} \begin{myindent} @@ -83,12 +82,15 @@ which need the class option ``\textit{withDec}'' to be used. In the following te when present, the form {\color{blue}\omissis} (or {\color{blue}<...>}) indicates the default choice for an optional argument of a command. -\subsection{Conditional} +\subsection{Conditionals} \squishlist -\item - \cmdname{ifoption}\marg{option}\arghsep\marg{true}\arghsep\marg{false}\argvsep - \cmdname{ifmodel}\marg{mdlname}\arghsep\marg{true}\arghsep\marg{false}\cmddsep +\item \cmdname{ifoption} + \marg{option}\arghsep + \marg{true}\arghsep\marg{false}\argvsep + \cmdname{ifmodel} + \marg{mdlname}\arghsep + \marg{true}\arghsep\marg{false}\cmddsep \textit{ifoption} checks whether \argname{option} was used, while \textit{ifmodel} checks whether \argname{mdlname} was registered in the class; then both commands use the appropriate \argname{true} or \argname{false} block of code. @@ -241,7 +243,7 @@ The sample code presented here can be found in the ``Examples'' directory shippe contents: these files are not listed in the present document, as they do not contain anything worth being mentioned for the purpose of these notes. -First and foremost, to keep things ordered, we need a file containing the layout components +First and foremost, to keep the code organized, we need a file containing the layout components for the \DPL (\textit{model-dpl.tex}) and another one for the \SPL (\textit{model-spl.tex}). %For our intents, @@ -284,8 +286,7 @@ the \SPL (\textit{model-dpl.tex}). In this case, we do not need to use \verb|*Pa but it is sufficient to directly include the files with the contents. The resulting code is showed in listing~\ref{lst:splmodel}. \lstinputlisting[firstnumber=1,caption=model-spl.tex,label=lst:splmodel]{ -../Examples/Models/model-spl.tex } -\codeskip +../Examples/Models/model-spl.tex }\codeskip At this point, we both have the components for the double and single page layouts and we can proceed writing the main files (\textit{mycv-example-dpl.tex} and \textit{mycv-example-spl.tex}) diff --git a/Master/texmf-dist/doc/latex/mycv/Doc/FrontBackMatter/Titlepage+Abstract.tex b/Master/texmf-dist/doc/latex/mycv/Doc/FrontBackMatter/Titlepage+Abstract.tex index 6396ef1ef78..14079c3c0ac 100644 --- a/Master/texmf-dist/doc/latex/mycv/Doc/FrontBackMatter/Titlepage+Abstract.tex +++ b/Master/texmf-dist/doc/latex/mycv/Doc/FrontBackMatter/Titlepage+Abstract.tex @@ -6,14 +6,15 @@ % Definitions % =========== -\def\version{1.5.2} +%\def\version{1.5.2} % this sets the counter to symbols (*, dagger, and so on) \renewcommand{\thefootnote}{\fnsymbol{footnote}} \newcommand{\HRule}{\rule{\linewidth}{0.5mm}} -%\def\versionMsg{... last revised \today, documentation dated XXX} -\def\versionMsg{This file has version number \version, documentation dated \today} +\def\versionMsg{This file has version number \version{} \texttt{---} % + documentation dated April 13, 2012 \texttt{---} % + last revised \today} % ======================= % Upper part of the page diff --git a/Master/texmf-dist/doc/latex/mycv/Doc/mycv-macros.sty b/Master/texmf-dist/doc/latex/mycv/Doc/mycv-macros.sty index 3d0600e7f69..118cb560e65 100644 --- a/Master/texmf-dist/doc/latex/mycv/Doc/mycv-macros.sty +++ b/Master/texmf-dist/doc/latex/mycv/Doc/mycv-macros.sty @@ -1,13 +1,15 @@ %@ ------------------------------------------------------- -%@ start of file 'mycv-macros.sty'. %@ Copyright 2012 Ghersi Andrea (ghanhawk@gmail.com). %@ %@ This work may be distributed and/or modified under the %@ conditions of the LaTeX Project Public License version %@ 1.3c, available at 'http://www.latex-project.org/lppl'. %@ ------------------------------------------------------- -\ProvidesPackage{mycv-macros}[2012/04/13% - A package providing some useful commands] + +\RequirePackage{svn-prov} +\ProvidesPackageSVN + {$Id: mycv-macros.sty 60 2012-04-14 23:33:21Z ghangenit $} + [\version][A package providing some useful commands] \ifdraft % --------------------------------- diff --git a/Master/texmf-dist/doc/latex/mycv/Doc/mycv.tex b/Master/texmf-dist/doc/latex/mycv/Doc/mycv.tex index 61e9dbb4a51..7efdc8fe34c 100644 --- a/Master/texmf-dist/doc/latex/mycv/Doc/mycv.tex +++ b/Master/texmf-dist/doc/latex/mycv/Doc/mycv.tex @@ -1,3 +1,4 @@ +\def\version{1.5.3} \newif\ifdraft %\drafttrue % se decommentato utilizza formato bozza |