From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephen Eglen Newsgroups: gmane.emacs.devel Subject: emacs reference card for A4 paper Date: Fri, 15 Oct 2004 19:01:10 +0100 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <16752.4198.237626.88552@notch.amtp.cam.ac.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1097863353 15345 80.91.229.6 (15 Oct 2004 18:02:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Oct 2004 18:02:33 +0000 (UTC) Cc: roland.winkler@physik.uni-erlangen.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 15 20:02:20 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CIWPE-0005hx-00 for ; Fri, 15 Oct 2004 20:02:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CIWWN-0002XX-SF for ged-emacs-devel@m.gmane.org; Fri, 15 Oct 2004 14:09:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CIWW6-0002SA-9c for emacs-devel@gnu.org; Fri, 15 Oct 2004 14:09:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CIWVy-0002O2-LT for emacs-devel@gnu.org; Fri, 15 Oct 2004 14:09:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CIWVy-0002M4-Jd for emacs-devel@gnu.org; Fri, 15 Oct 2004 14:09:18 -0400 Original-Received: from [131.111.8.138] (helo=ppsw-8.csi.cam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CIWOD-00024J-H7 for emacs-devel@gnu.org; Fri, 15 Oct 2004 14:01:17 -0400 Original-Received: from smtp.damtp.cam.ac.uk ([131.111.18.84]:50442 helo=medulla.damtp.cam.ac.uk) by ppsw-8.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.138]:25) with esmtp (Exim 4.34) id 1CIWO6-00069L-Em (return-path ) for emacs-devel@gnu.org; Fri, 15 Oct 2004 19:01:10 +0100 Original-Received: from notch.amtp.cam.ac.uk ([131.111.16.112] ident=[+aa9X/kQF5/PBgBCEkkGFz1DhMahp9M/]) by medulla.damtp.cam.ac.uk with esmtp (Exim 4.32) id 1CIWO6-00054n-AY; Fri, 15 Oct 2004 19:01:10 +0100 Original-Received: from sje30 by notch.amtp.cam.ac.uk with local (Exim 4.12) id 1CIWO6-0003Bu-00; Fri, 15 Oct 2004 19:01:10 +0100 Original-To: emacs-devel@gnu.org X-Mailer: VM 7.17 under Emacs 21.2.1 X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28442 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28442 Hi, I'd like to print the emacs reference card on two pages of A4 paper for a class. A quick google search showed this question had been answered a couple of years ago by Roland (cc'ed). Following his advice, here is a patch against the CVS etc/refcard.tex. With this I get a nice A4 sized refcard that fits on two pages (using tex refcard.tex; dvips -t landscape). Installing this however will break usage for letter paper users. Has anyone got a portable method that will work well for both A4 and letter paper sizes? Thanks, Stephen *** /tmp/ediff113839wV Fri Oct 15 18:47:28 2004 --- /local/scratch/public/emacs/etc/refcard.tex Fri Oct 15 18:42:17 2004 *************** *** 5,11 **** % 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. ! \columnsperpage=1 % Copyright (c) 1987, 1993, 1996, 1997 Free Software Foundation, Inc. --- 5,11 ---- % 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. ! \columnsperpage=3 % Copyright (c) 1987, 1993, 1996, 1997 Free Software Foundation, Inc. *************** *** 103,109 **** \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} \else %2 or 3 columns uses prereduced size \hsize 3.2in ! \vsize 7.95in \hoffset -.75in \voffset -.745in \font\titlefont=cmbx10 \scaledmag2 --- 103,109 ---- \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} \else %2 or 3 columns uses prereduced size \hsize 3.2in ! \vsize 7.65in \hoffset -.75in \voffset -.745in \font\titlefont=cmbx10 \scaledmag2 *************** *** 123,129 **** \def\bf{\eightbf} \def\it{\eightit} \def\tt{\eighttt} ! \normalbaselineskip=.8\normalbaselineskip \normallineskip=.8\normallineskip \normallineskiplimit=.8\normallineskiplimit \normalbaselines\rm %make definitions take effect --- 123,129 ---- \def\bf{\eightbf} \def\it{\eightit} \def\tt{\eighttt} ! \normalbaselineskip=.7\normalbaselineskip \normallineskip=.8\normallineskip \normallineskiplimit=.8\normallineskiplimit \normalbaselines\rm %make definitions take effect