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
1answer
53 views

How to put because sign( ∵ ) on latex?

Latex does not recognize the sign '∵'.
3
votes
1answer
27 views

Where is the extra amount of vertical space generated by math delimiters in Tex Book Appendix G Rule 19 specified?

Consider this minimal example: \documentclass{report} \delimitershortfall=0pt \delimiterfactor=1100 \begin{document} $$\left(\left(\left(\left(x\right)\right)\right)\right)$$ \end{document} which ...
2
votes
2answers
67 views

Problem with \newcommand and \renewcommand

I am trying to define a command called \vec{} that prints a bold and non-italic symbol in math environment. \renewcommand{\vec}[1]{\mathbf{#1}} usually works for me, but not in the documentclass ...
3
votes
2answers
73 views

Aligning equations both left and right in same display

I am looking for an elegant way to achieve the following display, in which consecutive lines in math-mode have opposite justifications: I was able to do so using the following hack \documentclass[...
2
votes
0answers
38 views

How to print the symbol {{ }} [duplicate]

How to print the mathematical symbol of {{ }}
1
vote
0answers
12 views

gnuplot: y-axis values in math-mode give extra offset from y-label compared to no-math mode in cairo-latex terminal

I'm using the 'cairo-latex' terminal. The y-axis values are 10^1, 10^2 and 10^3 in logscale. When I set this values output in math-mode as '10$^1$', or '$10^1$', the figure ratio is changed --- the y ...
2
votes
1answer
31 views

How to align some equations in a table?

\documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsfonts,amsmath,amssymb,graphicx,amsthm,mathtools,systeme} \usepackage[tikz]{bclogo} \...
2
votes
0answers
34 views

Upright and slanted \phi with newtxtext + newtxmath

Just a curiosity. When I use an upright symbol with alphabeta package (I think also with another similar packages or with other tricks), I see that the tip of the vertical bar is inverted between ...
3
votes
2answers
261 views

How can I write the equation in LaTeX and I need the letter t ,r is tiny?

\begin{equation} \Phi s=\frac{E{\tiny t} r(S,\overline S̄ )+Etrv(S,\overline S̄ )}{|S|(9 )} \end{equation}
1
vote
1answer
28 views

Bold Italic Number

How to show the number 1 in bold italics math font? I tried using \bm{1} but the looks seems ain't any different from \bf{1}.
1
vote
1answer
28 views

The option shorten (from nicematrix) does not seem to work for OverBrace command

I am trying to use the option shorten with \OverBrace and \UnderBrace commands from nicematrix. it appears to me, however, that it works only for \UnderBrace My MWE \documentclass{book} \usepackage[...
1
vote
1answer
33 views

Subtracting whole numbers in latex code [closed]

do anyone of you knows the codes for subtracting two whole numbers with borrowing/carry? I have tried $$\begin{aligned} 296 \\ - \\ 129 \\\hline 167 \end{aligned}$$
3
votes
2answers
193 views

\oplus and \bigoplus with vertical or horizontal line instead of cross

I came across this great paper, Typing linear algebra: A biproduct-oriented approach by Hugo Daniel Macedo and José N. Oliveira, where they use this nice notation highlighted below for junc and split ...
0
votes
0answers
32 views

How to make double differential [closed]

I have a simple question I think I would like to write But it has to look like this where the x and y is closer to f. I wrote $f'_x(x_0,y_0)$ but with the x and and double I wrote $f''_{xy}(x_0,y_0)$...
1
vote
0answers
37 views

Error shown Missing $ inserted. even if it does not make sense

I have is statement R_{AB} $=$ \begin{bmatrix} It is showing Missing $ inserted. I have no idea about it is there anyone who can help out please
1
vote
0answers
40 views

How to write tilde symbol [closed]

I want to write big $\tilde$ symbol above $A[i]$. If I try just like $\tilde{A[i]}$, it does not work. How to do this?
0
votes
0answers
23 views

Sans fonts in the math and table mode

I want to show sans fonts in the math and table mode. I use \mathsfit{} to enable sans fonts in the mode. But it is annoying to type \mathsfit{} so many times. Is there an easier solution? Thanks! \...
0
votes
0answers
53 views

Numbers division with horizontal line [closed]

How can I put the horizontal line in division equation? I mean while typing the full equation using \begin{equation} I=1/2*x^2 \end{equation} The platform shows 1/2 as 1/2 not like 1 above the 2 with ...
0
votes
0answers
21 views

Tex different symbols. Integral [duplicate]

I can write the equations using the \begin{equation} y=x^2+x \end{equation} But how can I type the integral symbol in Tex? For example, for I=integral of something dx?
0
votes
0answers
16 views

How to increase letter spacing when using unicode-math range feature?

Using the package unicode-math and compiling with xelatex, one may use \setmathfont[range= ... ,Scale=MatchLowercase]{ ... } to change the italic and upright math letters. However, there are usually ...
0
votes
0answers
58 views

Cubic root is not working [duplicate]

For this command \[ \sqrt[\leftroot{-1}\uproot{2}\scriptstyle 3]{\frac{a}{b}} \] or this \[ \sqrt[3]{\frac{a}{b}} \] the cubic root is not showing in shape: The output in both cases: How to get ...
1
vote
2answers
24 views

Conflict between subscript and superscript under summation

I would like the subscript of my sum to look better: $$ \sum_{d \mid p_j^{m_j}} f(d) $$ creates the output but i would like the exponent m_j to be further down and closer p_j.
2
votes
1answer
32 views

How do I increase the spacing before and after the empheq environment (with tcolorbox)?

I want to ask a question on how to properly increase the spacing before and after the boxes set inside an empheq environment. Here's my MWE that I compiled using LuaLaTeX. \documentclass{scrbook}[DIV=...
4
votes
2answers
136 views

How to write a text below a math operator

I want to achieve this but if I use \mathrm{argmax}_{y\in\mathcal{Y}} it does not put y\in\mathcal{Y} below argmax. How can I solve this?
4
votes
2answers
94 views

Fractions in equation mode

I don't want to double up other questions and this is probably a quick one for somebody that uses math mode more often than me (I pretty much started today) Can someone help me understand what is ...
3
votes
1answer
100 views

Replace $ with some other character for math

I have little use for math in my latex documents and plenty for typing the dollar sign $. Can I replace the math symbol $ with another symbol like ¿, so that i can use $ in my text?
0
votes
1answer
21 views

How to load amsfonts/umsa.fd

I changed the catcode of F to active in my environment and now I can't use math mode. The problem is this: (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd ! Undefined control sequence. l.29 \...
3
votes
2answers
306 views

How to write a + symbol which has been lowered down

I am trying to write a continued fraction in the style in the image provided. This involves lowering the + symbol to be on the same part of the page as the denominators of the fraction, but I am not ...
0
votes
0answers
20 views

How to add a shorter bar under or over a letter in math mode? [duplicate]

I am reading Apostol's Calculus, the upper and lower integrals appear with a shorter bar but this is not the case for \overline and \underline, the following pic was typeset with \overline and \...
10
votes
2answers
844 views

Upper-half of colon

I am writing notes on finite group theory, and the notation used in the field uses: $A.B$ for an unspecified group extension involving groups A and B $A:B$ for the semidirect product with normal ...
5
votes
2answers
229 views

Bangla text not showing in math mode?

I have a document with Bangla as its main language (using babel package) and English as the secondary language. Bangla is used for regular text. However, whenever I am using Bangla in the equation in ...
0
votes
1answer
69 views

How to replicate this exact format in LaTeX

If anybody could assist in how to try replicating something like this in LaTeX it would be much appreciated.
3
votes
2answers
208 views

Hat over < symbol

I want to put a hat over < symbol. I have tried \widehat{<} and \hat{<}, but neither of them are working. How can I do this? P.S. I am using Overleaf Edit I am using \usepackage[spanish]{...
1
vote
1answer
49 views

How to produce this variant of letter 'a'? [duplicate]

I would like to produce a variant of letter a as shown below The source is Shoenfield's Mathematical Logic book (first occurrence in p18) and it is used to denote structures. It appears (to me) like ...
2
votes
1answer
73 views

Name of Font Style in Math Mode

How can I generate the font style of the letter C in the following screenshot?
2
votes
2answers
43 views

Centered left aligned `gather` environment

I know that if you pass fleqn as an option, all amsmath's environments becomes left aligned, including gather, however, along with that, they become flushleft. Actually, what I'm trying to create is a ...
3
votes
1answer
54 views

ensuremath, textsf and memoir: the impossible trio

I'd like some commands involving \textsf to be usable in both math mode and text-mode in a memoir document class: Hello \abcd{}, $\abcd{}$. to produce: I found a solution involding \sf that works ...
1
vote
2answers
53 views

Struggling to have 3 formulas in the same line

Wondering if anyone can help with the below. Basically I would need the 3 formulas with the correspondent reference in the same line. For Precision formula I would need the (2) like the (1) is in ...
2
votes
3answers
170 views

Write a polynomial fraction from its either partial fraction or coefficients of numerator and denominator

I need to robustly generate the displayed equation from either 1- the coefficients of numerator and denominator defined by \NumCoeffMat and \DenCoeffMat, respectively 2- or the partial fraction terms ...
1
vote
1answer
39 views

Writing `.^` in math mode (element-wise power in Julia) [duplicate]

I would like to write .^ in latex, in a math expression. I tried using \texttt{.^} but I get ^ only allowed in math mode. So I tried escaping it \texttt{.^} but this didn't work either. Essentially ...
1
vote
1answer
37 views

Avoiding change line spacing in all display multiline equations

I need to increase the line spacing with the setspace package but I don't want to affect the all display math equations. In other word, I want to set line spacing to 1 for all display math equations. ...
2
votes
1answer
110 views

How to create a time line in plain TeX or ConTeXt?

I need to create a time line like this: <----*----*----*--------*----> 1991 1992 1993 1995 It will sometimes skip numbers, e.g. it could go from 1993 to 1995 without having a mark at ...
4
votes
1answer
58 views

Attempt to use QCircuit nghost and \vdots

I am working on a project that takes advantage of the QCircuit library. I have to say that I have run into a lot of problems with this library that has poor documentation as to what can be done. ...
0
votes
2answers
38 views

Math mode producing errors

I had a strange issue where text following \cup would be in italics (maybe math mode showing?). Whenever I use \textsuperscript{\ell} to have a superscripted \ell symbol - it will take anything ...
1
vote
1answer
60 views

Issue with align* environment in TRT pagedir (lualatex)

I have this example with align* environment in TRT pagedir (lualatex engine), The result is aligned to the right even though the environment is placed in left to right context (with \bodydir TLT \...
2
votes
1answer
48 views

Use different math font in inline-style and display-style formulas for \int symbol

I have seen Use different math font in inline-style and display-style formulas, but here I just want one symbol to be different inline vs display. In Borrowing the integral and summation signs from ...
2
votes
0answers
42 views

Arrow appears on the left when using \vec [closed]

When I work in atom today, when using the command \vec, the arrow appears on the upper left corner of the text. I have never had this problem before, and my old files compiled just fine. This is an ...
2
votes
1answer
40 views

How to use the eulervm font only for a few letters in math mode?

I would like to use the font type provided eulervm, but including this packages in the LaTeX document forces this font type to all letters. As an MWE, consider the following: \documentclass{article} \...
0
votes
1answer
28 views

I got this error, while writing an equation

$$ \begin{align*} \text{Gesamtbeschäftigungsrente} &= \text{Beschäftigungsrente pro Stunde $\times$ erwartete Stunden der verlorenen Arbeitszeit} \\ &= \text{$4 pro Stunde $\mal$ 1.540 Stunden}...
0
votes
1answer
35 views

Displaying two conditions in one equation [duplicate]

I was trying to type the following equation, which 2 conditions answer for P(t). However, I don't get what I want. I do appreciate it if someone could please help me. I also required a single equation ...

1
2 3 4 5
173