{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}.
0
votes
1answer
17 views
How give space text in math mode?
I have a problem about space text in math mode , and i have minimal working anwers like this following from Microsoft Word :
But, since i use LaTeX dont space text in math mode, like this following ...
1
vote
1answer
35 views
Why \allowbreak is not working?
So, here's the code I have:
\usepackage{amsthm}
\begin{theorem}
...could be now considered as an algebraic structure $DB_E = \left\langle \mathbb{S},\allowbreak \mathbb{E},\allowbreak f,\allowbreak ...
6
votes
4answers
110 views
Definition of \limits
I am trying to understand how the \limits comand works in math mode but I cannot find its definition anywhere. So far, I've tried latex.ltx and amsmath.sty but I am now assuming it is stored somewhere ...
1
vote
0answers
38 views
Texmaker. Color in the editor. Math mode
I am starting to use Texmaker with the default configuration.
When I use the math mode ($...$) all of it is coloured in green in the editor, making long formulas difficult to follow.
I would like ...
3
votes
1answer
24 views
error using breqn : Double subscript \mathsub
I changed to using 2 columns, and many equations do not fit any more. I heard about breqn package, so I am trying to see if it will help.
Using breqn package on auto-generated code, which compiles OK ...
14
votes
2answers
169 views
Why LaTeX uses upright uppercase Greek letters by default in math mode?
Why upper-case Greek letters are typeset in upright font, i.e., \mathrm? While at the same time, some upper-case Greek letters those are also Latin Letters ,e.g., A for $\Alpha$, B for $\Beta$, are ...
1
vote
1answer
30 views
Argument of \text@ has an extra } \end{align*}
Good day,
I am using the following code:
\documentclass[]{report}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{breqn}
\usepackage{hyperref}
\usepackage{amstext}
\hypersetup{linktocpage}
...
4
votes
1answer
47 views
Align summation symbols inside an align environment
I have the following piece of code:
\documentclass[]{article}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{amsfonts}
\begin{document}
\begin{align*}
A &=
...
7
votes
2answers
49 views
An environment for two-way rules in category theory
I want to typeset some category-theoretic calculations involving adjunctions (sometimes called two-way rules).
In short, they look approximately like this (MWE):
\documentclass[a4paper]{article}
...
6
votes
1answer
44 views
Additional vertical space in an equation
I have this equation:
\begin{equation}
\mathbf{S}_o = \frac{ \sum\limits_{i=1}^{N} \left[ \left( \frac{\sum\limits_{k=1}^{J-1} \frac{\| P_k^Q - P_{k+1}^Q \|}{\| P_k^T - P_{k+1}^T \|} }{J-1} ...
1
vote
1answer
35 views
Undefined control sequence for equation
I am running into the error message !Undefined control sequence with the below explanation and can't figure out what I'm doing wrong. I am using Mactex and Texmaker. I am new to LaTeX and would really ...
2
votes
1answer
60 views
Compound fractions (i.e., “mixed numbers”) look bad in displaystyle
I find that in display mode, fractions that represent simple rational numbers look way too big. For instance, consider this case:
$$ a = \frac12(b+c) $$
The fraction gets inordinately large ...
1
vote
3answers
40 views
Equation line break up
\documentclass[12pt,a4paper]{article}
\usepackage{amsmath}\usepackage{amssymb}
\textwidth=16.5cm \oddsidemargin=-0.10cm \evensidemargin=-0.10cm \topmargin=-1.0cm \textheight=24.5cm
...
4
votes
1answer
66 views
Where are \left and \right defined?
In order to define a new environment using \left and \right, I need to know how those macros are defined.
Unfortunately, both \show\left and \show\right return an error. My last resort was to scan ...
2
votes
3answers
73 views
Formatting an equation
\begin{align} \frac{1}{2} (1-\varepsilon^2)\left(\partial_\tau \phi\right)^2
= \frac{1}{2} \left(1-\epsilon ^2\right) \left(
-\frac{S \epsilon \sin\tau }{\sqrt{\lambda }}
-\frac{\text{g2} S^2 ...
2
votes
1answer
48 views
Substitute the \infty provided by the eulervm package
How can I substitute the \infty of the eulervm package with the \infty at the left (that in text mode) in this PDF? (to find it easily, please use the ctrl+f combination and then type \infty)
...
8
votes
2answers
81 views
Is there a difference between \bot and \perp, when they are used in exponent?
I am used to write $M^\bot$ for the orthogonal complement of the set M. Is this incorrect?
I have seen this question, the answer there says that these two symbols have different spacing. (One of ...
10
votes
1answer
108 views
Mathpazo has broken \left and \right
If I use mathpazo then it seems that \left\Vert and \right\Vert generate the wrong size in one case:
\documentclass[11pt]{article}
\usepackage{mathpazo}
\begin{document}
{\Large $\left\Vert ...
8
votes
1answer
89 views
Kerning between V and / in Palatino and Euler
Edit 1
I made the test with real palatino font and Neo-Euler, with the same result
(As far as I can see)
\documentclass{standalone}
\usepackage{fontspec}
\setmainfont[] {PalatinoLTStd-Roman.otf}
...
3
votes
1answer
44 views
Math symbol within a new-font word
I would like to insert a bullet to separate the syllables within a word. The word appears in a new font, and I would like the bullet to appear (as in a dictionary) centered within the word.
Neither ...
1
vote
1answer
59 views
Highlight terms in equation mode
I am trying to add a green box around the first two terms in my equation (beta_0 and b_i). I also want to add a circle around the second term (b_i). Is it possible to do this in LaTeX? My code is ...
3
votes
0answers
60 views
math/logic character \exists renders OK in editor, but faults when compiling [closed]
The fault message below:
lyx could not find command for character "$\exists$" (code point 0*2203)
This character renders OK in lyx editor, I pick it from lyx math miscellaneous, it's the first ...
7
votes
5answers
104 views
Preventing math mode from parsing macro input as math?
Basic Problem
I'm trying to produce a command sequence \m that
Is called from within math mode, with a single argument list
"Replaces" all instances , and ; in list with & and \\ (resp.)
...
10
votes
3answers
114 views
How to draw a border around character in a formula?
So far everything I found on the matter of borders only applies to the text mode.
I want to be able to do something like
$x_i = y$
so the result will be like the ordinary "xi = z" formula with the ...
7
votes
2answers
69 views
Update matrix entries in beamer
I'm trying to show row reducing a matrix in a beamer presentation. I'd like to show successive steps of the row reduction using overlays. The following is close to what I want to do. The problem is ...
4
votes
2answers
90 views
how to write ceil and floor in latex?
Is there a macro in latex to write ceil(x) and floor(x) in short form? The long form
\left \lceil{x}\right \rceil
is a bit lengthy to type every time it is used.
4
votes
2answers
60 views
How to replace a mathfrak uppercase letter by a “large” lowercase
My students find it difficult to read (and reproduce) \mathfrak{S}. I'd like to replace it with a large \mathfrak{s}.
Here is what I've done so far
\documentclass{article}
\usepackage[T1]{fontenc}
...
5
votes
2answers
59 views
unicode-math breaks \DeclareMathOperator
Problem Statement
I'd like to introduce a new math operator (the divergence operator). Unfortunately the macro I'd like to use is already defined, so I "free" it using
\let\div\undefined
and ...
2
votes
2answers
50 views
reshaping an letter in an equation
I need to put a letter under the min symbol in the equation below but i couldn't do it,It now looks like this:
and I need it to look like this:
\begin{document}
\begin{equation}
...
6
votes
3answers
36 views
Converting multiple table cells to math mode Lyx
I am importing a .CSV file to LyX to make a table. This procedure works nicely, but numbers in the cells of the table are interpreted as normal text. I can select an individual cell press cmd+m and ...
9
votes
0answers
76 views
Drawbacks of redefining math accents with extra leading {}?
As I discovered through the non-bug latex/4253, TeX has a (mis)feature whereby it ignores braces around a \mathaccent construction: ${a_b}_c$ works, but ${\tilde a_b}_c$ fails with a "Double ...
3
votes
1answer
44 views
How to increase size of the diacritic/accent mark selectively without changing the alphabet size
I am using a typeface that has limited support for letters with diacritics. I am looking to use the features in latex (I'm using xetex on ubuntu) for providing the glyphs I am missing.
My font has ...
5
votes
1answer
46 views
Problem between opticals and minionint options in the MinionPro package
I've already told the author of the MinionPro package about this. But I post it here to see if somebody solves it before him:
This document:
\documentclass{scrartcl}
...
7
votes
3answers
68 views
Force inline-type superscript for display equations (but display-type subscript)
I am trying to create a macro \jjoin for a mathematical operator which roughly produces the following behaviour:
Inline: \bigvee^{(J)}, subscript (typically i \in I) goes in the usual position (as in ...
1
vote
1answer
63 views
Math font for sets? [duplicate]
There is a somewhat conservative script font that's used for sets, contours, and for some different purposes in number theory. I'm sorry I can't describe it better; here are some examples:
I'm ...
0
votes
0answers
45 views
What is the difference “$$ $$” and “\[ \]”? [duplicate]
There are two ways in display-math mode. One is
$$ *math equations* $$
and the other one is
\[ *math equations* \].
But what is difference?
5
votes
1answer
60 views
Undefined control sequence on \frac?
I'd like to generate PDF's for some ad hoc screenshots, but I'm getting an undefined control error. I tried \usepackage{amsmath} after the line \usepackage{pgfplots} but that didn't work. I thought ...
0
votes
1answer
52 views
How to change position of symbols that are moved by transposition sign in equation?
I have equation
\begin{align}
\textbf{P}(k+1|k) = \textbf{F}(k)\textbf{P}(k|k)\textbf{F}^T(k) + \textbf{Q}(k)
\end{align}
where the sign of transposition \textbf{F}^T makes second the time symbol ...
14
votes
3answers
417 views
Typesetting old fashioned factorials
I would like to typeset an old fashioned factorial symbol and was wondering whether there was an elegant way of doing this that scales with font size. Ideally what I would like is to invoke
...
4
votes
2answers
44 views
mathtt with iwona font
I'm trying to use typewriter font in math mode using iwona fonts, but the result ends up being typeset in the iwona text font. Here's an example:
\documentclass{article}
\usepackage[math]{iwona}
...
4
votes
1answer
76 views
tikz markers in a math equation of a node
I realize this is almost certainly impossible; however, I would love to see the TeX wizardry hidden here (and I actually also really desperately want this feature).
So I have a tikzpicture, and ...
5
votes
2answers
100 views
Bold text at 1., 2., 3., 4. etc
Is it possible to make all numbers followed by a point bold? Having thousands of questions to make bold is a tough effort. For example, if I have answers to some questions like this:
1. $8+2 \cdot 3 ...
4
votes
1answer
64 views
automatic spacing between words in math mode
In math mode, something like $if f x > 3 then 42 else y$ typesets to this:
Obviously, spacing is wrong here, and I need to correct manually:
$if \: f \: x > 3 \: then \: 42 \: else \: y$ ...
3
votes
2answers
72 views
Bigger fractions without using \dfrac
Is there any way to make fractions bigger? I know one can use \dfrac but is there any code I can use in the document preamble to make all fractions bigger?
4
votes
2answers
49 views
pst-circ monospaced labels
How can I make all labels in my circuit monospaced?
I found this: Can I change all math output to use monospaced text?
but this also affects my equations outside figures.
\documentclass{minimal}
...
2
votes
1answer
39 views
Moving underset text closer to main text
I have an arrow with some text directly underneath, using the command
\newcommand*{\tautrans}%
{\underset{\scriptstyle \tau^*}{\longrightarrow}}%
Since \tau^* is not close enough to ...
5
votes
1answer
102 views
Correct libertine glyphs in math mode
When using the libertine package together with newtxmath and pdflatex, the equality and minus glyphs in math mode are not taken from the libertine font which results in too large symbols compared to ...
8
votes
3answers
166 views
How to write a pretty \not \varepsilon
How can I write a pretty \not\varepsilon? I want something like \notin, since I use \varepsilon as a relation symbol like \in.
11
votes
2answers
77 views
divides, not divides and cardinalities
In group theory it happens very often that you want to say: "The order of $H$ divides / does not divide the order of $G$." But the length of | is then always the same:
$ |H| | |G| $ produces |H|||G|
...
6
votes
2answers
87 views
Automatically Raising Subscripts
I have the following expression
J_{ne}\boldsymbol{\mathsf{J}}_{ne}^{-1}
which is awkward in the sense that as the second (sans-serif) J has a superscript that the subscripted indices are lower than ...
