# Tag Info

## Hot answers tagged math-mode

14

A modification of the \dddot macro of amsmath: \documentclass{article} \newcommand\ringring[1]{% {% make an Ord atom \mathop{\kern0pt #1}\limits^{% set a box over the variable \vbox to-1.85ex{ \kern-2ex % lower the ring accents \hbox to 0pt{\hss\normalfont\kern.1em \r{}\kern-.45em \r{}\hss}% \vss % fill }% end of \vbox ...

9

You could define a command to handle this: \documentclass{article} \usepackage{array} \makeatletter \def\ae@arithmetic{\@ifnextchar[%] {\@ae@arithmetic} {\@ae@arithmetic[+]}} \def\@ae@arithmetic[#1]#2#3{%% \def\ae@tmp{*}%% \def\ae@tmp@mult{x}%% \def\ae@operation{#1}%% \ifx\ae@tmp@mult\ae@operation\def\ae@operation{*}\fi ...

8

egreg is right, of course. The statement should be $\beta = -0.84$, $t = -0.209$, $P = 0.04$ \beta is a math character and will need some math environment to be displayed. That could be inline math mode, using $...$ or some equation environment. You would also like the spacing to be correct between the numbers and the mathematical symbols, thus wrapping ...

7

Like the following? \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage{mathtools,amsthm} \usepackage{amsfonts} \begin{document} $(x_j\mkern-10.5mu\mathop{)}\limits_{j=1}^\infty$ $(x_j)\mkern-10.5mu\mathop{\vphantom{)}}\limits_{j=1}^\infty$ $\mathop{(x_j)}\limits_{j=1}^{\infty}$ $(x_j)_{j=1}^\infty$ \end{document}

7

underbrace is defined in the latex format as \def\underbrace#1{\mathop{\vtop{\m@th\ialign{##\crcr $\hfil\displaystyle{#1}\hfil$\crcr %%%%%%%%%%%% \noalign{\kern3\p@\nointerlineskip}% \upbracefill\crcr\noalign{\kern3\p@}}}}\limits} There is a (not unreasonable:-) assumption that no one would want textstyle here. So if you really do want ...

5

With the accentspackage, it' as simple as \mathring{\mathring{…}}: \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{accents} \begin{document} $\mathring{\mathring{A}}$ \end{document}

5

The line in that linked Unicode map shows: -precedesequal 8826 T \predeq See PrecedesEqual on wolfram.com: You can find that symbol in the Comprehensive Symbol List, for example in the binary relations table as \preceq:

4

You can use \tag: \documentclass{article} \usepackage{amsmath} \begin{document} $$\log \mu_{ijk}= \lambda + \lambda_i ^I + \lambda_j ^J+\lambda_k ^K+\lambda_{ij} ^{IJ}+\lambda_{ik} ^{IK}+\lambda_{jk} ^{JK}+\lambda_{ijk} ^{IJK} \tag{3.1}\label{eq:3.1}$$ \end{document}

4

Using a stack inset, the code is straightforward. \documentclass{article} \usepackage{stackengine} \def\dcirc#1{\stackinset{c}{}{t}{-3.5pt}% {$\mkern2.5mu\scriptscriptstyle\circ\mkern-2mu\circ$}{$#1$}} \begin{document} $\dcirc{X}= A\dcirc{x}$ \end{document}

4

In revision 4975 of TeX Live (2007-09-18) we find the annotation omit ubbold.fd from jknapltx, clash with Ubbold.fd + sauter bbold disfunctional? (Zdenek Wagner, 9 Aug 2007 16:20:21 +0200) So my suggestion is to remove the file ubbold.fd from your system and file a bug report to MiKTeX's maintainer.

4

So given that David has told you why it is that way, there are several things you can do with that information. You can create your own macro \tunderbrace that is just like \underbrace but in text style, by altering the existing definition. Or you, just for fun, create your own version, \Tunderbrace, using stacks: \documentclass{article} ...

3

Here's an alternative. It provides left-alignment of the super/subscripts. EDIT: In an effort to answer the OP's question, "Is there a way to get it so that the limits are left aligned with the horizontal midpoint of the close paren in automatic fashion?" The answer is yes. Here it is: \documentclass[12pt]{article} \usepackage[usestackEOL]{stackengine} ...

3

You also have curly versions and their negative versions in mathabx: in mdsymbol: and in Mnsymbol:

2

Here's the fishing rod, instead of the fish itself:Detexify! Just tried it and it returned \preceq as the first result. It is probably a good chance to mention that a mobile version (android and iOS) is available as well.

2

I guess you are looking for a way to number your equations "within" sections, that is, add the section number before the equation number. This can be done automatically if you add the line \numberwithin{equation}{section} in your preamble, without any manual intervention. MWE: \documentclass{article} \usepackage{amsmath} ...

2

One approach would be to have the addition sign on the right (which I have seen on occasions), and would look something like this: \documentclass[]{article} \usepackage{amsmath,tabu} \begin{document} \begin{equation*} \begin{tabular}{r@{\;}l@{}} 356 \\ 42 & +\\ \hline 398 \end{tabular} \end{equation*} \end{document} gives: The code is a bit ...

2

_ is a special character that denotes the beginning of a subscript, and that is only allowed in math-mode. As such, inserting \$ around the math-related content, the problem is avoided. The equation environment automatically initiates math-mode, so there's no additional need to enter math-mode. If you actually want an underscore, then you can use any of the ...

2

The Problem lies within the definition of \textsuperscript that uses math mode. \DeclareRobustCommand*\textsuperscript[1]{% \@textsuperscript{\selectfont#1}} \def\@textsuperscript#1{% {\m@th\ensuremath{^{\mbox{\fontsize\sf@size\z@#1}}}}} A possible workaround is redefining the actual command so that it will not get in the way with your equations, this ...

2

I wouldn't count it as a miktex bug if two packages uses the same file name and imho the package maintainer should sort this out and not the tex distribuations. When such name clashes in the same branch of a texmf tree exists the search result is not predictable -- it can e.g. depend on the installation order, date or whatever. So you have imho the ...

1


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