I am writing a resume and want to center text at the top of the document which contains my name and email details, like this
I used \begin{center} and \end{center} but it doesnt seem to work
Here is my code:
\begin{document}
\begin{tabular*}{\linewidth}{l@{\extracolsep{\fill}}r}
\vspace{-4mm}
\textbf{\LARGE Samuel Adams}
\\
& \\ \textbf{Notsville, TX} $|$
\textbf{\phone \ \ +1 (000) 000 0000} $|$
\textbf{[email protected]} $|$ \textbf{{www.linkedin.com/ffdfs}}\\
\end{tabular*}
\vspace{1 mm}
Can anyone help me center this piece of text?
This is how it looks right now. I am looking to center both lines just like we do it in word.
The table will be in the middle of the page once
you make the left and right margin the same size
use
\noindent
in front of the table to avoid it being indented as the first line of a new paragraph(I'm actually not sure why you use a table for this, you never use the second column...)