2

I am in the situation where I want delimiters that are bigger that \big, but smaller than \Big (see example).

\documentclass{article} 
\usepackage{mathtools}
\usepackage[libertine]{newtxmath}
\begin{document}
\[\Bigl(\bigl(\text{some formula}\bigr)\Bigr)\]
\end{document}

With newtxmath, the outside delimiters are a lot bigger than the \bigdelimters inside, but I want them only slightly bigger. scalebox from the graphicxpackage doesn't seem to be satisfactory.

Pete
  • 427
  • 1
    See https://tex.stackexchange.com/questions/267171/nested-mathematical-functions – Steven B. Segletes Sep 24 '18 at 15:08
  • Using the code under SUPPLEMENT results in differently shaped parentheses with newtxmath for me. – Pete Sep 24 '18 at 15:51
  • 1
    The scalerel approach takes the given glyph and either scales or stretches is, which is a different approach than the \bigg, etc. approach. But the scalerel macros also allow constraints (max width in case of scaling and min-aspect ration in the case of stretching). So for example, try this with SUPPLEMENT code: \newcommand\Comp[2][500]{\stretchleftright[#1]{\biggl(}{\addstackgap[.4pt]{#2}}{\biggr)}}, then, p\Comp{ q\Comp{ f\Comp{g\Comp{\displaystyle\frac{f}{f}} } } } as well as p\Comp{ q\Comp{ f\Comp{g\Comp{h(x)} } } } look good. – Steven B. Segletes Sep 24 '18 at 16:04
  • Thanks a lot! After playing around with the parameters a little, I was able got a good looking result. – Pete Sep 24 '18 at 16:43
  • So you can either wait to see if other answers are posted? Or we can declare your question a duplicate of the one cited? Or you could post an answer to your own question and accept it? – Steven B. Segletes Sep 24 '18 at 16:44
  • 1
    I'm satisfied with result from the code that can -- in essence -- be found in the answer you linked, so I'm okay with this being marked as a duplicate. – Pete Sep 24 '18 at 16:49

0 Answers0