Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

LaTeX defines the two environments \trivlist and \list. Both can be used creating own environments.

What exactly is the differences between \trivlist and \list?

share|improve this question

1 Answer 1

up vote 9 down vote accepted

\list is less triv(ial) than \trivlist.

Essentially \list has hooks for setting the label format which trivlist doesn't use (as it's normally used in things like center where the label/item is hidden, or theorems where there is only one item).

It's premature optimisation in a way: @egreg had to patch a command in an answer the other day to use list not trivlist so that the formatting could be changed. Had the original used list it would have been a trivial setting.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.