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 ?
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
- 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
Re: how to insert tabs ?
