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

4
votes
1answer
100 views

equation in math mode

\begin{equation} E-\epsilon_{i}-T_{i}-V_{0,i}(\textbf{R}) \tilde \chi_{i}^(+)(\textbf{K_{i}},\textbf{R})&=0 \end{equation} Missing $ inserted and I don't know why. Can anybody help me? thanks ...
5
votes
1answer
85 views

Break in square root line

I'm having a problem where the line that runs the top length of my square root sign is discontinuous. \begin{equation} N_t(\text{V})=\sqrt{\sum_{i=0}^{n}N_i^2} \end{equation} Yields this... ...
5
votes
2answers
88 views

LaTeX parenthesis problem with multline environment [duplicate]

I have a problem with the different size of parenthesis with multiline (see image). Actually i don't care about the different size of the square parenthesis on M and \bar{M} but I really care about ...
3
votes
1answer
63 views

punctuation mark should be placed after the end of math mode

When writing there are $n!$ possible permutations of $n$ objects, lacheck complains that "punctuation mark should be placed after the end of math mode". Why is this, and how should I do this ...
5
votes
1answer
93 views

Problem with spacing after \[…\] environment when using the \textcolor{} command

I'm getting odd spacing/indentation behavior when the \textcolor command is combined with the \[ ... \] environment. I did find a fix by putting % in a couple places, as outlined below, but I'd like ...
0
votes
2answers
115 views

\begin{equation}: “Display math should end with $$” error?

I'm pretty new to LaTeX, completely new actually, and there is one thing I can't quite understand. I get the error "Display math should end with $$" when writing an equation like this: ...
0
votes
0answers
34 views

Get a large 0 in a diagonal or triangular matrix matrix [duplicate]

I am interested in creating a matrix that is diagonal (or triangular even) that has a large 0 below the diagonal. Is there a way that I can create a matrix that has entries on the diagonal and then ...
2
votes
1answer
31 views

Substitute characters in text-mode with their math equivalent

I'm looking for a TeXway to substitute - (or other characters) while in text-mode with their math equivalent (i.e. $-$) in one environment/group. I'm looking for a 'switch' (\foo # and not \foo{#}). ...
5
votes
1answer
267 views

Putting normal letters in between Greek ones

So I am trying to write out Gauss' law for gravitation and I am having a hard time figuring out how to write it out without an error. I am currently trying to write in an equation block ...
4
votes
1answer
35 views

How to use the \pderiv and \D macros of the cool package with subscripts?

Is it possible to use the \pderiv or \D macros of the latex cool package when the derivative order and the variable uses a subscript? This fails with a "double subscript" error: \D[a_1]{f}{x_1} ...
0
votes
1answer
21 views

How to deal with theorem vs thm mismatch

I often find that I want to include a LaTeX file that has uses the environment theorem defined, but my document class has instead defined environment thm, so I get errors like Environment theorem not ...
9
votes
2answers
131 views

Overline thickness

Is there a way in latex to change the vertical thickness (height) of the line generated by the \overline command? \[ \overline{\overline{A \vee B}} = \overline{\overline{A} \wedge \overline{B}} \]
4
votes
2answers
221 views

how to make maths equations start at the left?

how to make maths equations start at the left? $$ \lim_{ x \to 0} \frac{\log {10 + \log(x+ \frac{1}{10})}}{x} = 10 $$ this display on center we want to start it left
2
votes
1answer
94 views

How to get a calligraphic Pi in latex? [duplicate]

It would be easy to do calligraphic letters as: \mathcal{AABBCCQQZZ} As But How can I get a calligraphic \pi or \Pi, I mean capital version of Pi. I clearly remember that I saw calligraphic ...
3
votes
2answers
112 views

Square Root Radical Sign [on hold]

Is it possible to type a radical of a square root equation as \sqrt{} with any number inside the bracket? I looked up how to do it but there were only these answers with advanced LaTeX that I don't ...
2
votes
2answers
44 views

Using \eqno in math mode

does anyone know, why do I keep getting this error message? !You cant use '\eqno' in math mode. ..and it's pointing at this line in my code: \left(\sqrt[5]{x^4}\right)’ &=& ...
2
votes
1answer
58 views

Error: Command \ invalid in math mode

I am getting the following error: Command \ invalid in math mode. Why? Compilation ends but no PDF is created because of those errors. This seems to be the problematic piece of code but I don't ...
5
votes
2answers
99 views

Bold math in the title of an article

Can this be done? I can't find anything anywhere on this -- which is very strange to me! Addendum: Thank you everyone for the hints. The problem was that I was using a particular .sty file. I have ...
2
votes
4answers
201 views

“Where” notation in definition

I need to define a rather complex operation. Hence I want to use the classical "where" definition style, i.e. Foo = Bar(x,y) WHERE x = Baz y = Fob My attempt so far in latex is: \begin{align*} ...
5
votes
2answers
295 views

Prettying up this equation from Mathematica

I like to type in 2d maths into Mathematica and then generate latex code for it. It has been working fine so far until I attempted this expression: TeXForm[HoldForm[ S (k*L) = (4*l + 1)/ 2 ...
0
votes
1answer
107 views

How to draw a induced charge under soliton - Feynman diagram?

Can someone illuminate line-by-line clear, how to draw this diagram? Just a clear LaTex code is enough. Thank you!! Either for the case: (1) in an equation or (2) in the figure.
3
votes
2answers
114 views

Strings and Harps to be drawn

I'd like to draw a picture similar to the hand-drawn one below: With labels $0$, $1$, $\Psi_{L,S}$, $a_1$, $\ell_i + 2\varepsilon$, $\Psi_{L,H}$, $b_1$, $-\varepsilon$, $1 + \varepsilon$, ...
1
vote
0answers
41 views

How can I make text inside set notation look like normal text?

I'm very new to LaTeX, and have never been very good with computers, so apologies for not knowing how to post questions on here properly or missing out anything important. I have this: ...
1
vote
0answers
39 views

MinionPro, siunitx and some character substitution: Bad mathchar (32768) [duplicate]

I've been using a solution that allows me to: Use proportional figures in text and tabular figures in tables; Force siunitx to set "symbols", e.g. ( ) - in the text-font instead of the math-font, ...
3
votes
4answers
156 views

Remove the spaces between \times in mathmode

My problem seems rather simple but I can't manage it. I want to describe bytes in this way 0000 xxxx 0010 1xxx I tried by writing 0000 \times\times\times\times 0010 1\times\times\times but this ...
7
votes
1answer
28 views

Is it OK to use a macro for an operator, or a macro defined by `\DeclareMathOperator`, as a non-operator?

Macros like \det, I believe, is intended to be used before some expression, but sometimes I wish to use them as in \det \in \mathbf{VP}. Is it acceptable to use them like this instead of using ...
3
votes
1answer
44 views

Algorithm : Command \end{list} invalid in math mode

I just started with Latex and I struggle a little bit with algorithm. Here is the algorithm, I try to show. But on the line of the first ENDFOR, I have this error Latex Error: Command \end{list} ...
4
votes
2answers
86 views

How to break a line in a long equation?

I am using a class named abntex2 and I don't know how to break an equation. I've tried inserting a package amsmath, breqn, mathtools, but it does not work. I type: \usepackage{amsmath} ... and ...
4
votes
1answer
57 views

problem with eqnarray

Would you like to help me please i'm a beginner ! what's wrong with my code? {\setlength{\jot}{0.40 cm} \begin{eqnarray*} n^*_{11} & = & \dfrac{n_{1.}\times n_{.1}}{n} \\ & = & ...
2
votes
1answer
47 views

Latex matrix of real numbers R^3x3

I trying to write R^3x3 (for a matrix 3 columns and 3 rows) in Latex using this: \mathbb{R}^3x3 But all this does is put the first 3 in the power and then writes x3 next to it in normal text.I ...
5
votes
5answers
104 views

Crossmark on an expression inside mathmode in latex

How can I put a crossmark on an expression inside a math mode using latex like below?
2
votes
2answers
116 views

Problem with the \mathbf command

In this MWE, I want to obtain bold letter for the letter "H" (compare the two "H") : \documentclass[10 pt]{beamer} \usetheme{default} \usepackage{lmodern} % load a font with all the characters ...
1
vote
1answer
55 views

What are the restrictions when using the TeX Live rpm distro?

I installed [root@magpie ~]# yum -q info texlive Installed Packages Name : texlive Arch : x86_64 Epoch : 3 Version : 2013 Release : 4.20131226_r32488.fc20 Size : ...
6
votes
2answers
293 views

Automatically check if a math character is greek or latin

My question is similar to Bold math: Automatic choice between \mathbf and \boldsymbol for Latin and Greek symbols?, yet slightly different. My non-compilable minimal example is the following one: ...
7
votes
2answers
72 views

Right-aligning text over expression

Basically, I want something like this: $$ \overset{\qquad\quad\; 2}{\sqrt{x+x^2}} $$ where the expression above is (automatically) right-aligned, but I have no idea how to achieve this. (The ...
5
votes
3answers
106 views

Bold Roman expressions in Math Mode, with proper spacing

I have some math formulas where I need bold roman style for some math expressions. Since they appear quite often, I need a macro for them. The obvious way is to write ...
7
votes
4answers
141 views

Line breaks of math expressions in subfloat environment

I would like to show a figure in which there are a graph representation above its edge and node lists in LaTeX. I have written something like this: \begin{figure}[!ht] \subfloat[First figure]{ ...
2
votes
1answer
48 views

Equation is being shrunk to fit sentence, how can I prevent that?

I should preface that I discovered LaTeX a few hours ago but I've googled and searched the documentation and haven't found an answer. Here is the line I've written Question 1: $\int ...
1
vote
3answers
55 views

How to insert a special math alphabet

I am trying to insert a special math alphabet in an equation for a physics quantity called "cavity finesse". It is basically represented by a fancy letter F, which looks like what's shown in the ...
7
votes
2answers
109 views

Unexpected displaymath in math environment with \underbrace

I would like to stay in math mode by using $ delimiters. But when I use this code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} ...
2
votes
1answer
63 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
91 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
191 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
400 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
205 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?