I was attempting to get a brace to show up on lines 2 and 3 in an enumerate environment. The solution given here is used in the first enumerate environment, but the brace did not look as appealing as the brace in the second solution.
Is there a way to get the thick brace given in the second enumerate environment to display in the first enumerate environment?
Here is the code:
\documentclass{article}
\pagestyle{empty}% for cropping
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing,calc}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\begin{document}
\newcommand{\tikzmark}[2]{\tikz[remember picture,baseline=(#1.base)]{\node[inner sep=0pt] (#1) {#2};}}
\begin{enumerate}
\item First item
\item \tikzmark{L}{Second is a much longer item}
\item \tikzmark{I}{Third item}
\item Fourth item
\item Fifth item
\end{enumerate}
\begin{tikzpicture}[remember picture,overlay]
\draw[decorate,decoration={brace}] (L.north east) -- node[right] {Noise} (L.north east |- I.south east);
\end{tikzpicture}
$\left.\begin{minipage}{5.5cm}
\begin{enumerate}
\item First item
\item Second is a much longer item
\item Third item
\end{enumerate}
\end{minipage}\right\rbrace$ Some comment
\end{document}

tikzso you can change the line width with optionsultra thick, orthick, or specifyline width=2pt, etc. – Peter Grill Mar 03 '16 at 02:32