aboutsummaryrefslogtreecommitdiff
path: root/fmt
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2021-02-12 23:31:18 -0500
committerHolden Rohrer <hr@hrhr.dev>2021-02-12 23:31:18 -0500
commitbb5c42c97cae9a72472db60bc49baefcaf70994d (patch)
tree3cf212198cd6fcc2e710e9ee6e60ac30be35132b /fmt
parent066496e3d8b03da27cfb92043cf3347ae6c07c32 (diff)
made fmt/doc.h better
Diffstat (limited to 'fmt')
-rw-r--r--fmt/doc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fmt/doc.h b/fmt/doc.h
index b627384..5f2f98b 100644
--- a/fmt/doc.h
+++ b/fmt/doc.h
@@ -13,7 +13,7 @@
%% Sectioning
\def\titlesub#1#2{\centerline{\fourteenbf #1}\centerline{#2}\bigskip}
-\def\section#1{\vskip .3\hsize\goodbreak\vskip -.3\hsize\bigskip\noindent{\fourteenbf #1:}\par}
+\def\section#1{\bigskip\vskip .2\hsize\goodbreak\vskip -.2\hsize\noindent{\fourteenbf #1:}\par}
%% Table
\def\make#1{\hskip3pt\hfil #1\hfil\hskip3pt\vrule height 12pt depth 2pt\relax}
@@ -23,7 +23,9 @@
}
}
%% Pictures
+
+
\def\pic#1#2{\pdfximage width #1{#2}\pdfrefximage\pdflastximage}
\def\picture#1#2{\vbox{\centerline{\pic{5in}{#1}}\caption{#2}}}
\def\twopicture#1#2#3{\vbox{\line{\pic{3in}{#1}\hfil\pic{3in}{#2}}\caption{#3}}}
-\def\dubpicture#1#2#3#4{\line{\hsize=2.5in\parindent=0pt\vtop{\pic{2.5in}{#1}\caption{#3}}\hfil\vtop{\pic{2.5in}{#2}\caption{#4}}}}
+\def\dubpicture#1#2#3#4{\line{\hsize=2.5in\parindent=0pt\vtop{\pic{3in}{#1}\caption{#3}}\hfil\vtop{\pic{3in}{#2}\caption{#4}}}}