Graphics, Figures & Tables ⇒ Curly Bracket in a Table
Curly Bracket in a Table
I'd like to have a curly bracket where it says "curly bracket".
It should be pointed downwards, as shown in the example picture.
Is that possible?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Curly Bracket in a Table
you could use \underbrace, for example:
Code: Select all
\multicolumn{2}{p{2cm}}{\raisebox{.5\baselineskip}
{$\underbrace{\hspace{2cm}}$}}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Curly Bracket in a Table
Code: Select all
\documentclass[%
fontsize=11pt,
paper=a4
]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{tabular}{l||cc}\hline
test & 1 & 212344\\
stuff & \multicolumn{2}{c}{\raisebox{1.5ex}{\smash{$\underbrace{\makebox[5em]{}}_{}$}}}\\
result & \multicolumn{2}{c}{212345}\\ \hline
\end{tabular}
\end{document}
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Curly Bracket in a Table
I took Thorsten's version since I haven't dealt with p-columsn yet.