1 % Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
3 % This file is part of GNU Emacs.
5 % GNU Emacs is free software: you can redistribute it and/or modify
6 % it under the terms of the GNU General Public License as published by
7 % the Free Software Foundation, either version 3 of the License, or
8 % (at your option) any later version.
10 % GNU Emacs is distributed in the hope that it will be useful,
11 % but WITHOUT ANY WARRANTY; without even the implied warranty of
12 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 % GNU General Public License for more details.
15 % You should have received a copy of the GNU General Public License
16 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
18 % This file defines `\pdflayout':
19 % - \pdflayout=(0) is A4 portrait,
20 % - \pdflayout=(1) is letter (US) portrait,
21 % - \pdflayout=(0l) is A4 landscape.
22 % - \pdflayout=(1l) is letter (US) landscape,
27 \def\pdflayout=(
#1#2)
{
36 \edef\oldwidth{\the\pdfpagewidth}
37 \pdfpagewidth=
\pdfpageheight
38 \pdfpageheight=
\oldwidth
42 \def\pdflayout=(
#1#2)
{}
45 % archtag: 63c938a5-cc78-4964-962d-603c90d34afc
47 % arch-tag: 3464d27c-1439-473a-bc47-a7c501e8c156