2
  1. How can I force justify the paragraph. As you can see the words are flowing out. 1

MWE : Download

Rene Duchamp
  • 1,491
  • 4
    This is because LaTeX can't satisfactorily hyphenate those words. Try experi\-mentally, scat\-tered and illumi\-nation in the relevant words to suggest hyphenation points. – ChrisS Sep 02 '13 at 03:32
  • 1
    Obviously hyphenation has been disabled by something (by your documentclass or by something in the preamble). Once you construct a Minimal Working Example, we will likely solve your problem in couple minutes. – yo' Sep 02 '13 at 08:01
  • @ChrisS -- but (provided the hyphenation patterns for english are being used) latex can hyphenate these words. test this with \showhyphens{illumination experimentally scattered} and you will see the results. clearly something else is going on. – barbara beeton Sep 02 '13 at 13:33
  • @tohecz : Post edited : Added the link for MWE. – Rene Duchamp Sep 03 '13 at 00:08
  • sigh "Microsoft services are designed for you, but maybe not for your browser" sigh – yo' Sep 03 '13 at 07:07

1 Answers1

3

The suggestions in the comment in the first post should be sufficient when you take care only some specific cases. Please find below a general solution.

You did not provide a minimum-working-example which is often a pre-condition (please read mandatory) to get an answer.

Anyway, your provided example (retrieved using online OCR) did not produce the adverse effects you mentioned under default settings in my computer.

Then to force the effects, I tried these settings, a5paper, \hyphenpenalty 9999 \tolerance 50. As you can see, these mean, narrow width paper, very high penalty for hyphenation, very low tolerance. This made a number words to jut out at the right hand margin.

So, in order to get rid of the situation, you will have to do the opposite.

Please try the following,

  • Make the page (text width) wider, if possible. Often this is fixed for a thesis, and not possible (allowed) to change. But a little tweaking may help a lot.
  • Set a low value for \hyphenpenalty.
  • Set a high value for \tolerance.

You will want to tweak the last two values until your problem is solved.

Here is the code I played with. This did not produce any jutting-out, even with A5 paper. So, the scenario must be better for you, where the paper size should be either A4 or letter, I presume.

\documentclass{article}

\usepackage[a5paper]{geometry}

\hyphenpenalty 200
\tolerance 2000

\begin{document}

\begin{center}
  MASTERS THESIS\\
  Laser multi-spectral confocal microscopy with structured
  illumination imaging
\end{center}

\begin{abstract}
  Confocal laser scanning microscopy (CLSM) can be applied as a form
  of structured illumination microscopy (SIM) to offer the same
  advantage of extending Abbes spatial resolution with the simplicity
  of CLSM illumination and scanning imaging process. The objective of
  this research is to experimentally demonstrate this combination for
  the first time to achieve a new technique that can be readily
  applied to existing CLSM instruments and extend the instrument
  higher spatial resolution capability like SIM but without the SIM
  complexity. Theoretical work has been done to demonstrate the
  applicability of SIM principle to CLSM. This research focuses on
  experimental investigation and demonstration of the concept. The
  essence is to apply CLSM inn process without the hard pinhole filter
  designed to block out-of-plane scattered light but also cause loss
  of image spatial frequency which limits its resolution. The work
  will involve the construction of a CLSM apparatus with hardware and
  algorithm designed to apply the SIM principle. Scanned CLSM
  spot-illuminated images for test targets will be obtained, and image
  reconstruction algorithm based on the SIM principle will be
  applied. The output will be reconstructed images with approximately
  two-fold increment in spatial resolution like that of SIM, but
  obtained entirely via CLSM illumination and scanning approach.
\end{abstract}


\end{document}
David Carlisle
  • 757,742
Masroor
  • 17,842