{line-breaking} is about how (La)TeX breaks paragraphs into lines and how those breaks can be influenced.

learn more… | top users | synonyms (1)

0
votes
0answers
147 views

Define amount of space after \newline, \\, or \linebreak

How do I define the amount of vertical space there are after all new lines? I am looking for something that works like this: \define{x = 4} blah blah blah blah \\[x pt] blah blah \\[x pt] Where I ...
0
votes
0answers
20 views

Automatically avoid linebreaks before symbols and numbers

I want to have latex avoid starting a line with a number or symbol. Or at least print some sort of warning (similar to an overfull hbox warning). I know I can manually wrap each situation where this ...
0
votes
0answers
23 views

2-line leaf in tikz qtree [duplicate]

How can I get two lines of leaf text in tikz-qtree? Specifically what I want is to have a word with a gloss under it. So for example, the leaf would be "Tisch" with the gloss "'table'" directly ...
0
votes
0answers
42 views

Spacing between quote marks, letters and footnote number (xeCJK)

At the end of a line, a break sometimes happens between a quotation mark and the number of a footnote, while using xeCJK with xelatex. MWE: \documentclass{scrreprt} \usepackage{xeCJK} ...
0
votes
2answers
126 views

Text is spilling over the margin with standard margin settings [duplicate]

I have default margin settings, but certain text is spilling over the margin boundary. It happens when the final word on the line includes a hyphen. For example, if eye-movement happens to be at the ...
0
votes
0answers
24 views

Bizarre line-skipping in tex file

A tex source file that I have received from a coauthor is double-spaced (i.e. every even-numbered line is blank) when I open it in TexShop in Mac OS X, or in TexStudio. Naturally, the file won't ...
0
votes
0answers
54 views

seqsplit error: \SQSPL@scani has an extra }

I created some commands to allow me to easily handle Japanese text in Latex. Recently I added seqsplit to automatically break lines, as Japanese text is handled as a single word due to the lack of ...
0
votes
1answer
42 views

How to force long lines to automatically split into several to fit on the page? [duplicate]

Intro I have a list of elements in a tabular, where some elements of the last (3rd) column sometimes are long enough to overpass the width of the page. It is quite boring to have to go line by line ...
0
votes
0answers
120 views

Paragraph skip preserving titlesec, titletoc, table of contents, list of figures and indentation

I have hard time dealing with paragraph skip while keeping titlesec/titletoc, table of contents, list of figures and indentation the same (this is a french book). I have the following class: ...
0
votes
0answers
26 views

Aligning the equations [duplicate]

How do I align the two equations and label them? \begin{equation} \begin{split} \pd{EU}{\alpha} &= d(\theta) U'(\pi_{1}) [G_{\alpha}(\alpha, \theta, \epsilon) - \widebar{P} C_{\alpha}(\alpha, ...
0
votes
0answers
57 views

Is there away to force linebreaking at all costs?

I try to force linebreaks at all costs. I am not looking for an answer that tells me it is a good things that Latex lets you manually fix this. I have a script that produces pdf files via latex that ...
0
votes
0answers
52 views

New line, line breaking, `\\`: a definitive answer [duplicate]

In most basic courses of latex, they say that to separate two block of texts, you need to use \\ at the end of the first one. Anyway, this seems to be a bad practice according to lot of people (see ...
0
votes
0answers
35 views

What is the difference between \\, \par, and blank line [duplicate]

Checking today this topic, they talk about the difference between \\, \par, and even a new line. And that people does not know the difference. And indeed, I don't know it. Can you enlight me? And ...
0
votes
0answers
28 views

Line breaks in source code [duplicate]

When composing an article in LaTeX, where is it appropriate to break lines in the code? An easy (and adequate) answer is, 'Wherever you like,' but is there a commonly accepted standard (e.g., after x ...
0
votes
0answers
33 views

Does not break word into parts for a new paragraph [duplicate]

When I use \texttt{}, it does not break it into parts for new paragraph. Do you have any idea?
0
votes
0answers
12 views

\nolinebreak in \caption [duplicate]

I have long caption of figure element and dont want to break the line in particular place. I use \nolinebreak but get error: ! Argument of \caption@ydblarg has an extra }. <inserted text> ...
0
votes
0answers
29 views

Two columns template [duplicate]

I have a question regarding to two columns format. I want to use the following document in paper. While I want to write a multiline formula it goes to the next column and change everything to a messy ...
0
votes
0answers
23 views

Long url is not wrapped [duplicate]

In my report I have a long url in my bibliography section. it is not formatted as the other references. I followed this and this articles for that. But I cannot solve my issue. I am using LyX This is ...
0
votes
0answers
33 views

Paragraph break adjustment [duplicate]

I've been encountering an issue regarding the spacing between paragraphs: In this particular page, as there is a new section starting right on the next page, the paragraphs are stretched in order ...
0
votes
0answers
52 views

Why Latex cannot compile when I add “\left[ ]\right” [duplicate]

Successful code: \documentclass[a4paper,cs4size,UTF8]{ctexart} \usepackage{amsmath} \usepackage{mathtools} \usepackage{amssymb} \begin{document} ...
0
votes
0answers
55 views

Numbering figures in beamer while using the caption package [duplicate]

I am trying to number my figures in beamer while using the package caption but it doesn't work. I want to use caption because I can break a line with \\ and I like the way the caption is formatted. ...
0
votes
0answers
65 views

LaTeX adds a line break when the last line in a paragraph extends to the right margin [duplicate]

Could someone tell me why LaTeX adds a linebreak after stanza 11? [Edit: sorry, I think I should have used \par instead of double backslash \getroot{§10§} \par \getroot{§11§} \par \getroot{§12§} ...
0
votes
0answers
225 views

AucTeX turn off line breaks

In AucTeX I do not want line breaks to appear when I open the .tex with a different editor e.g. on writeLaTeX. I want lines to appear as if they are broken, so I can see everything in the default 80 ...
0
votes
0answers
182 views

How to make two line apex [duplicate]

I'd like to split the apex in two lines. I'm commenting a part of an equation with \overbrace and I need to split the comment in two line because it is too long. $$ x = \overbrace{y}^{very big ...
0
votes
1answer
184 views

Author formatting of multiline quotes in margin

I use my own command to typeset quotes in the margin of my document using pdflatex and memoir, see the MWE below. Each quote consists of the actual quote itself and its author. The problem I have is ...
0
votes
0answers
2k views

How can I use natbib and make my reference list resemble apalike?

My question is related to here and here, but I could not yet find a satisfying answer. I will use the same example from this post. I like the apalike reference style but I have trouble with breaking ...
0
votes
0answers
32 views

Allow line breaks in highlighted text [duplicate]

When I highlight a bit of text using \colorbox, it prevents line breaking. How does one give tex permission to break lines? Example: \documentclass{article} \usepackage{color} \begin{document} ...
0
votes
1answer
70 views

How to add a line-break inside a problem title?

I would like to state a problem in LaTeX with a somehow big title and I cannot find a way to separate the title in 2 lines. LaTeX keeps all this in one line. (Below is a sample code). ...
0
votes
0answers
61 views

Breaking line inside tikz node [duplicate]

I have the following code. I cannot for the life of me find a way to lay the table under the pink figure .. \documentclass{article} \usepackage[english]{babel} \usepackage{tikz} ...
0
votes
0answers
35 views

Badbox in TexnicCenter.. How to solve it? [duplicate]

After compiling my Project in Latex, I got 206 badboxes of all the types you want. However, I can only see the reference of the Badbox, for example: Underfull \hbox (badness 1607) in paragraph at ...
0
votes
0answers
30 views

Biblatex url in new line [duplicate]

How do I force biblatex to print a url in a new line? I'm using biblatex with bibtex8. greetz
0
votes
0answers
27 views

URLs out of page margin [duplicate]

I am writing a report in LaTeX. I am done with all of the work. Last thing that is remaining is that some of my references are going out of the margins and I don't know how to handle them. I Googled ...
0
votes
0answers
47 views

Equating line length in paragraph [duplicate]

Is there a way to let Latex automatically insert a line break not when it runs out of space, but earlier so that the lines in that paragraph have roughly equal length? In my case, I am trying to ...
0
votes
0answers
24 views

create a non breaking environment [duplicate]

Possible Duplicate: How to prevent LaTeX from line-breaking a phrase? I add names of persons into an index. How can I prevent that there will be a line brake in the name? ...
0
votes
0answers
1k views

How to get my teletype (\tt) text to wrap to the next line, rather than run off the edge of the PDF? [duplicate]

Possible Duplicate: \texttt overfull hbox problem How to automatically hyphenate within \texttt? Much of the LaTeX documents I write deal with computer-sciencey stuff that I like to put ...
0
votes
0answers
125 views

How to make sure that $ formula $ will be on one line? [duplicate]

Possible Duplicate: How can I prevent LaTeX from breaking inline formulas globally? How do I keep a string of text together without it doing a line break? So I have code like (sorry for ...
0
votes
0answers
71 views

Wrapping a long \numprint number [duplicate]

Possible Duplicate: How to typeset large numbers I need to write the decimal expansion of a very long number (more than 100 digits) that I'm typesetting using the numprint package. ...
0
votes
0answers
820 views

Multiline text under/over arrows [duplicate]

Possible Duplicate: How can I write multiple lines in a subscript? Force line break inside a \lim argument in align environment I want to write some multi-line text under a long arrow. ...
0
votes
0answers
117 views

How do I put a linebreak in a displaymath? [duplicate]

Possible Duplicate: How can I split an equation over two lines I have a displaymath formula that's too long. \linebreak and other commands that work in inline math don't seem to do ...
0
votes
0answers
737 views

Why does doing \\ in LaTeX causes Undefined control sequence error [closed]

I have a weird LaTeX error here. It seems as if the newline (\\) command is the culprit of a compilation error. The error shows up at the ending line of the .tex document: the \end{document} line, ...
0
votes
0answers
240 views

Unwanted line breaks in middle of words [duplicate]

Possible Duplicate: How to prevent LaTeX from hyphenating the entire document? I have a two-column article with custom margins. In some points of the text, line breaks occur in the middle ...
-1
votes
2answers
79 views

how do i create a linebreak in an inline math formula?

I tried to make a equation in Latex but the parentheses disappear near the edge of the page. How I put the equation in two lines? $\left(\omega=\frac{d\theta}{dt}=\int_{0}^{\dot{\theta}} ...
-1
votes
0answers
146 views

Latex not showing properly citations [closed]

I use the following latex command for citation at latex. \subsection{Subsection Example 1} some tex ~\cite{maccormack2003managing} some text and I get the following result. As you can see the ...