I have a long equation like so:

$Q = \{a,b,c,d,e,f,g,h,i,j,k,l,n,...\}$

which I have as an \item in a \begin{itemize} list. Since the whole set

won't fit on one line I want to split it over though but I want the

first item (or at least the opening { ) to align with the elements on

the next line (by default they start to the very left). I tried to use

\begin{align*} but that creates a line break and indents the whole

thing to the right. What I need is an "inline" version of the align. Is

that possible?

In article < XXXX@XXXXX.COM >,

It would have been easier if you had given an example of what you had

tried and what you didn't like about it.

I don't think an inline version of align makes sense. You could try

to move the alignment to the left by adding invisible stuff on the right:

\documentclass{amsart}

\begin{document}

\begin{itemize}

\item

\begin{align*}

Q =& \{a,

blablab,blablab,blablab,blablab,blablab,blablab,\qquad\qquad\qquad\\

&blablab,blablaby,c,d,e,f,g,h,i,j,k,l,n,...\}

\end{align*}

\item as compared to:

\begin{align*}

Q =& \{a, blablab,blablab,blablab,blablab,blablab,blablab,\\

&blablab,blablaby,c,d,e,f,g,h,i,j,k,l,n,...\}

\end{align*}

\end{itemize}

\end{document}

Or read Herbert Voss's documentation about the Math Mode:

ftp://cam.ctan.org/tex-archive/info/math/voss/mathmode/Mathmode.pdf

--

Maarten Bergvelt

It would have been easier if you had given an example of what you had

tried and what you didn't like about it.

I don't think an inline version of align makes sense. You could try

to move the alignment to the left by adding invisible stuff on the right:

\documentclass{amsart}

\begin{document}

\begin{itemize}

\item

\begin{align*}

Q =& \{a,

blablab,blablab,blablab,blablab,blablab,blablab,\qquad\qquad\qquad\\

&blablab,blablaby,c,d,e,f,g,h,i,j,k,l,n,...\}

\end{align*}

\item as compared to:

\begin{align*}

Q =& \{a, blablab,blablab,blablab,blablab,blablab,blablab,\\

&blablab,blablaby,c,d,e,f,g,h,i,j,k,l,n,...\}

\end{align*}

\end{itemize}

\end{document}

Or read Herbert Voss's documentation about the Math Mode:

ftp://cam.ctan.org/tex-archive/info/math/voss/mathmode/Mathmode.pdf

--

Maarten Bergvelt

\newlength{\mylen}

\settowidth{\mylen}{$Q=\{$}

\newcommand{\comma}{{,}\mskip3mu plus 1mu\relax

\discretionary{}{\kern\mylen}{}}

${Q=\{}a\comma b\comma ... \}$

Pay attention to the braces in the formula!

I don't think it is very nice, if the list item has more than two

lines. You can simply say

\newcommand{\comma}{{,}\mskip3mu plus 1mu\relax\penalty0 }

and this will give TeX an opportunity to break at every comma in the

list. The \mskip with a "plus" component is intended to give the right

spacing after the comma with some room to avoid underfull boxes.

Ciao

Enrico

That would be the aligned environment. Is something like this

what you want?:

\documentclass{article}

\usepackage{amsmath}

\begin{document}

\begin{itemize}

\item

$\begin{aligned}[t]

Q = \{&a,b,c,d,e,f,g,h,i,j,k,l,\\

&n,...\}

\end{aligned}$

\item More items...

\item ...

\end{itemize}

\end{document}

Dan

1. begin try begin tran or begin tran begin try

2. symbols in the beginning of the line and at the beginning of the line in style

3. advanced filter criteria "begins with" and "does not begin with"

4. BEGIN TRANSACTION or BEGIN DISTRIBUTED TRANSACTION

5. bug in exception handling (begin try... begin catch...)?

6. Begin Tab Begin PROBLEM, let's test it to see what happens.

7. begin declare continue handler for sqlstate '42704' begin /* Ignore */ end@

8. 8210.7 To Begin or not To Begin

9. Beginning for Beginning Beginners

10. BEGIN <> BEGIN

11. links that begin "www" don't work, those beginning with "http"

12. The "begin bug" is not a bug [was The "begin bug" is a bug]

13. advanced filter criteria "begins with" and "does not begin wit

14. Internal definitions and BEGIN (was: BEGIN)

15. WHY interested in 'Beginning DSP' --- was [ Beginning DSP]

4 post • Page:**1** of **1**