bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit adbef370d38667b3e2e109e8b3ba7a72bf8c1d0a
parent 742843af7b3ac29dd1a32bb9213d859ab69a5074
Author: Matthew Flatt <mflatt@racket-lang.org>
Date:   Wed, 30 Mar 2011 18:08:58 -0600

Scribble: use \abovedisplayskip and \belowdisplayskip for code insets

original commit: 4703265503c1ff3dca6bef8831d452a17ba2e213

Diffstat:
Mcollects/scribble/scribble.tex | 6++++--
Mcollects/scribble/sigplan/style.tex | 8--------
2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/collects/scribble/scribble.tex b/collects/scribble/scribble.tex @@ -96,9 +96,11 @@ % The 'inset nested-flow style uses the `quote' environment % Indent a 'code-inset nested flow: -\newenvironment{SCodeFlow}{\begin{list}{}{\topsep=0pt\partopsep=0pt% +\newcommand{\SCodePreSkip}{\vskip\abovedisplayskip} +\newcommand{\SCodePostSkip}{\vskip\belowdisplayskip} +\newenvironment{SCodeFlow}{\SCodePreSkip\begin{list}{}{\topsep=0pt\partopsep=0pt% \listparindent=0pt\itemindent=0pt\labelwidth=0pt\leftmargin=2ex\rightmargin=0pt% -\itemsep=0pt\parsep=0pt}\item}{\end{list}} +\itemsep=0pt\parsep=0pt}\item}{\end{list}\SCodePostSkip} % The 'compact itemization style: \newenvironment{compact}{\begin{itemize}}{\end{itemize}} diff --git a/collects/scribble/sigplan/style.tex b/collects/scribble/sigplan/style.tex @@ -18,11 +18,3 @@ \renewcommand{\SCategoryPlus}[4]{\category{#1}{#2}{#3}[#4]} \renewcommand{\STerms}[1]{\terms{#1}} \renewcommand{\SKeywords}[1]{\keywords{#1}} - -% Add space around code insets: -% Indent a 'code-inset nested flow: -\newcommand{\SCodePreSkip}{\vskip\medskipamount} -\newcommand{\SCodePostSkip}{\vskip\medskipamount} -\renewenvironment{SCodeFlow}{\SCodePreSkip\begin{list}{}{\topsep=0pt\partopsep=0pt% -\listparindent=0pt\itemindent=0pt\labelwidth=0pt\leftmargin=2ex\rightmargin=0pt% -\itemsep=0pt\parsep=0pt}\item}{\end{list}\SCodePostSkip}