Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [split]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
337 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]{...
1
vote
0answers
50 views

Avoid abnormally long space in table using split

sorry about uploading this again. There is a lot of whitespace in the output for in the second column when I split my first column. Is there any way I can get rid of that? This is my MWE. I want to ...
1
vote
1answer
587 views

Array in multiple lines

I have a massive transfer function which I have used \eqnarray to write down in latex. I want to, however, break it up into multiple lines so it can fit on an A4 document. I would like to break it up ...
0
votes
2answers
100 views

Need help with equation alignment

I have used the following codes to produce two equations like in the image \begin{align} \begin{split} \label{eq:28} Pr(A) ={}& (0.457 \times 1) + (0.04 \times 1) \\ ={}& 0.497 \end{...
2
votes
2answers
258 views

How do I split equations in \tabu environment?

I'm writing a math paper, and I want to include workings in my tables. My tables are created in the tabu environment, and I want to split my equations as so: [variable]=[intermediate step] =[final ...
5
votes
2answers
346 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} %====================================...
0
votes
1answer
881 views

Splitting contents of a parenthesis to two lines [duplicate]

I have read about braces spanning more than two lines here, and in many other places but am not sure about the mistake i've made in the following code, \begin{align} p\left( {l,m,n} \right) &= \...
2
votes
2answers
228 views

Problem with { and } when splitting equation into two lines

I am using the following equation which works perfect when it is a single-line equation: \begin{equation} \mathrm{NPIF}^\ast_i \mathrel{\mathop:}= \sum_{j=1}^{\mathrm{N}_\mathrm{L}} \biggl\{ w_{\...
2
votes
2answers
495 views

Formula too long and \split fails | contains “sqrt” (square root)

I'm quite new to LaTex and I guess I need some help. I'm writing a report and I need to display a specific formula. If I use the simple equation environment the formula gets too long for one line. ...
3
votes
1answer
39 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]{...
2
votes
1answer
535 views

How to align this expression at the plus sign

I'm trying to split this expression into two parts and I want to align the minus sign right below the plus sign. However if I type: \begin{equation} \begin{split} E_0 \sum_{t=0}^{\infty} \beta^{t}_{...
2
votes
1answer
765 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{...
1
vote
1answer
1k views

Paragraph ended before \gather was complete error message

This equation gives me the Paragraph ended before \gather was complete error. How can I fix it? \begin{gather} \begin{split} \frac{dVout}{dpH} & =\frac{214.4 I_{bias} L}{\lambda_p k' W \big(V_{S}-...
1
vote
2answers
2k 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'...
4
votes
1answer
877 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} \...
0
votes
1answer
593 views

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

I have the following equation in Texmaker: \begin{equation} \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}+\...
7
votes
4answers
496 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,...
1
vote
2answers
305 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 ...
5
votes
1answer
235 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 \...
1
vote
1answer
85 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} %...
1
vote
3answers
65 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 ...
1
vote
2answers
1k 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 &...
7
votes
5answers
1k 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) ...
2
votes
0answers
152 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 ...
1
vote
1answer
412 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} \...
2
votes
1answer
136 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 ...
1
vote
1answer
42 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 ...
0
votes
1answer
45 views

error in spliting equation in two lines

I have tried writting this in one equation So I have tried the folowing : \begin{equation} \begin{split} \phi^{(1)}(x,y,t)=\int_{-\infty}^{\infty}-\frac{\gamma +\coth(\xi h_2)}{Q(\...
2
votes
2answers
210 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: \...
7
votes
4answers
11k 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 ...
0
votes
3answers
217 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 ...
7
votes
3answers
581 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 ...
3
votes
2answers
584 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. ...
1
vote
1answer
610 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 ...
0
votes
1answer
504 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 ...
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{...
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
705 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^{(...
1
vote
1answer
239 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 ...
1
vote
0answers
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 ...
1
vote
1answer
161 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 ?
2
votes
2answers
833 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{...
1
vote
3answers
172 views

Splitting a long equation in 2 pieces

I have this equation: \vspace{-2ex} \begin{equation} \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....
1
vote
1answer
341 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 ...
0
votes
1answer
753 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 ...
3
votes
4answers
129 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
3answers
253 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{...
2
votes
2answers
382 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} \...
6
votes
2answers
233 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 ...
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})(...