From 6865ef83672a0c183f757447ebf46de9d9e600b5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 1 Jun 2012 22:07:21 +0000 Subject: nolbreaks 1.2 (1jun12) git-svn-id: svn://tug.org/texlive/trunk@26786 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf | Bin 186022 -> 132139 bytes .../texmf-dist/doc/latex/nolbreaks/nolbreaks.tex | 33 +++++++++++++-------- 2 files changed, 21 insertions(+), 12 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf b/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf index b0fd68a26c6..7546d5f64b8 100644 Binary files a/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf and b/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf differ diff --git a/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.tex b/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.tex index d23623ce9fe..8eb7084f3db 100644 --- a/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.tex +++ b/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.tex @@ -1,4 +1,4 @@ -\documentclass[pagesize=auto, fontsize=14pt, DIV=10, parskip=half]{scrartcl} +\documentclass[pagesize=auto, fontsize=14pt, parskip=half]{scrartcl} \usepackage{fixltx2e} \usepackage{etex} @@ -20,26 +20,35 @@ \addtokomafont{title}{\rmfamily} -\title{The \pkg{nolbreaks} package\thanks{This manual corresponds to \pkg{nolbreaks}~v1.0, dated~2002/09/19.}} +\title{The \pkg{nolbreaks} package\thanks{This manual corresponds to + \pkg{nolbreaks}~v1.2, dated~2012/05/31.}} \author{Donald Arseneau} -\date{2002/09/19} +\date{2012/05/31} \begin{document} \maketitle -Use \cmd{\nolbreaks}\marg{some text} to prevent linebreaks in \meta{some text}. -This has the advantage over \verb+\mbox{}+ that glue (rubber space) -remains flexible. It has the disadvantage of not working in -all cases! Most common cases are handled here (\cmd{\linebreak} is -disabled, for example) but spaces hidden in macros or \verb+{ }+ -can still create break-points. +Use \cmd{\nolbreaks}\marg{some text} to prevent line-breaks in +\meta{some text}. This has the advantage over \verb+\mbox{ }+ that +glue (rubber space) remains flexible, and can adjust to fit the margins. +It has the disadvantage of not working in all cases! Most common +situations are handled (in particular, \cmd{\newline}, \cmd{\linebreak}, +and \cmd{\\} are disabled) but spaces hidden in macros or \verb+{ }+ +(braces) can still create break-points. Large pieces of text with no breaks can cause problems with -paragraph justification. Giving the package option \opt{[ragged]} -allows a line before the unbreakable text to be cut short. +paragraph justification. Using the alternate \cmd{\nolbreaks}\verb'*' +allows a line before the unbreakable text to be cut short +(like ragged-right). Giving the package option \opt{[ragged]} +converts all \cmd{\nolbreaks} commands to \cmd{\nolbreaks*}. -You should declare \cmd{\sloppy} in your document. +You should declare \cmd{\sloppy} or set a raised \cmd{\tolerance} in +your document when you have large non-breaking chunks. + +The command name \cmd{\nolbreaks} is long to type, so you should +probably declare a shorter alias name if you use it a lot, like + \ \verb'\newcommand\n{\nolbreaks}'. \end{document} -- cgit v1.2.3