I am trying to align such that

Some_Text  1. Other Text       
           2. Other Text

I used

\text{Some_Text}&\text{Other Text}\\
&\text{Other Text}\\

But it did not work.

Here is my Preamble:

  • If you are not using beamer, enumitem package offers a lot of customization options for such lists – percusse Apr 12 '13 at 22:17
  • "But it did not work.": The problem with this one is the _. You must escape it by \_. :) But having said that, I am not sure this is the right way to achieve what you're trying to do. I'll write an answer... :) – kan Apr 12 '13 at 22:18
  • 1
    While you can use align to align text elements, align is really intended for equation alignments so best to use tabular or enumerate type of environment. If this is something you do often you may want to consider defining a custom environment for this. – Peter Grill Apr 13 '13 at 1:34

Here's my first try, I am not great with tables, but I would like to try:

Some\_Text  & \vspace{-1em}
  \item Other text
  \item Other text
More text.


Here is another possibility (to get over the trick of inserting negative \vspace. This answer is taken from Marco's answer, here, using enumitem package:

\item foo
\item bar
More text.

Thanks to David for helping me with this one in the chat room.

| improve this answer | |
  • I appreciate your help. But, I am using documentclass book to use geometry to resize the page size. The page size is very abnormal. Something like 1:10. So, your first code works with amsart document class but not book documentclass. Thanks anyway. If you have solution to this, it would be great. – 700resu Apr 13 '13 at 0:13
  • @700resu Could you please post your preamble? So, that, I can see how I'd tweak this solution... – kan Apr 13 '13 at 0:16
  • nothing more only: \documentclass{book} \usepackage[paperwidth=500mm,paperheight=50]{geometry}. Thanks. – 700resu Apr 13 '13 at 0:18
  • don't ask me what I am doing with 500*50 mm page. :) – 700resu Apr 13 '13 at 0:20
  • @700resu That would be none of my business. :) – kan Apr 13 '13 at 0:21

With a fixed-width column containing the enumeration, the following is a possibility:

enter image description here

\newcommand{\myitem}{\par\refstepcounter{enumi}\theenumi.\ }
  Some\textunderscore text &
    \myitem Other text
    \myitem Other text

If you wish to have a different kind of enumeration display, adjust \myitem to your liking. For example,

\newcommand{\myitem}{\par\refstepcounter{enumi}(\theenumi)\ }

provides brakcets around the numbering. The width of the second column is still an issue (whether it's sufficient or bad, say), but there's not much more one can do with the amount of detail available in the question.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.