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

4,546 questions
Filter by
Sorted by
Tagged with
29 views

### Text equation in Lyx

I would like to write a text equation like this: The terms of the equation are text and every one should be written in several lines. Until now I am able to write the equation with text terms of ...
41 views

### Aligning on left (?)

Why the equation continues on the left side? It was always convenient for me when eq. continues on right, how to fix? P'(x)=0+a_1+2a_2(x-x_0)+..+na_n(x-x_0)^{n-1}\\ P'(x_0)=a_1\\ P''(x)=0+2a_2+6a_3(...
29 views

### How to create Numbered equation starting with the enumeration environment

I need to create the following: My code: \begin{enumerate}[(i).] \item \$\begin{aligned}[t] \sigma(0,\alpha,1,z;q)&+\frac{z}{\alpha(1+z)}\mu(0,\alpha,1,z;q)=\frac{1}{(1-\alpha q)}\frac{(1/\alpha ...
30 views

### Split environment causing chaotic alignments

I am having some trouble trying to split my equations to get the desired effect that I want. The first picture is how I want to be able to align my equations, the only difference is that in the first ...
40 views

### Fitting a long equation in tcolorbox

I am trying to fit a long equation in a tcbtheorem environment. The problem is, the equation sticks out the box on the right side. How do I fix this? I'd prefer to not use multline to break the ...
29 views

### Inconsistent Spacing Between Separate Equations

I just got some behavior I didn't expect for the spacing between equations; I think it's best explained through an MWE, which I put below. The question is: what is the reason for this? LaTeX, as far ...
30 views

### How to add a centered systeme inside an unnumbered list (itemize)

I am trying to obtain this: I use itemize and \systeme \begin{itemize} \item $\systeme*{3 - 4x > 5,6 + 9x \leq 1}$ \item $\systeme*{3x -6 > 2x,2x - 6 > 5x}$ \end{itemize}...
42 views

### Annotations above inequalities in a chain of inequalities, one slide at a time

I am trying to write a chain of inequalities with the following feature: first, on successive slides, I wish to highlight (for instance, with a tcolorbox) successive inequalities and annotate them ...
19 views

### Center equation vertically after passing through hyperref

\documentclass{article} \usepackage{amsmath} \usepackage{hyperref} \begin{document} \begin{align} f(x)=x \label{eq:one} \end{align} \eqref{eq:one} \end{document} With this set up (or without the ...
63 views

### How to automatically generate code

I am writing a paper that has lots of equations and it gets tedious having to retype my layout for each equation. Is there a way to automatically generate my next few lines of code after I type \begin{...
73 views

### Equation Parameters alignment

This question is similar to many others (infact the code I am using comes from an answer in a previous question: How to write a perfect equation parameters description?) The comment section is ...
17 views

### How to remove excess vertical spaces occur in the equation?

I would like to remove the vertical white spaces that occur when compiling this equation. Kindly help. \documentclass[12pt,border=12pt]{standalone} \usepackage{amsmath} \makeatletter \newcommand{\...
51 views

### How can I prevent long equation from span two column page?

I have long equation with integral and summation process. how can I prevent it from span two column? I am tired using splitting and multiline but I have error missing } or ). \begin{equation} \hat{r}...
28 views

### LaTeX alligned numbered equations

I am trying to align two vector definitions next to each other. Both equations are (and should be) numbered. I found a similar (answered) question on Stack but my equations doesn't seem to align ...
27 views

### Is the number of columns in align environment restricted?

I am using align environment to write First order conditions for Lagrangian. This is how my code looks like: \documentclass[a4paper,12pt]{article} \usepackage{amsmath,amssymb,amsfonts,amsthm} \...
33 views

### Equation label in math preview in Lyx

When I turn on instant preview, equations with labels will compile to something messed up, e.g. The Lyx code looks fine. Is this the intended behavior of instant preview with equation label? If not, ...
48 views

### Box around a formula with hf-tikz generates another box

I tried to surround the next formula with hf-tikz \begin{align} \tikzmarkin{ceigengo}(10.8,-1.8)(0,0.7) \qty(\frac{J'_m(\eta_1 a)}{\eta_1 a J_m(\eta_1 a)}+\frac{K'_m(\eta_2 a)}{\eta_2 a J_m(...
16 views

### Indent tag of equation to the left

I need an equation in which the equation itself is centered and the equation number (a custom tag) is located more to the left. \documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage{...
72 views

### Line in equations [duplicate]

How would you write the code for this expression?:
27 views

### bold the square brackets in KaTex

The question is simple. How can I make the square bracket of the following code 2 or 3 times thicker(bold) after rendering? \left[\begin{array}{rr}2 & -3 \\4 & 1\end{array}\right] I have ...
127 views

### Writing a piecewise function

I stuck to write the above piecewise function.
37 views

### Minimal latex template with left-aligned equations

I have the following minimal latex code on overleaf in an attempt to create a 12pt, 1in margin, letter-size document in Times New roman: \documentclass[12pt, letterpaper, fleqn, notitlepage]{article}...
41 views

### How to left-align equations with text in a minipage environment next to a right-aligned figure?

I'm trying to get a system of equations next to a figure using the minipage environment. This is what I have come up with so far: \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{caption} ...
37 views

### Help regarding how to type a long equation

If we have a long equation, how to typeset it successfully? After running the following lines I am not able get any output: \documentclass{article} \begin{document} \begin{equation} g(x)=\frac{...
201 views

### How to center the text in the equation environment?

So I am making some long logical statements, as shown in the code: \documentclass[12 pt,handout,notheorems]{beamer} \usepackage{pgfpages} \pgfpagesuselayout{resize to}[a4paper,landscape] \usetheme{...
130 views

### cloze multichoice question in the latex using the package 'moodle'

I use both Moodle and latex to write all my quizzes. but, I use latex to generate formula rich questions in moodle. The latex package Moodle can do this. Then I import it as XML file to moodle. This ...
30 views

### How do I customize equation numbering in IEEEtrantools?

I'm new to LaTeX. I'm using IEEEeqnarrayto align equations in my document (a compilation of solved problems), and I'd like to change equation numbering to (x,y) where x is the question number and y is ...
84 views

### Table formating with equations inside

I am trying to reproduce that : And so far this is what I have (MWE) : \documentclass[]{article} \usepackage{bm,amssymb,amsmath,colortbl} % bold in math mode \newcommand{\matr}{\bm{#1}} % ...
16 views

### Aligned equations with multiple tags per line

I would like to typeset something like this: except that instead of having just one tag per line, I want one tag per equation (A1, A2, A3, B1, B2, B3), with each tag appearing to the right of its ...
34 views

### Referring an equation in the appendix

I'm writing my thesis on LaTeX. The problem is the following: I'm trying to refer to an equation in the appendix, but the command \eqref gives me the wrong number. I use the command \numberwithin{...
52 views

### Problem with The Parentheses of Equation Numbering

I am trying to write an article in LaTeX using TeXstudio and XeLaTeX, because I am writing in Arabic. I have a problem with numbering the equation. It appears like this: The numbering of the equation ...
46 views

I need some help in this equation, this is the equation I've written, but it shows error missing \endgroup inserted. \begin{equation}\label{eq16} B=\frac{\frac{\hat{v_{ro}}}{\hat{v_{\theta o}}}\...
174 views

### Left-aligning equation within enumeration

I have an equation block within an enumeration. I want that equation block to be left-aligned with the enumeration (see red line). How can I do that? \documentclass[11pt]{article} \usepackage{...
17 views

### Underbrace in equation environment error

Code: %\documentclass[12 pt,handout,notheorems]{beamer} \documentclass[12 pt,handout,notheorems, serif]{beamer} %\documentclass[12 pt]{article} \usepackage{pgfpages} \pgfpagesuselayout{resize to}[...
156 views

### Equation sublabeling

Code: %\documentclass[12 pt,handout,notheorems]{beamer} \documentclass[12 pt,handout,notheorems, serif]{beamer} %\documentclass[12 pt]{article} \usepackage{pgfpages} \pgfpagesuselayout{resize to}[...
30 views

### system of equation with absolute symbole containing an under expression

In fact, I want to know how can I write this system of equation below:
34 views

### How can I ignore empty lines before, after, and inside an equation environment?

I would like an equation environment that doesn't care about empty lines. Normally, empty lines before and after equation start a new paragraph, resulting in additional vertical spacing around the ...
60 views

### I want to render a “flow chart” diagram, where arrows go between symbols (from one box to another) and not between boxes

I want to render a diagram that's like a flow chart, but where arrows go between a symbol in one box to a symbol in another box (as opposed to having an arrow that points from one whole box to another ...
65 views

### wish to replicate a symbol seen in an equation

i have a image and i want to write equation from the image how i can write g in equation ? at first i write g_{vix}\left ( s \right ) but g is not like g on the image
27 views

### Why am I getting this gap in my align?

Everything lines up as I want it to, except the middle part, I don't see why. \begin{align} \label{eq:energy_conservation_before} U_b &= -\frac{1}{2} \frac{\mu}{r_b} &&&& V_b &...
16 views

### Multiline equation is not working

I have a multiline equation as below: \begin{equation} l_{t i}\left(v_{t} j\right)=\left\{\begin{array}{ll} \\\ 0 & \text { if } r_{j}=r_{i} \\\ 1 & \text { if } r_{j}<r_{i} \\\ 2 & \...
24 views

### Text formatting within regression formula

I am struggling to understand why the font of the text within my equation looks weird (f.ex. the double "f" in "Effective" looks super wide spaced. Any idea how to make the text look nicely in my ...
52 views

### How to input vdots… system of linear equations

How can I get a system of linear equations identical to the one on this picture? Here is my code, there is a problem with \SHORTvdotswithin{=}, because there shuold be the distance between the equals ...
33 views

### Moving an unbreakable equation from one line to another

I have an equation that is being split between two lines. I would like to solve this by making it unbreakable. However, if I do this, it overflows into the margin. How can I force the unbroken ...
56 views

### Left-flushing a set of equations while controlling the position of their numbers

For the following, I need to left-flush the equations to be adjacent to the left margin while controlling the position of their numbers so that, for example, the numbers need to be separated from the ...
56 views

### vbox: splittable aligned equations? measuring true height after vsplit

I am learning low-level tex to write my own custom *latex macros. As an experiment I tried to put math equations (multiline or not) inside \vbox/ \hbox, measure their dimensions, and tried to split ...
190 views

### Need help with long equation

I need help with this equation. I'm trying to put it in one column and multiple lines and make it look nice. The format of the latex document is two-column. So (obviously) it has to fit in 1 column. ...
29 views

### Writting an Equation inside a Subfigure

I am making a big figure with subfigure for the "180 seconds thesis" challenge. My problem is that in order to include my equation, I had to make a screenshot of it and insert the pdf of the ...