![简历:如何创建文本框?](https://linux22.com/image/275855/%E7%AE%80%E5%8E%86%EF%BC%9A%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E6%96%87%E6%9C%AC%E6%A1%86%EF%BC%9F.png)
我正在创建一个简历模板。下面的图片看起来很糟糕,有没有办法将整个项目符号“主题”放入一个框中,以便正确对齐?或者您有更好的解决方案吗?
\documentclass[10pt]{article}
%\usepackage{setspace}
%\singlespacing
\oddsidemargin=0.0in
\evensidemargin=0.0in
\textwidth=6.5in
\marginparwidth=0.5in
\headheight=0pt
\headsep=0pt
\textheight=9.0in
\pagenumbering{gobble}
\begin{document}
\centerline{\huge \bf My Name}
\vspace{2.5pt}
\centerline{$\bullet$ Naitonality $\bullet$ (Country code)phone number}
\centerline{Email}
\noindent{\LARGE \bf Education} \\
{\line(1,0){475}}
\noindent{\textbf{School} \hfill{Time}} \\
\hspace{10in}{Sixth Form } \hfill{Time}\par
\noindent{\hspace{0.4in} $\bullet$ Subjects: physics, biology, chemistry, japanese, english, mathematics, history, geography, design and technology, religous studies}
\end{document}
答案1
尝试一下enumitem
:
\documentclass[10pt]{article}
\usepackage{enumitem}
%\usepackage{setspace}
%\singlespacing
\oddsidemargin=0.0in
\evensidemargin=0.0in
\textwidth=6.5in
\marginparwidth=0.5in
\headheight=0pt
\headsep=0pt
\textheight=9.0in
\pagenumbering{gobble}
\begin{document}
\centerline{\huge \bf My Name}
\vspace{2.5pt}
\centerline{$\bullet$ Naitonality $\bullet$ (Country code)phone number}
\centerline{Email}
\noindent{\LARGE \bf Education} \\
{\line(1,0){475}}
\noindent{\textbf{School} \hfill{Time}} \\
\hspace{10in}{Sixth Form } \hfill{Time}\par
\begin{description}[labelindent=.4in,style=multiline,leftmargin=1.3in]
\item[$\bullet$ Subjects:] physics, biology, chemistry, japanese, english, mathematics, history, geography, design and technology, religous studies
\end{description}
\end{document}
leftmargin=1.3in
按你的意愿改变。
再试一次parbox
。放入\usepackage{linegoal}
序言和
\noindent\hspace*{0.4in} $\bullet$ Subjects:
\parbox[t]{\linegoal}{physics, biology, chemistry, japanese, english, mathematics, history, geography, design and technology, religous studies}
将产生