summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/nolbreaks
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-06 15:57:48 +0000
committerKarl Berry <karl@freefriends.org>2010-05-06 15:57:48 +0000
commitc66689fbbe8c6cb804fd6bcbd98ab7cb61f55f49 (patch)
tree8d4daef88bb6a57c3d9f5b6eef62cbdb99752ee0 /Master/texmf-dist/doc/latex/nolbreaks
parente6e0312dc87021f1b668acdd44b0b50e91455e5c (diff)
doc + separate package nolbreaks
git-svn-id: svn://tug.org/texlive/trunk@18127 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/nolbreaks')
-rw-r--r--Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdfbin0 -> 186022 bytes
-rw-r--r--Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.tex45
2 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf b/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf
new file mode 100644
index 00000000000..b0fd68a26c6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.tex b/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.tex
new file mode 100644
index 00000000000..d23623ce9fe
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/nolbreaks/nolbreaks.tex
@@ -0,0 +1,45 @@
+\documentclass[pagesize=auto, fontsize=14pt, DIV=10, parskip=half]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{etex}
+\usepackage{xspace}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage{microtype}
+\usepackage{hyperref}
+
+\newcommand*{\pkg}[1]{\textsf{#1}}
+\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
+\makeatletter
+\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
+\makeatother
+\newcommand*{\opt}[1]{\texttt{#1}}
+\newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle}
+\newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}}
+
+\addtokomafont{title}{\rmfamily}
+
+\title{The \pkg{nolbreaks} package\thanks{This manual corresponds to \pkg{nolbreaks}~v1.0, dated~2002/09/19.}}
+\author{Donald Arseneau}
+\date{2002/09/19}
+
+
+\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.
+
+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.
+
+You should declare \cmd{\sloppy} in your document.
+
+\end{document}