Generalchanging page size in a class

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
c.mafla
Posts: 19
Joined: Sat Aug 02, 2008 1:20 am

changing page size in a class

Post by c.mafla »

Hello everybody, i'm using this class 'mymothesis' but it uses a A4 size , I need to change it to Letter.

someone can help me, i'm new with LaTeX and I dont know how to edit classes.

thanks
Attachments
mymothesis.cls
(2.21 KiB) Downloaded 234 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

changing page size in a class

Post by Stefan Kottwitz »

Hi,

if you want to edit the class file you could change line 17:

Code: Select all

\RequirePackage[a4paper,margin=1in]{geometry}
Just change a4paper to letterpaper.

Without to change the class file you could specify letter paper in a document using this class by \geometry:

Code: Select all

\geometry{letterpaper}
Stefan
LaTeX.org admin
Post Reply