You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is very good. Problems with the physics package have been resolved, and I believe that this package will continue to growth in the future. Thank you very much.
Future Request
The command I request changes the bracket shapes to the nesting depth when nesting the same command.
A \CMD{ \frac{B}{2} \CMD{ C \CMD{ D + 1 } } }
⇓
$$A \left[ \frac{B}{2} \left\{ C \left( D + 1 \right) \right\} \right]$$
Bracket shape depends on nesting depth and is determined automatically. Of course, I expect the brackets to resize automatically, like \ab(...).
However, some authors may want to change the order of brackets shapes for nesting. So it would be nice to be able to change this from the options.
Background for this idea: “The Chicago Manual of Style”
In the manual, the handling of brackets in formulas is written as follows.
12.26 Common delimiters.
Three sorts of symbols are commonly used to group mathematical expressions: parentheses (), brackets [], and braces {}. They are used in pairs, and their normal order is {[()]}. When necessary, the sequence of delimiters can be extended by large parentheses, brackets, and braces as follows:
{ [ ( { [ ( ) ] } ) ] }
In text, the braces are sometimes omitted from this sequence. Angle brackets, vertical bars, and double vertical bars carry special mathematical significance and should not be used to supplement the sequence of common delimiters.
In light of this, the brackets in a formula must be nested in a certain order, regardless of the author's intention.
The \ab(...) notation by physics2 package is convenient, but there is no need to explicitly code considering the depth of nests. This is hopefully automated by this package.
Thank you for your consideration of this request.
The text was updated successfully, but these errors were encountered:
Sorry to response so slowly. I have been being quite busy since May and have had fever twice in the past several months. When I recover better, I’ll try to add this feature in the next version (0.3.x).
This package is very good. Problems with the physics package have been resolved, and I believe that this package will continue to growth in the future. Thank you very much.
Future Request
The command I request changes the bracket shapes to the nesting depth when nesting the same command.
Bracket shape depends on nesting depth and is determined automatically. Of course, I expect the brackets to resize automatically, like
\ab(...)
.However, some authors may want to change the order of brackets shapes for nesting. So it would be nice to be able to change this from the options.
\usephysicsmodules[ nestlevel1 = paren, nestlevel2 = brace, nestlevel3 = bracket ]{ab.nest?}
Background for this idea: “The Chicago Manual of Style”
In the manual, the handling of brackets in formulas is written as follows.
In light of this, the brackets in a formula must be nested in a certain order, regardless of the author's intention.
The
\ab(...)
notation by physics2 package is convenient, but there is no need to explicitly code considering the depth of nests. This is hopefully automated by this package.Thank you for your consideration of this request.
The text was updated successfully, but these errors were encountered: