General ⇒ how to insert tabs ?
how to insert tabs ?
for ex. in the following case -
\begin{enumerate}
\item {Alt : \\}
\item {Pqree :\\}
\item {rmstseee :\\}
\end{enumerate}
I want all the colon's to be aligned. how do I do that ?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
how to insert tabs ?
Supplement:
Since you added some information, I suggest to use an environment I provided in another topic [1]. The explanations in that topic should help you to get things work.
[1] LaTeX Community · View topic - vertically aligning text of an interview so it looks good
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: how to insert tabs ?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: how to insert tabs ?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: how to insert tabs ?
Also, can't I use commands like \sum in the item like -
\item Summation : It is denoted by \sum \newline
\item blahblah :
The output I get is -
Summation : It is denoted by \sum blahblah
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
how to insert tabs ?
If there is a command, I don't know it. The provided list environment matches exactly your ideas. The tabbing environment only yields left alignment.latex_guy wrote:I went through it, but since I'm a newbie just wondering whether there is a command to do it. Would \= and \> work ? [...]
Of course, you can. But the summation character can only be typeset in mathematical mode.latex_guy wrote:[...] Also, can't I use commands like \sum in the item [...]
Code: Select all
\begin{xlist}{Summation:}
\item[Summation:] It is denoted by $\sum$.
\item[foobar:] Not known.
\end{xlist}Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10