Text Formatting ⇒ Trying to use "align" environment
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Trying to use "align" environment
{} is an empty word. Sometimes this is useful to place a superscript without an object. Here it's dispensable.
Stefan
Stefan
LaTeX.org admin
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 32
- Joined: Sun Jul 25, 2010 11:15 pm
Re: Trying to use "align" environment
Ah. Makes sense. I'll keep a note of that.
Sorry to keep pestering, but I'd like to ask another question, still related to the align environment.
In a text environment, we can use $...$ to enable a math environment. In a math environment, we can use \text{...} to enable a text environment.
Is there a symbol, like with the $s, that could replace the "\text{...}", and is there a list available showing what each of these special symbols do?
I'm really getting into it all now, thanks to your goodself. My document looks exactly the way I wanted it.
That will probably change when I start learning the siunitx package though.
Sorry to keep pestering, but I'd like to ask another question, still related to the align environment.
In a text environment, we can use $...$ to enable a math environment. In a math environment, we can use \text{...} to enable a text environment.
Is there a symbol, like with the $s, that could replace the "\text{...}", and is there a list available showing what each of these special symbols do?
I'm really getting into it all now, thanks to your goodself. My document looks exactly the way I wanted it.

That will probably change when I start learning the siunitx package though.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Trying to use "align" environment
So it's fine to append it to this topic. If it comes to a different subject, like siunitx, just open a new topic.itsmereally wrote:I'd like to ask another question, still related to the align environment.
$...$ is not really LaTeX, it's TeX. The corresponding LaTeX command (environment) ist \(...\), though $...$ is commonly used. It's shorter. (see perhaps: inline math)itsmereally wrote:In a text environment, we can use $...$ to enable a math environment. In a math environment, we can use \text{...} to enable a text environment.
Is there a symbol, like with the $s, that could replace the "\text{...}", and is there a list available showing what each of these special symbols do?
There's no counterpart regarding text mode. \text is a macro from the amsmath package. There's no shourtcut for it, but we could define one analogous to $.
Characters like $ act as commands, like $ for inline math, ~ for a non-breakable space, % for beginning a comment etc. A LaTeX book or TeX book would tell more. But you will get to know them as time goes by.
Stefan
Stefan
LaTeX.org admin
-
- Posts: 32
- Joined: Sun Jul 25, 2010 11:15 pm
Re: Trying to use "align" environment
I didn't realise there was a difference between LaTeX and Tex. This calls for some googling.
Thanks again for all your help. I'm now well underway in my document.
I'll probably be pestering you again in the near future.
Thanks again for all your help. I'm now well underway in my document.

I'll probably be pestering you again in the near future.
-
- Posts: 32
- Joined: Sun Jul 25, 2010 11:15 pm
Trying to use "align" environment
Sorry to bring this up again.Stefan_K wrote: All inside the align environment is considered as math. \text has been used to temporarily switch back to text mode.
Is there any way to have the align command use a text environment instead of math, which would then allow me to use the $...$ structure within it?
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Re: Trying to use "align" environment
What exactly are you trying to do?
-
- Posts: 32
- Joined: Sun Jul 25, 2010 11:15 pm
Re: Trying to use "align" environment
I'm typing Physics notes, and am using alot of fractions and calculations within sentences. I find it much neater to use the $...$ structure for maths in a text environment, rather than \text{...} for text in a maths environment.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Trying to use "align" environment
You could use a tabular environment in text mode and $...$ within.itsmereally wrote:Is there any way to have the align command use a text environment instead of math, which would then allow me to use the $...$ structure within it?
Stefan
LaTeX.org admin
-
- Posts: 32
- Joined: Sun Jul 25, 2010 11:15 pm
Re: Trying to use "align" environment
I can't get information in a tabular environment to "line up" with text that isn't in a particular environment.
I think I tried this before. I'll keep experimenting.
I think I tried this before. I'll keep experimenting.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Trying to use "align" environment
LaTeX.org admin