LaTeX forum ⇒ Text FormattingAlign Counters and Equations side-by-side

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

Re: Align Counters and Equations side-by-side

Postby CDbile » Tue Nov 08, 2011 7:16 pm

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

Postby ghostanime2001 » Tue Nov 08, 2011 7:22 pm

What about setting those parameters to the inner nested list?

User avatar
CDbile
Posts: 19
Joined: Mon Jan 31, 2011 6:48 pm

Postby CDbile » Tue Nov 08, 2011 9:45 pm

You didn't understand me. You can here: (code quoted from the big \newenvironment line)

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

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

Postby ghostanime2001 » Wed Nov 09, 2011 12:58 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?

User avatar
CDbile
Posts: 19
Joined: Mon Jan 31, 2011 6:48 pm

Postby CDbile » Wed Nov 09, 2011 1:23 am

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

Postby ghostanime2001 » Wed Nov 09, 2011 1:49 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 ?

User avatar
CDbile
Posts: 19
Joined: Mon Jan 31, 2011 6:48 pm

Postby CDbile » Wed Nov 09, 2011 12:43 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

Postby ghostanime2001 » Wed Nov 09, 2011 6:31 pm

Here? lol

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


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 4 guests