Skip to content

Commit

Permalink
Remove trailing whitespace (#167)
Browse files Browse the repository at this point in the history
Remove more trailing whitespace

Remove even more trailing whitespace
  • Loading branch information
tianyizheng02 authored Jun 4, 2023
1 parent edc3e40 commit f3dd14f
Show file tree
Hide file tree
Showing 14 changed files with 234 additions and 234 deletions.
64 changes: 32 additions & 32 deletions manual/moderncv_userguide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
\end{abstract}

\section{Introduction}
When I saw this class for the first time I was amazed: ``Here it is what I need,'' I thought. Using the very clear examples, it was easy to make my first CV.
When I saw this class for the first time I was amazed: ``Here it is what I need,'' I thought. Using the very clear examples, it was easy to make my first CV.
Indeed the class is very simple to use; in this documentation I will only put together all the things to help users to have all on hand.

\smallskip
Expand All @@ -76,7 +76,7 @@ \section{In the preamble}

\begin{verbatim}
\documentclass[<options>]{moderncv}
\end{verbatim}
\end{verbatim}

where the options are:

Expand All @@ -88,24 +88,24 @@ \section{In the preamble}
\item[draft/final options:] \texttt{draft}, \texttt{final}
\end{description}

The default options are: \texttt{a4paper}, \texttt{11pt}, \texttt{color}, \texttt{final}.
The default options are: \texttt{a4paper}, \texttt{11pt}, \texttt{color}, \texttt{final}.

After the documentclass specification, choose the theme for your curriculum vit\ae:

\begin{verbatim}
\moderncvtheme[<options>]{casual}
\end{verbatim}
\end{verbatim}

which is the default theme, or

\begin{verbatim}
\moderncvtheme[<options>]{classic}
\end{verbatim}
\end{verbatim}

where the theme options are:

\begin{description}
\item[color options:] you can choose between five color:
\item[color options:] you can choose between five color:
\begin{itemize}
\item[\texttt{blue}] {\color{bluecv}\rule{1cm}{2ex}} (default color)
\item[\texttt{green}] {\color{greencv}\rule{1cm}{2ex}}
Expand All @@ -120,14 +120,14 @@ \section{In the preamble}

\begin{verbatim}
\usepackage[<your encoding>]{inputenc}
\end{verbatim}
\end{verbatim}

and you can adjust the page geometry:

\begin{verbatim}
\usepackage[<options>]{geometry}
\recomputelengths
\end{verbatim}
\end{verbatim}

where \verb|\recomputelengths| is required when changes are made to page layout lengths.

Expand All @@ -137,21 +137,21 @@ \section{In the preamble}
\item \verb|\firstname{John}|
\item \verb|\familyname{Doe}|
\item \verb|\title{Resum\'e title}|: optional
\item \verb|\address{street and number}{postcode city}|: optional
\item \verb|\address{street and number}{postcode city}|: optional
\item \verb|\mobile{mobile}|: optional
\item \verb|\phone{phone}|: optional
\item \verb|\fax{fax}|: optional
\item \verb|\email{email}|: optional
\item \verb|\extrainfo{additional information}|: optional; here you can put, for example, the address of your website
\item \verb|\photo[64pt]{picture}|: optional; \texttt{64pt} is the height the picture, you can set here the size you prefer; \texttt{picture} is the name of the picture file
\item \verb|\quote{Some quote}|: optional
\end{itemize}
\end{itemize}

Finally you can suppress automatic page numbering for CVs longer than one page:

\begin{verbatim}
\nopagenumbers{}
\end{verbatim}
\end{verbatim}

\subsection{Examples}

Expand All @@ -170,7 +170,7 @@ \subsection{Examples}
\usepackage[scale=0.8]{geometry}
\recomputelengths
% personal data
% personal data
\firstname{John}
\familyname{Doe}
\title{Design enthusiast}
Expand All @@ -181,8 +181,8 @@ \subsection{Examples}
\email{[email protected]}
\extrainfo{\weblink{www.ctan.org}}
\photo[64pt]{jdoe_picture}
\quote{Any intelligent fool can make things bigger, more complex,
and more violent. It takes a touch of genius -- and a lot of courage -- to
\quote{Any intelligent fool can make things bigger, more complex,
and more violent. It takes a touch of genius -- and a lot of courage -- to
move in the opposite direction.}
\begin{document}
Expand Down Expand Up @@ -225,7 +225,7 @@ \section{Customize sections}

\subsection{Section}

The command to open a new section is:
The command to open a new section is:

\begin{verbatim}
\section{<title>}
Expand All @@ -237,7 +237,7 @@ \section{<title>}
\subsection{<title>}
\end{verbatim}

If necessary, there is a command to close the section:
If necessary, there is a command to close the section:

\begin{verbatim}
\closesection{}
Expand All @@ -253,7 +253,7 @@ \subsection{<title>}

\begin{verbatim}
\section{Section with your own content}\closesection
Your content here, inside the normal \LaTeX{} environment.
Your content here, inside the normal \LaTeX{} environment.
You can use any regular \LaTeX{} command, display mathematics
\[e =m\,c^2,\]
put some table or figure, \dots
Expand Down Expand Up @@ -281,8 +281,8 @@ \subsection{Items}
\cventry{years}{degree/job title}{institution/employer}
{localization}{optional: grade/...}
{optional: comment/job description}
\end{verbatim}
\vspace{-20pt}
\end{verbatim}
\vspace{-20pt}
where the last three arguments can be left empty
\item inside `language' cvsection environment, you can type every entry with:
\begin{verbatim}
Expand Down Expand Up @@ -328,33 +328,33 @@ \subsubsection*{Example}
\section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
%
%
\section{Master thesis}
\cvline{title}{\emph{Title}}
\cvline{supervisors}{Supervisors}
\cvline{description}{\small Short thesis abstract}
%
%
\section{Experience}
\subsection{Vocational}
\cventry{year--year}{Job title}{Employer}{City}{}{Description}
\cventry{year--year}{Job title}{Employer}{City}{}{Description}
\subsection{Miscellaneous}
\cventry{year--year}{Job title}{Employer}{City}{}%
{Description line 1\newline{}Description line 2}
%
%
\section{Languages}
\cvlanguage{language 1}{Skill level}{Comment}
\cvlanguage{language 2}{Skill level}{Comment}
%
%
\section{Computer skills}
\cvcomputer{category 1}{XXX, YYY, ZZZ}{category 3}{XXX, YYY, ZZZ}
\cvcomputer{category 2}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
%
%
\section{Interests}
\cvline{hobby 1}{\small Description}
\cvline{hobby 2}{\small Description}
\cvline{hobby 3}{\small Description}
%
%
\closesection{}
\pagebreak
%
Expand All @@ -371,15 +371,15 @@ \section{Extra 2}
% Publications from a BibTeX file
\nocite{*}
\bibliographystyle{plain}
\bibliography{publications} % 'publications' is the name of a BibTeX file
\bibliography{publications} % 'publications' is the name of a BibTeX file
%
\end{document}
\end{verbatim}
\end{verbatim}

\begin{figure}[!ht]
\centering
\fbox{\includegraphics[angle=90,width=\textwidth]{test_cvsection2.pdf}}\\
\fbox{\includegraphics[angle=90,width=\textwidth]{test_cvsection1.pdf}}
\fbox{\includegraphics[angle=90,width=\textwidth]{test_cvsection1.pdf}}
\caption{Example of usage of items inside cvsections.}
\label{fig:sections}
\end{figure}
Expand All @@ -394,7 +394,7 @@ \subsection*{Modifying the symbols}
For example: if you want to use the dingbat fonts, load the \texttt{pifont} package in the preamble, then substitute the default symbol \Telefon\ with the dingbat symbol \ding{38}\ by:
\begin{verbatim}
\renewcommand{\phonesymbol}{\ding{38}}
\end{verbatim}
\end{verbatim}

You can change the symbol for lists in two way:
\begin{itemize}
Expand All @@ -417,7 +417,7 @@ \section{Extra 2}
\cvlistdoubleitem[\Neutral]{Item 1}{Item 4}
\cvlistdoubleitem[\Neutral]{Item 2}{Item 5}
\cvlistdoubleitem[\Neutral]{Item 3}{}
\end{verbatim}
\end{verbatim}

\begin{figure}[!hbt]
\centering
Expand All @@ -431,7 +431,7 @@ \subsection*{Adjusting lengths}
\begin{verbatim}
\setlength{<length>}{<new_dimensions>}
\end{verbatim}
where \texttt{<length>} are \texttt{quote\-width}, \texttt{sep\-a\-ra\-tor\-col\-umn\-width}, \texttt{main\-col\-umn\-width}, \texttt{doub\-le\-i\-tem\-main\-col\-umn\-width}, \texttt{list\-i\-tem\-sym\-bol\-width}, \texttt{list\-doub\-le\-i\-tem\-main\-col\-umn\-width},
where \texttt{<length>} are \texttt{quote\-width}, \texttt{sep\-a\-ra\-tor\-col\-umn\-width}, \texttt{main\-col\-umn\-width}, \texttt{doub\-le\-i\-tem\-main\-col\-umn\-width}, \texttt{list\-i\-tem\-sym\-bol\-width}, \texttt{list\-doub\-le\-i\-tem\-main\-col\-umn\-width},

In particular, the first column can be set to any width. You can do that in two ways:
\begin{itemize}
Expand All @@ -454,7 +454,7 @@ \subsection*{Putting things at the end of CV}
\begin{verbatim}
\emptysection{}\closesection
\vfill
\begin{center}
\begin{center}
\textit{\small Ai sensi del D. Lgs. 196/2003 ...}
\end{center}
\end{verbatim}
Expand Down
6 changes: 3 additions & 3 deletions moderncv.cls
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
bookmarksdepth= 2,% to show sections and subsections
pdfauthor = {\@firstname{}~\@lastname{}},
pdftitle =
{\@firstname{}~\@lastname{}\expandafter\notblank\expandafter{\@title}{ -- \@title}{}}, %\notblank does not expand argument automatically
{\@firstname{}~\@lastname{}\expandafter\notblank\expandafter{\@title}{ -- \@title}{}}, %\notblank does not expand argument automatically
pdfsubject = {R\'{e}sum\'{e} of \@firstname{}~\@lastname{}},
pdfkeywords = {\@firstname{}~\@lastname{}, curriculum vit\ae{}, r\'{e}sum\'{e}}}}

Expand Down Expand Up @@ -255,8 +255,8 @@

% http://latex.org/forum/viewtopic.php?t=12239
\def\SplitMyMacro#1/#2{#2}


% adds a social link to one's personal information (optional)
% usage: \social[<optional type>][<optional url>]{<account name>}
% where <optional type> should be either:
Expand Down
2 changes: 1 addition & 1 deletion moderncvbodyi.sty
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%-------------------------------------------------------------------------------
% required packages
%-------------------------------------------------------------------------------
% provides the commands for the skillmatrix as well as the command
% provides the commands for the skillmatrix as well as the command
% \recompute@cvskillmatrix@lengths
\RequirePackage[moderncvbodyi]{moderncvskillmatrix}

Expand Down
2 changes: 1 addition & 1 deletion moderncvbodyiii.sty
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
%-------------------------------------------------------------------------------
% required packages
%-------------------------------------------------------------------------------
% provides the commands for the skillmatrix as well as the command
% provides the commands for the skillmatrix as well as the command
% \recompute@cvskillmatrix@lengths
\RequirePackage[moderncvbodyiii]{moderncvskillmatrix}

Expand Down
2 changes: 1 addition & 1 deletion moderncvbodyiv.sty
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%-------------------------------------------------------------------------------
% required packages
%-------------------------------------------------------------------------------
% provides the commands for the skillmatrix as well as the command
% provides the commands for the skillmatrix as well as the command
% \recompute@cvskillmatrix@lengths
\RequirePackage[moderncvbodyiv]{moderncvskillmatrix}

Expand Down
2 changes: 1 addition & 1 deletion moderncvbodyv.sty
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%-------------------------------------------------------------------------------
% required packages
%-------------------------------------------------------------------------------
% provides the commands for the skillmatrix as well as the command
% provides the commands for the skillmatrix as well as the command
% \recompute@cvskillmatrix@lengths
\RequirePackage[moderncvbodyv]{moderncvskillmatrix}

Expand Down
4 changes: 2 additions & 2 deletions moderncvdebugtools.sty
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
\begin{tikzpicture}[remember picture,overlay]
\begin{pgfonlayer}{background}
\coordinate (a\thedebugrule);
\draw[red,thin,#1]
\draw[red,thin,#1]
([xshift=#2]a\thedebugrule|-current page.north) -- ([xshift=#2]a\thedebugrule|-current page.south);
\end{pgfonlayer}
\end{tikzpicture}}
Expand All @@ -42,7 +42,7 @@
\begin{tikzpicture}[remember picture,overlay]
\begin{pgfonlayer}{background}
\coordinate (b\thedebugrule);
\draw[red,thin,#1]
\draw[red,thin,#1]
([yshift=#2]b\thedebugrule-|current page.west) -- ([yshift=#2]b\thedebugrule-|current page.east);
\end{pgfonlayer}
\end{tikzpicture}}
Expand Down
8 changes: 4 additions & 4 deletions moderncviconstikz.sty
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
\protect\begin{tikzpicture}[x=0.11em, y=0.11em, xscale=0.015, yscale=-0.015, inner sep=0pt, outer sep=0pt]
\protect\begin{scope}[shift={(507,387)}]
\protect\path[fill=color2,line width=0.057pt]
(105.2000,24.9000) .. controls (102.1000,16.0000) and (89.5000,16.0000) ..
(105.2000,24.9000) .. controls (102.1000,16.0000) and (89.5000,16.0000) ..
(86.3000,24.9000) -- (29.8000,199.7000) -- (161.7000,199.7000) .. controls
(161.7000,199.7000) and (105.2000,24.9000) .. (105.2000,24.9000) -- cycle
(0.9000,287.7000) .. controls (-1.7000,295.7000) and (1.2000,304.6000) ..
Expand Down Expand Up @@ -327,7 +327,7 @@
\protect\raisebox{-0.12em}{
\protect\begin{tikzpicture}[y=1.8pt, x=1.8pt, yscale=-0.15, xscale=0.15, inner sep=0pt, outer sep=0pt]
\protect\begin{scope}[shift={(507,387)}]
\protect\path[fill=color2]
\protect\path[fill=color2]
(0.9360,0.7320) .. controls (0.9360,10.9053) and (0.9360,21.0787) ..
(0.9360,31.2520) .. controls (1.6673,31.2520) and (2.3987,31.2520) ..
(3.1300,31.2520) .. controls (3.3452,32.0075) and (2.8778,32.0803) ..
Expand Down Expand Up @@ -374,7 +374,7 @@
\protect\raisebox{-0.12em}{
\protect\begin{tikzpicture}[y=0.1pt, x=0.1pt, yscale=-0.13, xscale=0.13, inner sep=0pt, outer sep=0pt]
\protect\begin{scope}[shift={(507,387)}]
\protect\path[fill=color2]
\protect\path[fill=color2]
(430.1000,180.9000) -- (437.8000,211.9000) .. controls (407.6000,219.3000)
and (378.7000,231.3000) .. (352.1000,247.3000) -- (335.7000,220.0000) ..
controls (365.0000,202.3000) and (396.9000,189.1000) .. (430.1000,180.9000) --
Expand Down Expand Up @@ -448,7 +448,7 @@
(11249.8942,-1872.9296)arc(269.285:169.240:0.201313 and 0.150) --
(11258.5852,-1839.4433)arc(66.699:32.084:23.067) --
(11250.0698,-1872.8557)arc(329.460:269.346:0.201313 and 0.150) -- cycle;

\protect\path[scale=0.265, fill=color2, line width=0.426pt]
(11249.3743,-1883.6959)arc(269.785:180.000:23.067)arc(180.001:147.920:23.067)
-- (11249.1480,-1873.2412)arc(209.929:330.071:0.360097 and 0.269) --
Expand Down
Loading

0 comments on commit f3dd14f

Please sign in to comment.