Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [equations]

{equations} is about the various environments to typeset displaystyle mathematics, e.g. equation and {align}. For general questions about mathematical typesetting use {math-mode}. Both tags are possible on the same question.

1
vote
2answers
30 views

Why does adding a \Bar in a differential equation cause all these errors?

The line in question: B &= \diffp* { f(x, \Bar{\mu}) } { \Bar{\mu} } { x_{eq}, \Bar{\mu}_{eq} } The second \Bar{\mu} (bolded for clarity) seems to throw everything awry. Omitting the \Bar (just ...
0
votes
1answer
27 views

How to get equations in align environment to have numbers

If I have the following situation \documentclass{report} \usepackage{amsmath} \begin{document} \begin{align*} y &= 2x+3 y &= 7x+4 \end{align*} \end{document} The equations in the align ...
5
votes
1answer
47 views

adding explanations to equations

How can we type equations and add explanations like below? The options that I can think of are: (1) using tags which I don't know how to break them into two lines (2) using minipage, which might not ...
0
votes
5answers
820 views

How to write equation as shown in picture using Latex?

how we write this equation in latex in given form
0
votes
0answers
16 views

mapsto and function definition / definition environment

Ok, these are 2 questions in one, but they are different. I am trying to define a function f mapping from X to Y. So what i am doing is: open the equation environment and writing: $f:X{\rightarrow}Y$....
0
votes
2answers
70 views

How to write following equation

I am trying to write the following equation for my paper. I am familiar with using big braces, but I am not sure how to write multiple lines within the braces as in the image attached. The following ...
0
votes
0answers
22 views

How to give dots or point or period before the number of equation [duplicate]

Hi I want to ask how to give period before the number of equation. For Example A = B + C ...(1)
0
votes
0answers
30 views

What is the best-looking way to produce enlarged mathematical symbols in equation mode using lmodern?

I noticed that there is no way to produce a larger version of the summation symbol when writing equations. This \usepackage{lmodern} \begin{equation} \sum \end{equation} cannot be magnified using ...
0
votes
1answer
32 views

Latex Double subscript with $ with text and equation in the same line

1: How to combine text and equation in a paragraph in latex?
2
votes
1answer
49 views

aligning equalities = one below the other

I have the following source of math text in LaTeX and I would like to ALIGN all the equalities (=) to be one exactly below the other. How shall I do that? See the last 2 lines of this question. Can ...
1
vote
1answer
28 views

Strange centring problem of side by side equations in an enumerate environment

I'm facing a problem in centring two side by side equations correctly inside an enumerate environment. This problem only occurs to me under certain conditions and I can't get my head around it. ...
0
votes
2answers
87 views

! Misplaced \noalign. \midrule ->\noalign

This is the table \documentclass{article} \usepackage{array} \newcolumntype{C}{>{$}c<{$}} \usepackage[skip=0.333\baselineskip]{caption} \usepackage{booktabs, ...
0
votes
0answers
34 views

! Undefined control sequence in equations [closed]

The code: \begin{equation} \frac{E_porous}{E_bulk}= \frac{(1 - P_{o})^2}{1+2P_{or} - 3\nuP_{or}} \end{equation} and the error: ! Undefined control sequence. 1+2P_{or} - 3\nuP ...
0
votes
0answers
23 views

How to I put open and close braces into my text? (SOLVED) [duplicate]

Whenever I try to put an open brace: { or a closed brace } into my text, it doesnt show in the PDF. For example, I want to write the domain of a function. However, the braces do not show up in the PDF....
0
votes
0answers
28 views

Modify \eqref “equation” to “Eq.”

I would like to modify the \eqref command such that it prints something like "Eq. (1)" instead of "equation (1)". Following this, I get "Eq. equation (1)". How can I remove "equation"?
4
votes
3answers
113 views

why this \newcommand doesn't work in \align environment?

I'm trying to use the 'newcommand' in the environment 'align', for that I created the 'newcommand' \rbel that is an 'arrow' with a 'n' below It. I put all the packages that I'm using. \...
0
votes
0answers
22 views

hspace by percentage of column width? [closed]

How can one space things horizontally, not by a fixed amount but rather than by a percentage of the column width? I want something akin to $$ A\hspace{20%}B\hspace{20%}C $$ instead of $$ A\hspace{1....
1
vote
2answers
40 views

All letters upright in align mode

I'm using the document class article and I would like to know if there is an easy way to write aligned equations with all letters automatically uprighted. Since my equations contain lot of letters, I ...
2
votes
2answers
90 views

Position figure (left, right, center ) minipage, wrapfigure etc.. and equation

I'm having a problem with the position of the equations and the image. how come the second and third equations have an indentation and are not aligned? (in particular the second one). I think that by ...
1
vote
2answers
33 views

How can I write this equation to fit in a single column using IEEEtran?

\documentclass[journal]{IEEEtran} \usepackage{eqnarray,amsmath} \usepackage{amssymb} \usepackage{mathtools} \begin{document} \begin{align} \max\limits_{\bm{P}^{(k)}} & R_k(\bm{P}^{(k)})=\sum\...
0
votes
0answers
37 views

Minus sign in equation within text

I want to write math equation in the text like y_i E {1 -1}. In LaTeX I am writing like this $y_i \in \left\{1, \textminus 1\right\}$. But its not showing as I want.
0
votes
1answer
44 views

Maths Equation Formatting - Brackets [duplicate]

Does anyone know how you would type this in latex? Thank you!
3
votes
1answer
31 views

Set the short display skip as in Coxeter, “Regular Complex Polytopes (1974)”

I was reading Coxeter's "Regular Complex Polytopes" from 1974 and was struck not just by the mathematical content but also by the beautiful typesetting. In particular, I liked the fact that the ...
1
vote
1answer
18 views

Writing in-line equations on multiple lines using \displaystyle

I'm trying to write equations on multiple lines using \displaystyle. I can use \\ for line breaks but can't align or put horizontal space on the second line. \documentclass[12pt,a4paper]{article} \...
1
vote
1answer
77 views

Need help correcting (deliberately faulty) equation code

For a test, I need to edit and correct the following equation, which I understand to contain several syntax errors. 5\square{3X}+2X**2-\frac{3X/2}* Unfortunately, I'm unfamiliar with LaTeX syntax.
0
votes
0answers
16 views

How do I change the font inside a displayed equation?

How do I change the font of some of the letters into Times, inside a displayed equation ?
2
votes
1answer
35 views

How can I write in a equation “~” with more aesthetics?

I know that \tilde{a} in a equation shows: but when I write \tilde{V^{\mu}},\tilde{V}^{\mu} in a equation, it shows: and I am searching something like that: They are similar, but they are not the ...
5
votes
2answers
128 views

Start enumerating an item in the same line after a exercise number

(I´m sorry my English mistakes) I have been using a good command for enumerate exercises. It was suggest here for someone (thanks again). Is it possible to use this command to enumerate exercises ...
3
votes
2answers
86 views

\mathrm{\Delta} in slant in the equation environment

I tried to write an equation, including \Delta. But it also shows in slant, even though I tried \mathrm{} or \text{}. CUEDthesisPSnPDF template and two math packages are used \usepackage{amssymb} \...
4
votes
2answers
46 views

Possible to generate sequences given term, length, start and end?

I'm in a computer science formal languages / computability / complexity course, and I have to type a lot of sequences... Sometimes I have to edit the terms, add terms, remove terms, etc., and doing it ...
3
votes
0answers
81 views

Not a properly displayed piecewise function

I want to typeset a piecewise function - a function defined on two "pieces" of the domain. The pdf file I get when compiling the following code seems to have four lines, the first and third of which ...
0
votes
1answer
41 views

Vertical spacing inside \equation

I am writing my master's thesis and noticed that the spacing when using fractions is very small. T \begin{equation} \label{ASF} f_{ij}^{t}=\dfrac{\sum_{d=1}^{365}(Unique\; daily-user\; searches\; ...
1
vote
1answer
30 views

Using align property for equations without numbering, when referencing other equation number

I am trying to create a master list of equations (called 'Models'), which are then referenced in main text (the idea is that not all the equations in the master list appear in the main text). I would ...
1
vote
1answer
25 views

showlabels change of font size

I am using \usepackage[left]{showlabels} to print labels for my equations. For example, I have an equation as: \begin{equation} x = a + b \label{eqn:a_b} \end{equation} The label is printed as: ...
0
votes
0answers
12 views

Custom equation command produces not wanted indentation [duplicate]

I wrote this custom environment to save time when typing: \newenvironment{equations} {\begin{equation}\begin{aligned}} {\end{aligned}\end{equation}} However, it produces a strange ...
1
vote
1answer
15 views

Appendix labeling [duplicate]

\documentclass[12pt]{article} \usepackage{amsmath} \begin{document} As shown in Appendix~\ref{app_eg},... \appendix \renewcommand{\thesection}{\Alph{section}} \numberwithin{equation}{section} \...
0
votes
4answers
31 views

How to set different alignment rules for different subequations?

I need to group three lengthy equations with {subequations}, here is my code: \begin{subequations} \begin{align} \begin{split}\label{4a} x ={}& 11111111111111111111111111111 \end{split}\\ \...
0
votes
0answers
26 views

\text command strangely fails [duplicate]

I wrote a command like this: ${\cal F}_n=^{\text df}$ but at \text it gives an error. I wish to write df above = with \text but it doesn't go through. How should I fix it? However $\textbf$ works ...
4
votes
2answers
31 views

Aligning two adjacent numbered equations central to the vertical, and the horizontal

So I have an issue aligning two equations which I wish to label/number. I wish to place the equations adjacent to each other, with equidistant spacing in the horizontal (between the equations and the ...
3
votes
1answer
30 views

Alignment of equations with implies and equals to

In amsmath package, the following doesn't get aligned properly. Here is the code. \begin{alignat*}{2} & 0 &= \dfrac{1}{4}(2(-1)+1)+C\mathrm{e}^{2(-1)}\\ & \implies 0 &= \dfrac{-1}{4}+...
0
votes
0answers
30 views

Is there a way to create logical or as a sum-class symbol? [duplicate]

Example: \begin{equation} \lor_{j=1}^n \end{equation} shows up like and \begin{equation} \sum_{j=1}^n \end{equation} shows up like Is there a way to make the \lor look like the \sum ...
0
votes
1answer
34 views

Equations: Why does formula symbol index notation “ff” cause such big letter spacing?

The formula symbol index notation ff is causing some ugly letter spacing in comparison to other index notation letters. Minimum Working Example (MWE): \documentclass{article} \begin{document} \...
0
votes
1answer
42 views

Why does `\left|` insert unecessary vertical space below its argument?

When using \left| and \right| to typeset absolute value, I get unnecessary space as follows \documentclass[11pt, a4paper]{IEEEtran} \usepackage{amsmath} \usepackage{amssymb, amsfonts} \usepackage{...
0
votes
2answers
39 views

Aligning equation on the left

I need to align equations of the left. I wrote the following according to this topic : Align equation left \begin{flalign} p(1-p)^2 (\alpha |001\rangle + \beta |110 \rangle).hc +p^2(1-p) (\alpha |...
0
votes
1answer
40 views

Latex multiple equations

I want to make something like this but i don't know how, please help me.
0
votes
0answers
21 views

Using \equiv causes my font to become italicized and doesn't allow spacing [duplicate]

I am trying to write a logic equation with symbols and when I use \equiv everything afterwards is italics and does not allow spacing, even if I go to a new line. Example: p \to q \equiv \lnot q \to ...
-1
votes
3answers
81 views

How to write a multi-line series of equations in LaTeX?

I am trying to write those with $\begin{equation}$ and $\end{equation}$...but exactly this figure is not coming! How to write those in latex s.t. it is written in picture? Thanks!
0
votes
1answer
29 views

How to write the perfect codes for expression in latex as in the first figure?

For this expression I have written : \begin{enumerate} \item $\langle \varphi _{ij},\rho _{kl} = 0$; \item \[ \langle \varphi _{ij},\rho _{kl} \rangle = \begin{cases} ...
1
vote
1answer
44 views

How to resize equations [duplicate]

I am writing an article, and I am having some trouble making my equations large enough to stand out on the page. Does anyone have a suggestion on how to best resize this? Thanks \documentclass[11pt]...
1
vote
0answers
35 views

Some basic questions about LaTeX/Advice on how to learn [duplicate]

I want to learn how to write math using LaTeX. I have a mac and have downloaded MacTex. I have used https://math.stackexchange.com and have learned the very basics of writing with MathJax and I liked ...