我正在尝试为我的简历创建一个标题。我对结果很满意,但有一个小的格式问题。我使用表格来控制我的姓名和联系信息的放置位置。我的姓名和详细信息刚好够长,略微超出我的页边距,看起来有点尴尬。以下是显示我正在处理的内容的最低限度。
\documentclass[12pt]{article}
\usepackage{moresize}
\usepackage{fullpage}
\usepackage[defaultsans]{droidsans}
\renewcommand*\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
\begin{document}
\begin{table}
\begin{tabular}{l r l}
\Huge{White H. Love-Tiger} & & \\ \hline
& \small{\tt{[email protected]}} & \small{42 Latex Ave.}\\
& \small{(555) 765-4321} & \small{Texburg, \textsc{XY}}\\
& & \small{\textsc{A1A 1A1}} \\
\end{tabular}
\end{table}
\section*{Experience}
Latex expert: I've never needed to ask anyone for help with Latex because I'm sure a Latex expert. Blah blah blah blah, lorem ipsum gibberish gibberish gibberish. I'm the most amazing, you really need to hire me, blah blah blah.... please give me a job. Blah blah blah blah, lorem ipsum gibberish gibberish gibberish. Blah blah blah blah, lorem ipsum gibberish gibberish gibberish. Blah blah blah blah, lorem ipsum gibberish gibberish gibberish.
\end{document}
标题刚好超出右边距。有没有办法让标题表从左边距到右边距填满文档,并且让联系信息的下行不超过右边距?这意味着我的名字末尾可能会超出我的电子邮件地址的开头,但我可以接受。
答案1
也许(您的代码不时地进行评论以查看差异):
\documentclass[12pt]{article}
\usepackage{moresize}
\usepackage{fullpage}
\usepackage[defaultsans]{droidsans}
\renewcommand*\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
\overfullrule5pt
\begin{document}
%\begin{table}
%\begin{tabular}{l r l}
%\Huge{White H. Love-Tiger} & & \\ \hline
\leftline{\Huge{White H. Love-Tiger} }\vspace{-2mm} % as much as you wish
\noindent
\null\hrulefill
\rightline{%
\begin{tabular}{r l}
% & \small{\tt{[email protected]}} & \small{42 Latex Ave.}\\
\small{\tt{[email protected]}} & \small{42 Latex Ave.}\\
% & \small{(555) 765-4321} & \small{Texburg, \textsc{XY}}\\
\small{(555) 765-4321} & \small{Texburg, \textsc{XY}}\\
% & & \small{\textsc{A1A 1A1}} \\
& \small{\textsc{A1A 1A1}} \\
\end{tabular}%
}
%\end{table}
\section*{Experience}
Latex expert: I've never needed to ask anyone for help with Latex because I'm sure a Latex expert. Blah blah blah blah, lorem ipsum gibberish gibberish gibberish. I'm the most amazing, you really need to hire me, blah blah blah.... please give me a job. Blah blah blah blah, lorem ipsum gibberish gibberish gibberish. Blah blah blah blah, lorem ipsum gibberish gibberish gibberish. Blah blah blah blah, lorem ipsum gibberish gibberish gibberish.
\end{document}
并且更好地\LaTeX\ Ave.
代替Latex Ave.
,但我知道你的文字是一个相当大的笑话。