Code refactoring separating style schemes from color schemes

This commit is contained in:
Xavier Danaux
2011-12-12 01:23:29 +01:00
parent 3d3a628fb7
commit 5dc47a8c75
21 changed files with 671 additions and 596 deletions

View File

@ -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 (默认)、orangegreenredpurplegreyroman (改变无衬线自体为衬线字体)
%\moderncvtheme[green]{classic} % 同上
\moderncvstyle{casual} % 选项参数是 casualclassic
\moderncvcolor{blue} % 选项参数是 blue (默认)、orangegreenredpurplegrey
% 字符编码
\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'.