Text Formatting ⇒ Tabbing, alignment
Tabbing, alignment
Hello,
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
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.

Tabbing, alignment
Hi,
can't you use a tabular environment?
can't you use a tabular environment?
Code: Select all
Code, edit and compile here:
\documentclass{article}\begin{document}\begin{tabular}{lr}column1 & column2\\text & text\end{tabular}\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Tabbing, alignment
hi,
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
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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Tabbing, alignment
right, sorry about the confusion.. when I set the tabular environment, the left column doesn´t align to the left as the rest of the text in the document does
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Tabbing, alignment
Code: Select all
Code, edit and compile here:
\documentclass{article}\begin{document}\begin{tabular}{@{}lr@{}}column1 & column2\\text & text\end{tabular}\end{document}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Tabbing, alignment
For the record, you can right align in a tabbing environment using the \` command, which will push the text right aligned up to the next tab stop, or the end of the line if there are no more assigned.
Code: Select all
Code, edit and compile here:
\documentclass{article}\begin{document}\begin{tabbing}left \` right\\gauche \` droit\\links \` rechts\\\end{tabbing}\end{document}