Generalhow to insert tabs ?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
latex_guy
Posts: 5
Joined: Sat Jun 28, 2008 4:57 pm

how to insert tabs ?

Post by latex_guy »

what is the command for inserting tab characters ?
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 ?

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

how to insert tabs ?

Post by localghost »

Your request lacks precision. It's a difference whether to insert tabs in the editor or to have them in the final output. You have to clarify what you want and give exact descriptions.

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¹
latex_guy
Posts: 5
Joined: Sat Jun 28, 2008 4:57 pm

Re: how to insert tabs ?

Post by latex_guy »

I want it to be aligned in the ouput.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: how to insert tabs ?

Post by localghost »

Follow the link in the supplement of my last post.
latex_guy
Posts: 5
Joined: Sat Jun 28, 2008 4:57 pm

Re: how to insert tabs ?

Post by latex_guy »

I went through it, but since I'm a newbie just wondering whether there is a command to do it. Would \= and \> work ?
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
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

how to insert tabs ?

Post by localghost »

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 ? [...]
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:[...] Also, can't I use commands like \sum in the item [...]
Of course, you can. But the summation character can only be typeset in mathematical mode.

Code: Select all

\begin{xlist}{Summation:}
  \item[Summation:] It is denoted by $\sum$.
  \item[foobar:] Not known.
\end{xlist}
Since you are a beginner, I suggest to take a look at basic LaTeX documentation given by lshort and l2tabu.
latex_guy
Posts: 5
Joined: Sat Jun 28, 2008 4:57 pm

Re: how to insert tabs ?

Post by latex_guy »

yeah...thts right, will go through documentation .. :)
Post Reply