我用的是 LaTeX简历模板从http://www.constantinos.us/blog/2006/04/12/latex-resume-template网站..然后我根据下面给出的内容进行了修改..但不幸的是,它显示了一些错误,我很长时间都找不到解决方案
\documentclass[a4paper]{article}
\usepackage{fullpage}
\usepackage[left=1.90cm, right=1.80cm, top=2.00cm, bottom=1.50cm]{geometry}
\newcounter{magicrownumbers}
\newcommand\rownumber{\stepcounter{magicrownumbers}\arabic{magicrownumbers}}
\usepackage{amsmath}
\usepackage{hologo}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{amssymb}
\usepackage{hyperref}
\textheight=10in
\pagestyle{plain} % Page Number
%\raggedbottom
\raggedright
%\renewcommand{\encodingdefault}{cg}
%\renewcommand{\rmdefault}{lgrcmr}
% DEFINITIONS FOR RESUME
\newcommand{\area}[2]{\vspace*{-9pt} \begin{verse}\textbf{#1} #2 \end{verse} }
\newcommand{\lineunder}{\vspace*{-8pt} \\ \hspace*{-18pt} \hrulefill \\}
\newcommand{\header}[1]{{\hspace*{-15pt}\vspace*{6pt} \large{\textsc{#1}}} \vspace* {-6pt} \lineunder}
\newcommand{\employer}[2]{{ \underline{\textbf{\emph{#1}}} (#2) \\}}
\newcommand{\PublicationListing}[1]{{ \underline{\textbf{\emph{#1}:-}} \\}}
\newcommand{\contact}[3]{\vspace*{-8pt}
%\begin{center} {\LARGE \scshape {#1}}\\ #2 \lineunder #3 \end{center} \vspace*{-8pt}}
\begin{center} {\Large \scshape {#1}}\\ #2 \lineunder #3 \end{center} \vspace*{-8pt}}
\newenvironment{achievements}{\begin{list}{$\bullet$}{\topsep 0pt \itemsep -2pt}} {\vspace*{4pt}\end{list}}
\newcommand{\schoolwithcourses}[3]{ \textbf{#1} #2 #3}
\newcommand{\school}[3]{ \textbf{#1} #2 #3}
\newcommand{\UniversityInformations}[7]{ {\textbf{#1}} #2 {$\bullet$ \underline{#3}} {\underline{#4}} #5 {\underline{#6}} {\textit{#7}}}
% END RESUME DEFINITIONS
\begin{document}
\small
%\smallskip
\vspace*{-44pt}
\contact{My Name}{Research Engineer \\ \textit{Work Address}:- Room No\#1019 (10\textsuperscript{th} Floor),SAC; Dept. of EECS, \href{http://www.abc.edu/}{abc University},city \# 1229, country \\
\textit{Home Address}:- xyz, (3\textsuperscript{rd} Floor), House \# 123, Road \#456, CDF , Merul Badda, Dhaka}
{\Mobilefone +880-172837, \phone +880-364759 \Letter \it{[email protected]} \Letter \it{[email protected]} \\
\textit{Website}:-\ComputerMouse \it{\href{https://sites.google.com/site/xyz/}{https://sites.google.com/site/xyz/}}}
\header{Education}
%\UniversityInformations{\href{http://www.abc.edu/html/dcse.html#bseee}{Bachelor of Science in Electrical \& Electronic Engineering}; Summer-2012;} {\href{http://www.abc.edu/}{abc University}; Country \\} {GPA:- 3.79/4.00} {$\bullet$ Major GPA}{:- 3.84/4.00}{$\bullet$ Honors:-}{Magna Cum Laude}
\school {\href{http://www.abc.edu/html/dcse.html#bseee}{Bachelor of Science in Electrical \& Electronic Engineering}; Summer-2012;} {\href{http://www.northsouth.edu/}{abc University}; Country \\} {$\bullet$ \underline{GPA}:- 3.79/4.00 $\bullet$ \underline{Major GPA}:- 3.84/4.00 $\bullet$ \underline{Honors}:-\textit{Magna Cum Laude}} \\
{\underline{\textbf{Undergraduate Thesis}}:- {\it xyz ahdma hdahf hadjfh dafhadj fhdahf jkdah }}\\
\textbf{Supervisor:-} \href{http://users.ece.gatech.edu/~xyz/}{Dr. fhdjahf jadhfjhad }
\textbf{Co-Supervisor:-} \href{http://users.ece.gatech.edu/~mky/}{Dr. fjjahsfjdha kjfhadjk hfad}
\header{Research Interests}
$\diamond$ ashfahsd fhadjfh djakhfj kdajkfjha $\diamond$ dhjkdsha fbdahf kdabfjdah $\diamond$ dhjhaksjhfadfdagfad $\diamond$ dgysga fhdagfjdahgkfhdajkhf ad $\diamond$ dhashgfkjahdfkjhaddkhfajkjdh $\diamond$ dfagsdkfhadkfbad \& $\diamond$ dbfjadsjfkhdakjfjkdahfjkkdahj fdkjfh fdkjhfjda jfhdajk fhdah .
\header{Awards \& Achivements}
$\bullet$ Achieved 50\% Tuition waiver (Financial Assistantship) at \href{http://www.abc.edu/html/moreadmission.html#financial}{abc University}, Country. \\
$\bullet$ One of my papers was short listed at \href{http://www.opticsinfobase.org}{\it {Best Student Paper Competition LEDs, Photovoltaics, \& Optoelectronics in Energy}} of \href{http://www.acp-conf.org/}{Asia Communications and Photonics Conference (ACP) 2012}, China.
\header{Work History}
Department of Electrical Engineering \& Computer Science (EECS.), {\bf \href{http://www.abc.edu/html/moreadmission.html#financial}{ABC University}}, Country. \\
\employer{Research Assistant:-}{From June-2012 to Present}
\begin{achievements}
\item \underline{Project Title}:- {\it ehdjfhajdhfjdahfjhds jfdhsj sjkdhf kjjdsh jdshjg hsdjhg skjhgvu hsgjkhsf jkghsj fhvkjhfs gkhsj ghs } \\
Project Supervisor: \href{http://users.ece.gatech.edu/~xyz/}{Dr. ABC}
\item \underline{Project Title}:- {\it Transmission of Nearfield fjhdajfh djkahfjdah kjfhdj fhdjh gjkdhg jkhsdgh sdjkhg sfjghs jdk} \\
Project Supervisor: \href{http://www.eecs.qmul.ac.uk/group/fjehdjfhadjhfa.htlm}{Dr. xyz abc}
\end{achievements}
以下链接中出现错误
- 错误 --> 它说 \Hy@tempa 定义中的参数编号非法...derline{Honors}:-\textit{Magna Cum Laude}}
- 问题:我无法在标题行后添加空格。如何在标题行后添加更多空格
- 如何让它对齐?它总是左对齐。如何让它对齐?
- 如何稍微增加字体大小?
提前感谢您的支持:)
答案1
您给我们的原始模板和代码有点混乱;-)
- 您遇到的第一个错误是因为您尝试将超链接加粗。如果您希望将内容加粗,请执行
\href{http://chat.stackexchange.com/rooms/41/tex-latex-and-friends}{\bfseries A nice place to hang out}
。 - 我重新定义了
\lineunder
宏以使用预定义的 LaTeX 长度,它们可以根据个人喜好进行更改。 - 如果您希望简历对齐,请删除
\raggedright
导致右边距不齐的部分。 - 如果您希望字体更大,我的第一个建议是删除
\small
使当前字体变小的。如果您觉得需要更大的字体大小,请执行以下操作 托比约恩 在评论中说并使用11pt
或12pt
。
整个东西都杂乱无章,水平空间的变化很明显是由于正的 parskip 以及虚假空间造成的。我将设置parindent
为零,在这种情况下可以毫无遗憾地做到这一点。
我保留了简历模板的其余部分,并推荐给大家不是使用它。
\documentclass[a4paper]{article}
\newcommand{\lineunder}{\vspace*{-8pt} \\ \hspace*{-18pt} \hrulefill \\}
\renewcommand{\lineunder}{\par\hrulefill\bigbreak}
\newcommand{\header}[1]{{\large{\textsc{#1}}\par}\lineunder}
\newcommand{\school}[3]{\textbf{#1} #2 #3\par}
\raggedright
\setlength{\parindent}{0pt}
\renewcommand{\underline}{}
\usepackage{hyperref}
\begin{document}
%\small
\header{Research Interests}
\school{\href{http://www.northsouth.edu/}{\textbf{I am searching Zelda}}; Summer-2012;}
{\href{http://chat.stackexchange.com/rooms/41/tex-latex-and-friends}{A
nice place to hang out}; Country }
{$\bullet$ \underline{GPA}:- 3.79/4.00 $\bullet$ \underline{Major GPA}:- 3.84/4.00 $\bullet$ \underline{Honors}:-\textit{Magna Cum Laude}}
\end{document}