0

With

\documentclass[12pt, B5]{article}
\usepackage[body={13cm,18cm}]{geometry}

why do I get

LaTeX Warning: Unused global option(s): [B5].

What can I do to remove the warning?

1
  • Simply use \documentclass[12pt]{article}\usepackage[b5paper,body={13cm,18cm}]{geometry} to load the paper size within geometry.
    – Sigur
    Sep 22, 2022 at 2:30

1 Answer 1

1
\documentclass[b5paper,12pt]{article}
\usepackage[body={13cm,18cm}]{geometry}
\usepackage{showframe}
\usepackage{lipsum}
\begin{document}
\the\paperwidth \the\paperheight
\end{document}

enter image description here

1
  • I see, it had to be b5paper also for \documentclass.
    – Veak
    Sep 22, 2022 at 3:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .