summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/listparskip
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-12-18 21:11:28 +0000
committerKarl Berry <karl@freefriends.org>2024-12-18 21:11:28 +0000
commit44a75665abe203839d7e8a37af2455825e0f3195 (patch)
tree9f435ba27ba44729e53fea7928611b4fea3573f3 /Master/texmf-dist/doc/latex/listparskip
parent312632d673a50604cefa0d6a2b09f9f0336f778a (diff)
listparskip (18dec24)
git-svn-id: svn://tug.org/texlive/trunk@73155 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/listparskip')
-rw-r--r--Master/texmf-dist/doc/latex/listparskip/README.txt143
-rw-r--r--Master/texmf-dist/doc/latex/listparskip/listparskip_code.pdfbin0 -> 55339 bytes
-rw-r--r--Master/texmf-dist/doc/latex/listparskip/listparskip_example.pdfbin0 -> 31411 bytes
-rw-r--r--Master/texmf-dist/doc/latex/listparskip/listparskip_example.tex132
-rw-r--r--Master/texmf-dist/doc/latex/listparskip/listparskip_heading.tex135
-rw-r--r--Master/texmf-dist/doc/latex/listparskip/listparskip_user_guide.pdfbin0 -> 56885 bytes
-rw-r--r--Master/texmf-dist/doc/latex/listparskip/listparskip_user_guide.tex139
7 files changed, 549 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/listparskip/README.txt b/Master/texmf-dist/doc/latex/listparskip/README.txt
new file mode 100644
index 00000000000..1e1492a4cec
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/listparskip/README.txt
@@ -0,0 +1,143 @@
+ LaTeX Package listparskip v. 1.0
+ Installation Guide/README
+ Conrad Kosowsky
+
+This file is README.txt from version 1.0 of the free and
+open-source LaTeX package "listparskip," released December
+2024. The listparskip package changes the rules for vertical
+spacing before and after list environments. See the user
+guide for more information. See below for installation and
+license information.
+
+*********************************************************
+
+ How to Install
+
+To install listparskip automatically, update your TeXLive or
+MacTeX distribution or use a package manager such as tlmgr.
+
+To install listparskip manually requires two steps as follows.
+
+Step 1: You will need to generate the package file
+listparskip.sty from listparskip_code.dtx. You can do this in
+two ways:
+
+ (1) Running Plain TeX on listparskip_code.dtx will create
+ listparskip.sty as well as several other tex files that
+ can be used for typesetting documentation.
+
+ (2) Running LaTeX on listparskip_code.dtx will produce the
+ files listed in point (1) including listparskip.sty as
+ well as listparskip_code.pdf, which documents the
+ package code.
+
+Step 2: Once you have created listparskip.sty, you should
+move it into a directory searchable by TeX to complete the
+installation. If you are unsure how to do this, consult your
+TeX distribution.
+
+*********************************************************
+
+ Installation Contents
+
+Besides this README, the installation contains the following
+files:
+
+ (1) listparskip_code.dtx: the main file. See above for
+ instructions to generate listparskip.sty from this
+ file and complete the installation.
+
+ (2) listparskip_code.pdf: documentation of the package
+ code.
+
+ (3) listparskip_user_guide.pdf: a user guide.
+
+ (4) listparskip_example.pdf: an example of listparskip.
+
+Typesetting listparskip_code.dtx will create
+listparskip_user_guide.tex, which is the tex file that
+produces the user guide in point (3) above. It will also
+create listparskip_example.tex, which is the tex file
+that produces the example file in point (4) above.
+
+*********************************************************
+
+ Package Contents, License, and Copyright
+
+Copyright 2024 Conrad Kosowsky
+
+This file may be distributed and modified under the terms
+of the LaTeX Public Project License, version 1.3c or any
+later version. The most recent version of this license is
+available online at
+
+ https://www.latex-project.org/lppl/
+
+This Work has the LPPL status "maintained," and the current
+maintainer is the package author, Conrad Kosowsky. He can
+be reached at kosowsky.latex@gmail.com. The Work consists
+of the following items:
+
+ (1) the base file:
+ listparskip_code.dtx
+
+ (2) the package file:
+ listparskip.sty
+
+ (3) the pdf documentation files:
+ listparskip_code.pdf
+ listparskip_user_guide.pdf
+ listparskip_example.pdf
+
+ (4) the derived files:
+ listparskip_user_guide.tex
+ listparskip_example.tex
+ listparskip_heading.tex
+
+ (5) all other files created through the configuration
+ process
+
+ and
+
+ (6) this README.txt file
+
+*********************************************************
+
+ No Warranty
+
+PLEASE KNOW THAT THIS FREE SOFTWARE IS PROVIDED WITHOUT
+ANY WARRANTY. SPECIFICALLY, THE "NO WARRANTY" SECTION OF
+THE LATEX PROJECT PUBLIC LICENSE STATES THE FOLLOWING:
+
+THERE IS NO WARRANTY FOR THE WORK. EXCEPT WHEN OTHERWISE
+STATED IN WRITING, THE COPYRIGHT HOLDER PROVIDES THE WORK
+`AS IS’, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
+OF THE WORK IS WITH YOU. SHOULD THE WORK PROVE DEFECTIVE,
+YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR
+CORRECTION.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED
+TO IN WRITING WILL THE COPYRIGHT HOLDER, OR ANY AUTHOR
+NAMED IN THE COMPONENTS OF THE WORK, OR ANY OTHER PARTY
+WHO MAY DISTRIBUTE AND/OR MODIFY THE WORK AS PERMITTED
+ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL,
+SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT
+OF ANY USE OF THE WORK OR OUT OF INABILITY TO USE THE WORK
+(INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA, DATA BEING
+RENDERED INACCURATE, OR LOSSES SUSTAINED BY ANYONE AS A
+RESULT OF ANY FAILURE OF THE WORK TO OPERATE WITH ANY
+OTHER PROGRAMS), EVEN IF THE COPYRIGHT HOLDER OR SAID
+AUTHOR OR SAID OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+For more information, see the LaTeX Project Public License.
+Derivative works based on this software may come with their
+own license or terms of use, and the package author is not
+responsible for any third-party software.
+
+*********************************************************
+
+For more information, see listparskip_code.dtx. Happy TeXing!
diff --git a/Master/texmf-dist/doc/latex/listparskip/listparskip_code.pdf b/Master/texmf-dist/doc/latex/listparskip/listparskip_code.pdf
new file mode 100644
index 00000000000..daf8cf3c954
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/listparskip/listparskip_code.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/listparskip/listparskip_example.pdf b/Master/texmf-dist/doc/latex/listparskip/listparskip_example.pdf
new file mode 100644
index 00000000000..9495c8006f4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/listparskip/listparskip_example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/listparskip/listparskip_example.tex b/Master/texmf-dist/doc/latex/listparskip/listparskip_example.tex
new file mode 100644
index 00000000000..075aa150373
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/listparskip/listparskip_example.tex
@@ -0,0 +1,132 @@
+%%
+%% This is file `listparskip_example.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% listparskip_code.dtx (with options: `example')
+%%
+%% This file is from version 1.0 of the free and open-source
+%% LaTeX package "listparskip," released December 2024.
+%%
+%% Copyright 2024 Conrad Kosowsky
+%%
+%% This file may be used, distributed, and modified under the
+%% terms of the LaTeX Public Project License, version 1.3c or
+%% any later version. The most recent version of this license
+%% is available online at
+%%
+%% https://www.latex-project.org/lppl/
+%%
+%% This work has the LPPL status "maintained," and the current
+%% maintainer is the package author, Conrad Kosowsky. He can
+%% be reached at kosowsky.latex@gmail.com.
+%%
+%% PLEASE KNOW THAT THIS FREE SOFTWARE IS PROVIDED WITHOUT
+%% ANY WARRANTY. SPECIFICALLY, THE "NO WARRANTY" SECTION OF
+%% THE LATEX PROJECT PUBLIC LICENSE STATES THE FOLLOWING:
+%%
+%% THERE IS NO WARRANTY FOR THE WORK. EXCEPT WHEN OTHERWISE
+%% STATED IN WRITING, THE COPYRIGHT HOLDER PROVIDES THE WORK
+%% `AS IS’, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+%% OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+%% WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+%% PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
+%% OF THE WORK IS WITH YOU. SHOULD THE WORK PROVE DEFECTIVE,
+%% YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR
+%% CORRECTION.
+%%
+%% IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED
+%% TO IN WRITING WILL THE COPYRIGHT HOLDER, OR ANY AUTHOR
+%% NAMED IN THE COMPONENTS OF THE WORK, OR ANY OTHER PARTY
+%% WHO MAY DISTRIBUTE AND/OR MODIFY THE WORK AS PERMITTED
+%% ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL,
+%% SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT
+%% OF ANY USE OF THE WORK OR OUT OF INABILITY TO USE THE WORK
+%% (INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA, DATA BEING
+%% RENDERED INACCURATE, OR LOSSES SUSTAINED BY ANYONE AS A
+%% RESULT OF ANY FAILURE OF THE WORK TO OPERATE WITH ANY
+%% OTHER PROGRAMS), EVEN IF THE COPYRIGHT HOLDER OR SAID
+%% AUTHOR OR SAID OTHER PARTY HAS BEEN ADVISED OF THE
+%% POSSIBILITY OF SUCH DAMAGES.
+%%
+%% For more information, see the LaTeX Project Public License.
+%% Derivative works based on this software may come with their
+%% own license or terms of use, and the package author is not
+%% responsible for any third-party software.
+%%
+%% Happy TeXing!
+%%
+\documentclass[12pt]{article}
+\usepackage[margin=72.27pt]{geometry}
+\usepackage[factor=700,stretch=14,shrink=14,step=1]{microtype}
+\usepackage{lipsum}
+\usepackage{multicol}
+\usepackage{enumitem}
+\setlist{parsep=0pt,partopsep=\medskipamount,
+ topsep=\smallskipamount,itemsep=\smallskipamount}
+\usepackage{shortvrb}
+\MakeShortVerb{|}
+\parindent=0pt
+\makeatletter
+\begin{document}
+
+\def\documentname{Example}
+
+\newdimen\MacroIndent
+\input listparskip_heading.tex
+\baselineskip=14pt
+
+This document shows an example of \textsf{listparskip}. The left column uses standard \LaTeX\ spacing before and after the itemize and enumerate lists, and the right column shows the same text with \textsf{listparskip} spacing rules. Notice \textsf{listparskip} corrects the issues from the left column.
+\begin{multicols*}{2}
+\parskip\bigskipamount
+
+\lipsum[1][1]
+
+This paragraph has some bullet points in the middle of the paragraph. In this portion of the document, |\parskip| is set to |\bigskipamount|, and we see that
+\begin{itemize}
+\item \LaTeX\ inserts |\parskip| above the list
+\item Even though there is no |\par| between the paragraph and the itemize environment in the source code
+\item The same thing is true after the itemize
+\item It's especially salient when |\topsep| and |\itemsep| are |\smallskipamount|
+\end{itemize}
+Currently |\partopsep| is |\medskipamount|, but when there is no |\par| immediately before a list, \LaTeX\ does not insert |\partopsep| before or after the list environment. \hbox{This is true}
+\begin{enumerate}
+\item Despite the use of |\parskip|; and
+\item For the end of the list environment regardless of whether a |\par| follows the list, as is the case with this enumerate.
+\end{enumerate}
+
+\lipsum[1][2]
+
+\vfill\nointerlineskip\null
+\columnbreak
+
+\lipsum[1][1]
+
+This paragraph has some bullet points in the middle of the paragraph. In this portion of the document, |\parskip| is set to |\bigskipamount|, and we see that
+\begin{itemize}
+\vskip-\@outerparskip
+\vskip\z@
+\item \LaTeX\ inserts |\parskip| above the list
+\item Even though there is no |\par| between the paragraph and the itemize environment in the source code
+\item The same thing is true after the itemize
+\item It's especially salient when |\topsep| and |\itemsep| are |\smallskipamount|
+\end{itemize}
+\vskip-\parskip
+Currently |\partopsep| is |\medskipamount|, but when there is no |\par| immediately before a list, \LaTeX\ does not insert |\partopsep| before or after the list environment. \hbox{This is true}
+\begin{enumerate}
+\vskip-\@outerparskip
+\vskip\z@
+\item Despite the use of |\parskip|; and
+\item For the end of the list environment regardless of whether a |\par| follows the list, as is the case with this enumerate.
+\end{enumerate}
+\vskip\partopsep
+
+\lipsum[1][2]
+
+\end{multicols*}
+
+\end{document}
+\endinput
+%%
+%% End of file `listparskip_example.tex'.
diff --git a/Master/texmf-dist/doc/latex/listparskip/listparskip_heading.tex b/Master/texmf-dist/doc/latex/listparskip/listparskip_heading.tex
new file mode 100644
index 00000000000..1c4f617ea9f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/listparskip/listparskip_heading.tex
@@ -0,0 +1,135 @@
+%%
+%% This is file `listparskip_heading.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% listparskip_code.dtx (with options: `heading')
+%%
+%% This file is from version 1.0 of the free and open-source
+%% LaTeX package "listparskip," released December 2024.
+%%
+%% Copyright 2024 Conrad Kosowsky
+%%
+%% This file may be used, distributed, and modified under the
+%% terms of the LaTeX Public Project License, version 1.3c or
+%% any later version. The most recent version of this license
+%% is available online at
+%%
+%% https://www.latex-project.org/lppl/
+%%
+%% This work has the LPPL status "maintained," and the current
+%% maintainer is the package author, Conrad Kosowsky. He can
+%% be reached at kosowsky.latex@gmail.com.
+%%
+%% PLEASE KNOW THAT THIS FREE SOFTWARE IS PROVIDED WITHOUT
+%% ANY WARRANTY. SPECIFICALLY, THE "NO WARRANTY" SECTION OF
+%% THE LATEX PROJECT PUBLIC LICENSE STATES THE FOLLOWING:
+%%
+%% THERE IS NO WARRANTY FOR THE WORK. EXCEPT WHEN OTHERWISE
+%% STATED IN WRITING, THE COPYRIGHT HOLDER PROVIDES THE WORK
+%% `AS IS’, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+%% OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+%% WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+%% PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
+%% OF THE WORK IS WITH YOU. SHOULD THE WORK PROVE DEFECTIVE,
+%% YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR
+%% CORRECTION.
+%%
+%% IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED
+%% TO IN WRITING WILL THE COPYRIGHT HOLDER, OR ANY AUTHOR
+%% NAMED IN THE COMPONENTS OF THE WORK, OR ANY OTHER PARTY
+%% WHO MAY DISTRIBUTE AND/OR MODIFY THE WORK AS PERMITTED
+%% ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL,
+%% SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT
+%% OF ANY USE OF THE WORK OR OUT OF INABILITY TO USE THE WORK
+%% (INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA, DATA BEING
+%% RENDERED INACCURATE, OR LOSSES SUSTAINED BY ANYONE AS A
+%% RESULT OF ANY FAILURE OF THE WORK TO OPERATE WITH ANY
+%% OTHER PROGRAMS), EVEN IF THE COPYRIGHT HOLDER OR SAID
+%% AUTHOR OR SAID OTHER PARTY HAS BEEN ADVISED OF THE
+%% POSSIBILITY OF SUCH DAMAGES.
+%%
+%% For more information, see the LaTeX Project Public License.
+%% Derivative works based on this software may come with their
+%% own license or terms of use, and the package author is not
+%% responsible for any third-party software.
+%%
+%% Happy TeXing!
+%%
+\csname count@\endcsname\catcode`\@
+\makeatletter
+\def\packageversion{1.0}
+\def\packagedate{December 2024}
+\MacroIndent=1.3em
+\baselineskip=\the\baselineskip plus 0.3pt minus 0.3pt\relax
+\let\@@section\section
+\def\section{\@ifstar\star@sect\no@star@sect}
+\def\star@sect#1{\sectionhook{#1}\@@section*{#1}}
+\def\no@star@sect#1{\sectionhook{#1}\@@section{#1}}
+\def\sectionhook#1{%
+ \ifdim\dimexpr\pagegoal-\pagetotal-3pt\relax<6\bigskipamount
+ \vfill\eject
+ \fi
+ \def\sectionname{#1}}
+\let\sectionhook\@gobble
+\def\@oddhead{%
+ \ifnum\count0>1\relax
+ \ifodd\c@page
+ \hfil
+ \llap{\the\count0}%
+ \else
+ \rlap{\the\count0}\hfil
+ \fi
+ \fi}
+\def\@oddfoot{\hfil\ifnum\count0=1\relax1\fi\hfil}
+\pretolerance=-1
+\hyphenpenalty=20
+\exhyphenpenalty=15
+\brokenpenalty=0
+\clubpenalty=0
+\widowpenalty=0
+\finalhyphendemerits=500
+\doublehyphendemerits=2000
+\c@topnumber\@ne
+\def\topfraction{1}
+\def\bottomfraction{0.5}
+\def\textfraction{0}
+\def\floatpagefraction{0}
+\def\h{\textsc h }
+\def\v{\textsc v }
+\def\smallskip{\vskip\smallskipamount}
+\def\medskip{\vskip\medskipamount}
+\def\bigskip{\vskip\bigskipamount}
+\let\code\@undefined
+\let\endcode\@undefined
+\newenvironment{code}
+ {\strut\vadjust\bgroup\medskip\parindent\z@\leftskip=4em\relax
+ \noindent\strut\ignorespaces}
+ {\strut\par\medskip\egroup\hfill\break\strut\ignorespacesafterend}
+\def\argtext#1{\ensuremath{\langle$\textit{#1}$\rangle}}
+\def\vrb#1{\expandafter\texttt\expandafter{\string#1}}
+\def\clap@math#1{\hb@xt@\z@{\hss$\displaystyle#1$\hss}}
+{\large
+\parindent=0pt
+\leftskip=0pt plus 1 fil
+\rightskip=0pt plus 1fil
+\parfillskip=0pt
+{\strut\Large Package \textsf{listparskip} v.\ 1.0 \documentname}\par
+\strut Conrad Kosowsky\par
+\strut \packagedate\par
+\strut\texttt{kosowsky.latex@gmail.com}\par}
+\bigskip
+{\small
+\leftskip=0.5in
+\rightskip=0.5in
+\centerline{\bfseries Overview\strut}
+\noindent The \textsf{listparskip} package modifies list environments such that they add |\parskip| and |\partopsep| before or after a list if and only if the environment follows or precedes, respectively, a blank line (i.e.\ a |\par|).
+\par}
+\bigskip\bigskip\nointerlineskip
+\centerline{\vrule height 0.5pt width 2.5in}\bigskip\bigskip
+\nointerlineskip
+\catcode`\@\count@
+\endinput
+%%
+%% End of file `listparskip_heading.tex'.
diff --git a/Master/texmf-dist/doc/latex/listparskip/listparskip_user_guide.pdf b/Master/texmf-dist/doc/latex/listparskip/listparskip_user_guide.pdf
new file mode 100644
index 00000000000..fe08d98fa84
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/listparskip/listparskip_user_guide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/listparskip/listparskip_user_guide.tex b/Master/texmf-dist/doc/latex/listparskip/listparskip_user_guide.tex
new file mode 100644
index 00000000000..86ef8d85294
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/listparskip/listparskip_user_guide.tex
@@ -0,0 +1,139 @@
+%%
+%% This is file `listparskip_user_guide.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% listparskip_code.dtx (with options: `user')
+%%
+%% This file is from version 1.0 of the free and open-source
+%% LaTeX package "listparskip," released December 2024.
+%%
+%% Copyright 2024 Conrad Kosowsky
+%%
+%% This file may be used, distributed, and modified under the
+%% terms of the LaTeX Public Project License, version 1.3c or
+%% any later version. The most recent version of this license
+%% is available online at
+%%
+%% https://www.latex-project.org/lppl/
+%%
+%% This work has the LPPL status "maintained," and the current
+%% maintainer is the package author, Conrad Kosowsky. He can
+%% be reached at kosowsky.latex@gmail.com.
+%%
+%% PLEASE KNOW THAT THIS FREE SOFTWARE IS PROVIDED WITHOUT
+%% ANY WARRANTY. SPECIFICALLY, THE "NO WARRANTY" SECTION OF
+%% THE LATEX PROJECT PUBLIC LICENSE STATES THE FOLLOWING:
+%%
+%% THERE IS NO WARRANTY FOR THE WORK. EXCEPT WHEN OTHERWISE
+%% STATED IN WRITING, THE COPYRIGHT HOLDER PROVIDES THE WORK
+%% `AS IS’, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+%% OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+%% WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+%% PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
+%% OF THE WORK IS WITH YOU. SHOULD THE WORK PROVE DEFECTIVE,
+%% YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR
+%% CORRECTION.
+%%
+%% IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED
+%% TO IN WRITING WILL THE COPYRIGHT HOLDER, OR ANY AUTHOR
+%% NAMED IN THE COMPONENTS OF THE WORK, OR ANY OTHER PARTY
+%% WHO MAY DISTRIBUTE AND/OR MODIFY THE WORK AS PERMITTED
+%% ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL,
+%% SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT
+%% OF ANY USE OF THE WORK OR OUT OF INABILITY TO USE THE WORK
+%% (INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA, DATA BEING
+%% RENDERED INACCURATE, OR LOSSES SUSTAINED BY ANYONE AS A
+%% RESULT OF ANY FAILURE OF THE WORK TO OPERATE WITH ANY
+%% OTHER PROGRAMS), EVEN IF THE COPYRIGHT HOLDER OR SAID
+%% AUTHOR OR SAID OTHER PARTY HAS BEEN ADVISED OF THE
+%% POSSIBILITY OF SUCH DAMAGES.
+%%
+%% For more information, see the LaTeX Project Public License.
+%% Derivative works based on this software may come with their
+%% own license or terms of use, and the package author is not
+%% responsible for any third-party software.
+%%
+%% Happy TeXing!
+%%
+\documentclass[12pt]{article}
+\usepackage[margin=72.27pt]{geometry}
+\usepackage[factor=700,stretch=14,shrink=14,step=1]{microtype}
+\usepackage{booktabs}
+\usepackage{tabularx}
+\usepackage{enumitem}
+\setlist{topsep=\smallskipamount,itemsep=\smallskipamount,
+ parsep=0pt,partopsep=0pt}
+\usepackage{shortvrb}
+\MakeShortVerb{|}
+
+\begin{document}
+
+\def\documentname{User Guide}
+\newdimen\MacroIndent
+\input listparskip_heading.tex
+
+\noindent Most \LaTeX\ users are familiar with the enumerate and itemize environments, and a number of other environments share the same underlying macros and structure. These list environments are useful and versatile, and they come up in many different situations where fine control over vertical spacing is important.\footnote{There is an overlap in terminology. The list environments described in this document are very different from horizontal and vertical lists in the \TeX\ language.} The dimensions |\topsep|, |\parsep|, |\partopsep|, and |\itemsep| control vertical spacing for list environments, and by default, \LaTeX\ determines the space immediately outside a list as follows:
+\begin{itemize}
+\item Always add |\topsep| before and after a list
+\item Add |\parskip| (not |\parsep|) always before a list and usually after it\footnote{\TeX\ treats any text after a list as the start of a new paragraph, so if the next material to be typeset is text, \TeX\ adds \vrb\parskip\ after the list. If the user includes a box or rule instead of text, it does not trigger the start of a paragraph, and \TeX\ does not add \vrb\parskip.}
+\item If a list begins outside of a paragraph, add |\partopsep| before and after the list
+\end{itemize}
+If |\parskip| is nonzero, for example in a formal letter, it is impossible to include a list inside a paragraph without the inter-paragraph space suggesting that the list forms its own paragraph. (Unless the user manually changes |\parskip| or adds negative vertical glue.) Similarly, \LaTeX\ chooses whether to add |\partopsep| after a list independently of what happens at that point in the source code.
+
+The \textsf{listparskip} package modifies this behavior by making the |\parskip| and |\partopsep| spacing depend more closely on paragraph structure from the source code. Under \textsf{listparskip} rules, the space around lists happens as follows:
+\begin{itemize}
+\item Always add |\topsep| before and after a list
+\item If a list begins outside of a paragraph, add |\parskip| and |\partopsep| before the list
+\item If a blank line comes immediately after the list in the source code, always add |\partopsep| and usually add |\parskip|
+\end{itemize}
+These changes happen automatically after loading the package, and they allow the user to control whether \TeX\ positions a list environment as its own paragraph or as part of the surrounding paragraph. When |\parskip| and |\partopsep| are both 0pt, this package does nothing, but for an example of what can happen when either dimension is positive, see |listparskip_example.pdf|, which is included with the \textsf{listparskip} installation and is available on \textsc{ctan}. Users can load \textsf{listparskip} with the standard |\usepackage{listparskip}| syntax, and the package has no options.
+
+\begin{figure}[t]
+\centerline{\bfseries Table 1: Recommended Source Code to Insert after a List\strut}
+\begin{tabularx}{\textwidth}{lXX}\toprule
+Next Material to Typeset & No New Paragraph Desired & New Paragraph Desired \\\midrule
+Text & Nothing & Blank line \\
+|\item| & Nothing & Nothing or blank line \\
+Box or Rule & |\nullline| & Blank line, then |\nullline| \\\bottomrule
+\end{tabularx}
+\end{figure}
+
+\begin{figure}[tb]
+\centerline{\bfseries Table 2: Space after a List When Using \textsf{listparskip}\strut}
+\begin{tabularx}{\textwidth}{XX}\toprule
+Material after a List & Vertical Space Used in Addition to |\topsep|\\\midrule
+Text* & None \\
+Box & Don't do this\textsuperscript\ddag \\
+|\item|*\textsuperscript\dag & $\vrb\parsep+\vrb\itemsep$ \\\midrule
+Blank line, then text* & $\vrb\partopsep+\vrb\parskip$ \\
+Blank line, then box & Don't do this\textsuperscript\ddag \\
+Blank line, then |\item|*\textsuperscript\dag &
+ $\vrb\partopsep+\vrb\parsep+\vrb\itemsep$ \\\midrule
+|\nullline|, then text & |\parskip| \\
+|\nullline|, then box* & None \\
+|\nullline|, then |\item|\textsuperscript\dag &
+ $\vrb\parsep+\vrb\itemsep$ \\\midrule
+Blank line, then |\nullline|, then text &
+ $\vrb\partopsep+2\vrb\parskip$ \\
+Blank line, then |\nullline|, then box* &
+ $\vrb\partopsep+\vrb\parskip$ \\
+Blank line, then |\nullline|, then |\item|\textsuperscript\dag &
+ $\vrb\partopsep+2\vrb\parsep+\vrb\itemsep$ \\
+\bottomrule
+\end{tabularx}
+\smallskip
+\vbox{\footnotesize\noindent\hskip 1.8em\llap{*}Recommended use.
+
+\noindent\hskip 1.8em\llap{\textsuperscript\dag}For \vrb\item\ in a nested list, the \vrb\parsep\ and \vrb\itemsep\ refer to the dimensions in the outer list, not the list that just ended.
+
+\noindent\hskip 1.8em\llap{\textsuperscript\ddag}With \textsf{listparskip}, putting a box after the end of a list environment without text or \vrb\nullline\ previously may mess up vertical spacing or paragraph indentation after the box depending on what comes next.}
+\end{figure}
+
+Immediately after the end of a list environment, \textsf{listparskip} expects to see a some text, a blank line followed by text, or an |\item|. As a general rule, text means an extra |\topsep|, and a blank line followed by text leads to an extra $\vrb\topsep+\vrb\partopsep+\vrb\parskip$. If you want to put something else, such as a box or rule, after the end of a list environment, you should type |\nullline| before the other material to prevent any spacing mishaps. This macro instructs \TeX\ to behave like it just encountered a line of text except without adding any vertical space. Table~1 shows my recommendations for code to include after a list in various cases depending on the desired result, and Table~2 shows the full rules for what happens after a list with \textsf{listparskip} in various situations. For more information, see |listparskip_code.pdf|, which is included with the \textsf{listparskip} installation and is available on \textsc{ctan}.
+
+\end{document}
+\endinput
+%%
+%% End of file `listparskip_user_guide.tex'.