| 1 |
%% |
| 2 |
%% This is file `setouterhbox-example.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% setouterhbox.dtx (with options: `example') |
| 8 |
%% |
| 9 |
%% This is a generated file. |
| 10 |
%% |
| 11 |
%% Project: setouterhbox |
| 12 |
%% Version: 2016/05/16 v1.8 |
| 13 |
%% |
| 14 |
%% Copyright (C) |
| 15 |
%% 2005-2007 Heiko Oberdiek |
| 16 |
%% 2016-2019 Oberdiek Package Support Group |
| 17 |
%% |
| 18 |
%% This work may be distributed and/or modified under the |
| 19 |
%% conditions of the LaTeX Project Public License, either |
| 20 |
%% version 1.3c of this license or (at your option) any later |
| 21 |
%% version. This version of this license is in |
| 22 |
%% https://www.latex-project.org/lppl/lppl-1-3c.txt |
| 23 |
%% and the latest version of this license is in |
| 24 |
%% https://www.latex-project.org/lppl.txt |
| 25 |
%% and version 1.3 or later is part of all distributions of |
| 26 |
%% LaTeX version 2005/12/01 or later. |
| 27 |
%% |
| 28 |
%% This work has the LPPL maintenance status "maintained". |
| 29 |
%% |
| 30 |
%% The Current Maintainers of this work are |
| 31 |
%% Heiko Oberdiek and the Oberdiek Package Support Group |
| 32 |
%% https://github.com/ho-tex/oberdiek/issues |
| 33 |
%% |
| 34 |
%% |
| 35 |
%% The Base Interpreter refers to any `TeX-Format', |
| 36 |
%% because some files are installed in TDS:tex/generic//. |
| 37 |
%% |
| 38 |
%% This work consists of the main source file setouterhbox.dtx |
| 39 |
%% and the derived files |
| 40 |
%% setouterhbox.sty, setouterhbox.pdf, setouterhbox.ins, setouterhbox.drv, |
| 41 |
%% setouterhbox-example.tex, setouterhbox-test1.tex, |
| 42 |
%% setouterhbox-test2.tex. |
| 43 |
%% |
| 44 |
\documentclass[a5paper]{article} |
| 45 |
\usepackage{url}[2005/06/27] |
| 46 |
\usepackage{setouterhbox} |
| 47 |
|
| 48 |
\newsavebox{\testbox} |
| 49 |
|
| 50 |
\setlength{\parindent}{0pt} |
| 51 |
\setlength{\parskip}{2em} |
| 52 |
|
| 53 |
\begin{document} |
| 54 |
\raggedright |
| 55 |
|
| 56 |
\url{http://this.is.a.very.long.host.name/followed/% |
| 57 |
by/a/very_long_long_long_path.html}% |
| 58 |
|
| 59 |
\sbox\testbox{% |
| 60 |
\url{http://this.is.a.very.long.host.name/followed/% |
| 61 |
by/a/very_long_long_long_path.html}% |
| 62 |
}% |
| 63 |
\unhbox\testbox |
| 64 |
|
| 65 |
\begin{setouterhbox}{\testbox}% |
| 66 |
\url{http://this.is.a.very.long.host.name/followed/% |
| 67 |
by/a/very_long_long_long_path.html}% |
| 68 |
\end{setouterhbox} |
| 69 |
\unhbox\testbox |
| 70 |
|
| 71 |
\end{document} |
| 72 |
%% \section{Installation} |
| 73 |
\endinput |
| 74 |
%% |
| 75 |
%% End of file `setouterhbox-example.tex'. |