{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
0answers
24 views

Disable italic in math environment [duplicate]

I have one quick question, is there a way to disable the italic font in general in the math environment? cheers
4
votes
1answer
46 views

2 boxed equations on one line(blue outline box and shadow)

I am currently trying to make 2 boxed equations to be on the same line. I use {mybox} to create the outline of the box and the color. Also to position the equation where i want it to be. The boxes ...
4
votes
1answer
71 views

Define the system of “n” linear equations

I would like to write the system of "n" linear equations. Follow is my code: \documentclass{article} \usepackage{amsmath} \usepackage{systeme} \begin{document} \[ \syslineskipcoeff{2} ...
1
vote
1answer
51 views

Use \Updownright between two vertical expressions

I have a long equation \ldots - m \neq 0 \Leftrightarrow \ldots \neq m where \ldots is a long expression. Instead of having this on one line, can I instead format it to obtain \ldots - m \neq 0 ...
0
votes
0answers
41 views

Labeling math symbols used in align environment [duplicate]

I would like to label (and refer) not an equation but a symbol. The result we obtain by compiling the following piece of code looks like what I want: \begin{align*} A=A' ...
2
votes
0answers
51 views

Spoilers in Web-Accessible Pdf Documents?

A highly regarded professor of mine is currently writing a graduate mathematics textbook in which he has given the book a theme of ``do it yourself'' mathematics. He has asked me to review the book ...
0
votes
0answers
56 views

Math spacing when using quantifiers

I'm often writing equations with quantifiers like these: \begin{equation*} x_i \quad \forall i = 1, \dotsc, n \end{equation*} I've read this answer, but I'm not sure if my case is an example for ...
1
vote
0answers
40 views

Multiline latex equation

I have latex equations within \[ ... \] commands. Some of them doesn't fit page width and they have newline command \\ inside. I tried to surround these equations with gather* environment which works ...
0
votes
0answers
34 views

Problem with too long numerator/denominator in fraction

I am using Texmaker for a math document. My problem is that sometimes I encounter certain fractions whose numerator or denominator is too long to be accommodated in a single line. Therefore I don't ...
1
vote
1answer
45 views

How to align two side by side equations at the top?

\begin{equation*} \begin{array}{ll@{}ll} \text{minimize} & \|Ax-b\|_\infty &\\ \end{array} \quad \begin{array}{ll@{}ll} \text{minimize} & t &\\ \text{subject to} & Ax-b \preceq ...
2
votes
1answer
52 views

Tikz node inserts additional horizontal spacing

The \MyTikzMarkNode below seems to be inserting additional horizontal space when used in math mode. How should the macro be defined so that the additional horizontal space is eliminated? Code: ...
1
vote
2answers
41 views

Continued fraction including cdots and dfrac

Consider the following image of a snippet of text. I would like to know how this is reproduced, especially with the diagonal '\cdots' and \dfrac.
14
votes
1answer
125 views

A robust command for French-style intervals

In France, we usually write open or half-open intervals as ]a,b[ or [a,b[, not (a,b) or [a,b). I especially do not like (a,b) as it can be confused with an ordered pair. I have therefore defined an ...
2
votes
2answers
179 views

How to add a massive bar on the letters?

At the moment I have an output with \bar{...} command as and I want something that extends over the entire term preferably without redefining the original command.
0
votes
0answers
21 views

How to typset $:\iff$ (logical equivalence)? [duplicate]

How shall I typeset ":<=>" in Latex which means "is logical equivalent"? After typing A :\iff B I get Comparing it with A \coloneqq B (cf. How to typeset $:=$ correctly? ): We see that there ...
3
votes
1answer
123 views

How to draw good arrows explaining parts of equation?

I want to point out what the different parts of an equation is by arrows pointing into the equation. By using the \tikzmark command from Adding a large brace next to a body of text I have managed to ...
3
votes
0answers
70 views

Need to type -4x - 6

I am new to LaTeX. I need to type: -4x - 6 I used following command: $ –4x – 6$ It gave me the output as 4x6: How can I type -4x - 6 instead of 4x6?
1
vote
1answer
55 views

Math mode - bidirectional map

I have two categories and one functor in each direction, with relatively long names. I would like to write both functors at the same time, one over a right arrow and another one over a left arrow, so ...
1
vote
2answers
91 views

Not getting desired result: Package amsmath Error

Quite new to LaTeX. I am using TeXStudio 2.10 and the following code producing result I desired. $${\rm{x}} = \left( {\matrix{ {{{\rm{x}}_a}} \cr {{{\rm{x}}_b}} } } \right) $$ I need x_a and ...
2
votes
3answers
141 views

align text in math mode

I have the following equation (I use MathType and then exctract it in LaTeX): \begin{equation} \begin{array}{*{20}{c}} {\begin{array}{*{20}{l}} {{\textrm{Dot product:}}}&{{\rm{ ...
2
votes
1answer
106 views

Turn off automatic size adjustment of \left and \right brackets

I have used different left/right brackets (\left(, \left[, \left\{ etc.) in a document numerous time and realised only now (due to changes) that the automatic size adjustment that comes with these ...
1
vote
0answers
17 views

How to create a table (like tabular) with only equations [duplicate]

I am trying to create a table containing only equations. Similar to a tabular environment. I want to be able to set margins in the table like you can in tabular, but there doesn't seem to be a simple ...
4
votes
1answer
87 views

T1 font encoding and math fonts

For specific reasons, I'd like to typeset an equation in \mathrm{...}. Also, the document uses T1 font encoding. Now a greek Delta in an equation gets typeset as "`" instead unless I use OT1 font ...
3
votes
1answer
76 views

LaTeX/tikz equation not in italics

I'd like to typeset an equation (in a beamer slide, inside a tikzpicture) in non-italics. Using the various options recommended (\text, \mbox, \mathrm) works for most part of the equation but not ...
0
votes
3answers
45 views

How to have a variable in more than two row-column in matrices?

I have a matrix say 3 by 3, in it I have a variable say G, which is 2 by 2. But I don't know how to have such a matrix variable inside another one without splitting G?
2
votes
1answer
65 views

How to see the \O in math-mode (at LyX)

I'm using LyX 2.1.2 and when I put (at math-mode) this: \O I see nothing at the pdf file. Do you know why? If this helps - when I look at the source code - this what I see: \L{$\O$} But when I put it ...
5
votes
2answers
64 views

Problem producing pounds symbol (£) in math mode

I'm having trouble getting a pounds symbol to appear in math-mode contexts in my document. The problem seems to be the use of the newpxtext package. MWE: \documentclass{article} ...
4
votes
0answers
43 views

Setting Minion Math with XeLaTeX [duplicate]

What is the correct way to configure Minion Math with XeLaTeX? The website does not offer many information. www.typoma.com/en
0
votes
0answers
20 views

latex showing missing $ [duplicate]

f ( r ) : f ( I ) $\rightarrow$ f ( A ) {one to many mapping}
-1
votes
1answer
36 views

latex problem showing $ missing [closed]

f \left( O \right.) $\rightarrow$ f \left( I \right.)
2
votes
1answer
59 views

Multiple lines of text in math mode

One of the assumptions in my paper requires a long line of text. Is there a way to format this nicely? I'd like to keep it in math mode so that it looks the same as the other assumptions and I can ...
0
votes
1answer
66 views

Only left brace or bar in math equations [duplicate]

I wanna insert only a left bar like \left | without the closing right bar. Why? I want to use it as separator of calculation hints. $a * b = c | :b\\ a = \frac{c}{b}$ and so on. It must be a left ...
10
votes
1answer
186 views

Correct typesetting of a formula with a long fraction

I have a two-column document and as you can see a long mathematical formula, consisting of a fraction, can't fit in the column width. What I don't know is what is the right way to typeset such kind ...
4
votes
3answers
79 views

Fix spacing when using \dot{}

If I type $a \sim b$, I get . However, if I type $a \dot{\sim} b$, I get this and the spacing is gone. Is there a way to regain latex's good spacing mechanism, i.e. add spaces if needed and avoid ...
1
vote
1answer
31 views

Indented math definition?

How can I format a math equation for a graph definition so that it has an intended "body" as in the following example? graph2 = ( {c1, c2, ..., c8}, {e1, e2, ..., e12} ) I tried using the ...
2
votes
2answers
59 views

Binomial math symbol like but with square braces [duplicate]

I want to generate symbol like this: But I can't find a proper method in LyX. I tried frame decoration with \overset like this: I also tried square braces with matrix inside, but is too large. ...
3
votes
2answers
94 views

Make greek letters behave like normal letters in math mode - default italic and responsive to mathrm

This topic has been discussed several times, but amongst all the answers, I couldn't find any suiting my needs. I'm looking for a way to use greek letters the same way I'd use normal letters, means ...
16
votes
5answers
848 views

How do I draw a $\partial$ with a diagonal line through it?

As the title suggests, how do I draw a $\partial$ with a diagonal line through it?
1
vote
1answer
51 views

LaTeX Error: There's no line here to end

My question is very simple: what is the problem with the following code? \begin{proof} Let $N = (Q, \sum, \delta, q_0, F)$ be the NFA recognising some language $A$. We construct a DFA $M = (Q_1, ...
0
votes
1answer
22 views

A statement implies three other statements, how can I achieve this whilst having the statements in display math mode?

here is what I have at the moment $$\implies\left\{\right.$$ $$5a+5b+16c=-\sum_{i=1}^{i=8}\chi_i(g_1)\chi_i(g_\lambda)$$ $$a-b=-\sum_{i=1}^{i=8}\chi_i(g_2)\chi_i(g_\lambda)$$ ...
3
votes
3answers
198 views

Using greek letters in a table when using Palatino font

I am trying to write an article with Palatino font. I loaded the following packages, among others: \usepackage{mathpazo} \usepackage{avant} In my first attempt of writing the letter $\Omega$ it ...
1
vote
1answer
72 views

Wrong space in equation

At my LaTeX file, the space between left and right equation in "Einsetzungsverfahren" is not correct (too big). Thats my file, what did I wrong? \documentclass{article} \usepackage{amsmath} ...
3
votes
1answer
60 views

Changing font in math mode

I am very, very new to LaTeX, and I've been trying to understand fonts but as far as I can tell, it is too complicated for me at this point. All I really want to do, is change the amssymb version of ...
3
votes
3answers
162 views

Using \cal font in LateX2e. Is it possible?

I've been searching far and wide to try and find a solution to this but no luck yet - I have to create a table which looks similar to this but with a few changes: and I was told the source uses ...
2
votes
1answer
99 views

Paragraph ended before \math@egroup was complete (and other fun) [closed]

I was working on my thesis which is due in a week when all of a sudden I started getting errors on my title page, specifically Paragraph ended before \math@egroup was complete Missing $ inserted ...
1
vote
0answers
41 views

Formatting latex code in lyx

I have been using lyx and have run into text formatting issues when using math inline formulas. For example, the code bellow: is converted to: How can I make the formula fit the numbered list?
6
votes
2answers
170 views

Is there a way to make a symbol behave as either mathord or mathrel depending on context?

Symbols denoting equivalence relations are typically used in two ways. They are either binary relation symbols denoting that two elements are equivalent or they appear as ordinary symbols in the ...
3
votes
2answers
168 views

How can I define a new operator, which works the same as sum, prod in both inline and display math mode?

I want to define a new operator say \Delta . Which works as the same as \sum or \prod in both in line and display math mode. Say, the subscribes is to the right of the operator in the in line mode, ...
3
votes
1answer
35 views

Changing symbol size when used as subscript

This is a follow-up to this question. I'd like to define \fa to display \forall when typed as usual but be \mathsmaller{\forall} when \fa is used as a subscript. For example, I want to write ...
2
votes
1answer
43 views

Define symbols differently in text mode versus math mode

I'd like to define \a to be the $\forall$ symbol, but I'd like it be the regular $\forall$ in text-mode and \mathsmaller{\forall} in math mode. Is there any easy way to do this? I'm guessing it ...