2

We can use \llbracket and \rrbracket (provided by the stmaryrd package) to generate double brackets. My questions are:

  • how we can generate double-struck parentheses in the same style as the single-struck bracket version?
  • how we can generate double-struck parentheses such that we can write two elements vertically (like the vector format)?

Two things are important:

  1. The distance between two parenthesis which should be as nice as in the \llbracket \rrbracket.

  2. The top and bottom of the two parenthesis should touch each other like \llbracket \rrbracket.

Edit: This question in some aspects can be the counterpart for this question replacing by parenthesis.

Amin
  • 946

1 Answers1

3

You can load a double-struck or outline font of your choice and use its symbols as delimiters.

\documentclass{article}
\tracinglostchars=2
\usepackage{unicode-math}

% Font available from: % https://www.fontsquirrel.com/fonts/library-3-am \setfontface\outline{LIBRARY 3 AM}[ Scale=MatchUppercase]

\newcommand\llparen{\mathopen{\textnormal{\outline (}}} \newcommand\rrparen{\mathclose{\textnormal{\outline )}}} \newcommand\llbrack{\mathopen{\textnormal{\outline [}}} \newcommand\rrbrack{\mathclose{\textnormal{\outline ]}}} \newcommand\llbrace{\mathopen{\textnormal{\outline \textbraceleft}}} \newcommand\rrbrace{\mathclose{\textnormal{\outline \textbraceright}}}

\newcommand\Parens[1]{% \llparen% #1% \rrparen}

\newcommand\Brackets[1]{% \llbrack% #1 \rrbrack}

\newcommand\Braces[1]{% \llbrace% #1% \rrbrace}

\pagestyle{empty} % Format the MWE for TeX.SX

\begin{document} \begin{gather} \llbrace\llbrack\llparen \mathbb R \rrparen\rrbrack\rrbrace \ \Braces{\Brackets{\Parens{\mathbb C}}} \end{gather} \end{document}

Library 3AM sample

This template does not enable scaling, which would be much more complicated. Unfortunately, although you can set a blackboard font with \setmathfontface, unicode-math will not substitute it for (), {} or [].

You could, however, define \bigllparen, \biggrrbrace, etc., which scale the delimiters, and build size-changing commands from that.

Davislor
  • 44,045