0

I would like to define new sets of delimiters for my document, but I cannot use packages like fdsymbol or MnSymbol because conflicts arise (I'm already using too many fonts). Specifically, I'm interested in defining double and triple parentheses / brackets / braces / angled brackets, and single angled brackets with a dot inside (similar to what \lBrack, \lAngle and \langledot do in fdsymbol), and the delimiters should be extensible by using modifiers such as \big and \left/\right. The ultimate objective is to use these delimiters to create shortcuts like those defined in the physics package, where e.g. \braket{a}{b} prints out something like <a|b>.

The code is probably similar to what @egreg does in [this answer][1], but he defines custom math relations instead of delimiters, and I'm afraid I don't have the necessary know-how to translate this into the code I need.

4
  • No extensible delimiters without defining a math symbol font, sorry. Commented Oct 27, 2020 at 17:42
  • @egreg Is it possible to import just those selected few from the fonts used in those packages, without calling them? Commented Oct 27, 2020 at 17:44
  • @giobrach You can avoid loading the packages, but you will still have to load a math symbol font. So if you already use too many, it will not help you. Commented Oct 27, 2020 at 19:25
  • are you sure you really need 16 math families in your math setup, why are you using so many? or you could switch to luatex which allows 256 families. Commented Oct 27, 2020 at 20:47

1 Answer 1

1

A simple ("workaround") solution to produce double brackets etc. would be to use something along:

\def\lBrack{\left[\!\left[},
\def\lAngle{\left<\!\left<}

which then would scale as appropriate (you can check that the first ("outer") deliminter will not be nay larger than the second ("inner") one), but of course require a right \r... counterpart to avoid an error.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.