{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
58 views

Latex not showing properly citations

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 ...
8
votes
2answers
146 views

How can I fix a problem where italics prevent line breaking when using microtype?

I wish to use protrusion and expansion from microtype as I like the look you get with them. I use amsthm and typeset theorems in italic as usual (with \theoremstyle{plain}). With microtype enabled, ...
4
votes
1answer
49 views

Suppressing line break in enumerate environment

I'm using the gather environment within the enumerate environment. After creating an item/before entering the gather environment, LaTeX adds a linebreak which I don't like. \begin{enumerate}[(a)] ...
4
votes
1answer
82 views

Linebreak in \thanks footnote?

I am using the scrartcl class of Koma-Script with \thanks on the title page. Everything works as expected, so far, but I'd like to use a linebreak within the footnote. Here's an MWE: ...
1
vote
2answers
78 views

Tabbing and automatic line breaks without columns

I'm making dense revision notes so I'm trying to use all space possible e.g. tabbing and adding short notes whenever the previous item takes up significantly less than half the line \begin{tabbing} ...
2
votes
1answer
67 views

Inline math: Line breaking and stretching only in specified places

Is it possible to have document-wide solution for all inline formulas was breakable and stretchable only in pointed positions? Like $longformula1 \/ longformula2 \/ longformula3$ was able to break ...
6
votes
1answer
59 views

How to carry long text of \href to the next line while ocgcolorlinks is present?

This simplest code \documentclass[a4paper]{book} \usepackage[ocgcolorlinks]{hyperref} \begin{document} \href{"some URL"}{"long text"} \end{document} by compiling with pdflatex puts the "long ...
7
votes
2answers
176 views

\RaggedRight makes document longer

I have a document carefully written to fit in 4 pages; but when I added a \raggedright (or \RaggedRight with use of the ragged2e package) the length gets longer. Furthermore, suddenly the output ...
8
votes
2answers
200 views

How to force LaTeX not to break the line after a hyphen “-”?

With ~ we can enforce that no line break occures between two words. But this does not seem to work with special characters. I want LaTeX to enforce not to break the line after the - in (re-)creation. ...
1
vote
0answers
71 views

Avoiding newline in latex report

I am writing one auto report in which I need to have some breakline and vertical spacing. I use newline but sometimes it is in horizontal mode. So I have to use \leavevmode before it. \leavevmode ...
8
votes
1answer
64 views

Hyphenation does not work with acro and luatex, but with pdftex

I'm using luatex 0.70.1 together with acro 1.2 and I have the following MWE. \documentclass{minimal} \usepackage[ngerman]{babel} \usepackage{acro} \DeclareAcronym{DNA}{ short=DNA, ...
1
vote
0answers
44 views

Line breaking and long URL strings [duplicate]

I'm an B.Sc. in industrial engineering student who decided to grab a B.Sc. in finance as well and I'm currently working on my B.Sc. thesis in finance regarding risk management in mortage houses. The ...
5
votes
2answers
89 views

Line break in citation with organization as author

I have the following reference: @MISC{EX2012, author = {{S}ingle {A}uthor {O}rganization}, year = {2012}, title = {Example} } A citation for this is breaking after "Author", but extending ...
1
vote
0answers
60 views

list: overfull error

I'm getting error: Overfull \hbox (11.66551pt too wide) in paragraph Code: \documentclass{article} \usepackage{verbatim} \usepackage{graphicx} \usepackage{url} % typeset URL's reasonably ...
3
votes
1answer
84 views

How can one make LaTeX break lines between graphics correctly?

Consider the following code: \documentclass[]{scrartcl} \usepackage[demo]{graphicx} \setlength{\parindent}{0cm} \begin{document} \includegraphics[width=3.5cm]{} \includegraphics[width=3.5cm]{} ...
0
votes
2answers
72 views

Linebreak in table cell at document margin

In order to allow line breaks within a table cell, I use \parbox. But when the cells I want to have line breaks in are in the last column of the table, the best thing would be to break them at the ...
4
votes
1answer
120 views

vspace equivalent of newline

I am writing one report using LaTeX and R. I just found \vspace can be used for \newline. May I know how much \vspace == \newline? \vspace{x cm} = \newline x = ?
1
vote
1answer
56 views

Error while using leavevmode before newline

I am using \newline but I get some error message and I was suggested on this forum to use \leavevmode before \newline. It works fine for my code except at few place where I get this error message. ! ...
5
votes
2answers
123 views

How to create a page with two columns that can span pages to achieve my special goal?

I am a Chinese plain TeX user and also a beginner. Now I encounter a hard question, that is I must write some numbered English paragraphs at the left column and its corresponding Chinese ...
3
votes
1answer
138 views

URL in new line Bibtex

I'm being asked to put the url field in a new line after the reference information. Is there a way to do this using IEEEtran? Edit: Noting the initial suggestions, you can find the idea of the task ...
3
votes
1answer
105 views

Manually URL linebreak with Biblatex

First I should say that I don't have much experience with LaTeX. I'm using BibLaTeX and Biber. My Problem: I have a (justified) bibliography with long URL's containing long words. BibLaTeX makes a ...
3
votes
1answer
46 views

Add space in `brqalign`

Some time ago David Carlisle wrote an awesome brqalign function in this answer: http://tex.stackexchange.com/a/51543/4011. See the cited code below. How can I add space between the rows of brqalign? ...
2
votes
1answer
142 views

Automatic line break for writing context-free grammars?

I am currently writing context-free grammars in Latex, I have one production in each line, e.g. S -> a | B B -> C C -> D | d Currently I am using the math mode for this and a manual line ...
3
votes
2answers
74 views

line-breaking inside multirow environment in a pgfplotstable

I want to combine two string columns into one column. The contents of the columns should be in two lines, i.e., first column's content must be in the first row of the combined column and second ...
3
votes
1answer
112 views

How to wrap text in line by adding spaces

I am writing one text which has some very long words but i don't need to split word in multiline using hyphen. I just want to add spaces to fit in the line as shown below. This is my first ...
4
votes
2answers
140 views

Insert hyphenation point in BibTeX using PDFLaTeX and hyperref

How to tell PDFLaTeX to make hyphenation in place where I want it to be? I have my document file: \documentclass[10pt,a4paper]{article} \PassOptionsToPackage{hyphens}{url}\usepackage{hyperref} ...
2
votes
0answers
42 views

Right-align the prebreak symbol in a listings environment

I’m using the breaklines and prebreak option with listings, but I find it visually not very pleasing that the prebreak-symbols are not vertically aligned. I’d prefer if they were all on the very right ...
2
votes
1answer
91 views

Colorbox inside Multicols

So I am using the multicols environment and I want to have the background of some portions of the column colored. However, I see that multicols does not play well with xcolor and colored sentences ...
1
vote
0answers
39 views

How to break long expressions automatically in displaymode? [duplicate]

Whenever an expression is too long, it will be broken automatically in inline mode but done nothing in displaymode E.g. MWE: \documentclass[11pt]{article} \begin{document} ...
5
votes
4answers
166 views

How to add line break to caption without using caption package

I wish to add a line break to a caption, but I would wish to avoid adding of caption package. Is it possible? \documentclass{article} \usepackage[format=plain, ...
1
vote
1answer
80 views

How to get the abstract title to runin

We have written a style class file and I need the abstract to be in a special format to the rest of the report. It ought to look like such: Abstract - text text text... But with the current ...
3
votes
1answer
65 views

No correct centering when a line break is used

I have a centering environment inside a figure. In this environment, I have a text written in a footnotesize style. If I make a line break (\\) in the text, then the text is not centered correctly ...
5
votes
4answers
128 views

Line breaks and the URL package

Long URLs need to be broken at the end of a line. Here's a topic about that. That topic suggests adding the hyphens option to the URL package, and also to define ...
7
votes
4answers
140 views

How to break a line after the n-th word?

Suppose i have a raw text defined as: \newcommand{\rawtext}{this is some raw text with many words in it} How to break this line after a given word or position? Of course, i only have access to ...
7
votes
1answer
121 views

Why does Context line-break my quotation and leave the quotation sign on it's own row?

Using Context to set a book I have the following problem: Context linebreaks some quotations in a way that makes the quotation sign (in my case a guillemet [sic!]) appear on its own row. How can i ...
2
votes
1answer
93 views

How to break lines in conditions using algorithm2e?

I am trying to (partially) reproduce the algorithm displayed in Figure 4 from NetFlow: Information Loss or Win? My problem is with the multi-line conditions present in the "IFs". I want them to be ...
0
votes
0answers
20 views

Autobreaking for long numbers [duplicate]

So I have a really really long number (300 digits) that I want latex to show but when I write it it just overflows out of the edge of the paper. How can I make it automatically break to the next line ...
4
votes
1answer
82 views

Insert a linebreak only if there was none before

I am looking for a way to tell TeX: Please break that line if and only if you are not on new line already. I need this for a new environment which should always start in a new line. But I don't ...
2
votes
1answer
41 views

Prevent underful hbox in custom environment

I created an environment for a thesis about a framework, which formats documentation of some methods. The method(s) are at the top with one line per method, set with \lstinline from the listings ...
4
votes
3answers
176 views

How to wrap a word in line without hyphen?

I m writing one article in which i need to write a paragraph full of medical terms. How can i wrap a text in a line without using line break (or hyphen)? Regards
7
votes
1answer
153 views

How to get XeLaTeX do proper hyphenation and full justification?

I want to use XeLaTeX to design a paperback (11x19cm) using Adobe's Garamond and Myriad as custom fonts. It is entirely written in German. However, both hyphenation and full justification are a mess: ...
0
votes
1answer
176 views

How to fit the title into a single line?

I think I am just too new to the LaTeX environment. Do I just change the font size to fit the title into a single line? Then how do one change the font size of the title? Is there any other ...
3
votes
1answer
68 views

The statement of a theorem appearing on a new line

I'm using the amsthm package. The statement of the theorem currently appears immediately after the words "Theorem X." I'd like the statement of the theorem to appear on a new line. Is this possible?
1
vote
1answer
101 views

Problem with sizing side-by-side minipages

I've been writing up my resume in LaTeX (for the flashiness and also to get better with LaTeX), and I've been having some trouble with one of the macros I wrote, called \nrccolstring. \nrccolstring ...
4
votes
1answer
108 views

Creating an enumerate-description style environment

I've been trying to create a list environment to produce something that does the following: It has a counter (like the enumerate environment). The first line of each item is an overview of the item ...
3
votes
0answers
88 views

Automatically prevent line-break at hyphen of specific words (e.g. “dual-self”)

Usually questions about hyphenation and line-breaks are concerned about how to allow hyphenation when a word already contains a hyphen. That's not what I'm after: I would like to prevent the word ...
1
vote
0answers
74 views

Problem with Table of Contents chapter line breaking [closed]

I am working with the book document class. Concerning the table of contents, is there any way to break the chapter title as you like? For example, instead of e.g. How to effectively feed swiss ...
0
votes
0answers
63 views

Dots are smaller when UrlBreaks defined [closed]

this is an follow-up question to Forcing linebreaks in \url The solution \renewcommand{\UrlBreaks} works fine to break URL, but than the dot (.) in an URL is smaller in the pdf. The following MWE ...
4
votes
1answer
82 views

Line breaks in listings with long lines

This is a follow-up question to Line breaks in listings My MWE with a very long line demonstrate the problem: \documentclass{report} \usepackage{listings} \lstdefinelanguage{text}{} ...
5
votes
1answer
96 views

Overfull hbox with British English

I write in British English and occasionally I get an overfull hbox warning because LaTeX does not know how to break a word correctly in its British form. For example, the word 'analysing' causes an ...

1 2 3 4 5 14