{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
26 views

Line break character in equation code

Equations are sometimes part of the text, for example in \documentclass{article} \begin{document} The Pythagorean theorem is often stated as the equation \[ a^2 + b^2 = c^2 . \...
3
votes
4answers
115 views

prepare correct position for equation

Hi all, I want to write my equation which is like the attached picture. I tried to write this code below but I couldn't make "Hp" starting from the same positions. How should I write code to have ...
2
votes
2answers
80 views

Why wont this equation split using \begin{align} and \end{align} [duplicate]

I have this equation here and I am trying to split it up. I use the \begin{align} and \end{align} commands and I use \\ where I want the equation to split onto the next line. Here is the code \...
2
votes
1answer
95 views

Most efficient way to convert word containing many Mathtype equations to LyX

I use LyXConverter from http://www.editorium.com/lyxconverter.htm It does not convert equations, which are displayed as "no file found", that is, empty files, in LyX. so I have to use "toggle tex" ...
0
votes
1answer
27 views

Label two equations in one line with two correct reference?

I have searched the website about this but have found nothing similar. suppose that I have two equations a=b (1) and b=c (2). I would like to be able to put both of them in one line with two different ...
6
votes
0answers
110 views

How can I comment out specific parts of both text and equations by a general command/switch?

I want to define a command or switch at the top of my document that will seamlessly include/exclude all the explanatory notes and lines of working that don't need to be in a final paper (but are handy ...
0
votes
1answer
59 views

Trouble submitting paper to arXiv - labels except in equations

I submitted my tex file with figures to the Arxiv. References and figures are well referenced, but equations no. When I compile the tex file in my computer using, \begin{equation}\label{eq:1} ...
4
votes
3answers
1k views

break an long line in an algorithm

I have a long line in an algorithm and want to break it into two lines. For similar case in equations, split can be used. How do I do this within an algorithm? \documentclass{article} \usepackage{...
2
votes
3answers
41 views

Aligning system of equilibrium equations

I would like to align equations on the right side to this imaginary red line (to the left). Also, it would be really nice to have just one number of the equation (just like in equation environment) ...
3
votes
1answer
58 views

Incorrect symbol appears with integral symbol

I am writing a paper in Lyx with relative success, but whenever I add in a math equation with an integral sign, it compiles it into a totally different symbol (like an intersection/arch symbol with a ...
3
votes
3answers
104 views

Where is a good repository or resource for a lot of diverse sample equations?

Backstory: I am building a LaTeX to Speech library, and require a large amount of diverse samples which are readily available. Right now, I am trying to fish for examples out of tutorials and this ...
1
vote
1answer
20 views

Horizontal alignment of lines in split equation

I have an equation that I need to split, but I want the two resulting lines to be alligned at the opposite side of the column. I am using \begin{split} to split my line: \documentclass[a4paper,10pt]{...
2
votes
2answers
33 views

How to manage indentation in math mode?

I have a problem, maybe with indentation but I don´t sure. This the code: \documentclass[12pt]{article} \usepackage[letterpaper]{geometry} \geometry{top=1.5cm, bottom=2.5cm, hmargin=3cm} \...
5
votes
3answers
107 views

produce Matrix with col-vector on right and row-vector on bottom

I need this; But after some tries with replies available on TeX.SE, I could manage only this; The code to get this is given below \begin{equation}\label{eqn:designRule} \begin{split} &{\...
8
votes
2answers
2k views

What is the meaning of $$$ in LaTex?

I want to know the meaning of the triple $ in my document. \documentclass[12pt]{article} \usepackage[letterpaper]{geometry} \geometry{top=1.5cm, bottom=2.5cm, left=3cm, right=3cm} \usepackage{...
1
vote
4answers
259 views

How can I simplify this equation?

I want to write the following word equation in Latex: I have the following codes: \begin{align} \mathbf {P_{t} &= \sum_{j=1}^{\rho } \left ( I - G_{0} \right )^{-1} \left [ ...
3
votes
1answer
35 views

Displaying four equations across two lines

I want to write four equations over two lines within my Latex document. So, there would be one equation in the top-left, one in the top-right, one in the bottom-left, and one in the bottom-right. I ...
-1
votes
0answers
25 views

Labelling equations with primes in latex [duplicate]

I was wondering how I can label my two equations as ${1}'$ and ${2}'$ instead of $3$ and $4$ in latex. I have the following codes: \begin{align} \mathbf{Y_{t} = \sum_{j=0}^{\rho } B_{j} Y_{t-j} + \...
4
votes
1answer
59 views

ConTeXt : wrap figures with text and equations [closed]

EDIT In the comments, it is told that it works with the version 2016.05.17 19:20, so I precise that I use the standalone version 2016.07.08 17:19. It is more recent, so... I don't understand. I also ...
1
vote
1answer
47 views

Equations not working in beamer

I'm trying to include equations into my beamer presentation, however every time i do it says that it has exited with errors. I have tried using \begin{equation} and \end{equation} and have also ...
1
vote
1answer
28 views

Problem in writing overline

I am trying to write this: This is what I wrote: $\pi$'$\cdot$role = $\overline{$\pi$$\cdot$role}$ But I am getting errors: paper.tex(37): Error: Missing } inserted. paper.tex(37): Error: ...
4
votes
3answers
120 views

Different counter for equations inside environment

Let's say I have a tcolorbox environment called note. Is there a way for equations that appear inside this environment to automatically assume a different counter from those outside? With ...
1
vote
1answer
36 views

Mesh arrow following the circuit. How? Bad minipage placement. How to fix?

I don't know ii there a similar question (I didn't found anything). If so, please forgive me. Also sorry my incorrect english. To the question. Here is my code: \documentclass{scrartcl} \usepackage[...
4
votes
3answers
47 views

Line break with equations in game tree labels produced with TikZ

I use this manual for help with the drawing of game trees using TikZ (http://www.sfu.ca/~haiyunc/notes/Game_Trees_with_TikZ.pdf). However, I have a challenge I cannot seem to overcome. Some of my end-...
1
vote
1answer
34 views

tikz overlay relative to equation

What would be the easiest way of overlaying tikz output on environments other than a page? At the top of the code below is an example that puts some tikz output at a specific place on the page. ...
0
votes
0answers
31 views

I want to end a proof with a multiline equation

This question is related to placement of QED symbol on numbered equation line but I'm hoping for a cleaner solution. I want to end a proof with a multiline environment which is numbered (actually, an ...
2
votes
2answers
34 views

align with long equations

I have a very long align* with lots of \intertext. Some of the equations are really long, like this: What is the most sensible way to typeset this? So far I have always used the following: &= \...
2
votes
1answer
23 views

remove parentheses that surround equation labels

My mWE is (following this answer)-- \documentclass{article} \usepackage{hyperref} \usepackage[capitalise,nameinlink,noabbrev]{cleveref} \creflabelformat{equation}{#2#1#3} \begin{document} \...
1
vote
0answers
24 views

Automatic breaking/wrapping of long equations (like clang-format)

When using C++, I already became somewhat dependent on clang-format which uses Dijkstra's algorithm (like LaTeX) to tune the whitespace in C++ code. It is amazing, I am not looking back to doing this ...
2
votes
3answers
111 views

How to do multiple columns of multiline braces in LaTeX?

Just like cases environment, with a 2-line (or more) big curly brace to the left of some short equations - but I want to have 3 or 4 columns of equations across the page, each with left-brace. So I ...
3
votes
2answers
36 views

Figure/Tables/Equations… counters

I'm currently trying to create a template of my own to unifiy all the documents (article class) I write for school and I'd like to change the functioning of the counters for the equations, figures and ...
2
votes
1answer
77 views

Problem with aligned environments in an enumerate environment

I wonder how I can take this code $\begin{enumerate} \item $\begin{aligned} \int\frac{dx}{\sin x\cos x}&=\int\frac{d(\sin x)}{\sin x(1-\sin^2 x)}\\ &=\int\left [\frac{1}{\sin x}-\...
0
votes
1answer
56 views

Math equations non italic

I am using \begin{equation} to write equation but it is in italic. How do i disable it ? The other threads all not for \begin{equation}. everything inside it is green \begin{equation} \label{eq:oa} ...
3
votes
1answer
40 views

Splitting a formula in table

I am a newbie in Latex and I have the following codes. \documentclass[12]{article} \usepackage{amsthm,amssymb,amsmath,amsfonts,amscd} \usepackage{caption,subcaption} \newcommand{\hmi}{\hat{\mu}...
1
vote
2answers
38 views

Reset equation counters with unnumbered sections

I would like use: \counterwithin*{equation}{section} \counterwithin*{equation}{subsection} with \section*{} because if the section is not numbered \counterwithin*{equation}{section} doesn't work ...
5
votes
2answers
304 views

Equation numbers are shown in reverse parentheses

I am using \begin{equation} a = b \end{equation} to write the equations in my paper. However, the problem is that the number related to each equation is not shown in the correct format like the ...
6
votes
1answer
61 views

Auto Breaking of Long Equations

There is the package breqn for automatically breaking long math equations. I have used it, but there are three problems that I am facing. First: How can I implement the "Drop Ladder Layout", ...
2
votes
1answer
44 views

How can I center equations?

My code is: onde \begin{equation} \pi(\textbf{x})=\frac{1}{1+e^{-(\beta_0+\sum_{i=1}^{p}\beta_ix_i)}} \end{equation} How can I put the equation in the middle?
2
votes
1answer
50 views

Italic or not in equations? [duplicate]

I have written two equations for the report of my Master thesis: $NLL_{k} = - \sum_{j=1}^n \ln(pdf(PD_{k}^{i},skill_{i}^{j}))$ $person_{k}(interest) = \dfrac{1}{n} \sum_{p=1}^n \dfrac{person_{k}(...
5
votes
1answer
69 views

Is there an alternative to \ref or \eqref that omits the chapter number without changing the overall behaviour?

I am using a thesis template from my university (memoir class) which by default appends the chapter number when I use \ref and \eqref, which is totally fine by me. But in some occasions I want to ...
1
vote
1answer
54 views

how to subscript when there is a cap on mathematical expression?

The following equation is typed using MS word When I tried to type same using latex with subscript _i ended up with this result bcoz there is a cap above subscript "beta". The latex output is this ...
4
votes
2answers
196 views

Using braces with equations - how to make fractional terms 'bigger'

I have some equations which display perfectly until I put them inside a brace and they become 'squashed'. Example: \begin{alignat}{2} u = \frac{\partial\tilde{X}}{\partial x}, v = \frac{\...
3
votes
1answer
28 views

Spacing and Page Break Issues for long equations. The aligned and align* dilemma

Basically, for one long string of equations, I need to be able to have it continue over multiple pages. I also need there to be a regular new paragraph space between the Title of the page and the ...
0
votes
1answer
23 views

How can I reduce the size in array environment?

My code is \[ D_{k+1}(x_{k+1}) = \min_{\begin{array}{c} \text{all } x_k \text{ such that}\\ p_{{x_k}{x_{k+1}}} > 0 \end{array}} \left[ D_k(x_k)-\ln\left(p_{{x_{k-1}}{x_k}} ...
3
votes
3answers
597 views

Plotting functions and denoting equation on the figure

How can I plot the functions P=20-1/5*Q and P=5+1/9*Q so as to find the equilibrium point? The figure I need is like the following: Furthermore, how could I put the equation on each ...
0
votes
1answer
37 views

Equation with condition [duplicate]

I'd like to create the following equation: Could you please give me a solution? Thank you.
4
votes
2answers
29 views

Using superscript after \middle

I'd like to write this formula with all parenthesis of the same size N = \left( \frac{s}{2} \right)^2 - \left( \frac{d}{2} \right)^2 so I tried N = \left( \frac{s}{2} \middle)^2 - \middle( \frac{d}...
5
votes
2answers
60 views

How to scale equation only when it is larger than linewidth?

I know that we can adjust the size of equation using: \resizebox{1\hsize}{!}{$ $} But I always have to digit that when I have a big equation. So, how to make latex percept that the equation is ...
1
vote
1answer
131 views

Optimization formulas in LaTeX

This is the code I'm using for my optimization problem. \begin{equation} \begin{array}{rrclcl} \displaystyle \min_{w,b,\xi} & \multicolumn{3}{l}{\frac{1}{2}w^{t}w+C\sum_{i=1}^{N}{\xi_{i}}}\\ \...
5
votes
2answers
271 views

solving systems of linear equations on the same line

I want to make this look better. When I cancel out some of the variables it doesn't cancel out well. I don't want a line to go underneath where I have E1 + E2 and as well as the others. Some of my ...