I am not skilled in programming LaTeX macros, so I ask for your help.
I would like to have a bracket command, e.g. \mybr{ } that automatically
puts the right brackets when writing complex formulas with many level of brackets.
For example:
Code: Select all
$a * \mybr{1 + \exp \mybr{b * \mybr{x - y}}}$
Code: Select all
$a * \left\{ 1 + \exp \left[ b * \left( x - y \right) \right] \right\}$
Code: Select all
$a * \left[ 1 + \exp \left( b * x - y \right) \right]$
I couldn't find a package to support this, and I am to unskilled to do it myself. Please help, if it is possible to do this.
Thank you very much!