# Tag Info

12

Yes, of course. \documentclass{article} \begingroup \catcode+=\active \gdef+{\mathbin{\mathrm{blurb}}} \endgroup \AtBeginDocument{\mathcode+="8000 } \begin{document} $x+y$ \end{document} Of course you can think to better definition for the “math active” +. ;-)

10

Nest aligned properly; I defined a compute environment for convenience, also removing as much useless space as possible. \documentclass{article} \usepackage{mathptmx} \usepackage{amsmath} \newenvironment{compute} {\left.\kern-\nulldelimiterspace\!\aligned} {\endaligned\right\rbrace} \begin{document} \begin{equation*} \begin{compute} \begin{compute} ...

8

The following solution uses nested array environments, with the contents of all columns right-aligned. The innermost array, which is terminated by the first large curly brace, features a single column of type r. The next array features two such columns; note that its lower-left cell is empty. The outermost array also has two columns of type r, and its ...

4

Here's a tcolorbox solution (instead of mdframed) The \tcboxmath command can be used inside of an equation or as a standalone box, the configuration of colors etc. is quite simple with colframe and colback etc, either using tcbset or locally in the optional argument. \documentclass{article} \usepackage{mathtools} \usepackage[most]{tcolorbox} ...

3

I would construct this in a regular array, provided that there is no requirement for the construction to break across the page boundary. Here is such an implementation: \documentclass{article} \usepackage{array} \begin{document} $\renewcommand{\arraystretch}{2.1}% http://tex.stackexchange.com/q/31672/5764 \begin{array}{ >{\displaystyle}r @{} ... 2 The command \showthe works exactly like \the (see The \the command), with the difference that TeX stops compilation for showing the resulting token list, instead of delivering it to the input stream. So \showthe\abovedisplayskip would interrupt the TeX run (if found in an interactive session) printing > 12.0pt plus 3.0pt minus 9.0pt. l.10 ... 1 You can use actuarialangle, see the “Comprehensive list of symbols”, Table 251; for the package documentation, texdoc actuarialangle \documentclass{article} \usepackage{actuarialangle} \begin{document} \[ P_{30{:}\actuarialangle{20}}$ \end{document}

1

Made to work in all math styles. \documentclass{article} \usepackage{amsmath,scalerel,stackengine} \def\xyz#1{\ThisStyle{% \setbox0=\hbox{$\SavedStyle#1$}% \stackon[1\LMpt]{$\SavedStyle#1$}{\rule{\wd0}{.5\LMpt}}% \rule[-1\LMpt]{.5\LMpt}{\dimexpr\ht0+2.5\LMpt}}} \begin{document} $P_{30:\xyz{20}}\quad \xyz{1234}\quad \scriptscriptstyle\xyz{567890}$ ...

1

As possible starting point: \documentclass{article} \usepackage{array,siunitx} \usepackage{mathtools} \begin{document} \begin{center} \begin{tabular}{>{$}c<{$}} \begin{aligned} \frac{2}{3} & = \num{0,6666666667}\ (-) \\ \frac{2}{3\cdot 3\cdot 9} & = \num{0,0246913580}\ (+) \\ \frac{2}{3\cdot 3\cdot ...

Only top voted, non community-wiki answers of a minimum length are eligible