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

learn more… | top users | synonyms (1)

3
votes
0answers
88 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
1answer
92 views

Make the lines of a description item line up

I am trying to line up the lines of a single description item. When I introduce a line-break or when the line becomes to long, the new line isn't lined up with the first one. I'm aware of the fact ...
1
vote
1answer
50 views

How to break the make of a new line?

I'm trying to break the make of a new line by \begin{itemize} for a more appropriate view of longtable. I can't find how to achieve this. Any help, please ? \begingroup \setlength{\LTleft}{-20cm plus ...
4
votes
1answer
48 views

tabularx - How to linebreak in the tabularx environment?

How can I add a linebreak between two tabularx environments in a single section ? \documentclass[a4paper, 14pt, oneside]{article} \usepackage{tabularx} % Nicer table style than the default ...
1
vote
1answer
46 views

References citation does not go in a new line [duplicate]

An image is more expressive then words... How you can see, the citation of a \bibitem does not go in a new line. This is my code: \begin{thebibliography}{99} \bibitem[Documentazione ffmpeg x x x x ...
5
votes
2answers
105 views

Problem with references! Need to line-break urls

I am writing a paper and I have already added the references through bibtex. There is something I don't like about the online references, they get to stretched out, from one side of the page to the ...
3
votes
2answers
68 views

I want to force a justification to both sides after using \newline

\documentclass[11pt,a4paper]{article} \usepackage[cp1250]{inputenc} \begin{document} \noindent In year 1000 somebody wrote something\footnote{\emph{something}} because he wanted to. Some thought he is ...
1
vote
0answers
100 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
3answers
146 views

how to deal with Long URL in LaTeX

I am a green hand in LaTeX. I sought online and found a lot of posts about the question I asked. However, I cannot follow their instructions. Could anyone give me a hand ? (OS is ubuntu 12.04.) The ...
4
votes
1answer
112 views

g-brief2 resize address window

I want to send a g-brief2 based letter with a very long address that does not fit the address window. The address is automatically hyphenated, which looks strange in this particular case. Does ...
5
votes
1answer
78 views

New line without hyphenation, just break it at the end of the line

I have a question about the automatic line breaking in latex. Right now i wright some text and its formatting it like this: Lorem Ipsum is simply dummy text of the printing and typesetting industry. ...
1
vote
3answers
908 views

Insert a new line without \newline command

I'm searching for inser a new line just push the "enter" button on the keyboard. Is there a solution? This is the "boring" way: \section{mySection} My really really really long text.\newline ...
3
votes
1answer
58 views

Automatic line breaks of long numbers in listings

How can I automatically break long numbers in a listing? Redefining \lst@lettertrue doesn't work. \documentclass{article} \usepackage[T1]{fontenc} \usepackage{listings} \lstset{ breaklines=true } ...
13
votes
5answers
608 views

How to split a long formula and make it beautiful?

My method: \documentclass[UTF8]{ctexart} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{inputenc} \begin{document} \begin{equation} \begin{split} ...
1
vote
1answer
64 views

Qtree Text Positioning

My document looks like this: \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{tikz} \usepackage{tikz-qtree,tikz-qtree-compat} ...
0
votes
0answers
229 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 ...
3
votes
1answer
124 views

ConTeXt: Scale font for text based on maximum width

Background Looking to devise a scaling factor for two fonts such that the text, when added to the final document, fits on one line. Example In the images below, the two fonts are the first ...
6
votes
1answer
92 views

Paragraph with a given aspect ratio?

I using tikz together with package varwidth, I find myself playing out with different values for paragraph width, so as to achieve an "optimal" aspect ratio. Ideally, I would have liked to have an ...
5
votes
4answers
125 views

How to span \textit{} and \Large several lines in \author{}

I would like to span \textit{} in several line in \author{} tag. So far I know I can do this ( but here \LARGE will only affect the Name) : % title \title{\textbf{Cool title}} \author{\LARGE ...
15
votes
2answers
505 views

moving the whole word to next line when there is no free space

Is there any option in tabular that can move the whole word to the next line whenever the length of the word is greater than the fixed cell size? Currently I use \begin{tabular}{ | p{2cm} | } And ...
3
votes
3answers
117 views

How can I fix the width of the table?

I have a multi-column table but the width of last three column is float. I want it change line automatically when the text exceeds the table of too long to write in one line. Here is the image and ...
7
votes
1answer
76 views

Suppress newline after macro

How can I suppress a newline that will be inserted afterwards by a macro? Is there any command that turns off newlines for exactly one time and turns it back on after the skipped one? Like ignoring ...
15
votes
5answers
246 views

Behavior of \\ inside center environment

While trying to compile a title page for my dissertation I realized that I do not understand the behavior of \\. Consider the following MWE \documentclass{memoir} \begin{document} \begin{center} ...
20
votes
1answer
293 views

How to I force a word to move to the end of the line?

How do I force my document to pull selected words to the end of each line (and to hyphenate them as well, if needed)? I have an old document. I know the page size and I think I've found the ...
4
votes
1answer
299 views

Insert line break in \cventry

What do I have to change in the following code to drop my company name, and company location to the line below my job title? I tried them around within the separate brackets but my LaTeX knowledge is ...
1
vote
1answer
74 views

How to add a line break

Sometimes I need an empty line like this If I write $\Rightarrow \mathcal{I}_1 = \{\{A\}, \{B\}, \{C\}, \{E\}\}$ \\ Generierung der häufigen $2$-Itemsets: I'll get an error "There's no line here ...
6
votes
1answer
117 views

How do \widowpenalty and \clubpenalty interact for a 2-line paragraph?

Sometimes \\* does not suffice to prevent a linebreak. Adding {\widowpenalty10000 \par} or {\clubpenalty10000 \par} helps if the separated line is paragraph-final and stranded at the top of a page ...
3
votes
2answers
67 views

Breaking paragraph into lines with courier in cals table

\documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} \geometry{top=10mm, bottom=10mm, left=10mm, right=10mm} \geometry{showframe} \usepackage{courier} ...
1
vote
0answers
50 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
6
votes
1answer
256 views

TikZ: Text alignment and line breaking

I have some troubles with text alignment along path in tikz. I made custom shape and wrote text along path inside it in the following way: \documentclass{article} \usepackage{tikz} ...
1
vote
0answers
210 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 ...
7
votes
2answers
240 views

How to get a line break in a title on the page head?

I am writing a document using the amsart and the title is just very long. Now I wonder, how I could get a linebreak such that it would not overfill the heade of each page. I tried \protect\\\ but this ...
8
votes
3answers
306 views

Viva preparation document

In one of the doctoral thesis howto books (Rugg and Petrie, I think) the advice given is to prepare a document that summarises one page of your thesis per line of page. I'm interested in working with ...
1
vote
0answers
63 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 ...
2
votes
1answer
57 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 ...
3
votes
1answer
131 views

Custom table caption (Updated)

I'd like to achieve a custom table (figure) format with Table numbering and title (this is usually the title also used in the list of tables but does not have to be) in boldface, and the (longer) ...
2
votes
2answers
106 views

Keep block quotes text on single lines

I am using CSQUOTES package as suggested by this TEX question. It plays nicely with the nested {}s How do I get the following (bibtex) text that has each line as a single line to remain on a single ...
4
votes
1answer
57 views

How to make a hbox several lines under the specified place?

Recently I asked How to colourfuly highlight some lines of an algorithm using algorithm2e? I wanted to acheive this effect using the algorithm2e package: Thanks to JLDiaz's answer I know how to do ...
1
vote
1answer
120 views

Warnings about Underfull/Overfull hboxes

I have created a calendar in LaTeX using MiKTeX and although the whole code is correct I have 12 warnings about underfull hboxes and overfull. Can someone tell me first how to make my code run without ...
0
votes
1answer
57 views

page layout for function description

I write an SDK manual in which I would like describe function using the following layout, but I have a carriage return I don't want. Parameters * unsigned int * string Return Value ...
7
votes
1answer
87 views

Remove space before macro if exist a environment

I create a new macro: \newcommand{\intersection}[1]{% \par\vspace{\baselineskip}% \noindent\textbf{\large\bfseries\sffamily #1}\par} It works perfectly for what I want, but when there is a ...
7
votes
1answer
88 views

How can I find out the linebreak penalty at a given point of text or a math formula?

How can I find out the linebreak penalty at a given point of text or a math formula? An example would be the point before and after the equals sign here: \(a + b = c\). If I write complex formulas, I ...
2
votes
1answer
433 views

Linebreak at itemize

My MWE is the following: \documentclass{article} \begin{document} \begin{itemize} \item[about] Foo\\ Lorem ipsum dolor sit amet, consectetur, adipisci velit \item[about] sort rules(...) ...
2
votes
1answer
126 views

Line break in formula [duplicate]

I have a math, that is too long for only one line. Now I want it to break like this: f(x) = x + ... Or what is the mathematic right way to break such a long formula into several line? Thanks ...
4
votes
2answers
162 views

When splitting an equation, why do parentheses appear in different sizes?

I have the following equation which I have split in two lines, why do I get the ( after = to be smaller that the closing )? \begin{equation}\label{testequation} \begin{split} d_{m}^{\sim ...
3
votes
2answers
110 views

Splitting the equation on two lines

I have the following equation (as you can see I have used split): \begin{equation}\label{testequation} \begin{split} d_{m}^{\phi}\left(A,f\right)=\sqrt[m]{\mid ...
3
votes
1answer
123 views

Listing / lstinline and line breaks

I'm using \lstinline among other things for writing file names of my source files. For example \lstinline{foofoo.pl} Then, sometimes I have the problem that some lines containing this string are ...
2
votes
1answer
182 views

avoid underfull \hbox (badness 10000) in paragraph because of linebreak

It seems to be a common question, but the other werent adressing my code. \begin{table}[ht!] \centering \small \caption{Absolute and relative frequencies } \label{FreqFair} ...
5
votes
0answers
54 views

No hyphenation of long words in narrow boxes [duplicate]

I stumbled across an hyphenation problem which I cannot explain or solve. When I use a narrow box containing a long word with a width longer than the box width, this word is not hyphenated. The ...
3
votes
1answer
78 views

Creating Table using array

I'm trying to create entry similar to tables using array begin{array}{*{20}{r}} {}| & A |& B \\ \hline A_1| & {one|} & {two} \\ B_2| & {three|} & {four} \\ \hline ...