Text FormattingLooking to emulate the justified tabs in Word

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
zerozerozer
Posts: 2
Joined: Tue Aug 17, 2010 3:27 am

Looking to emulate the justified tabs in Word

Post by zerozerozer »

I'm new to LaTeX, so I apologize if this is something that is very easy to do and I am just not figuring it out. I have only been using LaTeX for about a month after having it be required to turn in a few assignments for a class this summer semester. I did try searching in the forum archive and around the general internet, so I suspect I may just not know the right term to search for.

Anyhow, my impressions of LaTeX so far have been great, and after using it for coursework, I have been trying to rewrite my resume in LaTeX instead of Word, which it currently is in. I have been able to copy the look of most of it, but there is one thing I haven't been able to figure out: getting two elements on the same line with different justifications. In Word, this is done by specifying tabs and the justifications for the tabs. I have uploaded an example of what I mean in Word in case that explanation isn't clear.

Below is the LaTeX formatting that I have written for this so far:

Code: Select all

\begin{indentation}{0pt}{0pt}{0pt}
{\textbf{EDUCATION}}
\end{indentation}

\begin{indentation}{0pt}{0pt}{0pt}
\textbf{University of Placeholder}, Cityville, Stateland
\end{indentation}

\begin{indentation}{0pt}{0pt}{0pt}
\textit{Degree}, Major

\begin{flushright}
StartDate \textendash{} EndDate
\end{flushright}\end{indentation}

\begin{indentation}{0pt}{0pt}{0pt}
\begin{itemize}
	\setlength{\itemsep}{0cm}
	\setlength{\parskip}{0cm}
	\item Bullet Number One
	\item Bullet Number Two
	\item Bullet Number Three
\end{itemize}
\end{indentation}
Thank you for any help that anyone can provide.
Attachments
edexample.jpg
edexample.jpg (44.35 KiB) Viewed 2037 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Looking to emulate the justified tabs in Word

Post by meho_r »

In this simple case, you may try with \hfill (which is a shortcut of \hspace{\fill}):

Code: Select all

\textit{Degree}, Major\hfill StartDate \textendash{} EndDate
Naturally, there is a vertical equivalent too: \vfill (or: \vspace{\fill}). You may try multiple instances of these commands for fine tuning the spacing.

But, for a little bit more complicated cases then the one above, you may use Tabbing package, and for much complicated cases, you may use tabular and array environment.
zerozerozer
Posts: 2
Joined: Tue Aug 17, 2010 3:27 am

Re: Looking to emulate the justified tabs in Word

Post by zerozerozer »

This is exactly what I was looking to do. Thank you very much for your help!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Looking to emulate the justified tabs in Word

Post by localghost »

Now that the problem is solved, please mark the topic exactly as described in Section 3 of the Board Rules.


Best regards and welcome to the board
Thorsten
Post Reply