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

learn more… | top users | synonyms (1)

4
votes
1answer
96 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
165 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
100 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 ...
2
votes
1answer
76 views

inline code listing runs into right margin

I am trying to typeset an inline C# code listing using the listings package. However, the chunk of inline code spans a few lines, so listings has to insert a coupe of line breaks into my code. So far, ...
1
vote
1answer
111 views

Why is lstlisting splitting my XML tags?

I have a little problem with this ambient. I have some XML to insert into my document and the thing that really bugs me is that the new line breaks a closing tag in two. I indicated to the environment ...
4
votes
2answers
403 views

moderncv - newline within a cventry in the banking style

I want to find a way to split long line in the 3rd element of \cventry. I use moderncv package and banking style. Using \newline doesn't help. I get the result in the picture using following code. I ...
2
votes
0answers
101 views

Text running off the page? [closed]

When I typeset to LaTex from Scrivener,the text runs off the page. Each paragraph shows up as a single line that runs off the page. Does anyone know how do I prevent that? I'm sure there is a super ...
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§} ...
6
votes
1answer
121 views

Listings rule breaking into pieces when using xleftmargin=3pt,xrightmargin=3pt

I'm using the below coding in a Tex file and when I view the DVI output the frame rule for listings gets breakdown (please look into the screenshot below) Could some one help me in solving this ...
6
votes
1answer
82 views

Linebreaking with \eqref and long tags

When using a long tag for an equation, is there a way to have an equivalent of \eqref that would allow LaTeX to break the reference between words, or even within words. In the example below I get ...
3
votes
1answer
95 views

Automatic non-breakable spaces?

Very often I have to manually add non-breakable spaces to make things look better. For instance: see~\cite{Bla98} for all~$x$ see Section~\ref{sect:bla} It looks specific enough so that it could ...
0
votes
0answers
48 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 ...
5
votes
1answer
71 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 ...
0
votes
0answers
60 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 ...
6
votes
1answer
86 views

How to detect overfull and underfull hbox without triggering the warning?

I need a LaTeX macro which can be used by this: \IfFull{TEXT}{THEN}{ELSE} It would typeset TEXT in a \vbox (which it will discard), and if there was an overfull hbox or an underfull hbox, it would ...
4
votes
1answer
99 views

How to typeset categories with long names?

I am typing some category theory and I am unsure how to handle the name of a category in LaTeX. I read the post How to typeset the name of a category? and implemented the mathbf-solution mentioned ...
2
votes
1answer
259 views

Why Latex does not start a new line automatically?

Here is the preamble of my latex file: \documentclass{article} \usepackage[margin=.5cm]{geometry} \usepackage{lipsum} \begin{document} \lipsum \end{document} My problem is the text in the document ...
4
votes
4answers
284 views

Breaking and aligning equations

I have the following MWE \documentclass[10pt, a4paper]{article} \usepackage{amsfonts, amsmath, amssymb, amsfonts} \begin{document} \begin{align} \sum_i{ c_i} &= \cos \sin\cos \sin\cos ...
7
votes
2answers
93 views

Break line within a macro while writing to a file

I am trying to use (La)TeX as a macro pre-processor for a programming language. My idea is to use the VerbatimOut environment from the fancyvrb package to output essentially verbatim text, but using @ ...
2
votes
1answer
55 views

Misc in plainnat appearance [duplicate]

I use plainnat to cite online material as follows: @misc{Group2009, author = {Miniwatts Marketing}, title = {{Internet World Stats}}, howpublished = ...
11
votes
3answers
366 views

Asterism and similar breaking / non-breaking options

What are the options that can be considered an alternative to the old asterism (⁂) symbol ? I would like to denote a small break in the flow of the text, I noticed that this days many people like to ...
4
votes
1answer
234 views

To have underline in two lines?

Command \underline{bla bla ... bla} The content overflows like so at the moment How can you have underline without overflow to the margin?
9
votes
2answers
130 views

Preventing line shrinking with raggedright

Sometimes with \raggedright, if a line is too long, but only slighly so, it will be shrunk instead of broken up. Here is an example: \documentclass{article} \raggedright \begin{document} This is a ...
1
vote
1answer
65 views

jurabib: every field in a new line

I'm trying to make use of some of the features of jurabib-package which are quite essential for me now. But I'm still facing one problem: I use the package with the bibformat=tabular, which nearly ...
0
votes
0answers
169 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 ...
1
vote
1answer
97 views

I can't find/fix the errors in order to be able to compile it

\documentclass{article} \usepackage{amsmath} \begin{document} $These are two truth tables for the following: $\neg (p \vee q)$ is logically equivalent to $(\neg p) \wedge (\neg q)$ ...
0
votes
1answer
98 views

Hyphen going into margin

I have the following issue with a hyphen going into the margin: As you can see, the Spatio-Temporal word has crossed the margin. How can I fix it in LaTeX? I am using the TeX template at ...
2
votes
1answer
71 views

Issues with justification

I was going through this tex files www.biostat.umn.edu/~brad/8400/HQuick_cv.tex‎. However, when I use this tex, the text is not justified properly See the words establishments, Experimental are ...
2
votes
3answers
127 views

How can I make lines break automatically in multirow?

I want to obtain a table like the one in my attachment. Then I tried to use \hhline to draw horizontal lines. But I still have a problem about breaking lines automatically. The one that I want to ...
2
votes
2answers
81 views

Line goes out of paragraph, when I give hyperlink

I'm trying to hyperlink \url{http://brollace.blogspot.de/2012/03/havok-tutorial-content-tools-part-1.html.}, but when I compile it, the line goes out of the boundary of paragraph. Can anybody knows ...
1
vote
0answers
118 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, ...
2
votes
1answer
206 views

Overfull bad boxes with natbib

I have a problem with the \citep command of natbib, namely, that I get a lot of bad boxes (overfulls). Most of these happen within a citation. I tried \usepackage[square, authoryear]{natbib} (as ...
0
votes
1answer
99 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 ...
8
votes
1answer
274 views

Newline in \def

I can not solve my problem. I have definition: \def\mfTitle{askdj asldj asdlk jhasd kjhaslkjd asdas} and I would like add a newline into it: \def\mfTitle{askdj asldj asdlk \newline jhasd kjhaslkjd ...
7
votes
1answer
138 views

Reversing the effect of a \newline with the next command?

I'm using the harvard package and the agsm bibliography style. I'm aware that there are alternatives, e.g., natbib plus har2nat, and I will be looking into those in the not-too-distant future, but at ...
3
votes
0answers
120 views

Ugly linebreak in texniccenter [closed]

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
116 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
53 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
56 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
65 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
149 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
77 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
119 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
165 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
158 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
90 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
6k 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
68 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
633 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} ...