I am new to LaTeX and I am creating a resume.
I have added a black line.
1)However, I would like to know how to specify a color and line thickness for this line?
2) I would like to know how to adjust line spacing? I know I can use \setspace
. I am not too happy with \singlespacing
and onehalfspacing
. I am looking for something in between these 2. I want to be able to manually adjust the line spacing (is there a parameter that I can set?).
3) For the last row, I am trying to do tab
then "Sixth Form" but I do not understand why latex is not allowing me to do it ?
\documentclass[10pt]{article}
\usepackage[top=0.7in, left=0.3in, bottom=0.0in, right=0.3in]{geometry}
%\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$ Address $\bullet$ (Country code)phone number}
\centerline{Email}
\noindent{\LARGE \bf Education} \\
{\line(1,0){475}}
\hspace{10in}{Sixth Form } \hfill{Time}
\end{document}
Best Answer
You can use
\setstretch{..}
to set a different factor, although in general changing the baseline from the one intended in the font design usually doesn't lead to an improvement.Other comments, you loaded the
geometry
package (usually the best way of setting page dimensions) but then over-rode all its settings by setting lower level LaTeX parameters:\centerline
and\bf
shouldn't really be used in LaTeX they are hang overs from plain TeX (\bf
is not even defined by default, just added as a compatibility layer by the document class). Whenever you have a font size change it is best to include a paragraph end (\par
or blank line) within the same scope, otherwise you set large text on a small baseline.Similarly
Avoid
\\
except in tabular etc. This should be\line
is only intended fro picture mode, I was surprised it didn't give an explicit error here but apparently not. Use\rule
Should be
Or to change the width and colour
add
then