|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
LetterpaperHi all,
If I compile this file with PDFLaTeX (under MiKTeX 2.7): \documentclass[a4paper]{article} \begin{document} The article under review contains a proof of the fact that $2+2=4$. However, not only the statement is well-known as, furthermore, to proof is flawed. \end{document} I get (not surprisingly) an A4 size document. However, if a4paper is replaced by letterpaper I still get an A4 size document. Why is that? Best regards, Jose Carlos Santos ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Letterpaperam Sonntag, 27. Juli 2008 um 18:55 schrieb José Carlos Santos:
> Hi all, > If I compile this file with PDFLaTeX (under MiKTeX 2.7): > \documentclass[a4paper]{article} > \begin{document} > The article under review contains a proof of the fact that > $2+2=4$. However, not only the statement is well-known as, > furthermore, to proof is flawed. > \end{document} > I get (not surprisingly) an A4 size document. However, if > a4paper > is replaced by > letterpaper > I still get an A4 size document. Why is that? Because the letterpaper option only set TeX-variables but don't set pdf page size. (article.cls is much to old to know about pdf). Either set \pdfpagewidth and \pdfpageheight manually or use \usepackage[dvips]{geometry} (Yes, dvips is okay even with pdflatex). Newer classes like the KOMA-classes or memoir have options to set the pagesize, e.g.: \documentclass[letterpaper, pagesize]{scrbook} -- Mit freundlichen Grüßen Ulrike Fischer mailto:list@... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: LetterpaperOn 27-07-2008 18:02, Ulrike Fischer wrote:
>> If I compile this file with PDFLaTeX (under MiKTeX 2.7): > >> \documentclass[a4paper]{article} >> \begin{document} >> The article under review contains a proof of the fact that >> $2+2=4$. However, not only the statement is well-known as, >> furthermore, to proof is flawed. >> \end{document} > >> I get (not surprisingly) an A4 size document. However, if > >> a4paper > >> is replaced by > >> letterpaper > >> I still get an A4 size document. Why is that? > > > Because the letterpaper option only set TeX-variables but don't set > pdf page size. (article.cls is much to old to know about pdf). Are you sure that that's the only problem? I don't think so, because I get exactly the same text with both options. But with the letterpaper option I should get longer lines together with a smaller number of lines than with the a4paper option, right?! However, I see no difference. Best regards, Jose Carlos Santos ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Letterpaperam Sonntag, 27. Juli 2008 um 19:13 schrieb José Carlos Santos:
> Are you sure that that's the only problem? Yes. > I don't think so, because I > get exactly the same text with both options. But with the letterpaper > option I should get longer lines together with a smaller number of > lines than with the a4paper option, right?! No. \textwidth is the same for a4paper and letterpaper. But \textheight changes (a4 paper is a bit longer): \documentclass[a4paper]{article} \usepackage{lipsum} \showthe\textwidth \showthe\textheight \begin{document} \lipsum \end{document} If you want a class that adapts the textbody better to the surrounding paper look at the newer classes. -- Mit freundlichen Grüßen Ulrike Fischer mailto:list@... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: LetterpaperOn 27-07-2008 18:33, Ulrike Fischer wrote:
>> Are you sure that that's the only problem? > > Yes. > >> I don't think so, because I >> get exactly the same text with both options. But with the letterpaper >> option I should get longer lines together with a smaller number of >> lines than with the a4paper option, right?! > > No. \textwidth is the same for a4paper and letterpaper. But > \textheight changes (a4 paper is a bit longer): > > \documentclass[a4paper]{article} > \usepackage{lipsum} > \showthe\textwidth > \showthe\textheight > \begin{document} > \lipsum > \end{document} > > If you want a class that adapts the textbody better to the surrounding > paper look at the newer classes. Got it. Thanks a lot. Best regards, Jose Carlos Santos ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
| Free Forum Powered by Nabble | Forum Help |