{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)

1
vote
0answers
15 views

Math mode for all numbers or not [duplicate]

Is there any reason to use/not use math mode for all numbers? For example: "The first few decimals of $\pi$ are $1$, $4$, $1$, $5$, $9$"? "If you count in base $36$ every english word is a ...
2
votes
1answer
41 views

Make cramped style ignore non-sub- and superscripts

The mathtools package provides the wonderful \cramped command to force a cramped style for sub- and superscripts. Maybe it's a bad habit, but I tend to wrap entire inline formulas in that command when ...
1
vote
0answers
22 views

texmaker commenting in math mode colors

Can you set the color of comments in math mode to be grey like normal comments? For instance \begin{array}{cl} \min & \tr XBX^T \\ \text{s.t.} & |Xe-2e|^2=0, \\ & ...
1
vote
2answers
89 views

How to change the font for math

For my thesis I use the fourier font because I like it as my main font but I have one problem with it: I do not like the font that fourier uses for math. How can I change/override this? I just want ...
7
votes
2answers
92 views

Fixing overfull \hbox with mdframed containing an equation

When creating a boxed environment with mdframed, I ran into an issue with a line with an equation, that also happens to be the first line of a definition. Is there a way to fix the problem ...
1
vote
1answer
45 views

How can I make the entire code appear?

There is no compile error but the following code isn't being displayed in the PDF. There is just a blank space in the PDF. \begin{aligned} a_i + a_{i+1} + a_{i+2} + \dots + a_{i + 99} &= 100\\ \\ ...
5
votes
2answers
44 views

Put math at the end of display

I'm trying to emulate the following behaviour i.e. the $(r \in \mathcal N)$ at the end of the line. I'd like to know how to do this in \[ \], equation and align environments. I'm using amsart. ...
4
votes
1answer
79 views

How to align columns of two separate matrices?

I have two equations involving matrices in an align environment. One of the matrices is wider than the other. How do I align them so that they are equally wide? A minimum working example: \...
1
vote
1answer
29 views

Prevent formulas from execution

When I need to correct the formula in the middle, I click on the middle of the formula, and the formula always changes it's mode from something like an "executed" mode to something like a "working" ...
0
votes
1answer
17 views

Break conditions in different line

I have a code to generate a equation in Latex. My problem is that How can I break line between a and b condition in the equation. With below code, the 0<=a<=10 and 0<=b<=10 are located in ...
2
votes
2answers
40 views

Multline equation along with aligned equations

How can I write the following? I have currently written it with an align environment and a multline, but I don't really know what is the correct approach to combine those (if that is the correct way ...
0
votes
0answers
27 views

Too many math alphabets when using mathdesign, bm and siunitx [duplicate]

Here is the MWE \documentclass{article} \usepackage{amsmath} \usepackage[utopia,greekfamily=didot,greekuppercase=italicized]{mathdesign} \usepackage{bm} \usepackage{siunitx} \...
2
votes
1answer
39 views

Fraction Equation problem

I am a new user of LaTeX. I am using amsmath package but keep getting errors with the following: \begin{align} \frac{\partial P}{\partial t} = \mu(N,I)P - mP - \nu \frac{\partial P}{\partial z} + \...
2
votes
2answers
97 views

Scaling absolute values

How I make in Latex the modulus, or absolute value, match the size of the expression within? I want to know what are the sizes available. Example: $$\mid\frac{\partial I}{\partial M}\mid = \frac{T^...
2
votes
2answers
53 views

How to replace \varnothing by \phi

I have written \varnothing in place of \phi everywhere in my thesis. Now, I want to change it by \phi. So, does there any technique so that I change at only one place and it changes everywhere ?
3
votes
1answer
58 views

Why does lualatex allow for tt mathmode symbols while pdflatex does not?

Consider this simple example: \documentclass[preview]{standalone} \usepackage[utf8]{inputenc} \begin{document} $\texttt{\lambda}$ \end{document} Running with lualatex works fine, but pdflatex ...
5
votes
2answers
65 views

superscripting a dot which is enclosed in square brackets

This question is about how to extend the nice answer here by @egreg http://tex.stackexchange.com/a/304078/103130 to the following case (which is close to what I need except that the brackets should ...
1
vote
1answer
56 views

narrow mode math environment in tikz nodes

I'm looking for a way to enforce a 'narrow' math mode in the following sense: Instead of writing every where the brackets {+} to reduce the spacing like here \documentclass[10pt,a4paper]{article} \...
2
votes
2answers
276 views

How can I do matrix with 1 column?

I want to make a matrix with elements like in the image: How can I do this? Thank you!
4
votes
2answers
145 views

putting square brackets around the underline of a letter (in math mode)

I would be very grateful for some help. \documentclass{article} \begin{document} $ a,\underline{b},\underline{c},d $ \end{document} I need to enclose the underline under the letter $b$ in small ...
3
votes
3answers
51 views

Gather equations and tables side-by-side

How can I make both the table and the gather be on the same level. Is there a better way than tabularx? \begin{tabularx}{\linewidth}{X|X} {\begin{gather*} C_{g|in} =C_{gn}+C_{gp}\\ ...
5
votes
2answers
162 views

Breaking single equation with multiple alignment

I have a set of equations that have multiple alignments, and one of these equations I want to break since it is long. The following MWE illustrates my current solution to this problem, but it's not ...
2
votes
0answers
46 views

Is there a package which does typeset subscripts automatically upright or provides an easy syntax to do to so?

Some time ago there was a question of how to typeset subscripts automatically upright (Typeset index upright automatically). The answer works, but it seems like a hack. Is there any package out ...
3
votes
3answers
71 views

unset rowcolor in eqnarray

I have a document with a defined \rowcolors Now in a math environment, a cases element is rendered with this table background overlapping the brace: This can be fixed by adding \rowcolors{1}{}{} ...
4
votes
1answer
159 views

How do you make a big Laplace Transform symbol

\documentclass{article} \usepackage[hmargin=1in,vmargin=1in]{geometry} \usepackage{amsmath,cancel,color,mathrsfs} \begin{document} Derivation of $ \mathscr {L} \{\int_0^{t} f(\tau)\,d\tau\} $ \end{...
3
votes
2answers
55 views

How do I scale mathbbol symbols?

I have need of blackboard bold Greek symbols so am using the mathbbol package. I would prefer to have the symbols at 1.1 design size, say. How do I arrange to scale all the bbol symbols by this factor?...
3
votes
1answer
79 views

Sans-serif bold math with newtxmath

I'm writing an article whose math font needs to be Times New Roman. To this end, I'm using the newtxmath package. However, it doesn't seem to support sans-serif bold in math mode. Usually I can write ...
1
vote
0answers
41 views

Not in outer par mode [closed]

I am using the following code and getting the error "Not in outer par mode" when i create my tables: \begin{table}[ht] \setlength{\extrarowheight}{4pt} \centering \begin{tabular}{cc|c|c|} ...
2
votes
0answers
28 views

Is there an \intertext equivalent for IEEEeqnarray?

I mostly use align* environments throughout my document and make heavy use of the \intertext macro, but was dismayed to find no such thing exists for IEEEeqnarray. I searched the webs (e.g. How To ...
1
vote
1answer
33 views

Changing Math-Font-Size with DeclareMathSizes

I am thrilled that \DeclareMathSizes gives such nuanced control over the sizes of the different parts of the equations. Experimenting with the mt-size, s-size and ss-size paramters. Here's ...
1
vote
2answers
74 views

Subscripts in math mode independent of the text that comes before

Here there is a problem I don't know how to solve. If we write $D^{*} _{text}$ what happens is that textis going to be subscripted below *, even if we have put a space between D^{*}and text. How ...
5
votes
3answers
418 views

Make equation look nicer

I have an equation which has a fraction to the power of another fraction. The fraction in the power is really small. I tried using \cfrac to change the size of that fraction but then the constant and ...
6
votes
3answers
117 views

Problem related with aligned

I'm trying to place 3 equations with some dots between them and I don't know why only the first \cdots is right aligned and the others are a mess. This is the code: \begin{equation} \begin{aligned} ...
4
votes
2answers
82 views

avoid space after thousands separator in math mode

In math mode, LaTeX inserts a small space after a comma. This looks nice in $a,b,c$, for example. But I don't like the way it looks when using a comma as a thousands separator, e.g., $x = 100,000$. (...
3
votes
1answer
51 views

! Undefined control sequence [closed]

I am continually receiving ! Undefined control sequence. 3. $f(x) = -3x^{2} -5x +7$\\ $-3x^{2} - 5x +7$\\ $-3x^{2} - 5x = -7$\\ $x^{2} - 5/3x = -7/3$\\ $x^{2} - 5/3x +25/36 = -7/3 + 25/3$\\ $(x+ -5/...
1
vote
1answer
80 views

Automatically identify the dependent package for LaTeX symbol command

Given a command like \kreuz, is it possible to create an application that will smartly recognise and import its dependent package wasysym, to enable its rendering out on a webpage? The aim is to have ...
1
vote
1answer
104 views

how to write in TeX “computer zero” with slanted vertical line on it?

In TeX, how is computing zero sign written with slanted vertical line on it?
9
votes
0answers
70 views

Side effects of changing blackboard bold font with \setmathfont

I'm using Latin Modern Math as math font but, since I don't like the blackboard bold letters that come with it, I replace them with the ones from TeX Gyre Termes Math. I believe to achieve this, the ...
4
votes
3answers
208 views

Graphics and brackets not vertically aligned within align environment

I'm trying to include small graphics within an equation setting (they're little diagrams of mathematical knots), using \includegraphics within the \begin{align} environment. The graphics themselves ...
0
votes
1answer
224 views

Why am I getting an undefined control sequence error in this line? [duplicate]

This line is giving me an error which I have been unable to remove for the last hour. Let $a^i =p\times 10^{n+1} + r$ and $a^j =q\times 10^{n+1} + r$ be two such powers. Let $a^j \gt a^i$.
0
votes
0answers
37 views

I need some help with the format of a paper on overleaf.com [duplicate]

I have been using a template for homework assignments in overleaf.com. It is working well, but unfortunately, there are some ugly checkboxes in every problem line. How do I make this go away ? Here ...
4
votes
1answer
88 views

\bar only allowed in math mode error

I am trying to type up an equation for my discrete math class but I keep on getting the "\bar allowed only in math mode" error. My previous usage of \bar worked out fine. $p( \bar{E} \cap \bar{F}) = ...
1
vote
2answers
103 views

How can I create a mathematical sign chart?

I've done some Googling and haven't found any way to create the below image in latex: The derivative isn't important; it's the line with the +, 0 below it including the -1 and 2. Any ideas how to ...
2
votes
1answer
48 views

pgfplots: minor tick num on one axis

I was just wondering if it was possible to use minor tick num on one axis only. \begin{axis}[ axis x line = bottom, axis y line = left, minor tick num=4, xlabel={$t(s)$}, xmin=0,xmax=5, ylabel={$x(m)$...
1
vote
0answers
33 views

Insert command with keyboard shortcut in TeXstudio

For inserting dashed lines inside matrix structures, I have to use the command \hdashline from the package arydshln prodominantly. I am wondering whether TeXstudio supports assigning a specific ...
1
vote
1answer
27 views

fleqn option makes math internal mode (inner) not detected

The following MWE points out that, without fleqn class option, math internal mode is detected ("i" and "o") but, as soon as fleqn class option is enabled, this mode is not detected anymore ("i" and "i"...
1
vote
2answers
83 views

Making the product operator (pi caps) with the extremes above and below the symbol

How can I make the symbol of product operator (pi caps) making the extremes remain the same above and below the symbol? (I do not want the extremes on the right side of the symbol) I wanna write this ...
2
votes
1answer
84 views

how to redefine single letter in math mode

I'd like to use in math mode instead the only letter g the \mbox{g} (with another tail). How possible to redefine it globally? I found example to redefine letter z: \catcode`\z=\active \def z{Yawn, I'...
4
votes
2answers
148 views

tikz pgf: Missing \endcsname inserted

I am getting the following error when trying to use mathematic symbols as part of a message caption: Missing \endcsname inserted Here is a working minimal example: \documentclass{article} \...
1
vote
1answer
32 views

vertical adjustment in mathmode

I created the symbol ${}_{\ulcorner\!\urcorner}$ by typing ulcorner followed by urcorner with the appropriate spacing, and forcing it down by placing it into a subscript. However, this made the symbol ...