{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}.
3
votes
1answer
35 views
Change \newcommand behaviour based on the environment
I'd like to define a command \Lm, such that if used in a maths environment it is replaced with \mathcal{L}, but when used outside of the maths environment it would be replaced with $\mathcal{L}$. This ...
4
votes
3answers
53 views
How do I get Libertine + Libertine in math mode + historical ligatures + french-style?
I would like to write a document using:
Libertine;
Libertine in a correct math mode;
Historical ligatures;
French style of mathematics (upright greek letters and capital letters).
I know I should ...
6
votes
2answers
65 views
Vectorization operator
How can I represent the vectorization of a matrix A (i.e, vec(A))? I am talking about this simple operator:
1
vote
2answers
51 views
newcommand for $\frac{\mathrm{d}^4q}{\left(2\pi\right)^4}$
Can you give any hints on how to define a new command that writes
$\frac{\mathrm{d}^4q}{\left(2\pi\right)^4}$
with the options that one can write $p$ instead of $q$ (say) and also if one could ...
9
votes
3answers
148 views
Set bullet instead of dot using \dot
I would like to place a bullet in the same way that $\dot{x}$ places a dot above x. Does anyone have a clue?
6
votes
1answer
42 views
Ignoring specific ampersand formatting on a specific line of an align block
I want to typeset a number of equations with some alignment constraints, but I want to partially ignore them on certain lines. An example formatted text might look like the following when it's ...
0
votes
0answers
44 views
Write above the symbol math “subset”
Like the symbols "bigcup or bigcap" in LateX, I'd like to write above the symbol subset.
I have try to use the displaystyle command, but it doesn't work !
Here this is a snipset of my try :
...
4
votes
1answer
51 views
Math-mode kerning/spacing of letters
Take the following two equations:
\begin{equation}
o^{AR}_{i,t} = w^{AR}_i x_t + o^{AR}_{i+1,t-1}
\end{equation}
\begin{equation}
o^{MA}_{i,t} = w^{MA}_i x_t + o^{MA}_{i+1,t-1}
...
2
votes
3answers
76 views
how to arrange the place before a pair of parentheses indicating a note in math mode?
I need write some formula. I don't know how to choose the |space| as below:
$a_1=S_1$, $a_n=S_{n} - S_{n-1}$ |space| ($n > 1$)
(Maybe
$a_1=S_1$, $a_n=S_{n} - S_{n-1} |space| (n > 1)$
is ...
1
vote
1answer
35 views
split doesn't want to split \left and \right [duplicate]
In short,
I have :
\begin{equation}
\begin{split}
a = & \left | \dfrac{b}{c} \\
& + \dfrac{d}{e} \right |
\end{split}
\end{equation}
and it complains that I want to split \left and ...
5
votes
3answers
107 views
How to deal with the size of the exponential type function's argument?
I have the following function in a report of global size 12 :
$Q= \rho V c_{p} \left( T -T_{\infty} \right) [ 1-e^{\frac {h A_s}{\rho V c_{p}}t}]$
As one would expect, the exponential function's ...
2
votes
2answers
51 views
How to adjust the blank space between the top of the left curly brace and the contents?
I want to type a system of equations delimited by the left curly brace. And I tried using the \left{ with aligned, and cases, and array, and numcases. But there are some difference between the results ...
3
votes
1answer
61 views
Underlining fractions
I need to be able to underline equations involving fractions, which are aligned using the alignedat environment from amsmath. To be able to underline at all, I'm using the solution from this question ...
7
votes
2answers
47 views
\setbox containing maths interferes with surrounding math mode in XeTeX
I encountered what might be a bug in XeTeX (but I would be glad to be proven wrong) while chasing a strange interaction between bytefield, unicode-math, and mathtools.
In general, I do not expect a ...
0
votes
0answers
27 views
Identify a math script font [duplicate]
Today I saw an amsart article with the following script "I" in it:
But I can't identify which font it is. All math script fonts I know are \mathcal, \mathscr, and \mathfrak, but none of these ...
10
votes
4answers
168 views
Using commas in mathematical formulas
I need write some formula, but I don't know how to arrange the comma's place.
$p,\ q\in N$, blabla $0<a,\ b<1$ blabla $i,\ j=1,\ 2,\ \dots,\ n$
or
$p,\;q\in N$, blabla $0<a,\;b<1$ ...
1
vote
0answers
39 views
Latex packages / templates for maths exercises
I'm enrolled in a mathematics course where we are supposed to return our solutions to weekly exercises as PDF files. There seems not to be any general official guidelines other than "it's legible", ...
10
votes
2answers
75 views
How can I use \lVert and \rVert norm symbols (‖x‖) with the Iwona math font?
I want to use \lVert and \rVert to denote the vector norm.
With Computer Modern this works quite fine. But when trying to use Iwona as a math font, I run into trouble:
\documentclass{standalone}
...
4
votes
5answers
82 views
Right superscript dot
I would like to achieve the following: a dot right of an expression
with this minimal example
\documentclass{article}
\usepackage{amsmath}
\usepackage{accents}
\newcommand{\dotr}[1]{%
...
1
vote
1answer
92 views
Solutions in exam class
I'm trying to write up solutions to some exercises, using the exam class. In order to align equations correctly, I'm also using the aligned environment from amsmath.
To avoid too much repetitious ...
2
votes
1answer
28 views
dot2tex and math mode
I have successfully installed dot2texi but I'm facing an issue with the math mode. The sign (_) in math mode works fine however other symbols do not work. For example it ignores the bar over b in the ...
6
votes
1answer
95 views
Decimal comma: extract one feature from babel-spanish
\usepackage[spanish]{babel} makes $12.34$ to print "12,34", not "12.34". It doesn't change dot to comma if one says for example $x.y$.
Can I use only that feature from babel package, and still use ...
8
votes
1answer
99 views
LaTeX math textbook conversion to ebook/Kindle
I'm looking to buy a very math-heavy textbook (LeSage's Spatial Econometrics). The Kindle version is about $20 cheaper. Normally, I would be happy with the Kindle version, but I'm nervous about how ...
4
votes
3answers
48 views
5
votes
1answer
55 views
(Nonfatal but Symptomatic) Conflict of amsmath and mathstyle Packages
This was brought to my attention by our colleague, Lover of Structure, but since it affects my scalerel package (which began using the mathstyle package to detect the current math style, as of version ...
0
votes
2answers
59 views
How change math font size in power?
How can I change the font for power such a way that the power symbol is rendered much smaller than the number 3 in the following formula? I need to sum (necessarily with \displaystyle) was much ...
4
votes
1answer
53 views
Smaller font for < sign
I have a table where i report times.
Some elements are very small and I would like to write $<1\mathrm{ms}$.
However, if I do so, the < 1ms will occupy even more space than a three digit number ...
5
votes
3answers
118 views
lining figures in tables and math, old style figures in text
I’m using TeXLive 2012, up to date on Ubuntu 12.10. When I use the libertine package with the option osf and newtxmath for math fonts!, I get oldstyle nombers everywhere, but I only want to use them ...
6
votes
2answers
100 views
Missing final brackets (in one equation { and in other - ]) in the equations
This is my first question on tex.stackexchange, so the formatting will be terrible.
I've got a problem with three lengthy equations - the closing brackets, in all three formulas, are not displayed.
...
5
votes
5answers
129 views
Special character “dot over dash” [duplicate]
I need the symbol "dot over dash" or "dot over minus", but I am unable to find it in a list of LaTeX symbols. When composing it via \dot{-}, the dot is so hight, that it looks weired. It should look ...
4
votes
1answer
56 views
Setting a column of an align environment at a fixed distance from the margin
I'd like to set proofs in the style shown in this answer but with the right column at a constant distance from the left margin, so that the explanations show up consistently located in the many proofs ...
6
votes
1answer
92 views
Wrong spacing in math-mode
Consider the following example. (The code is not my own.)
Code
\documentclass{article}
\usepackage{mathtools}
\usepackage{siunitx}
% Subscript text directly in math mode.
\makeatletter
...
1
vote
1answer
47 views
Two columns of equations, aligned and just one number per column
I'm writing a two-column document, and I want to display two sets of large equations floating at the top. Each equation set should be aligned within the same column, and only the two top equations ...
6
votes
2answers
81 views
Less aggressive automatic paren stretching with \left
\left and \right are convenient but sometimes they're a bit overeager in stretching the parentheses. In that case we can manually use \bigl, \Bigl, etc.
I have defined a new command like this
...
5
votes
2answers
126 views
3
votes
2answers
73 views
Undefined control sequence [closed]
On this code:
$t = \plusminus \sqrt{\frac{2,7}{4,9}} \approx \plusminus 0,74$
I get the message Undefined control sequence. What have I forgotten?
1
vote
0answers
53 views
Missing $ inserted on blank line [closed]
I get the message "Missing $ inserted" just on a blank line.
After this:
1108. a) Avläsning av kruvan $f_{B}(x)$ vid x = 8 ger att $f_{B}(8)$ ≈ 28$.\\
b) \text{Genom att undersöka var kurvan ...
1
vote
0answers
56 views
Runaway argument [closed]
Where is my fault here: \text{Genom att undersöka var kurvan $f_{A}(x)$ skär linjen $T=20$ ser vi att $x\approx {4.3}$ då $f_{A}(x) = 20$. Error message "Runaway argument".
1
vote
0answers
60 views
Missing $ inserted although I have $
I get "Missing $ Inserted" when typing in this:
Genom att undersöka var kurvan ${f_{A}(x)}$ skär linjen T = 20 ser vi att x ≈ 4,3 då ${f_{A}(x)}$ = 20.\\
Where is my fault?
4
votes
2answers
149 views
Is there a package for doing this in LaTeX?
I'd like to do something like this
What would be the code? does it use a package for doing the $$f\mapsto f\circ \pi$$ part?
4
votes
1answer
41 views
Create a weightier (bold) \bar
Here's my MWE, with my question embedded:
\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
The bar over the $E$ in $\bar E$ is a little too faint for my
taste. Or should I just go ...
3
votes
2answers
225 views
“Missing $ inserted” although I have $
I have problem with this
$ \text{bredden = x \Leftrightarrow längden = 3 \cdot bredden = 3x} $
I get a
Missing $ inserted
error, although I have $.
2
votes
1answer
84 views
Writing multiplication dots
I try to write a multiplication dot and use \cdot, 4 = 2/cdot{2}. But I get the error message Missing $ inserted. What have I forgotten?
5
votes
1answer
126 views
Writing å, ä, ö in mathmode
I use a Swedish usepackage and when I write, for instance, å in formulas I get an error message please use \mathaccent ….
Here's what I try to write:
\begin{align}
\begin{split}
{R} = ...
7
votes
2answers
145 views
Formulas in ConTeXt are different from those in plain TeX
I often typeset formulas using TeX and friends. I noticed they are different between ConTeXt and plain TeX recently.
\starttext
\startformula
\int\nolimits_a^bf(x)dx=F(b)-F(a)
\stopformula
\stoptext
...
2
votes
1answer
40 views
Error using \( … \) environment inside \section argument [duplicate]
This seems to me like a possibly common problem, the solution of which is probably already been posted somewhere, unfortunately I'm not quite sure what key words i should use to find it.
Anyway, to ...
4
votes
1answer
58 views
Increase the space between operator in subscript/superscript
I need to increase the space globally between operators in subscripts/superscripts.
Example: \sum_{x=4}
I need a little more space before and after the = symbol in the subscript. It is required ...
0
votes
0answers
68 views
How to redefine \~ in beamer [closed]
I'm trying to redefine \~ to \overline{} in beamer. Here is what I tried:
\renewcommand{\~}[1]{\overline{#1}}
(works in normal LaTeX) and
\renewcommand<>{\~}[1]{\overline{#1}}
...
2
votes
1answer
52 views
Is it possible to break the following aligned?
I don't want to use the displayed math environment for which \allowdisplaybreak is designed. Shortly speaking, is it possible to break the following alined by defining something like ...
1
vote
0answers
22 views
problem with defining a shortcut for \end{align} [duplicate]
I define \beq=\begin{align} and \eeq=\end{align}. \beq works correctly, but \eeq causes the error
! Paragraph ended before \align was complete.
<to be read again>
\par
...






