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
Stefan
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 32
- Joined: Sun Jul 25, 2010 11:15 pm
Re: Trying to use "align" environment
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
-
- Posts: 32
- Joined: Sun Jul 25, 2010 11:15 pm
Re: Trying to use "align" environment
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
-
- Posts: 32
- Joined: Sun Jul 25, 2010 11:15 pm
Re: Trying to use "align" 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
-
- Posts: 32
- Joined: Sun Jul 25, 2010 11:15 pm
Re: Trying to use "align" environment
I think I tried this before. I'll keep experimenting.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm