I would like to align some text similar to how the
align math environment works. I don't want to put the text in a table, because I don't want it to float. I tried putting the text in a tabular environment, but that doesn't flow well with the text before and after.
Here is some text before by aligned text S Isomeric state Z Atomic number A Atomic mass number Some text after the aligned text
Does that example make sense?
There are numerous ways to achieve this depending on the complexity of the alignment.
One way is to use
\makeboxto set the text into a fixed width size:
Depending on the complexity of the alignment, you can define macros to make the entry as above easier.
If you only have a list as in the example you have given, you could use simply use a list environment. Here is an an example use the
You could also use the
tabularenvironment and not put it in a float:
Yet another option is to use the
tabbingenvironment (suggested by @GonzaloMedina):