2

I have a list where one of the list items is an \infer{...}{...} command. In this case, the list bullet is not vertically centered with the item, as you can see in the picture:

enter image description here

How can I move the list bullet at the height of the bar?

MWE

\documentclass{scrreprt}
\usepackage{proof}
\linespread{1.5}
\begin{document}
\begin{itemize}
\item item 1
\item item 2
\item \infer{Something}{Something else}
\end{itemize}

\end{document}
1
  • @MarcoDaniel Unfortunately it doesn't work... – user1301428 Mar 3 '13 at 11:44
3

You can use the \vcenter box command, which centers its contents (just above) the baseline. It is used for big operators etc. and requires you to be in maths mode.

Sample output

\documentclass{scrreprt}

\usepackage{proof}
\linespread{1.5}

\begin{document}

\begin{itemize}
\item item 1
\item item 2
\item \( \vcenter{\infer{\textit{Something}}{\textit{Something else}}} \)
\end{itemize}

\end{document}

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.