A5paper nefunguje

Marcel Svitalský marcel.svitalsky at centrum.cz
Tue Aug 2 19:54:41 CEST 2005


Vit Zyka wrote:
> Marcel Svitalský wrote:
>
>> Mně funguje pro PDF toto v LaTeXu:
>>
>> \documentclass[a5paper]{article}
>> \ifx\pdfoutput\undefined\else
>
>
> Lepe:
> \newif\ifPDF
> \ifx\pdfoutput\undefined
> \else\ifnum\pdfoutput>0 \expandafter\PDFtrue\fi
> \fi
>
> \ifPDF
>
> Vit Zyka
>
>>   % PDF
>>   \setlength{\pdfpagewidth}{148.5mm}
>>   \setlength{\pdfpageheight}{210mm}
>> \fi
>>

Ta výhoda je zřejmá, nerozumím ale tomu, proč je tam třeba ten
\expandafter, tedy za jakých okolností by to bez něj nemělo stejný výsledek.

Marcel Svitalský
--

**********************************************************
   GPG public key (ID 0xD98EC83A) fingerprint:
   3BEB 4658 A998 B9B3 3476  AD64 EF87 D0A5 D98E C83A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/20050802/e3b107db/attachment-0002.bin>


More information about the csTeX mailing list