Questions tagged [split]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8
votes
4answers
5k views

Writing Equation in latex

I am new to Latex. I am trying to write this equation in Latex, but I've been getting the following error: Missing $ \begin{equation} \label{tranfdc} \begin{split} T_v(s) &= \frac{V_{dc}(s)}{V_{...
7
votes
5answers
827 views

Using 'equation split', how can I ensure that only the last equation is numbered?

Consider the following: \begin{equation} \begin{split} a & = b + c \\ & = c + d \\ & = d + e \end{split} \end{equation} which outputs I want to do this so that the equation label (39) ...
7
votes
4answers
481 views

Align $:=$ with $=$ in align/split mode

I am writing a sequence of inequalities in math mode, where the first line defines the first object. To be clear, I have something like \documentclass[12pt]{amsart} \usepackage{amsfonts,graphics,...
7
votes
4answers
306 views

Aligning split equations to the left perfectly [duplicate]

Is there a cleaner way to align all equations to the left? The code below generates this equation: whose split-equations are not 100% aligned. \documentclass{article} \usepackage{amsmath} \...
7
votes
3answers
527 views

How to stop cases from spreading to multiple lines

Once upon a time, there was a 4 line code. A kid attempted to write it as equation (perhaps a bad idea). But, anyway, the attempt failed. The code in question had two tricky elements that made life ...
6
votes
4answers
531 views

Multline, split

I want to split this long equation into three or four (to fit on A4 paper) maintaining an alignment with equal sign. I have tried \split and \multline codes, but still it won't work. Maybe because of \...
6
votes
4answers
8k views

Split equations inside the align environment

I have some equations that I have written inside the align environment. Because some of these equations are rather long, they tend to spill over the page. I have tried using the split environment ...
6
votes
2answers
231 views

Is it possible to have an equation in align which crosses alignment boundaries?

I had a look at a few of the questions regarding align and split but didn't see anything which addressed this particular alignment issue: I have something like the following equations, with ...
5
votes
2answers
2k views

Unable to use \tag in split equation

So I was attempting to tag a equation in a split mode \begin{equation} \begin{split} \dot x &= Ax + Bu\\ y &= Cx + Du \tag*{Nobody Knows what these equations mean} \end{split} \...
5
votes
1answer
160 views

ConTeXt: Is there a way to create multi-page code listings?

I am using t-vim module and I would like to format my listings similar to figures with captions, but with the ability to spread them over multiple pages. I can see three ways to do it: Put the \...
5
votes
1answer
224 views

How to create a Fraction equation with '[]' while numerator and denominator may have more than two lines

How to create a Fraction equation with '[]' while numerator and denominator may have more than two lines: The new equation is: \begin{equation} q_{2n}^*=\Bigg[ -\frac{(\alpha -1) \alpha A_0^2 \...
5
votes
2answers
798 views

Error message when using split within alignat

\documentclass{article} \usepackage{mathtools} \usepackage{eqparbox} \newcommand\eqmathbox[2][M]{\eqmakebox[M#1]{$\scriptstyle#2$}} \newcommand{\prodsincos}{\prod_{j\in A} \sin\alpha_j \prod_{j\notin ...
5
votes
1answer
133 views

Multi-line long equation vanishes few brackets

\begin{eqnarray*} M \to {P_j}:{} & \left\{ {{{\left( {{n_1},{n_2},{{\left( {profile,{N_i},{N_i}\left( {\mathop \leftrightarrow \limits^{K_S^i} } \right){P_j},\\ & \# \left( {{N_i}\left( {\...
5
votes
2answers
104 views

What's the point of `split` inside `align`?

I sometimes see people using the split environment inside the align environment. What is gained by this? After all, align can already handle multiple lines, right?
5
votes
2answers
339 views

Split text into multiple nodes with tikz

I'm creating a card game and I want to generate the cards through TeX. Here's a minimal version of the code: \documentclass[a4paper, landscape, oneside]{article} %====================================...
5
votes
1answer
445 views

Split a text half in a page, half in the following page “at the same height” (so it can be duplex printed)

I'm a high school teacher, and I usually prepare class tests with LaTeX. I face the following problem: I can organize text so that - let's say - from 4 to 8 (different in content, but with the same ...
4
votes
2answers
133 views

An equation with two splits / differing alignments

I would like to layout an equation in the following form: x=5+3-4 -4+3+5 =8-8+8 =8 In words: I want to split the equation at two points; one where the first equation splits over two splits ...
4
votes
2answers
1k views

Math mode inside a table

I'm trying to put an equation inside a table. But every time I try, i will receive an error. I have about 10 equations of this kind: \begin{equation*} \begin{split} R_{1.0}= \bigl\{& \pair{\text{...
4
votes
4answers
203 views

Using `split` inside array and vertical alignment

The below code produces this: I want to get that second line top-aligned, so the $\frac{\partial^2g}{(\partial n^1_\mu)^2}$ and $\frac{\partial^2 g}{(\partial n^1_\sigma)^2}$ are on the same level. ...
4
votes
4answers
2k views

Split an equation into two lines

I have four consecutive equations. The third equation needs to be split into two. I need all the equations aligned. Also, instead of having each equation numbered separately, I want only one number ...
4
votes
2answers
230 views

How do I prevent large horizontal gaps when aligning?

The closest solution to what I'm looking for that I've been able to come up with so far is this \[ \begin{align*} A & = & B & C\\ & = & B & (D\\ & & + & E) \end{...
4
votes
2answers
203 views

Problem to left align within a split

I have a problem to align two blocks of equations within a split command. I would like the "subject to" in the following code, to be aligned to the left (where the miinimize function starts), but I ...
4
votes
1answer
709 views

Combine split and align environment

The split environment allows you to give one number to two equations, as in \begin{equation} \begin{split} a&=1+2+3+4\\ b&=5+6+7+8 \end{split} \end{equation} which gives Note that the ...
4
votes
2answers
1k views

How do I align a split environment to the left?

Consider: \begin{flalign} \begin{split} \text{Consider a function}: \pi:N \times N \rightarrow N & \\ \text{such that}: & \\ \pi (k_{1},k_{2}):= \frac{1}{2}(k_{1}+k_{2})(...
4
votes
1answer
63 views

How to deal with long equations without having to put “&” smart places in the align environment?

Does there exist an environment such that long equations behaves like this? And how do I do it without putting in & some random places in the first equation? This is the example tex code: \...
3
votes
3answers
188 views

multiline equation inside a matrix that is a part of multiline equation

I have an equation split to multiple lines. But the last line of the multiline equation contains 2x1 vector with long equations that go out of margin. How do I further split the equations in the ...
3
votes
3answers
249 views

how to split equation using a macro

i want to slpit an equation using only a macro: here the code i used : \[\begin{split} 0=E_{t} \sum_{s=0}^{\infty}\zeta^s M_{t,t+s}\left[\left(1-\frac{1}{1+p^{z}_{t+s}}\right)P^{\circ}_{t+s\textbar{...
3
votes
4answers
66 views

latex equation missing { inserted on end split

I looked up and tried many previous posts on the matter with no success, any help would be great! I am getting the error message : “latex missing } inserted” error message in equation" \begin{...
3
votes
2answers
656 views

How to split an equation inside two columns frame of beamer?

I want to enter the equation in two columns frame of beamer. This is my original equation: \begin{gather*} \begin{split} J=C(\sum_{i=1}^{m}{y_k^{(i)}log(h_\theta(x^{(i)})) + (1-y_k^{(...
3
votes
2answers
813 views

How to split a really long matrix

I have a really long matrix and I would like to show it in a split form once it reaches the wide limit of the page. I tried using split but it didn't work. I'm new to latex so there's many commands I ...
3
votes
4answers
126 views

Align long equations using a macro

How do I align this equation like in the picture below? Here is the code I used and my output: \[ \begin{split} \Biggl\{ \biggl( {1 - \frac{1}{1 + \rho_{f, t + s}}} \biggr) P^{\circ}^{X}_{...
3
votes
2answers
536 views

Two solutions to one statement

First question here; Hello, a friend of mine made this a while back, but can't remember the latex code to make it. I need to make it myself and have no idea how this is done. I need to know how. ...
3
votes
3answers
95 views

Fix a problem with surrounding braces in the splitting of an over-long set definition

Consider the following example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath, amsthm, amssymb, mathtools, thmtools, unicode-math} \begin{document} \begin{equation*} ...
3
votes
1answer
38 views

Two AMS splits inside AMS align

I have one align environment, within which I want to have multiple multi-line equations so that their equal signs align. I'm using split to make my equations multi-line. MWE: \documentclass[12pt]{...
3
votes
1answer
93 views

Over bad box or Extra alignment tab error

I'm trying to place a too large equation on my article, but having 2 differents error / bad boxes when trying solve 1 of them. Here my whole preamble: \documentclass[a4paper, 12pt]{article} \...
3
votes
2answers
96 views

How to align negative and positive values inside an align environment?

I have the following equation inside an align and split environment but I would like to align the values of the constants below (of c_1, c_2 and c_3) even with the negative sign. \begin{align} \...
3
votes
2answers
327 views

How can we split long equation in two or more than two lines in latex? [duplicate]

I am facing problem to split this equation in three lines. Where is the problem because whenever I run latex. It stopped and write missing }. The equation is \begin{equation}\begin{split} & A_{t}(...
3
votes
2answers
325 views

How to Split equation in aligned environment

I have two sets of equation in aligned environment. The problem is that one of the equations (As shown in slide below) is too long to fit on a single line. I want to split this equation without ...
3
votes
1answer
101 views

Compiling a .tex file into many pdf without include?

I would like to have a single .tex file, with a main section and an appendix. I would want however to compile it into two distinct pdfs. There are solutions using \include, see How to create ...
3
votes
1answer
68 views

How to add \hline after the last row of every pages

\documentclass{article} \usepackage{lipsum} \usepackage{cals} \usepackage[latin]{babel} \showboxbreadth=100 \showboxdepth=100 \makeatletter \let\oldDispatch=\cals@row@dispatch \newbox\rowBefore \...
3
votes
1answer
749 views

Splitting an equation with a long square root

I want to split up a very long equation. Here is my code: \documentclass[11pt,a4paper,oneside,onecolumn,article]{memoir} \usepackage[latin1]{inputenc} \usepackage{mathtools} \usepackage{amsmath} \...
2
votes
2answers
263 views

Splitting Formula over several lines (automatically)

I'd like to let LaTeX split a formula that's inside a fixed-width table. The formula is a group theoretical word (something like $a_1b_3a_5b_3^{-1}$). It should automatically split it somewhere ...
2
votes
3answers
51 views

Cannot split long subequations

I do not seem to be able to split two long sub-equations. I've tried multline, align, split and a few other possibilities but none of them have worked; I reckon a main issue is that I've got brackets ...
2
votes
4answers
90 views

What am I doing wrong in this use of split?

I'm doing something wrong in the code below that makes the last equation not be written on a line by itself. What I'm trying to do is to split the penultimate equation into two lines. But this ...
2
votes
2answers
199 views

How to split a PDF into chapters or sections?

I'm searching for a way to split up a full PDF into single PDFs containing the single chapters of the document. Usually I'm using pdfjam to split / merge / ... PDFs, is there a simple way to split up ...
2
votes
2answers
296 views

Amsmath split environment changes alignment inside gather

I am using an amsmath split environment nested in a gather environment in order to obtain a three-lined equation with a single label aligned in center: \documentclass[11pt, english, singlespacing]{...
2
votes
1answer
658 views

Equation number is not coming in align and split

I am using align and split in the following way, but equation number is not coming : \documentclass{article} \usepackage{amsmath} \begin{document} Equation \eqref{eqn1} shows \begin{align} \begin{...
2
votes
1answer
43 views

Expl3 seq with macros

I use it TeXLive with XeLaTex I had an Expl3 function to insert a character between the characters of each word. My code: \documentclass{article} \usepackage{expl3} \ExplSyntaxOn \seq_new:N \...
2
votes
1answer
88 views

ConTeXt: Split xtables across multiple pages

Background Use extreme tables to split tabular data across pages. Problem The \setupxtable command does not appear to be sufficient to force a table to split across pages. Also, a reference to ...
2
votes
3answers
214 views

How can I nest alignment environments together and get different equations numbering for the nested alignments?

In the equation above, \Delta_{X{lm}} is taken as one equation by using split environment. I want to align the ranges shown in Eq. 1 which I already did, but I want each range to get its equation ...