Skip to content

Commit

Permalink
reduce vertical space before TexOutput and \formatResultType
Browse files Browse the repository at this point in the history
  • Loading branch information
hemmecke committed Jun 19, 2024
1 parent 7527174 commit 3603b0c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/doc/fricas.sty
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@
\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}

\newenvironment{TeXOutput}%
{\begin{ColoredBackground}{bgmathoutput}\small}%
{\end{ColoredBackground}}
{\vspace*{-2mm}\begingroup\topsep=0pt\partopsep=0pt
\begin{ColoredBackground}{bgmathoutput}\small}%
{\end{ColoredBackground}\endgroup}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down Expand Up @@ -243,7 +244,9 @@
% ------------------------------------------------------------------------
% for some reason morekeywords swallows a space, so we reintroduce it here
\def\formatResultType#1{\begingroup
\def\formatResultType#1{\vspace*{-5mm}\begingroup
\topsep=0pt
\partopsep=0pt
\begin{ColoredBackground}{bgresulttype}
\hfill
\lstinline[%
Expand Down

0 comments on commit 3603b0c

Please sign in to comment.