# Questions tagged [split]

The tag has no usage guidance.

148 questions
Filter by
Sorted by
Tagged with
1k views

### How do I split a long equation with equal sign on new line? [duplicate]

I have a long equation that must fit in a two-column journal. I know how to break up the right-hand terms nicely, but even so it won't fit and I need the equal signs to start on a new line, but I can'...
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} \...
568 views

### Bad math environment delimiter when using \begin{split} and \end{split}

I have the following equation in Texmaker: \begin{split} f_{2}(\tau)I_{\theta}(\tau)|_{W_{2}} & = \frac{8\dot{a}c\lambda \e^{2\tau} (\lambda^{2}-\e^{2\tau})}{v_{0}(\e^{2\tau}+\...
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,...
259 views

### Rescaling equation in align+split environment - Numbering problem

I'm trying to rescale my to long equation in align + split environment (to get only one numbering). I found a method from here which is pretty useful. However, the numbering is altered and is ...
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: q_{2n}^*=\Bigg[ -\frac{(\alpha -1) \alpha A_0^2 \...
78 views

### How to split text in longtable

Why is not the text in the table below split automatically? I use the environment longtable but the text is not split into two pages but I get the picture below. \documentclass[10pt,a6paper]{book} %...
60 views

### formulas on the left

I would like to change the way the formulas are written in my thesis. As it can be seen, I have both equation and eqnarray. Sometimes, the option \\ is used to start a new line. If this option is used ...
937 views

### How do I left-align this equation?

I wrote an equation in LaTeX, and it is centered. How can I left align it but without losing the split? (I still want the equal signs one under each other). Code: \begin{equation*} \begin{split} a &...
824 views

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

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

### How to allow page break with pdfpages package?

I am trying to find a way how to allow my included pdf document to split between two pages. Currently, I am adding a pdf document as an appendix. Since the pdf's first page is too big it does not fit ...
126 views

### Split a string based on keyword and delimiters

Problem: I have two words that I would like to split into two variables. For instance: Word 1 [Word 2] Minimal Working Example: I have not been able to generate a minimal working example as I have ...
41 views

### Use split to align equation and the operation which is applied

I want to display an equation on multiple lines. I know that I can align multi-line equation with the split environment. But now I would like to align the equation by the equal sign and display at the ...
45 views

### error in spliting equation in two lines

I have tried writting this in one equation So I have tried the folowing : \begin{split} \phi^{(1)}(x,y,t)=\int_{-\infty}^{\infty}-\frac{\gamma +\coth(\xi h_2)}{Q(\...
205 views

### Visually grouping split equation

Is it possible to put a line next to a split equation indicating that the equation number applies to multiple lines? I'd like to achieve a similar effect to that in the following image: MWE: \...
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]{...
377 views

### Vertical spacing in equation after splitting

I need to reduce the vertical spacing after a formula. After I split the formula, the vertical space increased. Code: Objective Function \setlength\belowdisplayskip{10pt plus 1pt minus 10pt} \...
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 ...
205 views

### LuaTeX: Split path string for use in macros

I would like to parse a path in Lua in order to split it into its folder and file components. The goal is to create a macro that accepts an argument of the form myfolder/myfile and be able to use ...
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 ...
562 views

### Wrap a long, multiline, unwieldy equation in case environment

This is ugly: But, the equation is hard to reduce without making convoluted substitutions. I have ideas to improve, but don't know how: Remove spacing after the commas Pad between the lines ...
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{...
468 views

### Algorithmicx - Indentation rules using \algstore

I'm writing a very long algorithm which can't stand on one page, I have to split it using \algstore and \algrestore commands provided by the algorithmicx package. Moreover, I'm using code from this ...
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} \...
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^{(...
63 views

### Weird problem with hyphenation, no MWE unfortunately

I am not sure what's wrong with the .tex file, and I can't generate a MWE, but it seems like my manuscript uses hyphenation (splitting a word across two lines) at weird places. For example, it split ...
143 views

### Splitting a long text in an equation

I want to split a long text in an equation. I also tried split and multiline but not working. Could you provide some suggestion ?
214 views

### Split a bracketed equation over multiple lines in a table LaTeX

I am relatively new to Latex. I am trying to create a table which holds a number of equations. I have been successful with shorter equations but I am getting stuck with longer ones as they go over the ...
724 views

### Split matrix over two lines

I am having troubles in splitting the following equation over two lines - it is too long to fit in one line. Ideally, I would like to split it between \end{pmatrix}= %%% split here \begin{...
310 views

### How to split a long constraint in this optimization problem?

I have an optimization problem that has a long constraint. So, I would like to split it. Obviously, I search how to split long equation but I did not find my answer as the problem is related to how I ...
142 views

### Splitting a long equation in 2 pieces

I have this equation: \vspace{-2ex} \label{TVgen2} w_q=\min\limits_{w_q}{\left\| w_q \right\|^\alpha + \frac{\beta}{2} \left\| l \ast f_q-w_q \right\|_2^2} \; \text{for} \; q=1,..,Q....
655 views

### using tcbraster to split page

I would like to split my document using 'tcbraster' but it doesn't work I mean by split page something like what you did @Christian Hupfer in this post Split page in two contents which are ...
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. ...
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}_{...
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{...
343 views

### Missing } and { inserted when using split

I'm trying to split an equation but get errors stating: ! Missing } inserted.<inserted text>} \end{split} ! Missing { inserted.<inserted text>{ \end{split} \documentclass{article} \...
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 ...
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})(...
530 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 \...
2k views

### dmath and alignement

I use the dmath environnement to split equations. I am not satisfy how it manages the alignement of each new lines. In particular, here, Sometimes equations are aligned with respect to the begin, ...
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 ...
133 views

### \vsplit break any list

I still try to make a normal style for bilingual document. First I tried to use \paracol. I found that it works awful on large texts, adding infinity amount of empty pages after some moment. Second, I ...
2k views

### Unable to use \tag in split equation

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

### Split in Align - getting ! Missing } inserted error

I've been trying to split equation as follow in align but it doesn't seem to be working. I'm getting "! Missing } inserted" error. Can someone please help here. Thanks \documentclass{article} \...
117 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]{...
708 views

### Combine split and align environment

The split environment allows you to give one number to two equations, as in $$\begin{split} a&=1+2+3+4\\ b&=5+6+7+8 \end{split}$$ which gives Note that the ...
\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 ...