I'm looking to do something like this:

enter image description here

with the underbracket operator, where the label text is inline with the bracket. Is there an easier way rather than fiddling with that operator?

1 Answer 1


You could use tikzmark for this:




\begin{tikzpicture}[overlay, remember picture,marking/.style={font=\scriptsize\scshape,fill=white,inner sep=1pt}]
  \foreach \part in {first,last,domain}
  \draw ([yshift=-5pt]pic cs:\part start) -- ++(0,-5pt) -- node[marking,midway]{\part} ([yshift=-10pt]pic cs:\part end) -- ++(0,5pt);


enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .