{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}.
1
vote
0answers
36 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
67 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}
...
3
votes
5answers
59 views
Left 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
0answers
71 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
27 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
85 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
87 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
45 views
5
votes
1answer
53 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
54 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
52 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
102 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
77 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
121 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
87 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
42 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
76 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
123 views
2
votes
2answers
68 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
55 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
59 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
148 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
38 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
212 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
81 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
117 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
140 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
39 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
54 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
67 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
50 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
...
2
votes
2answers
106 views
Stealth arrow in math?
Is there an easy way to produce stealth style arrows in normal math mode? By "stealth" I'm thinking of TikZ stealth arrowhead. Something like \rightarrowstealth?
The question originates from a limit ...
3
votes
1answer
55 views
Can I make LyX automatically use 'smart' parentheses [\left( \right)] in math mode?
When I type in math mode I always prefer to use the parentheses using
\left and \right.
Currently, I go into math mode and then press the button on the ribbon
that appears in this mode and creates ...
2
votes
1answer
73 views
How to make dcases environment work in LaTeX
I'm using Kile (kde4) on Mac OS. I can use the cases environment just fine but my version of Kile doesn't have dcases. I'm using Kile via MacPorts. Does anyone know of a way to update my distribution ...
5
votes
1answer
59 views
Lining up angled tick labels on a pgfplots bar plot
I'm trying to produce a bar chart for publication with math text in the tick labels. The most readable layout would be to angle them, but when I do they clash with the axis and are difficult to relate ...
2
votes
0answers
95 views
LaTeX is not compiling consistently
I am really new to LaTeX, so it's possible I'm making some egregious error that I'm not aware of, but my documents are compiling inconsistently. By that I mean it compiles correctly maybe one in ...
7
votes
2answers
56 views
Setting an “attribute” for Theorem to be accessed later
I am writing a math paper with a large number of theorems. I'm looking to have a table summarizing my results, and I'd love it if the table could be generated automatically from my paper. I' looking ...
2
votes
1answer
114 views
How to number an inline-math equation?
I want to add an equation number in a formula, but I've got an error: "You can't use `\eqno' in math mode.". This is my code:
$e_{33} = 0 \eqno(4.4)$
How I can fix it?
2
votes
2answers
64 views
How can I lower an \xrightarrow
I'm referring to a previous post where I asked how to handle lines that are too tall due to stacked mathematical symbols. In particular, the problem occurs in my texts when using \xrightarrow like in ...
2
votes
3answers
83 views
Grouping two lines inside align environment to put smth. to the left of them
I have an equation which is alligned at 1st equal sign like this:
\begin{align}
a &= b + c \nonumber\\
d &= e + f \label{eq1}\\ %this is row 1
g &= h + i \nonumber\\ %this is ...
5
votes
1answer
82 views
Emacs/AucTeX: can LaTeX-math-list read a macro that requires input?
I wanted to make a macro that inserts \left \right delimiters, but I wanted to write it only once and have different bindings pass different delimiters. To wit, I wanted to add the following code:
...
5
votes
1answer
79 views
Change the size of only a part/subset of a *single* equation
For example, I'd like to do:
$Q^{r<1}$
but with the r<1 having a much smaller font size than the Q. Of course r<1 will naturally have a smaller size since it is a superscript, but I want ...
5
votes
2answers
125 views
Math mode in tabular without having to use $…$ everywhere
\begin{tabular}{|l|l|l|}
\hline
Column A & Column B \\
\begin{math}
x & y \\
\end{math}
\end{tabular}
This won't let me compile and gives a lot of errors, how do I enable math mode in a ...
9
votes
4answers
149 views
Curved arrow describing a step in a mathematical derivation
Is it possible to achieve something like this in LaTeX?
I want a curved arrrow pointing from 1st line to the other line and is coupled with an equation number which indicates the equation used. I ...
0
votes
0answers
37 views
How to make “\” in latex? [duplicate]
How to make '\' in latex if '\' has to be used in set theory equations?
I have to use it in the following format
$\forall X \in 2^\Omega-{\emptyset} $
Here instead of '-' sign i want to use '\'. Is ...
2
votes
2answers
36 views
“\bar allowed only in math mode” error
When I run
\begin{align*}
\textit{m}(A) &=a&, \\
\textit{\bar{A}} &=1-a& \\
\textit{m}(B) &=0& &\text{for} B \neq A \text{ or} B \neq \bar{A}
\end{align*}
I get the ...
3
votes
1answer
61 views
Citing a reference in a table
I was preparing a table in my research paper where I was having a formula in one column and the name of the Mathematician who discovered it in another column. I also want to cite the paper of the ...






