Some symbols can be resized automatically with \middle when placed between a \left. and a \right. They can usually also be resized using \big or \bigg. Examples of such symbols are |and / and pretty much all the brackets; (, [, \{, \langle, and so on. I have never seen a complete list of symbols which can be resized this way. Are they special in some way or is it possible to create new resizable symbols? If it is possible: What is the "correct" way to create a new resizable symbol? By that, I mean a symbol \mysymbol such that, e.g.

\left( \somethinghuge \middle\mysymbol b \right)

will have the "correct" size. Of course, bear in mind that one would usually want to apply this to already existing symbols which do not resize. Like the \# symbol, for instance.

  • 1
    The ability to stretch this way is a feature of the font metrics, so the list of extendible symbols depends on which font set you are using. Commented Feb 23, 2014 at 16:22
  • So that's basically a "no", right? Assuming that the symbol is not already extendible in the font I am using, there is no way to make it extendible? Commented Feb 23, 2014 at 16:25
  • You should never say no, but basically that is the case. You can of course load the font at different sizes (or use \scalebox) together with some macros that measure something and choose an appropriate size for your symbol, but this will not work naturally with \left\right\middle Commented Feb 23, 2014 at 16:28
  • A list of resizable symbols can be found in the "Comprehensive LaTeX symbol list" or unimath-symbols.pdf for the fontspec package.
    – Toscho
    Commented Feb 23, 2014 at 18:34

2 Answers 2


Using \scalerel, one can make one argument match the vertical extent of another argument. The optional argument is a max-width constraint (in this case, I chose 2ex). Here's an example of the same code working on two different \somethinghuge arguments. In this case, I chose \mysymbol as a / sign.

$\left( \somethinghuge \scalerel*[2ex]{\mysymbol}{\somethinghuge} b \right)$
$\left( \somethinghuge \scalerel*[2ex]{\mysymbol}{\somethinghuge} b \right)$

enter image description here

Here's an equivalent syntax that would allow you to avoid typing \somethinghuge twice.

$\left( \scaleleftright[2ex]{.}{\somethinghuge}{\mysymbol} b \right)$

The characters which can be resized with \left, \middle and \right are those with a non zero \delcode. Commands are also allowed, provided their expansion starts with \delimiter; they are defined by \DeclareMathDelimiter in fontmath.ltx:

%%% characters
\DeclareMathDelimiter{(}{\mathopen} {operators}{"28}{largesymbols}{"00}
\DeclareMathDelimiter{[}{\mathopen} {operators}{"5B}{largesymbols}{"02}
%%% commands
\DeclareMathDelimiter{\lmoustache}   % top from (, bottom from )
\DeclareMathDelimiter{\rmoustache}   % top from ), bottom from (
\DeclareMathDelimiter{\arrowvert}    % arrow without arrowheads
\DeclareMathDelimiter{\Arrowvert}    % double arrow without arrowheads
\DeclareMathDelimiter{\backslash}    % for double coset G\backslash H
\DeclareMathDelimiter{\lgroup} % extensible ( with sharper tips
\DeclareMathDelimiter{\rgroup} % extensible ) with sharper tips
\DeclareMathDelimiter{\bracevert} % the vertical bar that extends braces

Other may be defined by other packages.

In order to know whether a character corresponds to a resizable delimiter, inspect its \delcode:


would output 164608. For a command, use \show; for instance, \show\bracevert would output

macro:->\delimiter "033E33E 

Some delimiters are arbitrarily resizable like braces, which in large sizes are made up by repeatable parts. Others, like / have a maximum size.

You must log in to answer this question.

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