Questions tagged [math-mode]
{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}.
9,761
questions
0
votes
1
answer
11
views
Non-bold diacritics over bold math symbols with correct alignment - packages "bm" and "accents" incompatible?
I want to use non-bold diacritics on bold math symbols. For correct alignment I need to use the package bm. But I also need to import the package accents for other reasons. This seems to undo the ...
0
votes
0
answers
34
views
Reverse arc above letter
Using stackrel we can obtain a reverse arc above X: $\stackrel{\smile}{X}$
The reverse arc is not so close to X, what can we do to make it closer? Is there something similar to \wideparen but that ...
2
votes
1
answer
36
views
Issue with `tcolorbox` record option together with math delimiters `\( \)` in the title
According to the answer here, I record some tcolorbox.
All is working fine except to the titles containing maths with delimiters \( \)which I prefer compared with dollars. Do you know a workaround ?
...
0
votes
0
answers
8
views
What symbol should I use for non linear proportional to? [migrated]
Until now, if I had a function $f$ and a monotonic transformation of it $g$, I would write $f \propto g$, however, a colleague of mine pointed out that it's usually considered "proportional to&...
0
votes
0
answers
43
views
why is the underbrace when writing equation different?
why is it that the inderbraces are appearing broken but continuous in other. even though i have written the same exact code but just in two different documents.
H^{\mathrm{SSH}} = \underbrace{\frac{v}...
5
votes
1
answer
89
views
How can I break an alignedat/gathered environment between pages?
So, I've read the discussions here and also here but neither seem to solve my problem. I'd like to break a long list of matrices between pages, problem is I'm using an alignedat (and sometimes a ...
3
votes
0
answers
28
views
Use different fonts in math mode [duplicate]
I would like to use two different font in math mode, depending on the caracter:
letters in fourier
numbers in sansmathfonts
Is it possible in an easy way ?
Edit:
Here is a MWE
\documentclass{article}...
5
votes
2
answers
432
views
Subscripts in fractions on an exponent look terrible
It seems that whenever we have a fraction in an exponent, the denominator looks terrible. For example,
The K in the subscript looks unduly large. This is definitely a bug or something. Is there any ...
0
votes
1
answer
45
views
what can be the code of this series which takes 3 values [duplicate]
I am typing my masters thesis in LaTeX and I am unable to write the code of this product which breaks into three different values
So, Sum $S$ breaks into
I know the code of $n$ Choose $k$ and $\...
2
votes
1
answer
202
views
Improve spacing around equality = and other math relation symbols
I find that LaTeX puts too much space around equality = and other relation symbols. I realise that I can brace symbols, e.g. typing ${=}$ instead of $=$. However, this goes too far in the other ...
2
votes
4
answers
143
views
Avoid underset text overlaping
As you can see, underset on right hand becomes overlaped. How can I avoid this? This is my MWE
\documentclass[14pt]{article}
\usepackage{amsmath}
\usepackage{mathtools}
\newcommand{\lunderset}[2]{\...
3
votes
2
answers
113
views
Is there a customizable version of the `\boldmath` command?
The \boldmath command will make all symbols used in math mode bold.
I'm curious if there is an analogous command that allows the user to specify which characters to make bold in math mode. This ...
1
vote
2
answers
76
views
Types of mathversions in LaTeX [closed]
I see that on some pages other than Overleaf that use LaTeX for math code (such as Wikipedia as in this picture) has its letters look bolder than those of Overleaf. How can I set mathversion to look ...
1
vote
3
answers
386
views
Specific calligraphic font for lowercase g
I am looking for a command to obtain the following calligraphic lowercase g in math mode:
I have been looking around but to no avail for now.
0
votes
1
answer
32
views
Problem when combining \widebar and \mathring
I have been using the \widebar command defined in https://tex.stackexchange.com/a/60253/326104. It has worked perfectly so far, but it has run into problems when writing \mathring{\widebar{k}}. The ...
4
votes
2
answers
109
views
How to patch command to work differently in math mode?
I am using starfont to get astronomical symbols in my document. Unfortunately, the package defines the symbols for text mode only. From this answer, I was able to declare math versions of the symbols ...
2
votes
1
answer
50
views
How to use a the tt font for mathrm?
I am using a combination of Computer Modern TT and Euler Math for my document:
\usepackage[euler-digits,euler-hat-accent]{eulervm}
\usepackage[T1]{fontenc}
\renewcommand*\familydefault{\ttdefault}
\...
6
votes
3
answers
497
views
Creating a command to display blackboard font
I am relatively new to LaTeX and I want to know whether there is a way to create a command such that it takes whatever capital letter the command is and prints the blackboard font. Here's what I mean: ...
3
votes
3
answers
183
views
Defining a functional map
I am trying to define in latex the following function:
We also want everything to be aligned.
I tried including another align environment but it seems this is not possible:
\begin{align*}
\Psi: C([0,...
0
votes
0
answers
33
views
Polyglossia with Russian too small math latin letters
Good time of the day!
I am trying to use polyglossia with Russian, but math-mode letters are too small.
How to make theer size equal to the size of the cyrillic letters?
Here is an example:
\...
2
votes
1
answer
106
views
Should an array eat up an explicit \mskip at the end of a column if tabularx is loaded?
Consider
\documentclass{article}
\usepackage{tabularx}
\begin{document}
$
\begin{array}{ll}
x \mskip100mu & x
\end{array}
$
\end{document}
Before reading further, ask yourself, how far ...
1
vote
1
answer
90
views
Mathcal not working properly
I wrote the following code
\documentclass{article}
\usepackage{graphicx}
\usepackage{csvsimple}
\usepackage{subcaption}
\usepackage[utf8]{inputenc}
\usepackage{gensymb}
\usepackage{pdfpages}
\...
1
vote
0
answers
24
views
Triple inequality [duplicate]
How do you write triple inequality in Latex? If "\equiv" stands for triple equality
0
votes
0
answers
27
views
How I can align equations with amsmath [duplicate]
I use amsmath for my paper but I find that my equations are not aligned. It looks like equality is not under the equality. Directive align* also doesn't work. I have the issue with multiple labels
...
1
vote
3
answers
123
views
Evaluate fractions in Binomial coefficient command
I'm trying to create a new command to automatically compute fractions and differences while displaying a Binomial coefficient
\usepackage{mathtools}
\DeclarePairedDelimiter\braces{(}{)}
\...
0
votes
1
answer
30
views
Strike-through text paragraph containing equations
I have several paragraphs of text that contain equation environments and in-line equations. How do I cross out/strike through these paragraphs using ulem package? I tried the suggestions in this ...
2
votes
0
answers
40
views
How to get equal vertical spacing between all lines of a multiline equation? And should it be done? (EDITED) [closed]
Consider the following MWE:
\documentclass[]{article}
% PACKAGES LOADING
\usepackage[]{mathtools}
\begin{document}
\begin{align}
f(x)&=(1/n)(x)\\
&=(1/n)\sum_{i\in N}x_i\\
&...
2
votes
1
answer
59
views
Squished ```\equiv'''
I am looking for a "squished" three-line equality symbol, \equiv, as in the picture below. Is it possible to produce such a symbol without it looking too similar to equality and \equiv? ...
2
votes
3
answers
89
views
Wedge inside of itself math symbol
If we use \usepackage{amsmath} we get a symbol \Cap which, when rendered in math mode, produces an intersection symbol \cap inside an intersection symbol. How can we produce \Wedge for \wedge? (I.e., ...
1
vote
1
answer
42
views
"Fancy" math font with double brackets [duplicate]
how do I achieve this Val[[e]]p in LaTeX?
like the fancy V with the double brackets of e? I tried \textrm{Val}[\,[e_1]\,]\rho but it's not quite the same. Thank you!
0
votes
2
answers
68
views
Better alternative for writing $\circ\!\!-\!\!\!-\!\!\bullet$
I've want to write $\circ\!\!-\!\!\!-\!\!\bullet$ for notating laplace transformations, but have not found a better way than above command. Is there an existing one or do i need to create my own?
0
votes
1
answer
72
views
Problem of resizing and scaling
i have to make this table
My code have 2 problems, one i want (grey or dotted) line to be at scale entry 1, then entry(2,5,10) will be on one side and entry (0.01,0.05,0.1,0.2 and 0.5) on other side. ...
8
votes
4
answers
1k
views
Is there a way of creating this symbol for probability independence with respect to a $\sigma$-algebra?
I'm need a symbol for "independence" in probability, that could take parameters, so it is probability over a $\sigma$-algebra. I don't know how to describe it, so I wrote it by hand. I've ...
6
votes
3
answers
404
views
Long inclusion symbol
With \joinrel{=}{=} we can produce a longer equality sign. How can we produce a longer inclusion symbol? Obviously \joinrel{\subset}{\subset} isn't going to cut it.
0
votes
1
answer
119
views
What will be the overleaf code for this table
[![Estimated effects of ribavirin compared with no treatment on mortality outcomes from studies][1]][1] This is cation of table
This is table link [1]: https://www.ncbi.nlm.nih.gov/pmc/articles/...
2
votes
2
answers
84
views
How to Produce a Cross Patonce in LaTeX?
The following image of a Cross Patonce is taken from The Heraldry Society:
The following post produces maltese and iron crosses: How to draw an actual maltese cross?
QUESTION: How may one produce a ...
0
votes
1
answer
118
views
How can I write this on latex? [closed]
How can I write:
On latex, I used \[ \] math command for the __ __ and \phantom for the spaces:
but i cant seem to get the "set of choices" directly under it in the desired fashion:
How ...
1
vote
1
answer
58
views
How to write a math formula in bibtex
I want to cite this paper in LaTeX but it gives me an error because of the math formula in the paper title. Any idea how to fix this?
@article{BuresDistance,
author = {Bures, D},
title = {An ...
0
votes
0
answers
62
views
Something "in between" \[ \] and begin-end-center
This question is perhaps stupid or rather a finicky question for finicky people.
I have noticed that in ambient like "enumerate" (but even in general) using \[ ... \] or \begin{center} \( ......
2
votes
2
answers
186
views
Control height of subscript in LaTeX
I have a problem with the following code
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
\operatorname{P}_{\widehat{Y}} \quad \operatorname{P}_{Y} \\
\end{align*}
\end{...
2
votes
1
answer
67
views
Geometric measure theory: Notation for the cone of a current
Does anyone know how to type the symbol between 0 and T below ? It comes from the book of Leon Simon geometric measure theory page 157, where he defines the cone over a current. It like a double $x$ ...
4
votes
1
answer
80
views
LaTeX error during base conversion : Missing number, treated as zero
I found in this page in the first answer a way to write beautiful base conversions.
But, I had a compile error if Y try to use the last example, the ConverToBase command.
I searched, but I don't find ...
1
vote
1
answer
58
views
Why this wrong horizontal spacing in mathmode?
I'm having a spacing glitch that I don't understand, while it should be obvious:
\documentclass[12pt,letterpaper,twoside]{book}
\usepackage{lmodern}
\usepackage{amsmath}
\begin{document}
Blabla:
...
2
votes
1
answer
52
views
Quote Equation number with horizontal alignment
I have using quote with displayed numbered equation. But the eq number (1) not moved from right to left. Can anyone advise me how to fix.
Source TeX code is:
\documentclass{book}
\usepackage{...
0
votes
1
answer
45
views
Automatically listing answer choices: either all in one line, or each answer choice in one line
I began typing my pdf file using overleaf. The material I have consists of Math MCQs. I faced many problem and decided not to continue typing before I fix these things first.
However, as commented in ...
0
votes
0
answers
40
views
Math MCQs, arranging the given choices, the space between them, and some other (automatic) formatting
I am a new user of Latex, I only can write equations like in MSE, and never made a document in latex before.
I wanted to create MCQs, but MicrosoftWord is not better than Latex for this purpose, where ...
0
votes
2
answers
73
views
Create a command with pgf options to import a symbol from a different font
Writing a mathematical document it sometimes happens you need to use some symbols not available in amssymb: to expand this library then I thought to "automate" a standard procedure for ...
15
votes
4
answers
2k
views
Need to create a math symbol
I want to create a math symbol of the following form--
such that I would be able to change the value of i, i.e., it will be an external input to the function defined.
Any help is highly appreciated.
3
votes
5
answers
434
views
How to display `\hat` when using sans-serif?
I applied sans-serif font both in text and math, but then I got the problem with \hat. How to solve it?
Here is a MWE:
\documentclass[12pt, letterpaper, twocolumn]{article}
\usepackage[scaled]{helvet}...
1
vote
1
answer
45
views
Why it's till not bolded in my current file
The code I used in my current file is not work:
{\boldmath $\lim_{h\to 0} \frac{r(t_0 +h) - r(t_0)}{h}$}
I use the same code in new file then it worked, but it's still not work in my current file. ...