Skip to content

Commit

Permalink
Change dl margin space to match vspace length (#1069)
Browse files Browse the repository at this point in the history
Looking at the grey margin space around definition lists, it is still a
little too large. 0.6em matches the vspace.

Somewhere I read a design principle that one should try reduce the
overall number of different kinds of spacing.
  • Loading branch information
rocky authored Aug 13, 2024
1 parent 114f4bb commit 222b686
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mathics/doc/latex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mathics.pdf: mathics.tex documentation.tex logo-text-nodrop.pdf logo-heptatom.pd

#: File containing version information
version-info.tex: doc2latex.py
$(PYTHON) doc2latex.py $(MATHICS3_MODULE_OPTION )&& $(BASH) ./sed-hack.sh
$(PYTHON) doc2latex.py $(MATHICS3_MODULE_OPTION) && $(BASH) ./sed-hack.sh

#: Build test PDF
mathics-test.pdf: mathics-test.tex testing.tex
Expand Down
4 changes: 2 additions & 2 deletions mathics/doc/latex/mathics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@

\vspace{0.5em}%
\begin{lrbox}{\@tempboxa}
\hspace*{1em}
\hspace*{0.6em}
\begin{minipage}{0.9\columnwidth}%
\nobreak\vspace{0.6em}%
}{%
Expand All @@ -126,7 +126,7 @@
\end{minipage}\hspace*{1em}
\end{lrbox}
\colorbox{definitions}{\usebox{\@tempboxa}}
\vspace{1em}%
\vspace{0.6em}%
}\makeatother

\newcommand{\dt}[1]{#1%
Expand Down

0 comments on commit 222b686

Please sign in to comment.