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

learn more… | top users | synonyms (1)

5
votes
0answers
272 views

Myanmar (Burmese) line breaking with XeLaTeX

I am having trouble getting Myanmar text to break at the end of lines properly. The previous question How do I wrap text that doesn't use SPACE character to segment word would appear to solve my ...
4
votes
0answers
193 views

How to line-break cites correctly (hanging-over problem)?

while using Bibtex, I experienced an frustrating issue with line-breaks on cites in my block text. I have chosen to use the following bibtex implementation: \bibliographystyle{plain} ...
4
votes
0answers
272 views

break lines in minted code

Thanks to this question minted is able to break long source code lines. It is working really fantastic, except in one case: When already indented code gets breaked into two lines, than line two gets ...
4
votes
0answers
118 views

Preventing line break at the start of a long name in `\lstinline`

This question has developed from How to deal with very long lstinline-phrases like long class names?. That question is about line breaking inside a \lstinline phrase. I have provided an answer which ...
3
votes
0answers
28 views

Greedy line breaks for 2 lines

I have some text to typeset which is short enough so that it fits to either 1 or 2 lines. I'm using \raggedright. I'd like to set up parameters like \hyphenpenalty so that as much as possible would ...
3
votes
0answers
59 views

Ugly linebreak in texniccenter

After the update some weeks ago to the new version of the texniccenter editor, the linebreaks have become very ugly. For instance, if ''... is positive.'' does not fit in the line, then before it ...
2
votes
0answers
51 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 ...
2
votes
0answers
76 views

How can I line-break a long string of numeric digits and hyphens?

I have a cls file that contains a definition for source code: \lstnewenvironment{code}[1][] { \lstset{ basicstyle=\ttfamily\footnotesize, breaklines=true, ...
1
vote
0answers
54 views

Spacing between single line paragraph with lettrine

I'm having the following problem with lettrines and paragraph with a single line : \lettrine[lines=2, loversize=0.15, findent=1em, nindent=0em ]{1}{}% First step. \lettrine[lines=2, loversize=0.15, ...
1
vote
0answers
63 views

Alternative for `\linebreak` in inline math mode

Looking at this question and the chat that followed it, I was wondering what would be considered best practise to include line breaks in inline math mode (breqn does not quite work; there's some ...
1
vote
0answers
40 views

How to force a newline after subsection?

I am trying to force a newline after subsection. How can i do that? I am using conference documentclass. Instead of 1. Subsection: This is a boy i want 1. Subsection This is a boy
1
vote
0answers
129 views

mdframed - eliminating newline and top/bottom space /margins

I'm totally new to (La)TeX, but trying to learn to become more independent. So I'm writing a document which includes periodical revisions that need to be marked in a specific way (a thick black ...
1
vote
0answers
54 views

Extra spacing before an equation when line nearly breaks

I am having difficulty with producing an MWE, but let me describe the issue. I have a large document with tons of equations and run into issues with spacing. Most of the time it is fine, everything ...
1
vote
0answers
29 views

Separate sectioning titles for main text, headings, and toc for line breaking purposes

I am using the titlesec package with the toctitles option, which modifies the optional argument of sectioning commands so that this optional argument is used only in headings; the non-optional ...
1
vote
0answers
40 views

suspended hyphen without linebreak between word and hyphen

I have a word combination like this metallo-porphyrins and -phthalocyanines which eventually gives a linebreak between the hyphen and the word phthalocyanines. I tried to include the ngerman package ...
1
vote
0answers
75 views

why changing page margins using geometry package causes bad math inline break?

I had no idea that changing page margin size can cause problems with line break with in-line math. I have this MWE that shows one problem. I like to make the page margins smaller, so I can fit more ...
1
vote
0answers
73 views

How to set word wrap for enumerate items in booklet?

The code below is based on the code from booklet manual Chapter 2. I used the enumerate environment. The problem is that words are stretching out of the paper. It won't break line automatically: I ...
0
votes
0answers
56 views

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

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
26 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
29 views

italic doesn't admit line break latex

I am really new in Latex, I have the problem with italic, when I am using \emph{.} to make words italic, it doesnt admit to line break: How can I use this problem? UPDATE könnten in vier ...
0
votes
0answers
62 views

How to make two line apex

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
0answers
106 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
62 views

biblatex, homemade newbibmacro and problem with margins

I am starting to use biblatex and I have read very little documentation. Currently, I have some hurry, so I am looking for more straightforward answers in the forum. I beg your perdon if my question ...
0
votes
0answers
89 views

Line-breaking long cell contents when using longtable through datatool

I'm trying to display a table loaded from a CSV file and displaying it like this: \DTLloadrawdb[]{myDB}{myDB.csv} \DTLdisplaylongdb[% caption={myDB caption},% label={tab:myDB},% ...
0
votes
0answers
116 views

Detect a newline after dollar $ sign

I would like to be able to use \ifnextchar to check if the next character is a new line character. The reason is that I would like to redefine the $ sign to behave differently if it is followed by a ...
0
votes
0answers
111 views

Some algorithm2e questions (line wrap, indentation, lists)

I already had a question about algorithm2e here: algorithm2e indentation / line break I have continued using algorithm2e, but I have multiple problems now: First, I need a finer control over the ...
0
votes
0answers
73 views

inline listing (lstinline) behaves bad at line end

I have defined some small macro to markup function names: \lstdefinestyle{inline-funcname}{ columns=fullflexible, breaklines=false, %Note: \usefont{OML}{cmm}{m}{it} is exactly like ...