Math & Scienceeqnarray + lines of text?

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
lb5962
Posts: 3
Joined: Wed Oct 08, 2008 2:31 pm

eqnarray + lines of text?

Post by lb5962 »

hey sorry to write something completely slightly irrelevent but I can't find out how to start a new thread (can anyone send me a link?).

Ok my problem is about aligning also...

Basically I want to be able to allign certain things up: I want the equation:

Code: Select all

\alpha:X\times G\rightarrow X
to be aligned directly above

Code: Select all

(x,g)\mapsto (x,g)\alpha=x\bullet g
with the

Code: Select all

\rightarrow
arrow DIRECTLY above the

Code: Select all

\mapsto
arrow.

Can anyone help me?

Thanks ;)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

eqnarray + lines of text?

Post by gmedina »

Hi,

you can use the align (or align*) environment provided by the amsmath package, as the following example suggests:

Code: Select all

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\begin{align*}
  \alpha:X\times G &\rightarrow X\\
  (x,g) &\mapsto (x,g)\alpha=x\bullet g
\end{align*}

\end{document}
Basic documentation on typesetting math can be found here:
amsmath user guide
Mathmode document

Regarding the new topic issue, once you enter a subforum, you will find right below its name a "new topic" button. Pressing that button you can create a new thread.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply