{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
1answer
64 views

How to preserve space when using an Overlay command in Beamer?

Into Beamer, I want to preserve the space when I replace an expression by another in a mathematics formula with the help of an Overlay command. For example, if we have in slide number 1 this formula: ...
7
votes
1answer
99 views

Changing font size in equations changes superscript size in text (LATeX)

I used \DeclareMathSizes{12}{20}{14}{10} to make my equations larger than the default output of LATeX (the parameters mean, as far as I understand, {font size}{equation regular text size}{equation ...
3
votes
1answer
52 views

Problems with itemize

I had the following situation \begin{itemize} \item[(A_s)] Item (A_s) such that \begin{equation}\label{sob} \sum_{n}n \end{equation} \item[(B_s)] Item (B_s) \end{itemize} and the result was blank ...
0
votes
0answers
13 views

subnumcases and inline math [duplicate]

Code \usepackage{cases} \begin{subnumcases}{}\label{eq:regola_scelta_reject} \min \quad \sum_{j=1}^{H}x_jw_j & $\sum_{j=1}^{H}x_jw_j \geq W_L$ ...
8
votes
2answers
192 views

Typesetting sequence notation

I attempted to create a sequence both of the following ways: \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage{amsmath,amsthm} \usepackage{amsfonts} \begin{document} ...
13
votes
3answers
401 views

How do I get two mathrings centered over a variable?

I am trying to represent a second order, dimensionless derivative by two open circles overtop a variable. I understand how to do one (\mathring v), and I understand how to do multiple solid dots ...
1
vote
3answers
180 views

Is there any math symbol \predeq in Latex? How to use it?

Is there any math symbol \predeq in Latex? If yes, how to use it?
8
votes
2answers
89 views

How to typeset basic arithmetic [duplicate]

What would be the best way to use TeX to typeset basic arithmetic as it's done in school - for example, to typeset equations like 356 + 42 --- 398 written in this way?
2
votes
3answers
70 views

Customize equation numbering for Equation environment?

I want to manually label equation number ? For example I want to label this equation 3.1 instead of (1) which automatically pops up. Is it also possible in split environment as well or not ? ...
4
votes
1answer
218 views

Missing $ inserted in maths mode

Been trying to this line to parse for a good 20mins, but all attempts have failed: \beta = $-$0.84, t = $-$2.09, P = 0.04 Could anyone tell me why I'm getting a Missing $ inserted error here?
4
votes
0answers
155 views

Maths without paper sheet

I would like to know if it is possible to write Maths on latex without having to write a first draft on paper? As far as I'm concerned latex writing seems to demand a separation between the thinking ...
4
votes
2answers
81 views

Missing character 1 in font bbold11

I have a problem with my (freshly updated) MiKTeX installation: I like to use \mathbbold{1} from the bbold package to obtain a blackboard bold 1. This works with TeX Live under Linux, but for font ...
3
votes
1answer
34 views

\ifmmode check in section caption

To assure the correct usage of newcommands which only shall be used in mathmode, I have introduced a mathcommand, which checks mathmode by \ifmmode. Now I want to use such a mathcommand in a section ...
2
votes
2answers
94 views

reducing space taken by big math equation

i hve few big equation in my file and they take lot of space. plase help me in reducing their size.i have already tried using \declaremathsizes but it only reduces math font size nt the space it ...
3
votes
2answers
237 views

Displaying fractions nicely

I'd like the following to look nicer: $\frac{1 - \left(\frac{r-3}{r-1} \right)^{k-(p+q)+1}}{1 - \left(\frac{r-3}{r-1} \right)}$ As of now, the horizontal line is way too long.
17
votes
4answers
974 views

wavy division sign wanted

I would like to find or create a math relation symbol that resembles a division sign, except that the horizontal bar would instead be a tilde (\sim). Can anyone help with this?
1
vote
1answer
45 views

Numbered equations with additional text part 2

I would like to have numerated equations with some additional text added, where the numbering automatically increases for any next equation, with the possibility to add a different text for any ...
4
votes
2answers
97 views

Designing medcirc and circledtimes symbols

It would be great to use only \medcirc and \circledtimes from the pxfonts or to design the similar symbols by other techniques. The symbols from pxfonts are quite well but when I connect the ...
2
votes
1answer
89 views

Numbered equations with additional text

I would like use the following enumeration of equations: x+y=z (1.1) some text Where this enumeration is, say, given on the right side of equation. It ...
8
votes
2answers
182 views

How to get single curved quotation marks in math mode

I know I can get these fancy quotes `abc' I want to get those quotes separately. I know how to get the left one: {`}a But when I try just the right one, I get a different quote then when ...
12
votes
1answer
172 views

Behavior of \, in both text and math mode

The command \, can be used in both text and math mode, where it has the same behavior. Well, this is not strictly true, of which I can give a wonderful proof, but comments are too short to ...
9
votes
1answer
108 views

Why does amsmath define \mspace? \mskip seems fine and simple enough

amsmath.sty defines \mspace as follows: \newcommand{\mspace}[1]{\mskip#1\relax} What is the purpose of this definition? amsmath.pdf says that \mspace is the "equivalent of \hspace for math mode ...
2
votes
1answer
104 views

“greater than” and “less than” not showing up in compiled document

I try to write a inline formula including a greater than sign: $A < B$ If I use the above formula in an empty document it works fine, but in my full document it will just not show up. But I can ...
1
vote
1answer
91 views

Why is $ required around \oplus in a math environment?

I wrote the following: \begin{equation*} \begin{tabular}{c|c|c} P & Q & P \oplus Q \\ \hline \text{T} & \text{T} & \text{F} \\ \text{T} & \text{F} & \text{T} \\ \text{F} & ...
6
votes
4answers
320 views

How can I type formula cosine of two vectors nice?

I want to find cosine of two vectors, I define the command \cross for cross product of two vectors. I tried \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
5
votes
3answers
95 views

Greek capital letters with Latin Modern and TeX

Copying the plain TeX format, my formatting file contains the lines \font\tenrm="[lmroman10-regular.otf]:mapping=tex-text" \textfont0=\tenrm \def\rm{\fam0 \tenrm} to load a unicode font. However, ...
1
vote
0answers
31 views

What is best convention for writing induction proofs in latex? [duplicate]

I'm writing some induction proofs for my homework. What is considered to be best convention for writing these kind of proofs?
4
votes
2answers
67 views

Underfull \hbox severe issues

I relaize this has been posted before but I just can't understand the nature of the problem, I hope some of you can help me with this. This is my code from line 99-174. Compiler errors are below the ...
8
votes
4answers
543 views

why are math fonts (traditionally) italic/slant? and Greek non-italic?

why is it usually the case that mathfont = italic/slant? [in my post, I am not distinguishing between slant and italic. I believe the two can be different, but let's not distract from my real ...
10
votes
4answers
299 views

How to break this long radical into multiple lines?

I've got a very long radical in a display-math environment, so long that the equation spills in the right margin. How can I break that equation over multiple lines, so that it doesn't go into the ...
2
votes
4answers
132 views

How to modify eqnarray?

I'm currently writing a maths undergrad dissertation using Texmaker, and when I use eqnarray. It keeps justifying all of the equations to the right but still in the center? How do I change this so ...
9
votes
4answers
237 views

How can I get curly arrow underneath a state in a state transition diagram

I have a simple state transition diagram that I'd like to render in latex ideally using regular mathmode markup. The arrows show the probability of going between states. ...
4
votes
2answers
54 views

How to denote adjacent vertices?

Background I'm trying to write a rapport that relies on some rudimentary graph theory and as such I'd like to write a section explaining the basics of it. Trying to do I've run into a bit of a snag ...
1
vote
0answers
64 views

Render text upright in math mode

I am looking for a way to have LaTeX render strings of more than one letter as upright (in math mode). For example, I want it to render $Hom$ as $\mathrm{Hom}$, $apple$ as $\mathrm{apple}$, $apple ...
3
votes
2answers
90 views

XeLaTeX Double closed path integral? [duplicate]

How can I write a double closed path integral? I have searched and I have found only single closed loop integral.
6
votes
2answers
66 views

Tabbing/horizontal placement with labeled equations

I have a string of equations, each with a label that I would like to format nicely. I want the equation labels to be at the same horizontal position and the start of the equation to be at the same ...
3
votes
2answers
147 views

Getting less space in “$V$,”

If I think there's too much space between the $V$ and the , in $V$,, what's the best way to reduce it? It seems safe to use \kern and not safe to use \hspace, since if you use \hspace the line might ...
2
votes
1answer
285 views

I get the warning “Undefined control sequence” with \mathbb

I am doing my first LaTeX work using TeXstudios and I'm having trouble with an Undefined control sequence. When I've checked solutions on google it appears as this is caused by typos in the ...
1
vote
0answers
55 views

How to type multiple integral sign in TeXmacs? [closed]

I don't know if there are a lot of people using TeXmacs. Now I use it to make some mathematics notes, but what gives me a surprise is that it haven't supported multiple integral sign! I don't know why ...
4
votes
1answer
75 views

Adding Non-breaking space after single character in text mode

Is it possible in LaTeX (2e) to create macro or other processing command that will add non-breaking space after single character in text mode? Example: A new example here will add a "tilde", after ...
8
votes
3answers
221 views

Inline math or \textit for author defined math constants?

Wondering if people here have a thought on what the best practice is here (if it matters). I used to use baskerville (well, the baskervald package) as my main font and charter as my math font (since ...
8
votes
2answers
108 views

Defining the minimal amount of space around an operator

How do I define the minimal (and possibly maximal) amount of horizontal space around an operator? Something similar to wrapping the operator with \,s. Here's a picture: And a minimal example ...
5
votes
1answer
48 views

align* and wrapping command

For school we have to deliver all math with double lines under the result. I have made a command that makes this easy. It looks like this: \newcommand*{\uul}[1]{ \underline{\underline{#1}} } It ...
4
votes
2answers
126 views

New to TeX; issue with compiling

I keep getting the compiling error >file ended while scanning use of \frac. I can't see any missing {}, so I'm not sure what to do. \documentclass[]{scrreprt} \usepackage{geometry} ...
4
votes
1answer
62 views

Double slashes close together with resizing

I basically want this symbol, but I want it to resize properly: While X/\mkern-6mu/H looks good, when I try to resize using \biggl, then the horizontal space between the two slashes becomes very ...
3
votes
4answers
89 views

How to resize font of displayed formulas to automatically fit column width? [duplicate]

Is there a way, in LaTeX, to automatically resize font of displayed equations to fit column width (241 pt, here)? Any ideas would be appreciated. You can see my equation below; note that I use ...
1
vote
1answer
59 views

missing inserted endgroup

I'm typing this equation: \eta=\frac{82\cdot4\cdot1.44 \textrm{MeV}\cdot10$^-15$\textrm{m}}{2\cdot6.582\cdot 10$^-10$ \textrm{MeV}\cdot\textrm{s}\cdot0.0774\cdot2.998\cdot10$^8$\textrm{ms$^-1$}} ...
0
votes
0answers
44 views

How to draw a Pascal's triangle? [duplicate]

How to draw a Pascal's triangle, similar to what follows?
8
votes
2answers
72 views

How do I vary the height of braces without varying the width?

I am trying to highlight pieces of a formula with some text on the side, but one of those pieces is multiple lines. The solution that I came up with was to use braces in an array to highlight the ...
1
vote
3answers
178 views

Aligning Equations in LaTeX

I was trying to align the following equations but alas. Could someone guide? \begin{flalign} x \in A \cap (B \cup C) & \Rightarrow (x \in A) \lambda \Big( (x \in B)\vee(x \in C) \Big) & \\ ...