orgcard.tex: Allow correct rendering in PDF format and US letter page size

* doc/orgcard.tex: orgcard now can be printed as a triptych.  Shorten
titles to prevent overflows.

Link: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64578

TINYCHANGE
This commit is contained in:
José Miguel García Urrutia 2023-07-11 23:15:57 -05:00 committed by Ihor Radchenko
parent 2da9253e7d
commit 490260ceb8
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 10 additions and 9 deletions

View File

@ -9,10 +9,14 @@
% Specify how many you want here.
\columnsperpage=3
% Set letterpaper to 0 for A4 paper, 1 for letter (US) paper. Useful
% only when columnsperpage is 2 or 3.
\letterpaper=1
% PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
% a landscape layout.
\input pdflayout.sty
\pdflayout=(0l)
\pdflayout=(1l)
% Nothing else needs to be changed below this line.
% Copyright (C) 1987, 1993, 1996--1997, 2001--2024 Free Software
@ -108,17 +112,14 @@
\footline{\hss\folio}
\def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
\else %2 or 3 columns uses prereduced size
\hsize 3.2in
\if 1\the\letterpaper
\hsize 3.2in
\vsize 7.95in
\hoffset -.75in
\voffset -.745in
\else
\hsize 3.2in
\vsize 7.65in
\hoffset -.25in
\voffset -.745in
\fi
\hoffset -.75in
\voffset -.745in
\font\titlefont=cmbx10 \scaledmag2
\font\headingfont=cmbx10 \scaledmag1
\font\smallfont=cmr6
@ -275,7 +276,7 @@
%**end of header
\title{Org-Mode Reference Card (1/2)}
\title{Org-Mode Reference Card}
\centerline{(for version \orgversionnumber)}
@ -477,7 +478,7 @@ after ``{\tt :}'', and dictionary words elsewhere.
\newcolumn
\title{Org-Mode Reference Card (2/2)}
\title{Org-Mode Reference Card}
\centerline{(for version \orgversionnumber)}