0

I need to list some formulae within an \itemize environment, but my mathematical symbols look ugly since they are in inline math mode after each \item. How can I make them look better?

As an example, consider

\begin{itemize}
        \item $\prod_{a\geq5} \frac{a}{2} \int_2^\pi \frac{dt}{\sin t}$
        \item $\prod_{b\geq5} \frac{b}{2} \int_2^\pi \frac{dt}{\cos t}$
        ...
\end{itemize}

which renders as

enter image description here

but I want the \items to render rather as

enter image description here

How do I achieve this?

  • 3
    \item $\displaystyle ...$ might result in the desired output – leandriis Nov 17 '18 at 13:01
  • 1
    What you are looking for is 'displaystyle'. ,There is surely a better solution by customizing the itemize list, but the simplest way is to add \displaystyle just after the first $. – Jhor Nov 17 '18 at 13:03
  • 3
    tex.stackexchange.com/a/260414/134144 might also be interesting regarding a slightly more automated solution using the enumitem package. – leandriis Nov 17 '18 at 13:04
1

If you want to have the math formulas in the itemize only be shown as display style, just do like the comments: use \displaystyle before each math formula.

But it seems to me that you are trying to change all math formulas in the whole document to display style. In that case, add the following line to your preamble:

\everymath{\displaystyle}

and you will get what you want without putting any \displaystyle.

|improve this answer|||||
  • 1
    Why do you think OP wants to change all math formulas? – Sigur Nov 17 '18 at 14:29
  • @Sigur You can imagine a document in which all in-line math formulas in itemize are in display style but the rest in-line math formulas are in in-line style. It's terrible and clearly inconsistent. – user156344 Nov 17 '18 at 14:32
  • So I think the post owner wants to change all in-line math formulas. :) – user156344 Nov 17 '18 at 14:33
  • 1
    Well, I can imagine how strange would be a documet with around 10 pages, a lot of inline math and some few items, maybe 4 lists with 2 items each, and all inline with display style! \frac inline display style is too big, IMHO. – Sigur Nov 17 '18 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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