我正在尝试将下面的简历转换为乳胶。目前,我已经在 Inkscape 中手动创建了它。我已经设法正确设置了标题和页脚:
代码:
\usepackage{xcolor}
\usepackage{fancyhdr}
\usepackage{fontspec}
\definecolor{ihorange}{RGB}{241,98,55}
\setmainfont{Ubuntu Light}
\newfontface\footerfnt[LetterSpace=2.1]{Sansation}
\newfontface\headerfnt{Sansation Bold}
\newcommand\contactinfo{\fontsize{8pt}{8}\selectfont\headerfnt My address \\ postal code and city \\ telephonenr }
\newcommand\footertext{\fontsize{10pt}{15}\selectfont\footerfnt e: email@address /// w: www.ebsi.te /// skype: skyphandle /// twitter: @twitterhandle}
\newcommand\ColTopRule{%
{\noindent\color{ihorange}\rule{\textwidth}{1pt}}}
\newcommand\ColBotRule{%
{\noindent\color{ihorange}\rule{\textwidth}{1pt}}}
\newcommand\Header{%
\noindent\makebox[\textwidth][l]{%
\parbox{0.5\textwidth}{\contactinfo}%
\parbox{0.5\textwidth}{%
\hfill\includegraphics[height=25.409pt]{ihlogo}}}\par\vskip1ex%
\par\ColTopRule\par}
\newcommand\Footer[1]{%
\ColBotRule\par
\noindent
\hbox{\footertext}
}
\fancyhf{}
\fancyhead[C]{\Header}
\fancyfoot[C]{\Footer}
\renewcommand{\headrulewidth}{0pt}
\setlength\headheight{70pt}
\pagestyle{fancy}
但我不知道该怎么做内容。典型的 cv-entry 如下所示:
位置
@ 公司/组织
一段的时间
工作描述
我想要实现的是:
1)所有内容都保留在 1 页上
2)文本块之间的空间从页面的顶部到底部均匀分布在每一列中
3)文本块垂直填充每一列
4)我可以控制每个标题的颜色
5)如果可能的话,使用可以修改为这样的 CV 包
答案1
我建议你使用moderncv
或朋友来完成这项工作。但是,这应该可以帮助你入门(尽管它不会回答你所有的问题)。将所有内容放在一页中应该手动完成。
\documentclass[11pt]{article}
%--------------------------------------------------
\usepackage{graphicx}
\usepackage{multicol,lipsum}
\usepackage[a4paper,margin=1in,nohead]{geometry}
\usepackage{xcolor}
\definecolor{ihorange}{RGB}{241,98,55}
\usepackage{enumitem}
\setlist{leftmargin=*}
\pagestyle{empty}
%--------------------------------------------------
\begin{document}%
%--------------------------------------------------
\setlength{\columnsep}{1cm}
\setlength{\columnseprule}{0pt}
\renewcommand\columnseprulecolor{\color{yellow}}
%--------------------------------------------------
\noindent
\begin{minipage}[t]{.55\textwidth}
\noindent
My name \\
My address\\
My home\\
My city
\end{minipage}%
\hfill
\begin{minipage}[t]{.45\textwidth}%
My name \\
My address\\
My home\\
My city
\end{minipage}%
\par
\noindent{\color{ihorange}\rule{\textwidth}{3pt}}
\begin{multicols}{2}
\begin{itemize}
\item[\Large\bfseries\color{red}{\#}] {{\Large\color{red}{\bfseries About me}} \\ \lipsum[1]}
\item[\Large\bfseries\color{blue}{\#}] {{\Large\color{blue}{\bfseries Work experience}} \\ \lipsum[2]}
\item[\Large\bfseries\color{green}{\#}] {{\Large\color{green}{\bfseries Other experience}} \\ \lipsum[3]}
\item[\Large\bfseries\color{magenta}{\#}] {{\Large\color{magenta}{\bfseries Education}} \\ \lipsum[4]}
\item[\Large\bfseries\color{yellow}{\#}] {{\Large\color{yellow}{\bfseries Skills}} \\ In sleeping and eating and resting}
\item[\Large\bfseries\color{green!30!blue}{\#}] {{\Large\color{green!30!blue}{\bfseries Honors \& Awards}} \\
Suspendisse vel felis. Ut lorem lorem, in-
terdum eu, tincidunt sit amet, laoreet vi-
tae, arcu. Aenean faucibus pede eu ante.
Praesent enim elit, rutrum at, molestie
non, nonummy vel, nisl. Ut lectus eros,
malesuada sit amet, fermentum eu, so-
dales cursus, magna.}
\item[\Large\bfseries\color{red!40!green}{\#}] {{\Large\color{red!40!green}{\bfseries Interests}} \\ Eating and sleeping}
\end{itemize}
%\columnbreak
\end{multicols}
\vspace{-.5cm}
\vfill
\noindent{\color{ihorange}\rule{\textwidth}{1pt}}
\noindent
My name \hfill My street \hfill My city\\
My phone \hfill My fax \hfill My mail
%--------------------------------------------------
\end{document}