Text Formatting ⇒ Tabbing, alignment
Tabbing, alignment
is there any way to set a right aligment of text in the tabbing environment?
The first tab has left alignment, but I need the next tab to have the text aligned to the right.
Thanks in advance
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
Tabbing, alignment
can't you use a tabular environment?
Code: Select all
\documentclass{article}
\begin{document}
\begin{tabular}{lr}
column1 & column2\\
text & text
\end{tabular}
\end{document}
Re: Tabbing, alignment
tried that out, but can´t make the left column to align with the left side of the page, it sets the table in the vertical center
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Tabbing, alignment
Please explain what the (horizontal) alignment to the left has to do with the alleged vertical centering.danmaker wrote:[...] tried that out, but can´t make the left column to align with the left side of the page, it sets the table in the vertical center
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Tabbing, alignment
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Tabbing, alignment
Code: Select all
\documentclass{article}
\begin{document}
\begin{tabular}{@{}lr@{}}
column1 & column2\\
text & text
\end{tabular}
\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Tabbing, alignment
Code: Select all
\documentclass{article}
\begin{document}
\begin{tabbing}
left \` right\\
gauche \` droit\\
links \` rechts\\
\end{tabbing}
\end{document}