Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9ff10fca
Commit
9ff10fca
authored
Oct 17, 2004
by
Stephen Eglen
Browse files
Added new counter \letterpaper to control whether refcard should be
made for letter paper (1) or for A4 paper.
parent
8903a9c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
etc/refcard.tex
etc/refcard.tex
+23
-4
No files found.
etc/refcard.tex
View file @
9ff10fca
% Reference Card for GNU Emacs version 21 on Unix systems
%**start of header
\newcount\columnsperpage
\newcount\letterpaper
% This file can be printed with 1, 2, or 3 columns per page (see below).
% Specify how many you want here.
Nothing else needs to be changed.
% Specify how many you want here.
\columnsperpage
=
1
\columnsperpage
=
3
% Set letterpapaer to 0 for A4 paper, 1 for letter (US) paper. Useful
% only when columnsperpage is 2 or 3.
\letterpaper
=1
% Nothing else needs to be changed below this line.
% Copyright (c) 1987, 1993, 1996, 1997 Free Software Foundation, Inc.
% This file is part of GNU Emacs.
...
...
@@ -42,6 +49,10 @@
% For this you need a dvi device driver that can print sideways.
% Which mode to use is controlled by setting \columnsperpage above.
%
% To compile and print this document:
% tex refcard.tex
% dvips -t landscape refcard.dvi
%
% Author:
% Stephen Gildea
% Internet: gildea@stop.mail-abuse.org
...
...
@@ -103,7 +114,11 @@
\def\makefootline
{
\baselineskip
10pt
\hsize
6.5in
\line
{
\the\footline
}}
\else
%2 or 3 columns uses prereduced size
\hsize
3.2in
\vsize
7.95in
\if
1
\the\letterpaper
\vsize
7.95in
\else
\vsize
7.65in
\fi
\hoffset
-.75in
\voffset
-.745in
\font\titlefont
=cmbx10
\scaledmag
2
...
...
@@ -123,7 +138,11 @@
\def\bf
{
\eightbf
}
\def\it
{
\eightit
}
\def\tt
{
\eighttt
}
\normalbaselineskip
=.8
\normalbaselineskip
\if
1
\the\letterpaper
\normalbaselineskip
=.8
\normalbaselineskip
\else
\normalbaselineskip
=.7
\normalbaselineskip
\fi
\normallineskip
=.8
\normallineskip
\normallineskiplimit
=.8
\normallineskiplimit
\normalbaselines\rm
%make definitions take effect
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment