Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [split]

The tag has no usage guidance.

2
votes
1answer
32 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
30 views

Split Equation not working in trivial case in Overleaf

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
38 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
39 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
32 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} \...
2
votes
2answers
45 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
38 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
83 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
49 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
70 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
123 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
58 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
38 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
342 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
79 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
140 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
38 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
83 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
79 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
68 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
76 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
25 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
129 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
42 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
131 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
172 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
23 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
46 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
132 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
88 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
89 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
86 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
4k 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
165 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
15 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
41 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
165 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. ...
0
votes
1answer
48 views

split a long table [duplicate]

I have a table that is needed to be split since it does not fit one page. I can not manage to divide it, is there any way to accomplish this? \documentclass{article} \documentclass[a4paper,onesided,...
0
votes
1answer
108 views

Why does this error keep popping up? Missing { inserted. \end{split}

\begin{equation} \begin{split} G & =G$_x$+G$_y$ \\ & =E$_x$+$\frac{1}{2}$k$_B$T[xlnx+(1-x)ln(1-x)]\\ & + E$_y$ + k$_B$T[ylny+(1-y)ln(1-y)] \\ & =E$_x$+$\frac{1}{2}$k$_B$T[xlnx+(1-x)...
2
votes
2answers
43 views

Splitting a line to the edges

I am trying to prepare a multiple choice test sample using article documentclass. At the top of each test, I want it to write the test number and the topic of the test, but these two should be ...
0
votes
4answers
345 views

How to deal with big equations?

I have a system of equations where the equations are big (one line isn't enough). I found this solution (the second one, from egreg How to align a set of very long equations) to manage the "how to ...
7
votes
4answers
213 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} \...
5
votes
2answers
103 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?
1
vote
2answers
56 views

Too much space between the last line of the splitted fraction and the fraction line

Does someone know how to remove the space between the last line and the fraction line when using \splifrc in the following code? \documentclass[12pt,a4paper]{scrartcl} \usepackage{amsmath,amssymb,...
1
vote
2answers
85 views

Problem splitting/fitting equation

I am struggling with an equation that exceeds the page, as it is very long. I have already read that the best solution is splitting the equation, so I have tried using {multline} or {split}, but I ...
0
votes
0answers
80 views

Equations without numbers by use of \begin{equation} [duplicate]

How do I use \begin{equation} without letting my equations being numbered. However, at the same document i might need numbering equations some where else. The easiest way is probably to use something ...
0
votes
0answers
107 views

Split a long thin vertical table into 2 columns automatically

I have a long thin table that is filling a whole page. I think that splitting the table into two columns I can take advantage of the space on the page. However I'm still trying to do it automatically ...
0
votes
3answers
58 views

Split moves my equations to the left. Why?

Why does split move my equation to the left in the following code? \begin{equation*} \begin{split} \|V(\varphi)(t)-V(\psi)(t)\| & = \Big\|\int_{t_0}^t [f(s,\varphi(s))-f(s,\psi(s))]ds \Big\| \...
4
votes
2answers
200 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{...