Code: Select all
LaTeX Warning: Unused global option(s):
[letterpaper].Code: Select all
\LoadClass[hyperpdf,nobind,sftitles,twoside,nobooktabs,letterpaper]{hepthesis}Any help would be greatly appreciated!
Best,
Flip
Code: Select all
LaTeX Warning: Unused global option(s):
[letterpaper].Code: Select all
\LoadClass[hyperpdf,nobind,sftitles,twoside,nobooktabs,letterpaper]{hepthesis}Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Are you sure that you're using the current versions of both hepthesis and scrbook? hepthesis.cls supports letterpaper. Here's code of that class v1.4.2:fliptomato wrote: Hello everyone, I've been using the hepthesis class (http://www.ctan.org/tex-archive/help/Ca ... hesis.html) to typeset a document
Code: Select all
\DeclareOption{letterpaper}{%
\def\@useAFour{}%
\PassOptionsToClass{letterpaper}{scrbook}%
}Code: Select all
\documentclass[]{hepthesis}
\title{An example}
\author{Exmple McExampleson}
\begin{document}
\begin{mainmatter}
\chapter{Example}
Test chapter.
\end{mainmatter}
\end{document}
Code: Select all
\documentclass[letterpaper]{hepthesis}
\title{An example}
\author{Exmple McExampleson}
\begin{document}
\begin{mainmatter}
\chapter{Example}
Test chapter.
\end{mainmatter}
\end{document}
You could look into the generated .log file for a line likefliptomato wrote: Is there a way to check my version of scrbook?
Code: Select all
Document Class: scrbook 2008/11/14 v3.01 KOMA-Script document class (book)Code: Select all
(./hepthesis.cls
Document Class: hepthesis 2008/05/23 HEP thesis class by Andy Buckley (v1.4.2)
(/usr/local/texlive/2008/texmf-dist/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2009/01/24 v3.02b KOMA-Script document class (book)
(/usr/local/texlive/2008/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2009/01/24 v3.02b KOMA-Script package (KOMA-Script-dependent
basics and keyval usage)Code: Select all
\documentclass[letterpage]{hepthesis}
\title{An example}
\author{Test}
\begin{document}
\begin{mainmatter}
\chapter{Example}
Test Chapter
\end{mainmatter}
\end{document}Code: Select all
LaTeX Warning: Unused global option(s):
[letterpage].Here you have to use letterpaper instead of letterpage.fliptomato wrote: Here's my tex file:Code: Select all
\documentclass[letterpage]{hepthesis}
Ah! Indeed you are correct, thanks! However, I'm still only producing A4 documents rather than US letter-sized documents.Stefan_K wrote: Here you have to use letterpaper instead of letterpage.
Stefan
Code: Select all
\def\@useAFour{yes}Code: Select all
\def\@useAFour{}Code: Select all
\setlength{\pdfpagewidth}{\paperwidth}
\setlength{\pdfpageheight}{\paperheight}Code: Select all
\documentclass[letterpaper]{scrbook}Code: Select all
\PassOptionsToClass{letterpaper}{scrbook}Code: Select all
\PassOptionsToClass{letterpaper}{scrbook}
\LoadClass[12pt,chapterprefix]{scrbook}Code: Select all
LaTeX Warning: Unused global option(s):
[letterpaper].Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis