Article View: gnu.gdb.bug
Article #542gdb-4.7 reference card
From: Paul J Rippin
Date: Wed, 23 Dec 1992 16:36
Date: Wed, 23 Dec 1992 16:36
96 lines
3511 bytes
3511 bytes
Version: 4.7
We use gdb extensively on-site, and also make use of the reference card.
However, we do not have access to American paper size so I needed to print
the reference card on A4. My knowledge of TeX is not very good so I've
worked out the changes by trial-and-error, but I do not know how to make
the card easily configurable. If anyone can do this please do.
*** refcard.tex.orig Sat Aug 15 12:05:57 1992
--- refcard.tex Wed Dec 23 15:55:16 1992
***************
*** 63,71 ****
% Three-column format for landscape printing on 8.5x11 paper
% We want output .25 inch *from paper edge*; i.e. -.75in from TeX default
! \hoffset=-0.8in \voffset=-0.75in
\newdimen\fullhsize
! \fullhsize=10.5in \hsize=3.3in
\def\fulline{\hbox to \fullhsize}
\let\lcr=L \newbox\leftcolumn\newbox\centercolumn
\output={\if L\lcr
--- 63,72 ----
% Three-column format for landscape printing on 8.5x11 paper
% We want output .25 inch *from paper edge*; i.e. -.75in from TeX default
! % PJR
! \hoffset=-0.6in \voffset=-0.75in
\newdimen\fullhsize
! \fullhsize=11.1in \hsize=3.5in
\def\fulline{\hbox to \fullhsize}
\let\lcr=L \newbox\leftcolumn\newbox\centercolumn
\output={\if L\lcr
***************
*** 120,126 ****
%-------------------- end font defs ---------------------------------
%
! \vsize=8in
\hyphenpenalty=5000\tolerance=2000\raggedright\raggedbottom
\normalbaselineskip=9pt\baselineskip=9pt
%
--- 121,128 ----
%-------------------- end font defs ---------------------------------
%
! % PJR
! \vsize=7.75in
\hyphenpenalty=5000\tolerance=2000\raggedright\raggedbottom
\normalbaselineskip=9pt\baselineskip=9pt
%
***************
*** 136,147 ****
\halign{%
%COL 1 (of halign):
\vtop{\hsize=1.1in\tt
! ##\par\vskip 2pt }\hfil
%COL 2 (of halign):
&\vtop{\hsize=2.1in\hangafter=1\hangindent=0.5em
! \rm ##\par\vskip 2pt}\cr
%Tail of \long\def fills in halign body with \sec args:
! \noalign{{\bbf #1}\vskip 2pt}
#2
}
}
--- 138,152 ----
\halign{%
%COL 1 (of halign):
\vtop{\hsize=1.1in\tt
! % PJR
! ##\par\vskip 1pt }\hfil
%COL 2 (of halign):
&\vtop{\hsize=2.1in\hangafter=1\hangindent=0.5em
! % PJR
! \rm ##\par\vskip 1pt}\cr
%Tail of \long\def fills in halign body with \sec args:
! % PJR
! \noalign{{\bbf #1}\vskip 1pt}
#2
}
}
Hope this can be included in the next release.
Paul
+-------------------------------------------------------------------+
| Paul Rippin | Voice : 44-(0)235-465243 |
| CODAS Division | FAX : 44-(0)235-464404 |
| JET Joint Undertaking | E-mail : pjr@jet.uk |
| Abingdon |-------------------------------------------|
| Oxfordshire | |
| OX14 3EA | |
| United Kingdom | |
+-------------------------------------------------------------------+
Technical Details
Message-ID:
<9212231636.AA17259@mmi-codas.jet.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!jet.UK!pjrShow Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!jet.UK!pjr From: pjr@jet.UK (Paul J Rippin) Subject: gdb-4.7 reference card Message-ID: <9212231636.AA17259@mmi-codas.jet.uk> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 23 Dec 1992 16:36:14 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 98