LaTeX forum ⇒ Text Formattinglinebreak problem

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Posts: 3
Joined: Sat Apr 03, 2010 2:50 am

linebreak problem

Postby bensteph » Thu Nov 17, 2011 8:45 pm

Hi all,

I am typesetting a book and I have an issue with the \linebreak command. Sometimes I use the minipage environment to place an image alongside some text, and the text in the minipage environment is part of a larger paragraph, so I've learned to use the \linebreak command at the end of the minipage text to stretch the last line to the margin and therefore it looks continuous with the text that comes after the minipage environment. However, now I have a new problem, which is that the \linebreak command seems to want to insert a new (blank) line after the command, so although the left-right alignment looks okay, the vertical alignment is off by a single blank line. I've tried the \vspace command but it doesn't usually do what I need it to do. Any suggestions?


User avatar
Stefan Kottwitz
Site Admin
Posts: 9567
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Nov 17, 2011 9:15 pm

Hi Ben,

perhaps show a small code example which shows the problem,

Stefan admin

Posts: 3
Joined: Sat Apr 03, 2010 2:50 am

Postby bensteph » Thu Nov 17, 2011 11:53 pm

Here's an example of a piece of code which causes this problem. Obviously, you won't be able to see the image to the right of the initial text block, but you should be able to see the spacing problem with the text that comes after.

As we will see, measurements of the distribution of scattered beam particles can lead to information about the structure or distribution of the target density $\rho(\vec{r})$. This is a remarkable fact, and is related to Fourier optics, in which the pattern of diffracted light on a screen can be used to infer information about the shape of a barrier through which the light was passed (for a review, see Appendix~\ref{ch:Fourier}). In our present example, particle beams, which are of course quantum mechanical probability waves, will be used to infer the shape of the target at which they are aimed.\linebreak
\noindent We begin by revisiting Rutherford scattering, but now considering a nucleus of

User avatar
Posts: 19
Joined: Mon Jan 31, 2011 6:48 pm

Postby CDbile » Fri Nov 18, 2011 9:12 am


I don't have a direct solution to your problem but I think you should consider using the wrapfig package, which does exactly what you want in a very simpler way.

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 7 guests