{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
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
100 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
68 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
83 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
36 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
60 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
46 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
79 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
82 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
206 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
267 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
89 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
53 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 = ...
10
votes
3answers
285 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
205 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
123 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
57 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
124 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
92 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
93 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
65 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
105 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
71 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
100 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
154 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
77 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
229 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
91 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
100 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
98 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
52 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
52 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
57 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
110 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
71 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
106 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
152 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
128 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
83 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
3k 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
62 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
618 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
315 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
141 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
93 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
145 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
514 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
122 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
86 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 ...