Questions tagged [split]

The tag has no usage guidance.

0
votes
0answers
17 views

Manually break an equation chain and adjust indentation

If an equation chain is too long I normally spit the chain in the following way \begin{equation} \begin{split} x&=y\\&=z\\&=w \end{split} \end{equation} However, if x ...
1
vote
1answer
26 views

multiline equation with indentation control

I have a following multiline equation, \begin{equation} \label{eq:19} \begin{split} I_{1\to 1}(2)&=\tanh\Big(w^{ro}_{1,1}\cdot{h_1}^{x_1}(2) + w^{ro}_{2,1}\cdot{h_2}^{x_1}(2)+ w^{io}_{1,1}\cdot{x}...
1
vote
2answers
36 views

switching alignment

I'm new to Latex and its environments such as split and align and I'm trying to change the alignment of an equation in a customized manner. I have a set of equations similar to what you can see in the ...
2
votes
2answers
44 views

2nd line of equation is indenting to the right

I have looked at answers to this question extensively and tried copied them but the second line of my equation keeps indenting to far to the right. How do I make it look normal? \begin{...
1
vote
0answers
15 views

Splitting fraction numerators in mathjax? [closed]

In standard latex, \splitfrac can be used to split a large numerator across two lines, and you can nest splitfrac to break up a numerator into three or more lines. But mathjax doesn't seem to support ...
0
votes
2answers
62 views

display 2-3 lines if too long

i use datatool and connect Text and Image together. See attached image. If this text (Text A or Text B) is long, then split 2 lines. Minimal Working code: \RequirePackage{filecontents} \begin{...
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 ...
1
vote
2answers
51 views

hyperlink pointing options for multiline equations with centered labels

I have a split equation as in the MWE below. However, when I click on the corresponding hyperlink, it directs/ points me to the text line right before the first equation line. I would like it to point ...
4
votes
2answers
128 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 ...
0
votes
1answer
42 views

Viewing latex file and pdf file in split screen mode

I want to have both latex source code on left half of screen and compiled pdf file on right side of screen. How can I do ths
1
vote
2answers
54 views

Error: Extra }, or forgotten \right while keeping the correct hight of brackets [duplicate]

The following works fine, \begin{equation*} \begin{aligned} \begin{split} \left\| \left(a - c\right) - \frac{|b|^2\cdot |d|^2}{|b \times d|^2} \left[ ...
2
votes
3answers
49 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
1answer
41 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
0answers
34 views

Split Equation not working in trivial case in Overleaf [duplicate]

I,m quite new at LaTeX and I've been having problems with the split equation environment with error messages on every line in my environment. I'm trying to isolate the problem and I've reduced to ...
1
vote
0answers
58 views

Minted does not split code when reaching end of the page

I am trying do to a custom template for minted with background color, line number, title,... However I have an issue with the end of the page. The code are not splitting to a new page but just ...
0
votes
2answers
49 views

how to get two align point with split equations

I have this equation: \begin{equation} \begin{split} \alpha &= \frac{1}{100} S \sqrt{2g} = 2.2444e^{-05} \ [m^\frac52/s]\\ \beta &= \pi r^2 = 0.0079 \ [m^2]\\ \gamma &= \frac{...
0
votes
0answers
42 views

“Simpler wick” in a split environment and undefined references

When I run \documentclass{article} \usepackage{simpler-wick} \usepackage{amsmath} \begin{document} \begin{equation} \begin{split} x &= \wick{\c a \c b}\\ x &= y\\ \end{split} \end{equation} \...
1
vote
2answers
55 views

How can I create a table with multiple items?

I am trying to create a table for my thesis. But it has many items. How can I do that? I would be better if it fit on one page. Also, how can I remove tha space of between the lines of the table to ...
0
votes
1answer
48 views

How to use \def to redefine \end{split}?

When I use \def to redefine \end{split}, there is an error. \documentclass{article} \usepackage{amsmath} \begin{document} \def\be{\begin{equation}} \def\ee{\end{equation}} \def\bs{\begin{split}} \...
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 ...
1
vote
2answers
43 views

dialog environment advise

I use longtable environment to make a dialog, like this below. I prefer it than the dialogue environment because of: the || lines at the left the style of the speaker's name (separate from the text) ...
1
vote
1answer
51 views

How to let a long equation be broken between pages?

I have a huge equation consisting of several matrices. It is stuck together and has to be moved completely between pages causing white spaces in the preceding page. I had to resize it but seems that ...
2
votes
1answer
89 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 ...
2
votes
2answers
185 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 ...
3
votes
1answer
65 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 \...
1
vote
1answer
42 views

Aligning multiple equations split

I want to replicate this: However I got this: Can anyone help me please? My MWE is this: \immediate\write18{makeindex \jobname.nlo -s nomencl.ist -o \jobname.nls} \documentclass[a4paper,11pt,...
1
vote
2answers
421 views

How to write a long equation without it going over the margin?

This is my LaTeX code I'm using these packages \usepackage{physics} \usepackage{amsmath} \usepackage{amssymb,latexsym,mathrsfs} And the code is \documentclass[a4paper]{article} \usepackage[utf8]{...
1
vote
2answers
106 views

Wick contraction in a split equation

I have a long expression over many lines for which I want to insert a few Wick contractions. To be clear each wick contraction will stay on a single line but the whole expression is many. I find that ...
5
votes
1answer
150 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 \...
1
vote
2answers
39 views

Splitting and flushing equations inside align

MWE \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &f = \text{here goes a very very very very very long equation} \nonumber \\ &\hspace*{7.5cm} + \...
1
vote
3answers
87 views

Set alignment in`split`

I want to state a linear programming problem in the conventional manner. The following code \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{setspace} \usepackage{multirow} \...
2
votes
1answer
83 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 ...
3
votes
2answers
87 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} \...
1
vote
1answer
89 views

How to split equations in subequation mode

I have the following set of equations in subequations mode and i want to split some of those long expressions to 2-3 lines: \documentclass[12pt]{report} \usepackage{amsmath} \begin{document} \...
2
votes
1answer
26 views

How to keep a uniform size of the brackets in an equation?

I am new to latex. I have to type a very long equation in my document. I try the following and it produces the long equation but I cannot produce the same size bracket. \documentclass{book} \...
5
votes
1answer
132 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( {\...
2
votes
2answers
71 views

How to reduce spacing in aligned equations?

I currently have the following markup to render aligned equations: \[ \begin{split} \sum_{j=1}^{n+1} j \cdot j! &= \overbrace{(n+1)!-1}^{A(n)} + (n+1) \cdot (n+1)! \\ &= ((n+1)+1) \cdot (n+1)!...
0
votes
2answers
174 views

how to split the text in the cell of table

I need to split the text in the cell. I have tried the \par but this command doesn't work inside the brackets { }. My attempt is below. \begin{table}[] \centering \caption{Caption}\label{tab2} \begin{...
1
vote
2answers
250 views

Line break within an align-environment

I want to write a long calculation with the align-environment. One of the lines is too long for one line though, so I want it to split into two lines , with the second line right-attached. Example: ...
1
vote
1answer
24 views

One big figure over three smallones in a beamer frame?

How can I put 1 big figure with 3 small evenly sized figures below it in a beamer frame? I've used subfigure for splitting but that gives even sized thangs which isn't what I'm going for ... :)
0
votes
2answers
59 views

Incompatibility between split and empheq?

I have an issue using split inside an empheq environment. When combining both environments, the alignment of the empheq is broken. Any clues ? If this is a duplicate or an obvious/known ...
1
vote
1answer
193 views

Problem with using Split inside math mode

Below code is working fine. \begin{eqnarray*} \begin{split} (U\ket{v},U\ket{w}) & = (\ket{v},\ket{w}) \\ || \ket{Uv} || & = || \ket{v} || \end{split} \end{eqnarray*} But if I define ...
0
votes
2answers
116 views

Splitting long equation in LaTeX

I am having the following equation: \begin{equation} \sum^{n}_{\stackrel{i=1}{(j,i)\in Q}} \left\{ w^{1}_{ijR}+\sum^{m=1}_{\stackrel{(m,i)\in Q}{m\neq j}} \left[ (w^{2}_{ijmR}+w^{2}_{ijm,R-1}...
1
vote
1answer
120 views

Modify a particular posterbox from tcolorbox in a sequence

Here is an example of sequence with poster in tcolorbox: \documentclass{article} \usepackage{tcolorbox} \tcbuselibrary{poster} \usepackage{lipsum} \begin{document} \begin{tcbposter}[ poster = {...
1
vote
3answers
92 views

How to split an equation through text?

\documentclass[12pt]{report} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage{tikz} \usepackage{graphicx} \usepackage{float} \usepackage{framed} \usepackage[hang,flushmargin]{...
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_{...
2
votes
3answers
195 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 ...
0
votes
0answers
17 views

Failure of newcommand for align/split environment [duplicate]

I use the following commands for equations that extend over several lines, but only have a single label: \begin{align} \begin{split} \label{mylabel} ... \end{split} \end{align} This works fine, but ...
0
votes
1answer
48 views

wrapping long equation using square stretched bracket [duplicate]

How do we split long equation in which a command \left[ and \right] is used? My equation is as follow \begin{align} \begin{split} z &=-2Re\left[B^\ast\left(\frac{1}{2}\sum_{k=0}^{N}\alpha_k\zeta^{...
4
votes
4answers
195 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. ...