# Resume: How to create a textbox?

I am creating a resume template. The picture below looks bad, is there a way to fit the entire bullet point "subject" into a box, so it is properly aligned ? Or is there a better solutions that you would suggest?

\documentclass[10pt]{article}

%\usepackage{setspace}
%\singlespacing

\oddsidemargin=0.0in
\evensidemargin=0.0in
\textwidth=6.5in
\marginparwidth=0.5in
\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}


• yes, but i dont really like it, thats why i want to create my own . – mynameisJEFF Sep 23 '13 at 0:19
• If I use tabular, the line become go over the right hand side of the page. Is there a way to specify the size of the table ? – mynameisJEFF Sep 23 '13 at 0:32
• That's what the p{<width>} specification does. There are many different types of table, however.... – jon Sep 23 '13 at 0:56
• i used p{0.75\textwidth} , it still doesnt achieve what I want – mynameisJEFF Sep 23 '13 at 1:12
• As a sidenote, I would instead use the description environment for this sort of thing (at least, this is what I did with mine). – Sean Allred Sep 23 '13 at 4:26

One try with enumitem:

\documentclass[10pt]{article}
\usepackage{enumitem}

%\usepackage{setspace}
%\singlespacing

\oddsidemargin=0.0in
\evensidemargin=0.0in
\textwidth=6.5in
\marginparwidth=0.5in
\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}


Change leftmargin=1.3in as per your wish.

Another try with parbox. Put \usepackage{linegoal} in preamble and

\noindent\hspace*{0.4in} $\bullet$ Subjects:
\parbox[t]{\linegoal}{physics, biology, chemistry, japanese, english, mathematics, history, geography, design and technology, religous studies}


will produce

• I prefer the second option, but i still dont want the word "design" to appear at the end of the first line, it would be better if you can make it appear on the second line, such that it will intersect with the right column, which contains "time". Hope you can understand what I am trying to say. Thanks – mynameisJEFF Sep 23 '13 at 1:27
• @asd: it will intersect with the right column,? Sorry I didn't follow. – user11232 Sep 23 '13 at 1:34
• i m very sorry, I mean it will not intersect with the right column. What I want is to set the dimension of parbox[t]{\linegoal} – mynameisJEFF Sep 23 '13 at 1:52
• I just found a way to get around this by doing \parbox[t]{0.75\linegoal} – mynameisJEFF Sep 23 '13 at 2:05
• @asd Things like that are possible, provided we know what exactly is the need ;) – user11232 Sep 23 '13 at 2:22