## LaTeX forum ⇒ Text Formatting ⇒ Align Counters and Equations side-by-side

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
CDbile
Posts: 19
Joined: Mon Jan 31, 2011 6:48 pm

### Re: Align Counters and Equations side-by-side

Well you can set these parameters between \begin{enumerate} and \end{enumerate} in the environment definition.
CDbile

Tags:

ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am
What about setting those parameters to the inner nested list?

CDbile
Posts: 19
Joined: Mon Jan 31, 2011 6:48 pm
You didn't understand me. You can here: (code quoted from the big \newenvironment line)

\begin{enumerate}[##1,start=##2+\value{custcount}]% Put your list parameters here\item ##3\end{enumerate}
CDbile

ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am
How can one know the default value of the space between the label and the first item in an enumerate* environment using enumitem package?

CDbile
Posts: 19
Joined: Mon Jan 31, 2011 6:48 pm
I suggest you start a new topic for this question and mark this thread as solved (if you agree it is !)
But I also don't see why you wouldn't have default values of enumerate in custenv. We just put an enumerate in a minipage, we didn't change any special layout.
CDbile

ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am
oh no i don't mean about enumerate.. im talking about enumerate* with an asterisk because if I type the same list using enumerate* (first post code) then I don't need to adjust the spacing of the label and the first item... it is already set as a default and I like the spacing with enumerate* Can enumerate* be substituted for enumerate for the special codes we used for custenv such that horizontal spacing is set using enumerate* and vertically aligning the items is set using custenv ?

CDbile
Posts: 19
Joined: Mon Jan 31, 2011 6:48 pm
Of course, and I'm also sure that you can find where to put the two stars...
CDbile

ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am
Here? lol

\newcommand{\custitem}[3]{\begin{minipage}[t]{2.5in}\begin{enumerate*}[##1, start=##2+\value{custcount}]\itemindent=-1.11em \item ##3\end{enumerate*}\end{minipage}}