将 Share-Latex 简历中的日期更改为德国标准

将 Share-Latex 简历中的日期更改为德国标准

目前,Share-Latex 中我的简历日期是用英文书写的,即October 12, 2017。但我首先想将其改为德文(Oktober而不是October),其次改为更常见的格式DD MM YYYY。但在这个简历中,日期似乎是预定义的,因为我找不到日期的代码。你能帮帮我吗?

   %% start of file `template.tex'.

\documentclass[11pt,a4paper,sans]{moderncv}        % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')

% moderncv themes
\moderncvstyle{classic}                            % style options are 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{green}                              % color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'


% character encoding
\usepackage[utf8]{inputenc}                       % if you are not using xelatex ou lualatex, replace by the encoding you are using


% adjust the page margins
\usepackage[scale=0.77]{geometry}


% personal data
\name{bla}{bla}                            
\address{bla bla}{bla bla}
\phone[mobile]{bla bla}                   % 
\email{bla bla}                          

%----------------------------------------------------------------------------------
    %            content
    %----------------------------------------------------------------------------------

\begin{document}
%-----       letter       ---------------------------------------------------------
% recipient data
\recipient{bla bla}{ \\ bla bla
\\bla bla}

\opening{\textbf{bla bla} \newline 
\newline 
Sehr geehrter Damen und Herren,}



\makelettertitle

bla bla

\vspace{0.2cm}

\closing{Mit freundlichen Grüßen,}


\makeletterclosing



\end{document}

答案1

只需添加\usepackage[ngerman]{babel}到您的序言中...

以下 MWE

\documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
\moderncvstyle{classic}
\moderncvcolor{green} 


% character encoding
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}  % <========================================


% adjust the page margins
\usepackage[scale=0.77]{geometry}


% personal data
\name{bla}{bla}                            
\address{bla bla}{bla bla}
\phone[mobile]{bla bla}                   % 
\email{bla bla}                          

%----------------------------------------------------------------------------------
    %            content
    %----------------------------------------------------------------------------------

\begin{document}
%-----       letter       ---------------------------------------------------------
% recipient data
\recipient{bla bla}{bla\\ bla bla
\\bla bla}

\opening{\textbf{bla bla} \newline 
\newline 
Sehr geehrter Damen und Herren,}



\makelettertitle

bla bla

\vspace{0.2cm}

\closing{Mit freundlichen Grüßen,}


\makeletterclosing



\end{document}

得到结果:

生成的 pdf

相关内容