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

1
vote
1answer
94 views

File ended while scanning use of \frac

I keep receiving the error message File ended while scanning use of \frac ." and have narrowed the error down to this equation, though I can't work out why. \documentclass [12pt] {report} ...
1
vote
1answer
33 views

I am getting the following error for my code, please help

Code: $$x(t) = \left[ \begin{array}{c} i_{L1}(t)\\ i_{L2}(t)\\ v_{C1}(t)\\ v_{C2}(t)\\ i_l(t) \end{array}\right] $$ Recall that the input voltage $V_g$ is an independent voltage source and the load ...
1
vote
1answer
51 views

Left brace in align environoment [duplicate]

I would like to have a left brace around equations in the align environment. How can I do this? (I would like to use this environment because I would like to number each individual equation to be ...
3
votes
1answer
39 views

Multiple cases with automatic braces

I am writing a relation in which I need to describe the value of G(i, s, a): \documentclass{article} \usepackage {amsfonts} \usepackage {amsmath} \usepackage [margin=1in]{geometry} \usepackage ...
2
votes
1answer
21 views

align*-environment aligns parts of equation to the right with multiple ampersands

This following example aligns the last part of the equation to the right and I don't know why. What I would expected to see instead is that the last parts of both lines start directly to the right of ...
4
votes
1answer
146 views

missing $ inserted on code

I am certainly new to latex and have this error in a high frequency in my code. The error is claiming I have a missing $ sign in many places, and I imagine that my syntax usage of $ is off. My ...
1
vote
1answer
113 views

How to write system of differential equations

I need help in writing this system in LaTeX: EDIT: I need more help because I am still unable to use the provided solution. My system is: \begin{empheq}[left=\empheqlbrace]{align} ...
4
votes
2answers
77 views

An error in aligning several systems of linear equations using systeme

I have code to typeset four systems of linear equations. I have all the equations aligned at the equals sign. In the first equation of the second system, I have + 0 = (q-m)x + b_{1}, but I want 0 ...
3
votes
3answers
83 views

How can I uncover the fraction line in beamer?

I would like to uncover elements of an equation one at a time. This is easy enough usually, but in this case I'd like to progressively reveal a fraction. The problem with the way I'm doing it is that ...
2
votes
3answers
64 views

Adding labels to the equations when they are broken

\begin{align} \begin{split} \pd{EU}{\alpha} &= d(\theta) U'(\pi_{1}) [G_{\alpha}(\alpha, \theta, \epsilon) - \widebar{P} C_{\alpha}(\alpha, \theta)] \\ &+ (1-d(\theta)) ...
0
votes
0answers
26 views

Aligning the equations [duplicate]

How do I align the two equations and label them? \begin{equation} \begin{split} \pd{EU}{\alpha} &= d(\theta) U'(\pi_{1}) [G_{\alpha}(\alpha, \theta, \epsilon) - \widebar{P} C_{\alpha}(\alpha, ...
3
votes
3answers
89 views

Arrange long multiple equations with texts between them

I have aligned the equations in the following way but using multiple \qquad. I don't think it is a good practice to do so. Moreover the equations should fit within the width of the document. What I ...
3
votes
2answers
51 views

Symbol to the right of equation

I want the contradiction symbol to the right of the equation without moving the equations to the left. I've written \begin{align*} u(2-t, 1, 3-t) & > (2,1,3) \\ 1 ...
2
votes
2answers
119 views

Labeling equations and math mode

I have to write the equation shown below in Latex and I am using {\textbf{q}=($\mu$ $_1$ $\mu$ $_2$ ... $\mu$ $_{n-2}$ $\mu$ $_n$ )\textsuperscript{T}} and it comes OK. However, I need to ...
3
votes
2answers
214 views

\numberwithin{equation}{subsection} fails for subsections “0”

\numberwithin{equation}{subsection} is in the preamble of an article. Equations in sections before subsection 1 of that section begin numbering as x.0.y+1, where "y" is the number of the last equation ...
1
vote
2answers
87 views

How to set a simple counter in a certain chapter

How can I set the equation counter to behave differently for a certain Chapter? I am writing my phd thesis, and I want to have a simple equation counter for the introduction. In general, ...
1
vote
1answer
33 views

How to format the following equation using table

i am trying to write some equations and have trouble with the formatting. I assumed that having a table would be good, but if anyone has a better idea, I wanna hear your suggestion. This is my code in ...
0
votes
1answer
111 views

How to express this in LaTeX?

I want to know how to express this function in LaTeX. Can anyone help me?
0
votes
1answer
55 views

Boxed equations and arrows

I would like to implement this into an align-environment (or equivalent) how can I do this? I tried with boxes but the structure is rather complicated since I want a large box on the left-hand ...
1
vote
2answers
48 views

How do I write a multi row single column (or multiple columns) equation?

\documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage{mathtools} \usepackage{bm} \begin{document} \begin{equation} \nabla_Q N_I = \{{N_{I,1}} \\ {N_{I,2}} \\ {N_{I,3}}\} = ...
5
votes
5answers
219 views

How do I align equations?

I need to align the following equations: The numbers, <,> signs and theta symbol are aligned as desired. But, the words on left are not. I tried this: \begin{flalign*} \textit{Angle}: ...
4
votes
1answer
91 views

Is there a Lagrangian multiplier package?

I am doing a large number of Lagrangian multiplier problems. They are basically all the same form $$\max U(x,y)$$ $$\text{subject to}$$ $$g(x,y) = c$$ Then $$L = U(x,y) - \lambda (g(x,y) -c) $$ ...
0
votes
0answers
20 views

' and ^t to the left of a letter [duplicate]

There are times where I want, say, a superscript $t$ to the left of another letter to denote, say, the transpose of a matrix. Or, I might want to decorate a letter on the left with a prime, $'$, ...
0
votes
1answer
36 views

How to indent the equation number to the right?

\documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage{mathtools} \usepackage{amsmath} \begin{document} \begin{equation} \delta{\mathbf{E_e} = \sum \limits_{I=1}^{M} \emph{B}_{LI} ...
1
vote
2answers
143 views

How do I place the argument of “min” below rather than to the side?

\documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage{mathtools} \usepackage{amsmath} \usepackage{amssymb} \usepackage{bm} \begin{document} \begin{equation} ||\mathbf{x}^{1} - ...
3
votes
4answers
72 views

Missing equation numbers in aligned environment inside tabular environment

I try to create a tabular environment containing a two-lined description on the left side of an equation on the right side. It looks like this: \documentclass{report} \usepackage[intlimits]{amsmath} ...
1
vote
0answers
29 views

Caption in dmath* equation

I have the following equation which I need to reference elsewhere in the paper. It is for a paper in IEEE double-column format which dmath* seems to make the equation fit very well. I do however need ...
3
votes
4answers
58 views

Aligning equations in a beautiful way

This is my code: \begin{alignat*}{5} & \mathrm{B} &&{}+ \mathrm{R} &&{}\cdot \mathrm{t}_1 &&{}= \mathrm{R}_{\mathrm{max}}&&{}\cdot \mathrm{t}_1\\ ...
6
votes
3answers
243 views

Align square root symbols in equation

I have the following equation in my tex document: \documentclass{article} \begin{document} \begin{equation} x_{ij} = \frac{ \sum_{t}{e_i(t)e_j(t)} } { ...
2
votes
1answer
45 views

How to write the following equation in LaTeX?

I need this output with the same harpoon right arrow: \documentclass[titlepage]{article} \usepackage[cm]{fullpage} \usepackage{amsmath,amssymb} \usepackage{accents} ...
10
votes
2answers
3k views

Why doesn't lineno number a paragraph when it is followed by an indented equation?

While searching for the source of missing line numbers, I realized that paragraphs followed immediately by an equation have no line number, but this is fixed when a space is included, e.g. the ...
16
votes
1answer
9k views

Adding line numbers to latex and respecting equations

It's often convenient to add line numbers to a page automatically and the lineno package generally does the trick. But I've had two problems with it It doesn't seem to align the line numbers with ...
0
votes
1answer
45 views

Different equation position control in the two column paper

In two column paper, I have long equations. I want one of the equations to be appear at the bottom of the current page. I have another equation which I want to be appear at the top of the second page. ...
1
vote
0answers
41 views

How to use different styles for greek letter?

I want to use two variants for lower case lambda in my document. what should I do?
5
votes
3answers
107 views

Is there a package to equate particular parts of an equation?

Just wondering if there's a particular way to do the following in LaTeX: where I've equated a particular part of the main equation to a little equation, given by T and U. Thanks in advance!
1
vote
2answers
50 views

Large space between text and equations when I \begin{equation}

When I do this, there is a large space between the text and the equations. I was wondering if there was a way to solve this. I am using amsmath. Thanks a lot \textbf{Solution} \begin{center} ...
9
votes
3answers
273 views

How to reference a quote like an equation?

For my project, I've interviewed some people and used parts of those interviews as quotes in my project. Some quotes I would like to reference later on, just like how equations are referenced, with a ...
5
votes
4answers
224 views

number a system of 4 equations in 2 lines

I have written 4 equations in two lines and I want to give a single number for all of them without changing their format. My code for the equations is the following: \begin{center} ...
0
votes
1answer
29 views

refer equations across chapters

I want to refer equations and figures from the previous chapters(showing in structure). I have to find the label from that chapter each time which is consuming more time. I want pop ups for all ...
2
votes
2answers
41 views

How to resize matrix equation in beamer?

How do I resize this equation to get it to fit? I've googled for examples with no luck. --Bob \documentclass[11pt]{beamer} \usetheme{Warsaw} \usepackage[utf8]{inputenc} ...
2
votes
1answer
28 views

Why are there so many errors (missing \right or extra \right)?

I've counted and checked but can't seem to find the problem. \begin{flalign*} u_0(x,\ t)\ =&\ x\left[t\ +\ \frac{t^3}{3}\right],\\ u_1(x,\ t)\ =&\ x\left[t\ -\ \frac{2t^5}{15}\ -\ ...
3
votes
5answers
114 views

Like displaymath, but without math-mode

I often find myself doing things like \[ \begin{tabular}{cc} foo & bar \\ baz & qux \end{tabular} \] or \[ \begin{verbatim} code snippet \end{verbatim} \] to put a table or code snippet ...
11
votes
2answers
5k views

Change appearance of equation numbers locally

In the MWE below, I would like to have the equation numbers in the Chapter "Appendix" (but only there!) being displayed as follows: (A.1), (A.2), (A.3) ... \documentclass{book} ...
3
votes
0answers
38 views

Difference between equation and align using tex4ht

I'm trying to produce an html copy of my book, which is written in LaTeX using tex4ht. Things are going better than I expected. But in some places I use the equation environment and in others align. ...
2
votes
1answer
58 views

Excess space before \[ at start of paragraph

When I have a displayed math equation (\[...\] or equivalently the displaymath environment) at the start of a paragraph right after a heading, there is too much space before it. This short code ...
2
votes
1answer
49 views

Referencing formula before defining it

I'm writing a scientific article and I would like to reference a formula before it appears in the text. In principle it should work, the problem is that I want to use the hyperref package, so that I ...
0
votes
3answers
57 views

Adding text line in Equation Environment

I am a new user in LaTex. 1. Can someone please help me what wrong is with this code. \begin{equation*} T_{Loop Filter}(s)=K_{p}+\frac{K_{i}}{s}\\ The overall transfer function of given PLL can be ...
4
votes
4answers
126 views

Move second line in an equation to the left with split

I have the following equation: \begin{equation} \begin{split} f_a(w_1,\ldots,w_m,&z_{w_1pa},\ldots,z_{w_mpa},a) = \\ &\prod_{j\in \{1,\ldots,m\} \mid z_{w_jpa} \neq \emptyset} \left( ...
0
votes
0answers
21 views

Numbering equations within a table, \ref not working [duplicate]

I'm numbering equations within a table. First I setup \newcommand{\teqtag}{\hfill\stepcounter{equation}(\theequation)} Then within each table cell I have $x=y\teqtag\label{eq:myeqn}$ And ...
8
votes
2answers
1k views

Defining a new command for making functional lines / package

As you have probably guessed from the title my mother tounge is not English. Therefore I have no idea if "Functional lines" is the correct term for what I am looking for. Basically I am looking to ...