Re: [SPAM] Re: Reducing Overfull \hbox

2015-06-22 Thread Gordon Cooper

  Thanks for that Steve, although I've been working with Koma
 Script with the only extra step  needed to prevent overlong
 lines in PDF was to allow hyperlinks to break over a line end.

Gordon.


Re: Reducing Overfull \hbox

2015-06-22 Thread Charlie
On Mon, 22 Jun 2015 11:16:42 -0400
Steve Litt  wrote:

> Hi all,
> 
> I'm making the second edition of "Twenty Eight Tales of
> Troubleshooting", changing it from Memoir to my modification of Book,
> and changing the PDF formatting to better fit on a "device". In doing
> so, I discovered that a lot of my lines went conspicuously past the
> other text, and occasionally went right off the page. Each of these is
> represented in the conversion log by an "Overfull \hbox". So here's
> what I did...
> 
> 
> \usepackage{microtype}
> \tolerance=400
> \setlength{\emergencystretch}{0.05em}
> 
> Those three statements brought it down from tens of occurances to 7,
> and most of those 7 are off by less than 5 points, which really
> doesn't matter in the grand scheme of things. One, however, walked
> off the page, so I had to special-handle that one by creating the
> following Sloppystd environment:
> 
> 
> % ### Sloppy paragraph
> \newenvironment{sloppystdL}{\begin{sloppypar}}{\end{sloppypar}}
> 
> EndPreamble
> 
> Style Sloppystd
>   CopyStyle Standard
>   LatexType Environment
>   LatexName sloppystdL
>   Font
>Series   Medium 
>ShapeItalic
>Size Normal
>ColorGreen
>   EndFont
> End
> 
> 
> The Sloppystd environment enables me to individually fix problem
> paragraphs without ERT.
> 
> So if you're having trouble keeping your right margin fully intact,
> these are some of the things you can do to improve the situation.
> 
> SteveT

Thank you for sharing that with us Steve, it's much appreciated.

Stay well,
Charlie

-- 
Registered Linux User:- 329524
***

An opinion is like a branding iron. It is one thing to hold it,
and another to press it into the skin of a friend. James
Lileks

***

Debian GNU/Linux - Magic indeed.

-


Reducing Overfull \hbox

2015-06-22 Thread Steve Litt
Hi all,

I'm making the second edition of "Twenty Eight Tales of
Troubleshooting", changing it from Memoir to my modification of Book,
and changing the PDF formatting to better fit on a "device". In doing
so, I discovered that a lot of my lines went conspicuously past the
other text, and occasionally went right off the page. Each of these is
represented in the conversion log by an "Overfull \hbox". So here's what
I did...


\usepackage{microtype}
\tolerance=400
\setlength{\emergencystretch}{0.05em}

Those three statements brought it down from tens of occurances to 7,
and most of those 7 are off by less than 5 points, which really doesn't
matter in the grand scheme of things. One, however, walked off the
page, so I had to special-handle that one by creating the following
Sloppystd environment:


% ### Sloppy paragraph
\newenvironment{sloppystdL}{\begin{sloppypar}}{\end{sloppypar}}

EndPreamble

Style Sloppystd
  CopyStyle Standard
  LatexType Environment
  LatexName sloppystdL
  Font
   Series   Medium 
   ShapeItalic
   Size Normal
   ColorGreen
  EndFont
End


The Sloppystd environment enables me to individually fix problem
paragraphs without ERT.

So if you're having trouble keeping your right margin fully intact,
these are some of the things you can do to improve the situation.

SteveT

Steve Litt 
June 2015 featured book: The Key to Everyday Excellence
http://www.troubleshooters.com/key