{math-mode} is about typesetting mathematical content, e.g. tweaking the appearance of spacing and symbols in a formula, or producing specific mathematical constructs. For questions about "wrapper" environments like equation or align, consider the tag {equations}.

learn more… | top users | synonyms (2)

2
votes
2answers
48 views

overline over no text

Suppose I want to have the function $\bar: A \to B$ where instead of $\bar$ it's a longer bar. What is the proper way to do this? Note that the bar here is floating on top of no text. It's just ...
7
votes
4answers
95 views

How to reduce the space between the hat of overset and the symbol?

I would like to place the \rightharpoonup on r and get them closer. I had tried the \overset and \Rvector package. But the spacing of the former is too much. And the latter performs bad when placing ...
5
votes
2answers
74 views

How can I DeclareMathOperator* with spacing after it, preserving the alignment?

In the context of optimization problems, I'm using \usepackage{amsmath} \DeclareMathOperator*{\minimize}{\text{minimize}} \DeclareMathOperator*{\subjto}{\text{subject to}} to declare some operators ...
4
votes
1answer
43 views

Arbitrary positioning in math mode without size restriction

In the MWE below, are all general methods, of achieving arbitrarily shifting of symbols up or down or left or right in math mode, represented? If yes, that is the answer. If no, what good methods are ...
1
vote
0answers
75 views

Alternative to \rm

Is there any alternative latex syntax to the defunct \rm? I am using LaTeX2e and so I have a long list of warnings whenever I execute my .tex document.
5
votes
1answer
76 views

Why can't split with curly-brace be inside align but it can be inside gather?

The following code snippet will guide you through the issue chronologically. \documentclass[preview,border=12pt,12pt]{standalone} \usepackage{mathtools} \begin{document} \section*{gather+aligned} ...
3
votes
2answers
60 views

Inserting math equation in text causes '?' to show up and for escaped '/' to not show!

I admit I'm new to LaTeX yet I'm writing my thesis using it. I'm having a hard time trouble shooting as the compiler doesn't give me any meaningful errors which leads me to believe what I'm doing is ...
1
vote
1answer
37 views

How to properly format a proof/explanation with multiple points of alignment?

This answered question addresses how to properly align/format a proof, allowing one to add text commentary alongside equations without ruining the alignment of the equations; however, it only seems ...
0
votes
1answer
32 views

Inequality operators of both directions aligned vertically in one expression? [duplicate]

I would like to put inequality operators of both directions, i.e. < and >, aligned vertically in one expression. Can anyone help?
0
votes
2answers
42 views

Alignment in aligned and aligned[t] environments (2)

The following code almost gives me the alignment that I want. You will see that in the last five lines of the displayed equations, most of the expressions are ridiculously shifted rightward. I want ...
6
votes
2answers
44 views

What Pascal procedure inserts \mathon and \mathoff?

TeX surrounds inline math formulae with \mathon and \mathoff, which appear to be nodes. For instance, running TeX on $ $\showlists\bye gives ### horizontal mode entered at line 0 \hbox(0.0+0.0)x20.0 ...
1
vote
0answers
27 views

Knitr and numbers

I return to a question, which is few months old and then maybe not yet the best practice around. I use the siunitx package in my documents along with knitr to compile my R chunks. As far as I ...
2
votes
2answers
43 views

set section environment to be math only, amsmath's begin{gather}

I want to create a small formulary, and for that virtually every line has to be math formulas. I use the gather-environment from the package amsmath, for example: ...
6
votes
1answer
30 views

Stretchable glue in (script)scriptstyle (subscripts, superscripts, fractions)

If $a+b$ appears in a paragraph, the spacing around + will depend on how stretched/compressed the line is. If ${a+b}$ is used, then the formula will have its natural width regardless of how ...
2
votes
0answers
31 views

Three dots above a symbol look weird [duplicate]

In math mode, when I type \dot{x}, \ddot{x}, \dddot{x} the third expression doesn't look like the two previous ones. The three dots are widely spaced and higher above the symbol. Is there a way to ...
8
votes
4answers
186 views

Use the beta variant

Is it possible to use the curled beta: ϐ (U+03D0) in a formula? There are variants available for \epsilon, \theta, \phi, \rho, \sigma and \phi with \varepsilon, \vartheta, etc... but there is no ...
4
votes
2answers
45 views

new command using math mode sub index bug

I have defined the following command \newcommand{\gsubselector}[2]{$s_{#1,#2}$} and I'm calling it from a document in the following way: ... \gsubselector{a,i} : \gsubselector{b,j} there is ... ...
0
votes
1answer
66 views

“Dimension too large” using geometry package

So, I have an interesting problem with a really (really really ...) large equation that I am trying to typeset. Basically, crunching the file through pdflatex gives: This is pdfTeX, Version ...
1
vote
0answers
53 views

Deleted Main.bib using filecontents while trying to enter citation involving mathematical treatment

Ok. I feel pretty stupid but I was trying to find a solution to using mathematics in bibliography. I ended up using the following example in this forum that used filecontents. Help with math symbols ...
4
votes
0answers
49 views

LaTeX Extensible Delimiters Definitions

I'm writing a new font (in Metafont) and am working on the OMX-encoded math font. I've properly defined the parts of the extensible parentheses and included the fairly straightforward ligature ...
2
votes
0answers
34 views

Can I use xymatrix to make a spectral sequence ? meaning how to make the boxes?

Is it possible to use the xymatrix command to make a spectral sequence ? Since xymatrix has all the arrows, what I am really asking is are there commands that will enclose the entries in a lattice of ...
3
votes
2answers
69 views

Greek `\chi`'s subscript expressions: how to make it smaller or offset lower?

I am unsatisfied with the way subscript is rendered for the Greek letter \chi. This particular letter is rendered with a small downward offset. I occasionally have to prefix the subscript with ...
2
votes
3answers
92 views

Shouldn't Beamer redefine \mathrm?

beamer does switch to a sans serif font for math. However, it does not redefine \mathrm. I think it should do so. I have a few formulas that use \mathrm to get upright characters and they look ugly ...
5
votes
1answer
56 views

What bar should be used for definition of (formal) languages?

I wanted to know which standard symbol should be used as a delimiter when recursively defining a (formal) language, such as this fragment of arithmetic expressions : X ::= 0 | 1 | X+X | X*X | I use ...
7
votes
1answer
278 views

What generically CANNOT be compiled inside an equation environment?

Certain macros or whole environments which are themselves not equations, like whole tikz diagrams can be placed in the equation environment and compile. For example Diagram displayed as an equation ...
2
votes
3answers
131 views

Difficulties implementing Equations

I am trying to write this equations in TeXnic Center, but so far, I am not very successful. The equations I want to write are here: ...
1
vote
1answer
47 views

Difference between \xx{} and \mathxx{}?

What is the difference between math font \xx{} and \mathxx{} where xx=rm, bf, cal? When I use them it seems that the \xx{} formats all the words after it. But \mathxx{} formats only what is between ...
18
votes
3answers
432 views

Remove all math for spelling and grammar checking

I'm compiling a LaTeX file to pdf and then I use a pdf to text converter to convert the file to plain text. I then use LanguageTool to do grammar checking on that plain text file. The LaTeX source has ...
4
votes
1answer
44 views

Matrix with outer elements keep visual consistency

I am tying to figure out what is the best method to write a matrix with outer elements in the first row and column. Below is the code using array blkarray and kbordermatrix packages. As it can be ...
1
vote
1answer
83 views

Display a breve over several letters

I'm writting with a very dumb question, buy I haven't been able to find anything regarding this topic, nor think of a more general topic to look into. I'm trying to have a \breve which scales ...
5
votes
1answer
142 views

Unary plus with numbers?

This is driving me nuts... I need to write out an explicit plus sign, like (q, 1, +1). But LaTeX just swallows the '+' sign... \documentclass{article} \usepackage{amsmath, amssymb, fourier, ...
1
vote
1answer
44 views

Save wiki page in TEX?

Lot of wiki pages are excellent but there is no way to save it in LaTeX format so that the formula are kept. Even if we can use wiki's "create a book" function to save as pdf. The formula in wiki are ...
3
votes
1answer
82 views

Weird Behavior of Math mode in beamer

I wanted to use align* environment but it's somehow not working. It's working with regular $$ but the problem is then i have to customize formatting with \hspace and \vspace which defeats the purpose ...
6
votes
2answers
103 views

unicode-math + TeX Gyre Termes Math without \bigstar?

When I use TeX Gyre Termes Math with unicode-math like in the example I can't get the \bigstar symbol. It seems that the font does not have a bigstar at U-2605. Is there a way to re-define the ...
2
votes
2answers
61 views

Automatic matching and scaling delimiters

When I'm writing maths in TeX, I often have to use the scaling delimiters \left( and \right) and so on. I find the heavy use of them very unreadable in the source code. Is there any possibility that ...
7
votes
3answers
516 views

Defining 3*(2^4) complex macro at once

An Automata can be 1- or 2- ways, With Several Heads or a Single head Deterministic or Non-deterministic With a stack or not That makes 2^4 = 16 possibilities. However, for each combination, I'd ...
4
votes
1answer
36 views

Forcing \overline not to continuously extend to adjacent variables

Could someone kindly help me how I can correctly display the following formula? (\pi\rho\overline{\Gamma_\theta}\overline{R_\theta}^2) The output is shown below. However, the overline should not ...
3
votes
0answers
65 views

AUCTeX folding and square brackets in math mode

I want to use the folding functionality of AUCTeX, mainly to replace math macros with the corresponding symbols. But at the same time I want to continue to use square or curly brackets additionally to ...
2
votes
0answers
28 views

How exactly is spacing in and around a multiline math environment determined?

I've tried reading various sources (in particular Tex By Topic; I don't have a copy of the TeXBook) and experimenting on my own, but I'm still unclear as to how exactly the line spacing in and around ...
5
votes
1answer
78 views

Set a minimum space above and below displayed math

NOTE: This question is specifically about adding vertical space that increases to compensate for tall symbols. Thus, it is not a duplicate of How can I change the whitespace above and below math ...
8
votes
1answer
136 views

math equation with underline has different heights

I struggle with some equations in my research paper. I want to underline some variable, because they are complex, but if I use \underline the line is not at the same level in my example: ...
2
votes
2answers
35 views

Stackrel and footnote inside the math environment

In my document I have on first page an inequality \begin{eqnarray*} a &\stackrel{*}{\leq}& b \end{eqnarray*} and also on few other pages I have the same inequality. On each page I want to ...
2
votes
3answers
213 views

Equations with operations next to each line

I basically want to type a derivation of a specific mathematical formula with the operations that have been done in each line, for e.g.: U = R * I |:R U/R = I Handwritten it looks like this: ...
5
votes
1answer
64 views

Underbraced text under sum is in different size from other

Text in underbrace under sum is bigger than other. \sum_{{\{a,b,c,d,e,f\}=\{\underbrace{a,b,c,d}_{4\ terms}},e,f\}} How can I solve this neatly.
17
votes
1answer
136 views

Microtype gives wrong letterspacing in math mode

Using the \lsstyle command gives wrong math latterspacing afterwards. I came upon this problem when using the classicthesis and putting math in a section (microtype is used there too). After the ...
5
votes
0answers
97 views

LuaLaTeX - Problem with defining Cambria Math only for special font types

I've got a problem, that I can't fix. As soon as I try to use Cambria Math as font for \mathscr and \mathbfscr I get a "missing \endcsname inserted" as error. I'm new to LuaLaTeX so I simply ...
2
votes
1answer
52 views

Line break and text arent working

I am new to LaTeX and I am having trouble with \text and line breaks. My code is as such $$\text{if} y^{(t)} \neq h(x; \theta, \theta_{0}) \text{then} \\ \theta^{(k+1)} = \theta^{k}+ ...
1
vote
2answers
48 views

Aligning equation including multiline expressions

I have a derivation and have problems getting it to look nice. The derivation goes over several lines, so I want the = signs aligned. That is easy either using align or eqnarray. However, one of the ...
3
votes
2answers
97 views

breaking equation and different alignments

I would like to break the following two equations. I would like for them to have the colons aligned together, but besides that they should have their own, unique alignment points. Please see the ...
4
votes
2answers
470 views

Big forward slash in math

I have a equation in from of a=VERYBIGSTUFF / VERYBIGSTUFF And I would like to have a "verybig" forward slash in the middle of them. I dont like \frac mode, as I would like to have them ...