Code refactoring separating style schemes from color schemes
This commit is contained in:
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
%% start of file `template.tex'.
|
||||
%% start of file `template-zh.tex'.
|
||||
%% Copyright 2006-2011 Xavier Danaux (xdanaux@gmail.com).
|
||||
%
|
||||
% This work may be distributed and/or modified under the
|
||||
@ -6,11 +6,11 @@
|
||||
% available at http://www.latex-project.org/lppl/.
|
||||
|
||||
|
||||
\documentclass[11pt,a4paper]{moderncv}
|
||||
\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 主题
|
||||
\moderncvtheme[blue]{casual} % 选项参数是 ‘blue’ (默认)、‘orange’、‘green’、‘red’、‘purple’、‘grey’和‘roman’ (改变无衬线自体为衬线字体)
|
||||
%\moderncvtheme[green]{classic} % 同上
|
||||
\moderncvstyle{casual} % 选项参数是 ‘casual’ 和 ‘classic’
|
||||
\moderncvcolor{blue} % 选项参数是 ‘blue’ (默认)、‘orange’、‘green’、‘red’、‘purple’ 和 ‘grey’
|
||||
|
||||
% 字符编码
|
||||
\usepackage[utf8]{inputenc} % 替换你正在使用的编码
|
||||
@ -19,7 +19,6 @@
|
||||
% 调整页面出血
|
||||
\usepackage[scale=0.8]{geometry}
|
||||
%\setlength{\hintscolumnwidth}{3cm} % 如果你希望改变日期栏的宽度
|
||||
%\setlength{\maketitlenamewidth}{10cm} % 仅用于经典主题,如果你希望改变你的姓名框的宽度 (以便给地址留出更多的空间)
|
||||
|
||||
% 个人信息
|
||||
\firstname{小龙}
|
||||
@ -36,9 +35,9 @@
|
||||
\quote{引言(可选项)} % 可选项、如不需要可删除本行
|
||||
|
||||
% 显示索引号;仅用于在简历中使用了引言
|
||||
\makeatletter
|
||||
\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
|
||||
\makeatother
|
||||
%\makeatletter
|
||||
%\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
|
||||
%\makeatother
|
||||
|
||||
% 分类索引
|
||||
%\usepackage{multibib}
|
||||
@ -102,13 +101,13 @@
|
||||
\section{其他 1}
|
||||
\cvlistitem{项目 1}
|
||||
\cvlistitem{项目 2}
|
||||
\cvlistitem[+]{项目 3} % 可选其他符号
|
||||
\cvlistitem{项目 3}
|
||||
|
||||
\renewcommand{\listitemsymbol}{-} % 改变列表符号
|
||||
|
||||
\section{其他 2}
|
||||
\cvlistdoubleitem{项目 1}{项目 4}
|
||||
\cvlistdoubleitem{项目 2}{项目 5 \cite{book1}}
|
||||
\cvlistdoubleitem{项目 2}{项目 5\cite{book1}}
|
||||
\cvlistdoubleitem{项目 3}{}
|
||||
|
||||
% 来自BibTeX文件但不使用multibib包的出版物
|
||||
@ -130,4 +129,4 @@
|
||||
\end{document}
|
||||
|
||||
|
||||
%% 文件结尾 `template_zh.tex'.
|
||||
%% 文件结尾 `template-zh.tex'.
|
||||
Binary file not shown.
@ -6,11 +6,12 @@
|
||||
% available at http://www.latex-project.org/lppl/.
|
||||
|
||||
|
||||
\documentclass[11pt,a4paper]{moderncv}
|
||||
\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
|
||||
\moderncvtheme[blue]{casual} % optional argument are 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
|
||||
%\moderncvtheme[green]{classic} % idem
|
||||
\moderncvstyle{casual} % style options are 'casual' (default) and 'classic'
|
||||
\moderncvcolor{blue} % color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
|
||||
%\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name
|
||||
|
||||
% character encoding
|
||||
\usepackage[utf8]{inputenc} % replace by the encoding you are using
|
||||
@ -19,7 +20,6 @@
|
||||
% adjust the page margins
|
||||
\usepackage[scale=0.8]{geometry}
|
||||
%\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
|
||||
%\setlength{\maketitlenamewidth}{10cm}} % only for the classic theme, if you want to change the width of your name placeholder (to leave more space for your address details
|
||||
|
||||
% personal data
|
||||
\firstname{John}
|
||||
@ -35,10 +35,10 @@
|
||||
\photo[64pt][0.4pt]{picture} % '64pt' is the height the picture must be resized to, 0.4pt is the thickness of the frame around it (put it to 0pt for no frame) and 'picture' is the name of the picture file; optional, remove the line if not wanted
|
||||
\quote{Some quote (optional)} % optional, remove the line if not wanted
|
||||
|
||||
% to show numerical labels in the bibliography; only useful if you make citations in your resume
|
||||
\makeatletter
|
||||
\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
|
||||
\makeatother
|
||||
% to show numerical labels in the bibliography (default is to show no labels); only useful if you make citations in your resume
|
||||
%\makeatletter
|
||||
%\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
|
||||
%\makeatother
|
||||
|
||||
% bibliography with mutiple entries
|
||||
%\usepackage{multibib}
|
||||
@ -102,13 +102,13 @@ Detailed achievements:%
|
||||
\section{Extra 1}
|
||||
\cvlistitem{Item 1}
|
||||
\cvlistitem{Item 2}
|
||||
\cvlistitem[+]{Item 3} % optional other symbol
|
||||
\cvlistitem{Item 3}
|
||||
|
||||
\renewcommand{\listitemsymbol}{-} % change the symbol for lists
|
||||
|
||||
\section{Extra 2}
|
||||
\cvlistdoubleitem{Item 1}{Item 4}
|
||||
\cvlistdoubleitem{Item 2}{Item 5 \cite{book1}}
|
||||
\cvlistdoubleitem{Item 2}{Item 5\cite{book1}}
|
||||
\cvlistdoubleitem{Item 3}{}
|
||||
|
||||
% Publications from a BibTeX file without multibib\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}% for BibTeX numerical labels
|
||||
@ -129,4 +129,4 @@ Detailed achievements:%
|
||||
\end{document}
|
||||
|
||||
|
||||
%% end of file `template_en.tex'.
|
||||
%% end of file `template.tex'.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user