mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Fix underfull \hbox warning in classic style
This commit is contained in:
parent
876d7884f2
commit
ce0e4deff0
2 changed files with 14 additions and 9 deletions
|
|
@ -137,11 +137,17 @@
|
||||||
\rlap{\usebox{\makecvheaddetailsbox}}% \llap is used to suppress the width of the box, allowing overlap if the value of makecvheadnamewidth is forced
|
\rlap{\usebox{\makecvheaddetailsbox}}% \llap is used to suppress the width of the box, allowing overlap if the value of makecvheadnamewidth is forced
|
||||||
\hfill%
|
\hfill%
|
||||||
\usebox{\makecvheadnamebox}\fi%
|
\usebox{\makecvheadnamebox}\fi%
|
||||||
\\[2.5em]%
|
|
||||||
% optional quote
|
% optional quote
|
||||||
\ifthenelse{\isundefined{\@quote}}%
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
{}%
|
{\vspace{2.5em}}%
|
||||||
{{\centering\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
|
{%
|
||||||
|
\\[2.5em]%
|
||||||
|
{%
|
||||||
|
\centering%
|
||||||
|
\begin{minipage}{\quotewidth}%
|
||||||
|
\centering%
|
||||||
|
\quotestyle{\@quote}%
|
||||||
|
\end{minipage}\\[2.5em]}}%
|
||||||
\par}% to avoid weird spacing bug at the first section if no blank line is left after \makecvhead
|
\par}% to avoid weird spacing bug at the first section if no blank line is left after \makecvhead
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
11
template.tex
11
template.tex
|
|
@ -30,7 +30,7 @@
|
||||||
\setmainfont{Latin Modern Roman}
|
\setmainfont{Latin Modern Roman}
|
||||||
\setsansfont{Latin Modern Sans}
|
\setsansfont{Latin Modern Sans}
|
||||||
\setmonofont{Latin Modern Mono}
|
\setmonofont{Latin Modern Mono}
|
||||||
\setmathfont{Latin Modern Math}
|
\setmathfont{Latin Modern Math}
|
||||||
\else
|
\else
|
||||||
\usepackage[utf8]{inputenc}
|
\usepackage[utf8]{inputenc}
|
||||||
\usepackage[T1]{fontenc}
|
\usepackage[T1]{fontenc}
|
||||||
|
|
@ -161,9 +161,9 @@ Detailed achievements:
|
||||||
|
|
||||||
\section{Skill matrix}
|
\section{Skill matrix}
|
||||||
\cvitem{Skill matrix}{Alternatively, provide a skill matrix to show off your skills}
|
\cvitem{Skill matrix}{Alternatively, provide a skill matrix to show off your skills}
|
||||||
%% Skill matrix as an alternative to rate one's skills, computer or other.
|
%% Skill matrix as an alternative to rate one's skills, computer or other.
|
||||||
|
|
||||||
%% Adjusts width of skill matrix columns.
|
%% Adjusts width of skill matrix columns.
|
||||||
%% Usage \setcvskillcolumns[<width>][<factor>][<exp_width>]
|
%% Usage \setcvskillcolumns[<width>][<factor>][<exp_width>]
|
||||||
%% <width>, <exp_width> should be lengths smaller than \textwidth, <factor> needs to be between 0 and 1.
|
%% <width>, <exp_width> should be lengths smaller than \textwidth, <factor> needs to be between 0 and 1.
|
||||||
%% Examples:
|
%% Examples:
|
||||||
|
|
@ -202,12 +202,12 @@ Detailed achievements:
|
||||||
%% Adjust head of the skill matrix for other languages
|
%% Adjust head of the skill matrix for other languages
|
||||||
% \cvskillhead[0.25em][Level][F\"ahigkeit][Jahre][Bemerkung]
|
% \cvskillhead[0.25em][Level][F\"ahigkeit][Jahre][Bemerkung]
|
||||||
|
|
||||||
%% \cvskillentry[*][<post_padding>]{<skill_cathegory>}{<0-5>}{<skill_name>}{<years_of_experience>}{<comment>}%
|
%% \cvskillentry[*][<post_padding>]{<skill_cathegory>}{<0-5>}{<skill_name>}{<years_of_experience>}{<comment>}%
|
||||||
%% Example usages:
|
%% Example usages:
|
||||||
\cvskillentry*{Language:}{3}{Python}{2}{I'm so experienced in Python and have realised a million projects. At least.}
|
\cvskillentry*{Language:}{3}{Python}{2}{I'm so experienced in Python and have realised a million projects. At least.}
|
||||||
\cvskillentry{}{2}{Lilypond}{14}{So much sheet music! Man, I'm the best!}
|
\cvskillentry{}{2}{Lilypond}{14}{So much sheet music! Man, I'm the best!}
|
||||||
\cvskillentry{}{3}{\LaTeX}{14}{Clearly I rock at \LaTeX}
|
\cvskillentry{}{3}{\LaTeX}{14}{Clearly I rock at \LaTeX}
|
||||||
\cvskillentry*{OS:}{3}{Linux}{2}{I only use Archlinux btw}% notice the use of the starred command and the optional
|
\cvskillentry*{OS:}{3}{Linux}{2}{I only use Archlinux btw}% notice the use of the starred command and the optional
|
||||||
\cvskillentry*[1em]{Methods}{4}{SCRUM}{8}{SCRUM master for 5 years}
|
\cvskillentry*[1em]{Methods}{4}{SCRUM}{8}{SCRUM master for 5 years}
|
||||||
%% \cvskill{<0-5>} command
|
%% \cvskill{<0-5>} command
|
||||||
% \cvitem{\textbackslash{cvskill}:}{Skills can be visually expressed by the \textbackslash{cvskill} command, e.g. \cvskill{2}}
|
% \cvitem{\textbackslash{cvskill}:}{Skills can be visually expressed by the \textbackslash{cvskill} command, e.g. \cvskill{2}}
|
||||||
|
|
@ -279,4 +279,3 @@ Albert Einstein discovered that $e=mc^2$ in 1905.
|
||||||
|
|
||||||
|
|
||||||
%% end of file `template.tex'.
|
%% end of file `template.tex'.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue