summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex')
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Doc/Chapters/Usage.tex27
1 files changed, 14 insertions, 13 deletions
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})