Tagged Questions

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

learn more… | top users | synonyms (1)

12
votes
1answer
163 views

Does \\* within footnotes have any effect?

One is taught that \\* is an alternative to the line-breaking \\ that tries (often unsuccessfully) to inhibit a page break. Normally \\* would be used in ordinary ("body") text. (And I hereby ...
2
votes
1answer
119 views

Tabular seems to create huge white space between lines

I am having a strange problem with a document I write. When I insert a table latex produces huge white gaps between the text lines and sends the table to the next page. I thought two possible ...
7
votes
2answers
825 views

LaTeX is crossing its limits

Pardon for the funny title. I have a large report in the middle of which there is a sentence Let $\mathcal{L}$ : $\mathcal{O}$ $\rightarrow$ $\mathcal{S}$ be a function This shows in the report as ...
3
votes
1answer
268 views

Typesetting mathematical formulas in line breaking

When you typeset a mathematical formula is there a rule regarding the breaking of the formula in a new line, meaning if for instanse the formula breaks in a plus sign (+) or in a equal sign (=) then ...
8
votes
1answer
735 views

Overfull hbox in biblatex

I just ran into a problem using biblatex with a long author and title: The output extends past the right margin of my text, because biblatex does not insert a linebreak before the date. Please see the ...
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} ...
2
votes
1answer
76 views

Line break in table [duplicate]

I want to go on writing in the first array but in a new line. The command \\ is not working for this. Can anybody help me please? My code is: \documentclass{article} \usepackage[landscape]{geometry} ...
6
votes
1answer
118 views

Is there a standard for automatic line-breaking for text with various alignment types?

The context is that I'd like to not have to manually choose newlines and rather eyeball the length of text and possibly specify the number of lines or horizontal width the text should take up. I'm ...
3
votes
1answer
55 views

Obeylines in letterhead

when I am writing a letter and using the class scrlttr2. I would like to use \obeylines for the address, so I can just paste an address into my latex source code, i.e. somewhat like this: ...
3
votes
2answers
80 views

\hyphenation does not work

TeX trys to hypehnate my word "universeller" in a totally wrong way. It makes it to "Üniverseller" and removes the quotation marks in the front before. When I use \mbox it writes the word over the ...
4
votes
0answers
44 views

Minimum number of characters in the last line of a paragraph [duplicate]

Last line of paragraph should end with a minimum of five characters of the word. Is it possible to obtain this with LaTeX ?
4
votes
1answer
113 views

Splitting a very long word into several lines without using the \seqsplit package

I have a very long word (in a table tabular) that needs to be split up into several lines by using to the page margins. Normally I would use the advice given here and elsewhere but my word contains ...
4
votes
1answer
91 views

Problem with latex box

I defined a new command in order to create an empty box with a title. The code is the following: \newcommand{\mybox}[2]{ \textbf{\emph{#1}} \vspace{2mm} {\centering\fbox{ ...
5
votes
2answers
130 views

Line break with _

I have been searching what is the proper line break when using _ but I did not find any rules for that. I have a table which is too big and the content has to be divided into two lines. I have a name ...
1
vote
2answers
80 views

Line break after description label

How can I ger a line break after the label of a description environment item? I'd like to keep the indentation and the bold face for the item label, but I'd like to have the body of the item in a ...
2
votes
2answers
183 views

Simple newline in equation [duplicate]

I'm trying to line-break in the middle of a series of defined matrices. The code looks like: \begin{equation} I = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}, X = \begin{pmatrix} 0 & 1 ...
3
votes
1answer
173 views

How to make a line break in a TikZ matrix cell?

Can I use TikZ's own tools to make a line break in the matrix cells or do I have to use a tabular-environment or a \parbox? MWE (doesn't work, I included the faulty code) \documentclass[ 11pt ...
8
votes
1answer
92 views

Applications of various strength of \linebreak command

This is a curiosity-driven question. The LaTeX \linebreak command comes with five options, from 0 to 4, determining its strength. \linebreak[0] allows TeX to break a line where he normally does not ...
7
votes
2answers
71 views

Which choice of line-breaking parameters gives the minimum number of lines

Sometimes, you don't care about the "beauty" of TeX line-breaking algorithm, but just want that one or two extra lines in a document. When faced with such a situation, I start adding ~ at appropriate ...
26
votes
1answer
553 views

Why does TeX prefer an overfull box to hyphenating here?

Here is a short file which produces an overfull hbox: \documentclass[12pt]{report} \usepackage[left=1.5in,right=1in,paperwidth=8.5in,paperheight=11in]{geometry} \begin{document} \trivlist ...
4
votes
1answer
468 views

Xelatex polyglossia hyphenation

Is there a way to make the polyglossia package solve the hyphenation problem that presents itself in the log as "Overfull \hbox" automatically? (Note: I find that having shorter lines—even for the ...
4
votes
1answer
84 views

BibLaTeX: allowing a line break between citations for the same year in authordate-comp

I am using BibLaTeX, with the authordate-comp style. I have one citation where I cite seven citations for the same author for the same year, using \parencite. This results in a citation like ...
5
votes
1answer
63 views

Conditional Linebreak for back references

In my bibliography I use back references. Now, I would like them to appear flush right in the last line of my reference. This can be done easily with an \hfill. However, if the back reference becomes ...
6
votes
1answer
139 views

Allow/force word wrapping at ideographic spaces

I am making a set of flashcards to help me practice my kanji, and the format I want is quite simple: On the front, I'll have the character, and on the back I will have its meanings and readings (with ...
2
votes
5answers
131 views

Line breaking in equation

This is the equation I want to write in LaTex: I have read these advices, but for split and multilined commands it says that they are undefined (and also for multiline, but nevertheless this is not ...
2
votes
1answer
64 views

\tag{} causes line break in align environment. how to prevent?

while using the leqno and fleqn options of amsmath package tags tend to cause line-breaks: MWE: \documentclass{article} \usepackage[leqno, fleqn]{amsmath} \usepackage{mhchem} \begin{document} ...
6
votes
2answers
3k views

Automatic line-break in tabular

Sorry if I've missed the answer in another post, but I've literally spent 3+ hours googling this problem now. I'm making a tabular and I'd like to to automatically do a like break rather than going ...
4
votes
2answers
126 views

Problems with line-break in Chapter Title using a custom Command for Chapter

If you have to force a line break in a chapter title, this would be possible doing so: \chapter[][A Long title that has to be broken,\\ how sad is this!] But in my document I had to define my own ...
1
vote
1answer
70 views

Very ugly stretched Text

I got an enumeration within multicols that's very ugly stretched when there's a line break. How can I prevent this?
5
votes
1answer
137 views

Can \\ be omitted in verses?

As far as I know, a double line break introduces a new paragraph. Within verse this is used to separate stanzas, which can also be done with \\!. So in LaTeX source code for long, standalone poems, ...
1
vote
2answers
53 views

custom newline style in environments

I want to add something to each newline, like this: \documentclass{article} \newenvironment{mystuff}{dark magic goes here}{or here} \begin{document} \begin{mystuff} first row second row \end{mystuff} ...
2
votes
1answer
111 views

float row figure box - two lines in caption

I am trying to get the caption on two lines with this command but using \\ does not work. If anyone know how to do this it would be helpful \begin{figure} \begin{floatrow} \ffigbox{% ...
7
votes
4answers
180 views

Line breaks of math expressions in subfloat environment

I would like to show a figure in which there are a graph representation above its edge and node lists in LaTeX. I have written something like this: \begin{figure}[!ht] \subfloat[First figure]{ ...
3
votes
3answers
502 views

How to use `\newline` after an item list?

Concretely, this is what I am trying to do: \documentclass{article} \begin{document} \begin{itemize} \item This \item That \item Where \end{itemize} %if I put \newline or \\ here it ...
0
votes
0answers
54 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. ...
7
votes
1answer
84 views

Line break in siunitx product numbers

I was wondering if there is a way to allow for line breaks within product lists of the siunitx package: \documentclass{article} \usepackage{showframe} \usepackage{siunitx} \begin{document} This is ...
2
votes
1answer
114 views

How to wrap section?

I would like to wrap the section. How can I do it? The following code is my MWE. \documentclass[b5paper,10pt,twoside,parskip=half,numbers=noenddot,bibliography=totoc]{scrbook} ...
3
votes
1answer
72 views

condense non-numbered bibliography into one line

What I am trying to do is basically the same as (almost) answered here: http://tex.stackexchange.com/a/5574/39336 The difference is that I am using a different bibstyle. This bibstyle creates the ...
3
votes
2answers
124 views

Space between images

I use \\ for line breaks like the followings. I am wondering if there are better ways to do rather than adding \\. Thank you in advance for your help. \documentclass[fleqn]{article} ...
2
votes
1answer
106 views

newline in description of `newglossaryentry`

How is it possible to get a newline at the beginning of the description? So the description starts at second line? MWE: \documentclass[11pt,english,ngerman,numbers=noenddot, headsepline]{scrreprt} ...
9
votes
1answer
152 views

How to float something right even if it wraps down a line?

I have a situation where I have some data in section headings (and sometimes normal paragraphs} that needs to be: floated right not split across lines I was able to accomplish this for most cases ...
4
votes
3answers
61 views

cellspacebreak macro

(I am rolling my own little system to take my LaTeX file and convert it to reasonable HTML and Epub. I have run into the following problem.) I would like to keep my tabulars very simple. There are ...
5
votes
1answer
92 views

How to enable line breaking in the standard proof environment with amsmath?

I want to redefine the proof so it accepts linebreaks in the name \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep6\p@\@plus6\p@\relax \trivlist ...
5
votes
2answers
426 views

Manually break lines like auto-breaking in lstlisting

I would like to decide where the long line should break, but with actions pre-/postbreak and without advancing in line numbering. I've tried that one: \documentclass{article} \usepackage{color, ...
11
votes
4answers
345 views

How to break this long radical into multiple lines?

I've got a very long radical in a display-math environment, so long that the equation spills in the right margin. How can I break that equation over multiple lines, so that it doesn't go into the ...
3
votes
1answer
72 views

Make a command start new line in a list if it is not currently at the end of another list

I am trying to typeset a structured proof as demonstrated by Leslie Lamport in his paper How to Write a 21st Century Proof. In particular, I am trying to typeset Figure 3 (shown below). My code and ...
4
votes
1answer
95 views

Bigfoot - problem in automatically or manually perform line breaks

I am using the bigfoot package in order to have two categories of footnotes along with the parameter para, in order to place the footnotes one after the other. The problem I am facing is on the line ...
5
votes
2answers
164 views

How to break a paragraph between double {}

Document class I use the following document class: sig-alternate.cls The document class can be found at: http://www.acm.org/sigs/publications/proceedings-templates Problem: I have the following ...
7
votes
1answer
181 views

Automatic line breaking and \hfill

I work on a CV and I would like to write some content (e.g. conference information) on the left side of the page and a date on the right side of the page. Because the content on the left side might ...
3
votes
1answer
99 views

How to define this new environment and avoid the hidden errors?

I want to define a new environment ends with a $\omega$ in newline. But environment like displaymath already start a newline after itself, so I do not start a newline in this case. That is, start a ...