{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}.
8
votes
4answers
166 views
Splitting root symbol
How can the \sqrt command be modified to split root symbol into two or more lines automatically?
Example:
\documentclass{standalone}
\begin{document}
\begin{minipage}[t]{0.8\textwidth}
...
4
votes
1answer
59 views
Hyphen within variable names (Proteins and Amino acids)
I have to Amino acids as variable-names within LaTeX. So far I am using (and found out):
\documentclass{a4paper}{article}
\newcommand\dTRP{\mathit{d-TRP}}
\begin{document}
$[\dTRP] = 3$ (Ignore ...
1
vote
2answers
61 views
Spacing between a special character and text
Why do I get output like this ?
Why is the alignment varying if I embed the special characters like lambda and eta ?
code sample 1:
\begin{gather}
\label{eq:Highest spatial frequency}
\frac{2 ...
4
votes
1answer
106 views
Correct way to typeset a bold and dotted math symbol?
OK, I've seen related questions which indicate that you only bold the main symbol and not subscripts, and a few other almost related questions. But what about when you are using a bold math symbol ...
2
votes
3answers
52 views
Bold text with nested braces
I'm sure this is an easy question, but I'm not sure what the proper terminology is to search for the answer.
$$\textbf{k_{1,1}}$$
LaTeX gets all confused by this. How can I make k_{1,1} bold?
2
votes
1answer
109 views
False bold integral symbol
Why do I get a false integral symbol when I do \bm{\int(2x}? I've just loaded the package bm in a usual way, and I'm not using any other different font in the preamble.
2
votes
2answers
118 views
Displayed Math in tikz-cd diagrams
I have been using tikz-cd package to produce diagrams however I'm not finding a way to use displayed math within it. My point is that when I use the product sign for instance inside of it, it simply ...
2
votes
1answer
97 views
Proper way to typset minimum value of variable in formula?
To typeset a value with a subscript I use this:
$U_{\text{res}}$
Which results in:
Now I'd like to write "the minimum value of Ures", how would I correctly typeset that?
The first thing I tried ...
0
votes
1answer
62 views
What's the difference between $$ $$ and \begin{equation} \end{equation}? [duplicate]
I don't know the difference between $$...$$ and \begin{equation}...\end{equation}.
What's the difference between $$...$$ and \begin{equation}...\end{equation}? \begin{equation*}...\end{equation*}?
4
votes
1answer
82 views
Matching Brackets in TeX output
Is there any ways or features to make pdf-files using one of TeX systems so that when I move the cursor to one of brackets (either open or closed brackets) in pdf, then the bracket and the other ...
2
votes
1answer
37 views
Command for fontsize-dependent code selection
I have heard of a LaTeX-command which provides font-dependent code selection in math mode, but I forgot the name of it and cannot find it – Here is what I mean:
\unknownCommand{display size ...
2
votes
1answer
75 views
How to stop Latex from inserting $ in my URLs? [duplicate]
When I type this
\footnote{ http://www.cems.uvm.edu/~tlakoba/math337/notes_12.pdf. Page 3.}
LaTeX inputs $ $ in for me when I do not want them. How can I stop this from happening?
5
votes
1answer
64 views
Getting the right font for text in math mode
I'm using the following commands in my preamble to get the fonts I want:
\usepackage{cmbright}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pxfonts}
I recently found that, in math mode, ...
4
votes
1answer
146 views
Equal (=) sign within TikZ label
I was trying to use an equal sign within a TikZ picture as a subcaption of an inner TikZ picture for comparing two images.
Here is my code:
\documentclass{report}
\usepackage{amsmath}
...
6
votes
3answers
86 views
\underbrace and align environment
I want to typeset a proof and want to emphasize what I do in each step e.g. by underbracing an equal-sign when I substitute a variable. In addition I also want to align equal-signs in every line. ...
2
votes
2answers
66 views
Set minimum math font size
Example:
\begin{equation}
\begin{array}{ll}
\textrm{stejne rozptyly:} & U = \frac{ \bar{x}_1 - \bar{x}_2 }{ s \sqrt{ \frac{1}{n_1} + \frac{1}{n_2} } } \\
\textrm{ruzne ...
5
votes
3answers
251 views
Unusual custom math accent
I want to introduce a new type of math accent that is basically an overbar, but also has small (scriptscriptsize?) text set to the right of the bar. Basically something like
$\bar{A}^{\mathrm{co}}$
...
4
votes
3answers
61 views
Index with accented letters
I'm trying to typeset the following
$Q_å=l_å \cdot m$
But LaTeX won't typeset these special or accented letters in my document!
Is there a simple way to achieve this?
5
votes
2answers
50 views
Downarrow whose length I can specify manually
Is there a way to draw a $\Downarrow$ command of a custom length? I need a double arrow. I am sure such a command exists.
I also need this symbol to be able to align inside align environment using ...
2
votes
2answers
131 views
Can I use both of setbuilder notations in one article? [closed]
There are two setbuilder notations, the vertical bar and the colon.
In some cases, it is better to make a choice.
For example, compare
\{f \mid f\colon M \rightarrow N \text{ is continuous}\}
and
...
11
votes
2answers
160 views
Differences in vertical positioning of superscripts and subscripts depending on grouping (`{ }`): Why? Caveats? Workarounds?
This question about {(x+y)}^2 vs (x+y)^2 drew my attention to the slightly different vertical positioning of super- and subscripts for such expressions. Compare (x+y)^8_8 (left) and {(x+y)}^8_8 ...
2
votes
2answers
126 views
Breaking a long math expression
I am trying to type long expression by using parenthesis inserting some sentences, as an example I have a expression like product of
\documentclass{12 pt}{article}
\begin{document}
\begin{multline}
...
9
votes
3answers
240 views
LaTeX font for 'old-fashioned' script characters
Browsing through a copy of Counterexamples in Analysis (Gelbaum & Olmsted), I'm quite enjoying the typeface used for 'script' letters (see links to examples below); visually it's somewhere ...
4
votes
1answer
126 views
Bad math font quality in PDF
I have a problem with bad font quality that only affects "math" environments.
I am writing a document with lyx 2.0.2 (OS: Ubuntu). The chosen class is "report". Since the normally used fonts were ...
7
votes
2answers
70 views
Determining the math class of a non-keyboard symbol
What is the "right" way of determining the math class (e.g. ordinary/0, relation/3, closing/5, etc.) of a non-keyboard symbol?
Something like \oplus is easy enough to guess, but I wasn't immediately ...
4
votes
1answer
95 views
Read single numbers from data file (LuaLaTeX)
Is it possible to read a number from data files?
How to read a file with luatex
I found the example above but I don't need the whole line at once.
I need somthing like:
read(file)
get(A)
get(B)
...
7
votes
2answers
109 views
Make §…§ marker for textmode INSIDE math mode
I want to definde §...§ as markers for textmode inside math mode. This would be useful for example inside "cases" environments, to add text defining the cases; or for defining sets.
Instead of having ...
4
votes
1answer
100 views
Must I include \begin{math} every time I want to enter a symbol?
I am using the following syntax in my document's preamble :
\usepackage{amssymb}
Question is, must I use \begin{math} \*symbol* \end{math] every time I type in a symbol ? Or am I missing an easier ...
7
votes
1answer
148 views
How to make the math font slightly thicker?
I'd like to use TeX Gyre Schola as my text font and the default LaTeX font for the math mode. (Side question: is the default font Latin Modern in math mode or another font?)
MWE:
...
3
votes
1answer
61 views
where do I report bugs in font packages
There are two font packages I like for great readability (letters are clearly distinguishable, and math fonts stands out from text since it is heavier a bit). Unfortunately, they are buggy.
The ...
7
votes
1answer
64 views
Modified \overline over first character of complex argument
I've been using zref to handle my references. It has allowed me to customize a reference the way I want through its property lists. In particular, I reference a variety of structures in my document ...
17
votes
3answers
367 views
How can I create a new extensible symbol?
Given an arbitrary thin vertical symbol, can I create a new math delimiter from it (and if so, how)?
Edit: Ideally, I would like to be able to create an extensible symbol, either built out an ...
6
votes
1answer
246 views
Do you recognize this math font?
I have been looking in different sources such as the Survey of free math fonts but I am not able to recognize which math font is used for typesetting the following formulas appearing in a beamer ...
2
votes
1answer
54 views
Math mode in knitr
How do one use a math-mode in knitr? For example as a label for X-Y axis:
<<fe, echo=FALSE, sanitize=TRUE, dev="tikz">>=
plot(1:10, main="${}^{57}Fe$", xlab="$\\\\lambda$", ...
11
votes
1answer
157 views
Thermodynamic partial derivatives
Does anyone have any ideas how to make this:
look like this:
The only difference is the differentials are "pushed over" making it appear more compact and readable. I achieved the first picture ...
5
votes
2answers
69 views
Double subscript error with \newcommand?
Disclaimer: I know of Defining a newcommand with sub- or superscript and avoiding "double subscript" error but this only gives a work-around, but no explanation to my question.
Here's a ...
5
votes
2answers
119 views
Typesetting Quine quotes
The obvious way of typesetting Quine quotes, also known as quasi-quotation marks, in LaTeX doesn't work well when the content of the quote is tall. For example:
\documentclass[12pt]{article}
...
4
votes
2answers
260 views
How to switch to upright greek in math mode?
tI use libertine and newtxmath font packages, they provide upright greek letters. However, there is no way to automatically swith between italic and upright greek letters. I need a command, simillar ...
6
votes
1answer
96 views
Help with the command \binom
I want to write an expression of the form $\binom{a}{b}$.
I tried with the command \binom, but the result is too big, and then I tried \tbinom but it was too small, I want to know if there is another ...
26
votes
1answer
411 views
\{ & \} vs \lbrace & \rbrace
Surprisingly I haven't found a question, so if this is duplicate, I will remove the question.
So, what is the difference in using \{ and \} to using \lbrace and \rbrace?
Which one is preferred, and ...
2
votes
0answers
62 views
radical of polynomial A rad A [closed]
Do we have something like \rad for the radical of a polynomial in LaTeX? I am writing in the equation mode within the theorem environment and everything is in italics. If I use \text{rad}, then I get ...
2
votes
1answer
63 views
Using \limits in a customized \overset for superscript together with \sideset for subscript
I am trying to create a notation for a certain space. I am using a customized \overset in mrf's answer in this thread to suppress the extra vertical space. I still want the subscript on the right ...
3
votes
1answer
55 views
How to adjust the following split equation to be left aligned
I want to have the split equation on LHS to be left aligned. My 2 attempts are shown below, i.e., option A and option B. Please see the source code for the details.
\documentclass[10pt]{article}
...
0
votes
0answers
100 views
why wont this \therefore command work? [closed]
I want to type this but I am getting an error message
\begin{align} % (15) &a_n = \int_{0}^{1} (X - 1) \sin (n \pi X) \mathrm{dx} = \frac{-1}{n \pi} \\\\ \nonumber
\therefore ~~~~ &V(X,T) ...
7
votes
3answers
137 views
Can \left( … \right) be instructed to ignore nonexistent upper or lower limits of summation? [duplicate]
In a formula such as
\[ \left( \sum_{n\in\mathbf{N}} \right) \]
the left and right delimiters extend not only downwards to cover the lower limit of the sum, but upwards an equal amount as if to ...
-1
votes
1answer
51 views
How to specify the step in sum? [closed]
The traditional sum's step is 1, but what if I want to specify the step to be some integer else?
4
votes
1answer
79 views
Tex for Mathematical Operator which Looks Like a Y [duplicate]
Does anybody know what the correct latex is for the character which looks like a Y in this equation?
I've sometimes seen it used for the Euler homogeneity operator too.
I can't seem to produce ...
5
votes
2answers
114 views
LyX & LaTeX formulas
When I open a new project in LyX, i cannot pass LaTeX functions inside my text. e.g. \sqrt A or \frac{A}b etc. As i know and i have seen in many video presentations when the user insert a LaTeX ...
3
votes
1answer
78 views
Inline equation doesn't fit in page
I have an inline equation that I don't want to split in lines.
If I use
foo bar foo bar foo bar foo bar foo bar foo bar foo bar ${ B = A \cap \{ T \leq n \} }$
It doesn't fit in the page's width ...
3
votes
1answer
59 views
Limits not showing properly when placed in a fraction
I am trying to apply a limit law in which the limit is distributed to both the numerator and the denominator. However, the \lim_{x\to \infty} does not render properly when I place it in a fraction ...


