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

learn more… | top users | synonyms (1)

9
votes
3answers
115 views

what is the correct way to typeset equations with a leading indicator/marker on each

I am using \begin{align*} to typeset set of equations. I want to say that the first one applies to case of dimension [T] (time), and the second for [L] (length) and the third for [M] (mass). I want ...
9
votes
2answers
197 views

Tikz figure inside equation with braces that are too large

I'm currently trying to include a tree, visualized using Tikz-qtree and Tikz into an equation. The problem I'm having is that the curly braces are way too large. The code I'm using at the moment is: ...
4
votes
1answer
63 views

Hidden reference to equation

How to make a hidden reference to an equation, such that \mathtoolsset{showonlyrefs=true} is overridden (assuming it is active)? Alternatively, how to switch off showonlyrefs temporarily (regardless ...
7
votes
2answers
169 views

How do I color one line of a display equation?

I want to color only one line of this display equation: \begin{align*} i_{fb} &= - \frac{v_o}{Z_F} \\ F(s) = \frac{i_{fb}}{v_o} &= - \frac{1}{Z_F} \\ \color{red} F(s) &= - \frac{1 + ...
5
votes
3answers
77 views

catcodes vs. autonum

I'm trying to make certain equations with large amounts of special characters more readable by playing with catcodes. This works: \documentclass[12pt]{book} \begin{document} $$ \catcode`X\active ...
3
votes
2answers
58 views

How to align terms in alignat environment (follow-up)

This is follow-up on the similar question. I still cannot figure out where to put ampersands on alignat environments. :( Here is what I generated. To enhace the readability, I want to customize ...
5
votes
1answer
444 views

problem when writing an equation with latex: missing delimiter (. inserted) \end{equation}

I tried this and that, but could not solve this problem. Here is the code that produces this error: \begin{equation} o=g(h)=\left\{\begin{array}{rcl} 1 & if & h < 0 \\ 0 & if ...
6
votes
2answers
74 views

Tabbing/horizontal placement with labeled equations

I have a string of equations, each with a label that I would like to format nicely. I want the equation labels to be at the same horizontal position and the start of the equation to be at the same ...
3
votes
1answer
64 views

Placing an object at the end of the line

I'm new in LaTeX and I'm currently faced with a problem of placing an object at the end of the line. E.g. {equation} (1.1) I wish to place (1.1) at the end of the line, and I've searched around ...
1
vote
1answer
55 views

Equations with several identities

I want to write a simple single line equation of this kind: a = b + c = d + e + f. However, when I try to add the second identity ( = ), everything on its right side does not appear in the results. ...
13
votes
1answer
125 views

How can we detect that we are right after display math mode? (for vertical spacing)

I need a "\smartmedskip" feature/macro in plain TeX which is in usual identical to \medskip, however, if we are right after display math mode, then it should be just "disabled", i.e. it should then ...
2
votes
1answer
61 views

Issue with arabxetex and equation numbers

There seems to be some issue with printing equation numbers when using the arabxetex package. Here is a minimal example: \documentclass{article} \usepackage{arabxetex} % %\usepackage{bidi} % ...
8
votes
3answers
217 views

How can I have numbered verbatim environments?

How can I have an automatically numbered verbatim environment, just like equations? I tried putting it like this: \begin{equation} \begin{verbatim} bla... bla... bla... \end{verbatim} \end{equation} ...
5
votes
3answers
155 views

Itemize equation with bullets

I am trying to place an equation ''inside'' itemize environment. Basically I would like to avoid using \begin{cases} and just represent the equation by using itemize (one bullet for each case) ...
4
votes
2answers
119 views

Customizing subequations numbering in itemized list

This is a follow-up on the question subequation numbering in itemized list. \documentclass[10pt]{article} % for fancy math \usepackage{amsmath} % rank operator \DeclareMathOperator*{\rank}{rank} % ...
6
votes
1answer
65 views

Linebreaking with \eqref and long tags

When using a long tag for an equation, is there a way to have an equivalent of \eqref that would allow LaTeX to break the reference between words, or even within words. In the example below I get ...
3
votes
1answer
136 views

splitting an equation inside curly brackets onto 2 lines without using \Big

I have a long equation: \begin{equation} \begin{split} X_{t} = mean(\left\{|Y_{t-4} - Z_{t-4}|,...,\\ |Y_{t+4} - Z_{t+4}|\right\}) \end{equation} \begin{split} that I want to ...
6
votes
1answer
97 views

How can I split and align this series of equations?

I know this is an issue that comes up frequently, but I keep running into issues using all the suggested examples (breqn, amsmath; split, align, etc). Here's what I have: ...
2
votes
1answer
65 views

Equations with justifications in angle brackets in Latex

How would I do something like this : f(x) = < Justification > x + y + a = < according to ... > abc Which math environment should I use get this kind of equations? ...
8
votes
1answer
125 views

Subscript spacing in newtxmath (comma issue)

I've found a strange behavior of newtxmath package. Using my code with documentclass[12pt]all commas are glued to the next letter, which can be hard to read: When I changedocumentclass[11pt] ...
5
votes
2answers
95 views

Unable to use systeme for a system of equations with \ldots and non-numeric coefficients

I just found in this answer: http://tex.stackexchange.com/a/35176/4011, that using the systeme package ist probably the best way to typeset a system of linear equations in LaTeX. Now I tried to ...
0
votes
0answers
35 views

Number all equations in align [duplicate]

In the align environment you can put two (or more) equations on one line: \begin{align} x+y &= 1 & x+z &= 1 \\ x+w &= 1 & w+z &= 1 \end{align} By default this results in ...
7
votes
2answers
247 views

Align equations with conditions

I am using the following equation with boundary conditions, I would like to position the equation centrally aligned and would like to keep the boundary condition to the right. But the equation is a ...
3
votes
3answers
139 views

Fit equations as same size of the text fonts

An inline equation is written with the sentence appears, It can be noticed the line spacing has been locally increased for that particular sentence containing the variable E. How to shrink the ...
1
vote
2answers
151 views

Combining numbers and letters in equation numbering LaTeX

I currently have the following equation in LaTeX: I'm trying to achieve the following in LaTeX: The problem is that I can't seem to get the numbering to start at 1a. When I use the following ...
2
votes
3answers
442 views

Larger font size in math display equation environment?

Consider the following MWE: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{graphicx} % \scalebox % defaults seem to be: pslatex.sty:103: \DeclareMathSizes{12}{12}{9}{7} % NB: ...
4
votes
3answers
71 views

How can I make a single-aligned row under two double-aligned rows in an equation?

I have an equation that I would like to align like this (the x is actually \times): A = BBBBB CCCCCCC x DDDDD = EEEEEEE FFFFF I have tried the align environment, align with nested ...
5
votes
2answers
311 views

Unit spacing with siunitx in an equation

I'm just starting to get to grips with the siunitx package, but I've noticed that there seems to be some issues with regards to unit notation spacing in an equation. With siunitx it is possible to ...
6
votes
1answer
70 views

Math accents and Greek letters in glossary name (equation description)

I have many equations, where I need to use special characters \dot \bar and Greek letters like \tau. In the equation everything works nice but when I try to write the description \mathgloss I receive ...
9
votes
2answers
942 views

Writing equation in LaTeX: some part are mysterious to me :)

I would like to write in LaTeX two equations: and I do not know how to do that...Particularly, how to write stuff underneath the max function. And also how to have this line over Wi or Wj. PS: ...
3
votes
1answer
174 views

How to put a text label *before* an equation?

currently I have an optimization problem defined in {equation} environment: I want to add a label (P) before equation (6). Currently, I had to use the first line "Optimization problem (P)" as a ...
7
votes
1answer
59 views

Automatically reference a set of equations in align

Is there a way to automatically refer to a set of equations in an align environment? E.G. I would like this to read "From Eqs.(1-3), we can clearly see..." \documentclass{article} ...
1
vote
2answers
245 views

LaTeX command for double lower index summation [duplicate]

I would like to know what is the latex command to include a double lower index using sigma notation (i.e: second index lies underneath the first index)? I tried typing: ...
3
votes
3answers
132 views

How do I create complex equation?

I need to create a couple complex equations and most of the things I try end up putting the denominator next to the numerator. I am trying to create these equations: k=(QL)/(t(Delta)hA) and ...
0
votes
1answer
182 views

“Invalid Equation” on codecogs.com/latex/eqneditor.php but It's ok on stackedit.io [closed]

I have this equation in latex: \{\Theta, \{\phi, \psi \}\} + \{\phi, \{\psi,\Theta \}\} + \{\psi, \{\Theta, \phi\}\} = 0 and codecogs.com/latex/eqneditor.php show me "Invalid Equation": but ...
1
vote
1answer
68 views

Changing the spacing inside equation with underbrace [duplicate]

I am aware of questions/answers that address the question of space around the equal-sign (e.g. this one or this other question). However, my question is related to a situation where I make use of ...
3
votes
0answers
62 views

Eqnarray vs align environments [duplicate]

I keep reading that \begin{align} is preferred to \begin{eqnarray}. Unfortunately, I can't get align to justify rcl. I'll change between align and eqnarray, and the rightmost column is right ...
4
votes
2answers
144 views

How to refer to figures, tables, equations and sections [closed]

What is the correct way to refer to figures, tables, equations and sections? For example, should I write In Figure 1.1 we notice that.... or In fig. 1.1 we notice that.... or In figure 1.1 we notice ...
2
votes
1answer
163 views

Number equations in pandoc by default

How to get equations written in $$...$$ numbered when markdown document is compiled to PDF file. I do not need to make references for equations.
3
votes
1answer
96 views

Get both advantage of multline ( spacing) AND equation/multlined (numbering)

I like the spacing of multline but not the numbering (on the last line). I tought for a moment that equation+multlined will do the trick but that is not the case right now. The numbering is OK, but ...
2
votes
1answer
83 views

writing text next to equations in array [duplicate]

I am trying to reproduce the attached picture: But I can't in any way figure out what the correct way to write text next to an equation is. Is there a package for this?
5
votes
1answer
65 views

Numbering equation for each custom section

I have created an environment named hwp with custom headers and footers that works otherwise very much like the native section environment, in which I can set equations, add figures, etc. What I would ...
0
votes
1answer
81 views

Changing vertical spacing between equations

I'd like to reduce vertical spacing between dmath equations. I don't know how spacing works here. I tried changing line spacing with setspace but to no effect. This is meant to be a formula sheet with ...
1
vote
0answers
24 views

Generate external images for all equations in a document [duplicate]

I have to convert a LaTeX document to a Microsoft Word template due to circumstances I cannot alter (intergovernmental organisation). With \tikzexternalize, I can easily generate images for all my ...
4
votes
1answer
72 views

Equation errors in latex

i have this equation \begin{equation} D{_{T__1}_,}{_{T__2}} (g)= | H{_T{__1}} (g)- H{_{T__2}} (g)|=|log_2 P{_{T__1}}(g)-log_2 P{_T{__2}} (g)| \end{equation} and it shows some error and also the ...
3
votes
1answer
83 views

How to control equation labelling in “align” environment?

I would like to write something of the form: \begin{align} c_1 & = 1 \\ c_2 & = 1 + 2 \\ c_3 & = 1 + 2 + 3 \\ & \; \; \vdots \end{align} I would like the first three ...
6
votes
1answer
101 views

Libertine + newtxmath gaps in big brackets

I have a problem when combining Libertine with newtxmath. When using large brackets in equations the brackets have strange gaps. \documentclass[fontsize=12pt,DIV=12,oneside,a4paper]{scrreprt} ...
0
votes
0answers
31 views

\hat{} not appearing in equation with transpose? [duplicate]

Why does the first bracket not display the \hat{\beta}, I cut and pasted from the second one so they are exactly the same? I guess it has to do with the fact that the first expression is transposed? ...
7
votes
4answers
309 views

left position math formula

I try to write down the following equation: \begin{equation} \begin{flalign*} \left \| \vec{r}_1 - \vec{r}_2 \right \| = \\ \sqrt{( r_{1,x}-r_{2,x} )^2 + ( r_{1,y} - r_{2,y} )^2 } = \\ \sqrt{( ...
5
votes
3answers
87 views

left alignment for equation by using aligned

I used equation to write my Comment set. But when I used aligned, it doesn't show a left alignment. This is my code : \begin{equation} \begin{aligned} Comments=\{\{7322,{""}\},\{7424,\text{"remove ...