In the following examples,
how can I put the curly braces at the left side?
\begin{itemize}
\item Riemann Sum
\item Trapezoidal Rule
\item
Simpson's 1/3 Rule
$\smash{\left.\rule{0pt}{.5\dimexpr3\baselineskip+2\itemsep+2\parskip}\right\}
\text{Newton Cotes formulae of different degrees}}$
\item Simpson's 3/8 Rule
\end{itemize}
BTW, is there any method which avoids using math mode?
I have tried the following which has failed as well:
$\left\{\text{
\begin{itemize}
\item item 1
\item item 2
\item item 3
\end{itemize}
}\right.$
Best Answer
You can use a
minipage
as follows:Alternatively you can use a
tabular
:This avoids having to specify the width, but means that you have to provide the
itemize
-like markup yourself.As Schweinebacke points out there is also the
varwidth
environment from thevarwidth
package, that will replaceminipage
and you just specify a maximum width. However it behaves slightly differently: the itemize list is now at second level, so by default bullets are replaced by dashes, and there is a considerable left margin indentation. So if want the same type of appearance as before you need to modify theitemize
style, e.g. via theenumitem
package:If you really want to avoid math mode and use
tikz
then you can usewhich is at tabular at heart. In my opinion, the math mode option is easier.