diff options
author | Karl Berry <karl@freefriends.org> | 2012-06-01 22:07:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-06-01 22:07:21 +0000 |
commit | 6865ef83672a0c183f757447ebf46de9d9e600b5 (patch) | |
tree | 64c19626a03a661e703ccd7e80216445f54ef1b2 /Master/texmf-dist/doc | |
parent | 6eb012ce913e334eba19b656e4bada8d69dcdac9 (diff) |
nolbreaks 1.2 (1jun12)
git-svn-id: svn://tug.org/texlive/trunk@26786 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf | bin | 186022 -> 132139 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.tex | 33 |
2 files changed, 21 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf b/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf Binary files differindex b0fd68a26c6..7546d5f64b8 100644 --- a/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf +++ b/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf 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} |