2

I am using this thesis template and sidewaystable environments provided by the rotating package. However, I have a two-sided document, and I have two sidewaystable environments, one on each page, which not rotated in the sme direction. Instead, one sidewaystable is rotated to the right and the other to the left.

This post explains a similar problem. The solution to it is to add:

\usepackage[figuresright]{rotating}

to the preamble. However, I get a strange error when I add the above line to this thesis template. The error says:

Option clash for package rotating.

Can anyone point to me what is the problem? Which option does it clash with?

1
  • 1
    note that the solution suggested by Mico's answer is exactly the solution suggested by latex if you type h to the error message.... Jan 7, 2020 at 7:52

1 Answer 1

9

According to line 131 in the file ociamthesis.cls, the LaTeX document class you employ, the rotating package is loaded automatically, but without any options. When LaTeX encounters the directive \usepackage[figuresright]{rotating} in the preamble of your document, it issues a warning message since packages shouldn't be loaded repeatedly with inconsistent (let alone mutually conflicting) options

The solution is to set figuresright as one of the options of the \documentclass directive at the very top of your document:

\documentclass[figuresright,<any other options>]{ociamthesis}

Options specified at the \documentclass stage will get passed to subsequent \usepackage statements automatically.

If you follow this route, there will be no need for a separate \usepackage[figuresright]{rotating} directive in the preamble of your document.

You must log in to answer this question.

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