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
1
vote
2answers
48 views

How to fix the out of page text issue in equation mode

I am trying to write the text in equation mode but the text is going out of a page. The code of my equations is given below. Can anybody help to fix the issue? \begin{equation} \left\{\begin{array}{...
0
votes
1answer
37 views

Lyx Shortcut Math Function Sign (e.g. accepts item in A returns item in B)

I am using Lyx. I would like to know if there is an equivalent to the following"from-to" sign: I've used _ and ^ but I believe there is a better way for it.
0
votes
0answers
85 views

Running latex codebox in CherryTree

I've inserted a codebox in CherryTree and set it to Latex language. I want to run a little snippet \documentclass{article} \begin{document} $\int f(x)$ \end{document} in that codebox. If I ...
0
votes
3answers
96 views

Multiline curly braces

I know how to draw the following multiline matrix using brackets on both sides: $$\begin{bmatrix}1&5&-3\\-2&-13&8\\3&-3&1\end{bmatrix}$$ The question is, how do I do it with ...
2
votes
1answer
62 views

How can I re-define a math operator / symbol?

I'm new user and really need your help. I want to fix the size and position of a "math symbol". For example, I want to scale and adjust vertical position of symbol "+". According to information on ...
1
vote
2answers
35 views

Column separation in math mode

I'm trying to put the following three equations into a matrix: $$x_1 + 2x_2 = 7\\ -2x_1 + 5x_2 = 4\\ -5x_1 + 6x_2 = -3$$ When I use the following bmatrix: $$\begin{bmatrix}1\;2\;7\\-2\;5\;4\\-5\;6\;...
0
votes
0answers
31 views

How to stop formatting after using mathematic characters [duplicate]

I'm writing a scientific text and need to use β as a character. However when I use \beta it changes the formatting of the rest of the paragraph to italics and removes spaces. Is there a way to stop ...
4
votes
2answers
91 views

Problem with “numcases”

Please I need to create a formula with specific emplacements, something like I used \usepackage{cases} with the "numcases" environment: \documentclass{article} \begin{document} \usepackage{cases} \...
5
votes
3answers
151 views

How can I separate the digits of a long number in groups of custom length?

I have a very large number which goes over multiple lines. I want to typeset it in math mode so that it becomes more readable by grouping the digits in blocks of length n. The answers of this post ...
1
vote
1answer
33 views

Controlling vertical spacing in the upper limit of a 'big' operator

I have the following example which, in my view, has too much spacing between the upper limit of the operator and the operator itself: (This spacing issue does not occur with Computer Modern, but I am ...
2
votes
2answers
78 views

Missing $ inserted despite inserting $

I have a problem with \infer{$\forall x\in A. P(x)$}{$\forall x\in A.(\forall y\in A.x\xrightarrow{+}y\implies P(y))\implies P(x)$} I have looked at this answer but couldn't find it helpful
2
votes
3answers
268 views

How to set \phantom{-} automatically for entries of matrices?

I want a way to set matrix entries aligned by their sign automatically. For example, output of \begin{bmatrix} 1&1&-1\\ -1&1& 1\\ 1&-1& 1 \end{bmatrix} be same ...
4
votes
1answer
177 views

How do I fill out a matrix with dots?

I want to illustrate the use of dots in LaTeX. Here is the output I am looking for: This is the code I am starting with: $$ L= \left[ \begin{array}{ccc} 1 & 0 & 0 \quad\cdots\quad0\...
0
votes
0answers
47 views

In the TexStudio \mathtt command is not working on in the bracket [] [duplicate]

When I use \mathtt in equation why in the [], the font is not be the same like before? \documentclass[10pt,twoside]{article} \usepackage{amsmath} \usepackage{amsfonts} $$ \mathtt{ x_1 =\left[\begin{...
0
votes
0answers
16 views

autoref pointing to a wrong place when dealing with subequations [duplicate]

Example: \documentclass[10pt,a4paper]{article} \usepackage{hyperref} \usepackage{mathtools} \begin{document} Some Text \begin{equation} \label{eq:1} d(k_{a},k_{b})= \end{equation} Some Text ...
2
votes
3answers
561 views

Splitting a root within a root

I have to typeset the following unwieldy formula (the formula for the length of the side of the regular 17-gon): \frac{1}{4} \sqrt{34 - \sqrt{17} - \sqrt{34-2\sqrt{17}} - 2\sqrt{17 + 3\sqrt{17} + \...
4
votes
2answers
137 views

Using mathematical typesetting packages with `XeLaTeX` and `LuaLaTeX`

Before an emerging of a Unicode-based XeLaTeX and LuaLaTeX there was pdfLaTeX which directly could output to a pdf-format. For the convenience of a typeset of mathematics, the amsmath package was ...
1
vote
2answers
66 views

How to type bold letter in math expression? [duplicate]

Actually, this is a markdown question. But I can't find a markdown community. I want the letter "w" to be bold in the expression y(x, w). $y(x, \boldsymbol{w})$ works. But the following parentheses ...
3
votes
1answer
98 views

Mingled math and text in math mode

I frequently encounter the situation of wanting to, say, write a set where the set-membership condition involves some text. If I wanted to describe, say, the set of all even integers this way, then ...
0
votes
1answer
51 views

How to type a math symbol N [duplicate]

How can I get a big N like the one below?
0
votes
0answers
51 views

Russian symbols in equations [duplicate]

It is some time since I used Latex, but am now up-and- running again and using pdflatex. I want to insert a Russian symbol (in particular the symbol sh, as in sh(x), to indicate a row of delta ...
0
votes
0answers
24 views

filling with spaces from the left

How do I make the formula in the new line starting with $\y_i\geq x_i$ appear at the very r.h.s. margin of the paper without using repeatedly \quad i.e. filling with blanks from the left ?
1
vote
0answers
68 views

XeTeX: Exclude characters from being rendered as italics in math mode (unicode-math)

So I'm relatively new to TeX in general and decided to go with XeTeX, mainly because I really like the approach to render the characters and symbols as actual Unicode-chars, so that you can expect ...
1
vote
1answer
39 views

how to write a row number in matrix with horizontal line between rows [duplicate]

I tried to make a horizontal line inside a matrix by the attached code. However, it did not work the compiling process gives a time out message. It work normally without the \hline command. Any help! ...
3
votes
1answer
63 views

Multi-expression display equation: and or comma? [closed]

Example: In display equations that contain two separate expressions in a single line, which we would normally read off verbally with an "and" conjunction, does it make sense to use a comma or an "and"...
2
votes
2answers
57 views

How would one create these curved arrows? [duplicate]

I was wondering how would one create such a diagram with curved arrows with LaTeX. I have no idea where to begin with this, so any help would be appreciated.
1
vote
1answer
82 views

How to use double subscript in latex? [closed]

i try to write this $k_{a}^(k)_{kk}$he is not correct i ty many solution please help me and i want this for output
0
votes
2answers
44 views

Why using itemize cannot bold in third line with \(H_{1,1}\) [duplicate]

I am trying to bold the word in my third line. as shown in figure below: My full MWE is as below: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amssymb} \begin{document} \...
3
votes
1answer
46 views

How make lyx recognize single alphabetic a, b, c …as mathematical symbols

I have to describe a mathematical model in words like a story. In this description I explain the variables and parameters, they are mainly alphabetic like d,B, C, R, r and etc. My question is how I ...
4
votes
3answers
147 views

Enumerate equations alignment

The only thing coming to my mind is to use intertext and manually place counters. Is this really the only way?
1
vote
2answers
34 views

Issue with mathmode in command

First off I'm new to Latex so my understanding of the Language is quite limited. I want to print a Formula with cases for the convergence of geometric series i learnt like this(without box): Now im ...
0
votes
2answers
65 views

How to get the following output?

How to get the following output (without manually adding space)? I guess I should use the align environment but I can't get the domain and the codomain centered with the respective elements in the ...
1
vote
1answer
39 views

Aligning Math Equations around Single Equal Sign Across Several Pages with Text between Equations

I am writing an appendix to my paper in LaTeX Article class. I have dozen of equations and derivation there and I want to align all of them around a single equal (=) sign. Look at how I currently have ...
1
vote
2answers
42 views

Multiline equation: Reduce size and center numbering

The size of this equation is limited by the column (2-column article). I'm trying to get the equation no. at the center (between both lines), which would mean making the equation smaller. I usually ...
1
vote
1answer
30 views

Uppercase beamer frame titles containing math

I am trying to automate uppercase for frame titles in beamer in such a way that uppercase ignores all math-mode content in these titles. I have seen Uppercase Frame Titles, but the solution there ...
2
votes
1answer
30 views

How to Globally Change Color of Matter Inside Inline and Displayed Math Mode? [duplicate]

I want to change/redefine the math environment in LaTeX Article class such that whenever I write a mathematical expression inline or in displayed math mode, it appears in a color of my choice. Here is ...
2
votes
1answer
57 views

How can I stop equations from moving up into blank space?

My document has a number of equations that are surrounded by text. After long sentences, the equations look fine. However, after short sentences, they do not: the problem is that the equations are '...
3
votes
1answer
44 views

How much work is it to implement tabbing in math mode?

Resuming http://tex.stackexchange.com/questions/60272, how difficult is it to implement tabbing in math mode (inline or display)? E.g., we would sometimes like to type \documentclass{article}\...
0
votes
3answers
44 views

Inversion bracket with long text in Latex

How can you write following equation in Latex. Basically I have faced problem with long text I used \begin{equation} \max\limits_{x,\lambda,\nu} L_(x,\lambda,\nu=\left\{ \begin{array}{@{}ll@{}} ...
3
votes
2answers
73 views

Position of subscript

I am doing the following: \documentclass[12pt]{article} \usepackage{mathtools} \begin{document} \begin{equation*} \top_{i} \end{equation*} \end{document} and obtain which I do not find very nice ...
1
vote
2answers
52 views

Multi-line Equation Inside Multiple Brackets Spanning Multiple Lines

I am trying to write a multi-line equation inside multiple brackets that span multiple lines. Here is a simplified example of what I concretely mean: I am having difficulties in typesetting my ...
0
votes
1answer
71 views

LaTeX Math operations

I am trying to add two values and then multiply them by a number but in order to do it in that order I have to use parentheses. The problem is that when I add parentheses I get a compilation error. ...
1
vote
1answer
85 views

New line in math mode with two dollars

Is there a way to got a new line in math mode with two dollars $$ ... $$ ? Thanks in advance.
0
votes
1answer
68 views

Matrix is not completely fitted in the PDF generated from LaTex

I have the following LaTex code for a 10x10 matrix (which I have imported from Mathematica), "$$\begin{bmatrix*}[r] -2 (\text{$\beta $111} +\text{$\beta $224} x^2 & 0 & 2 \text{$\alpha $...
11
votes
2answers
459 views

Aligning under and overbraces

I have a "simple" representation given by the following MWE \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \underbrace{\ldots% \overbrace{\text{ ...
0
votes
2answers
24 views

How to prevent xcolor from influencing algebraic sign spacing? [duplicate]

The xcolor package influences the spacing of the algebraic sign. How to prevent this behavior? Screenshot Mathematical background The second example should be treated as a binary operator instead ...
1
vote
2answers
86 views

Create a command \summation{n}{\alpha}

How do I solve this type of question? I don't understand what im suppose to do. What does it mean "show two uses with different arguments?"
0
votes
1answer
57 views

How to make long math equations beautiful and small to fit in one line?

I am writing a latex report and I have to use one equation but that equation is long enough to fit in one line and if i am using mathbf{} it looks very odd. Here is the code : \documentclass[a4paper,...
2
votes
1answer
102 views

Change commas to dots in math mode

I am writing an article in a European language, so I included a language package. However, this inclusion changes ALL points to commas in mathmode, because commas are the european decimal separator. ...
2
votes
1answer
46 views

Troubles in aligning terms under gather, aligned and split environments

I'm having a lot of troubles in aligning some terms in a complicated equation. This is probably a semi-trivial thing, but I don't get it (fssshhht!). Here's a MWE to show my problem: \documentclass[...

1
3 4
5
6 7
150