Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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}.

Filter by
Sorted by
Tagged with
2 votes
2 answers
36 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.
Fermion's user avatar
  • 33
3 votes
5 answers
147 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}...
Brasil's user avatar
  • 1,348
1 vote
1 answer
43 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. ...
acb's user avatar
  • 21
0 votes
2 answers
55 views

How to fix fraction horizontal rule?

Below fraction is my source input. i want to short horizontal rule. Can anyone please advise. I have attached both input and expecting output images: and the tex source code is: \[\frac{\overbrace{A}^...
KGSR's user avatar
  • 51
1 vote
2 answers
53 views

Error with lim math mode

please help me type this. I tried many times but it's still wrong.
acb's user avatar
  • 21
1 vote
1 answer
30 views

How to implement "dependent join" symbol in latex?

in pdf <<The Complete Story of Joins (in HyPer)>> introduce a new join type: dependent join, but how to implement this join symbol in latex?
lichuang's user avatar
2 votes
1 answer
63 views

How to create a looparrow with tikz-cd?

I'm drawing a commutative diagram in latex and I want one of the maps to signify an immersion, which is denoted by a looparrow in my context, but I can't seem to find how to do it with tikz. I mean ...
NL1992's user avatar
  • 123
2 votes
1 answer
54 views

Reduce gap around \cdot and parentheses

This is basically a follow-up on this question: How can I reduce the gap between left and right of \cdot with a macro? The aim is to reduce spacing around \cdot. The accepted answer proposes to define ...
mranvick's user avatar
  • 378
0 votes
1 answer
33 views

Is there a command to point out everywhere the default line spacing is being changed by math formulas?

I would like to ensure that my default line spacing is not being altered to accommodate math formulas and equations, and instead anything that is so big that it will affect the line spacing is put in ...
pyridoxal_trigeminus's user avatar
0 votes
0 answers
23 views

How to have the tilda be closer to the number? [duplicate]

How do you have the tilda be closer to the number, or to eliminate the space between the tilda and the number? Even without a space between the tilda and the 1, it seems this command creates a space ...
ina's user avatar
  • 123
3 votes
2 answers
119 views

Math symbols in minted

Greetings to TeXperts out there, I am trying to write some code in a minted environment, but I am struggling with the "greater-or-equal" symbol. "≥" is not displayed at all (...
DBa's user avatar
  • 133
3 votes
2 answers
267 views

Alternative for an exponent's position

Is there an elegant way to adjust the position of an exponent for a particular parameter ? For instance, in this image, we can see that the exponent is too close from the main letter R and the indexes ...
Waxler's user avatar
  • 776
0 votes
2 answers
52 views

How to format multi-letter subscripts in math mode?

I have a document whose main font is a sans serif font (Arial if you must know), but whose math mode uses a serif font. They look quite different. So far, my documents which don't switch looks like ...
Zak's user avatar
  • 175
3 votes
2 answers
133 views

Make zero and plus sign same size inside subscript in math mode

I want to make plus and zero sign equal size to make the following picture symmetric; for instance, to align with respect to the plus sign but without using && or something like that. Here's ...
David's user avatar
  • 167
7 votes
2 answers
175 views

Vertical spacing of argmin subscript

In my documents, I define \argmin with the following command. \DeclareMathOperator*{\argmin}{arg\,min} IMO, the subscript (in display mode) is too far from the operator (because of the depth of the &...
inavda's user avatar
  • 251
3 votes
2 answers
138 views

How to break alignment on a row inside the align environment?

I'm trying to typeset the Gell-Mann matrices in LaTeX on Overleaf, these are 8 matrices 3x3. The code I'm using is \documentclass[a4paper, 11pt, twoside, titlepage]{report} \usepackage{amsmath, ...
Marco Olivieri's user avatar
3 votes
2 answers
106 views

Setting font face for \mathrm in math mode

Regarding my previous question (Setting multiple language environments in LaTeX) -which is about setting different fonts for multiple language environments, I have read answers from @cfr and @Davislor ...
mickmix's user avatar
  • 43
0 votes
1 answer
29 views

How to get singlespacing to only change matrix environments? [duplicate]

This is similar to both this and this post, but I feel like it's different enough to be it's own question. I need to cancel the \doublespacing command, but only for matrix environments (\begin{bmatrix}...
NewViewsMath's user avatar
1 vote
2 answers
55 views

Orthogonal direct sum typeset (with hat)

i.e. I would like this as orthogonal direct sum, which is a specific one. Since there is no any post about this, can anyone help? NO $\widehat$, please. Thanks.
Un petit mensonges's user avatar
0 votes
1 answer
76 views

Can't Find Error for the Life of Me

I have this block of text in overleaf with an equation at the bottom and I cannot find why overleaf is failing to compile. Its saying I have a missing $ or { but I don't see an issue there. ...
Jonathan Frutschy's user avatar
0 votes
1 answer
58 views

bold math in latex minipage

This is a followup to a previous question. I fixed what was suggested there, but this code still does not compile. I looked at all questions and answers on bold math, but could not find an answer to ...
district9's user avatar
  • 317
0 votes
1 answer
17 views

Is there a proper way to put `\fillin[]` inside `align` environment in the LaTeX `exam` class?

I am using \fillin[] command in the latex exam class to produce the following output: Convert the following angles from degrees to radians: \begin{questions} \begin{multicols}{4} \...
EthanAlvaree's user avatar
  • 1,369
0 votes
0 answers
29 views

How can i fix this problem in the picture below . Whats is wrong? [duplicate]

I have encountered a problem while writing in Overleaf. Could you please let me know what might be wrong. Thank you in advanced
Yasmeen 's user avatar
2 votes
1 answer
62 views

Automated text style in math mode

I'd like to define an environment where I can write text and formulas between dollars. I want these formulas, only in that environment, to have a specific style like mathrm for instance. It would help ...
Louis Lascaud's user avatar
2 votes
1 answer
83 views

Definition of \sum -- how does the size selection work

When writing \[\sum\], a larger summation sign is used than when writing \(\sum\). How does the \sum command find out which size to use? What does \sum expand to? I am guessing it is just a shorthand ...
Oliver Leenders's user avatar
6 votes
2 answers
99 views

xcharter font and mathrm

I am using fontsetup with a serif and sans-serif font of my choice to properly typeset different parts of my document, including extensive math usage. There seems to be an issue somewhere in the ...
lret's user avatar
  • 71
2 votes
1 answer
77 views

Drawing sphere with 6 points using TiKz

So I am trying to get an image going using TiKz, what I have in mind is as follows What I am missing is the correct labels, mainly the greek letters eta, xi, and zeta, also I'm looking for arrows ...
Celepharn's user avatar
3 votes
2 answers
146 views

Making a character active in a macro

I thought I am smart, so I put this code to locally allow breaks inside inline math into a macro: \documentclass{article} \def\MakeCommaBreakable{% \def\OldComma{,} \catcode`\,=13 \def,{% ...
Bubaya's user avatar
  • 2,475
2 votes
1 answer
107 views

Summation Sign Font [duplicate]

I noticed that the lecturer used a different sum sign in his notes but the general font seems to be the standard font to me. How can I use such a summation sign?
sirjulzz's user avatar
0 votes
1 answer
120 views

How to load a math glyph and set it up like \int

I want to modify the glyph for the integral, and then use it as \myint sometimes in place of \int. For this reason i need to figure out how to load the integral glyph from some font and give it the ...
Rubids's user avatar
  • 27
0 votes
2 answers
55 views

using faktor package in a Lyx document

I'm trying to use the faktor package in LyX for the quotient operator. However, LyX doesn't recognize the \faktor command, even though I've installed the package using Tex Live. I'm fairly new to LyX ...
userא0's user avatar
3 votes
1 answer
53 views

Checking if the contents of the \item's of a \list environment are entirely in inline math mode

I have a list \begin{list}{}{} \item[(1)] First things first. \item[(2)] There are \(1 + 1 = 2\) types of "normal" math \[e^{2\pi i} + 1 = 2\] \item[(3)] Third time's \(\...
grepgrok's user avatar
3 votes
2 answers
103 views

How do I place equations on the left edge?

So, I'm new to use LaTeX and still haven't figured out how to use some functions. The thing is, I can't understand how can I replace the equation system on the left edge instead of center? I've seen ...
stephan's user avatar
  • 33
0 votes
1 answer
59 views

Is there a way to keep the "boldness" of text, in mathmode

Is there a way to keep the "boldness" of text, in math mode: eg: \documentclass{standalone} \newcommand{\mathkeepboldness}[1]{\ensuremath{#1}} % this should keep the text formating \begin{...
flobue's user avatar
  • 5
2 votes
1 answer
66 views

How to start my text within the align environment from the left margin of page without separating the equation line and text line?

I am writing a journal for publication and because of the page limit I have to write text within the equation line. Here is my code: \documentclass[final]{IEEEtran} \IEEEoverridecommandlockouts \...
Shashank Ranjan's user avatar
3 votes
2 answers
57 views

Custom LaTeX Command for Consecutive Superscripts with Correct Alignment After Large Symbols

I am writing my master's thesis on Formal Concept Analysis and I want to create a custom command for the derivation operators. They are superscript arrows with some optional argument, and would look ...
Samuel Jose Molina Ruiz's user avatar
1 vote
1 answer
57 views

Space for the cases/matrix environment and use of \dfrac into \[...\]

I have this MWE: \documentclass[a4paper,12pt]{article} \usepackage{mathtools,amssymb} \begin{document} \[ \begin{cases} \frac{\partial f}{\partial x} =& 2x(1 - y)=0 \iff x = 0 \quad \text{o} \...
Sebastiano's user avatar
  • 55.5k
2 votes
2 answers
810 views

How can I get unicode-math to print ⩽ when I type ≤?

The question is in the title: I would like to get a ⩽ whenever I type ≤, and I don't understand how to tell unicode-math that it should re-map the character. (I know that I could re-map my keyboard...)...
sparusaurata's user avatar
0 votes
1 answer
34 views

I couldn't copy and paste these line of codes in my overleaf

$ \def\o{{\tt1}} \def\p{\partial} \def\LR#1{\left(#1\right)} \def\op#1{\operatorname{#1}} \def\trace#1{\op{Tr}\LR{#1}} \def\qiq{\quad\implies\quad} \def\grad#1#2{\frac{\p #1}{\p #2}} \def\c#1{\color{...
Jonathen's user avatar
  • 125
1 vote
1 answer
45 views

\mathchoice in subscript/superscript

I attempted to redefine certain math relations using \mathchoice so that they don't need to be grouped when used as subscripts and superscripts just like how they behaved originally. However, the MWE ...
FR09's user avatar
  • 159
5 votes
1 answer
75 views

How to remove unwanted space before math when using polyglossia in Russian?

I'm using polyglossia to create a document in Russian. If a sectioning command such as \section or \paragraph is immediately followed by an equation or other display-math, then there is unwanted extra ...
РЯБКИН's user avatar
2 votes
1 answer
44 views

apply bar or tilde to symbol only (ignore subscript)

\documentclass[12pt]{article} \usepackage{amsmath} \begin{document} $ \bar{S_{i,k}} $ \end{document} What I want is to span the bar only over the letter S. Obviously, the solution to this is $\bar{...
Simon's user avatar
  • 325
1 vote
0 answers
32 views

Fixing issue with copy-paste with AccSupp

I am preparing a math-heavy document and am using the AccSupp package to control what is copied and pasted (for example, $\angle ABC$ usually results in \ABC being copied, but I have it set to copy &...
fsr_j's user avatar
  • 75
2 votes
1 answer
75 views

Compilation Hangs Indefinitely in LaTeX with Colon in Equation

I'm currently using Visual Studio Code with the LaTeX Workshop extension and compiling my document using pdflatex. In the process of writing my thesis, I've encountered a peculiar issue. Whenever I ...
schlodinger's user avatar
0 votes
1 answer
51 views

What's the best way to create space in latex paragraphs

The below puts a tab after "Let"; How can I prevent that tab from appearing? is bigbreak the best way to space this? Compute the integral: \[ \iint_{D} \pi \cos (\frac{\pi}{2} \frac{y-...
Koenig Lear's user avatar
0 votes
1 answer
40 views

XeLatex equations and content placement between lines

How I make sure in the following template to place the equations and the statments to be exactly between the lines. They never come over any lines always in between the lines and on the right of the ...
Raja Ali Riaz's user avatar
0 votes
0 answers
40 views

How can I use a math formula as annotation text that will be displayed on mouse hover in LaTex? [duplicate]

I am using the pdfcomment package to annotate my PDF file, allowing comments to be hidden and revealed upon mouse hover. However, when I include a mathematical formula in the comments, it generates an ...
ukbasak's user avatar
1 vote
1 answer
51 views

Superscript on top and subscript on bottom in equation

\documentclass[12pt]{article} \usepackage{amsthm} \usepackage{amsmath} \usepackage{graphicx} \usepackage{hyperref} \usepackage[latin1]{inputenc} \begin{document} \begin{equation} u_{k}^{i} = \frac{\...
MacTavish's user avatar
1 vote
0 answers
58 views

Correct notation for index of subgroup [G:H]

What is more "correct" from a typographical standpoint: $[G:H]$ or $[G \mathbin{:} H]? This notation appears in the index of subgroups/of submodules or in the degree of field extensions.
Gargantuar's user avatar
1 vote
1 answer
39 views

Parenthesis encapsulating several lines in math mode

I would like to be able to produce parentheses that encapsulate several lines of text in math mode. The context is the following: when typing the solutions to a set of probability exercises, I need to ...
Wild Feather's user avatar

1
2 3 4 5
195