Graphics, Figures & Tablesrotating | Turn one 'sidewaystable' for 180°

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
amoz
Posts: 14
Joined: Mon Mar 16, 2009 1:42 pm

rotating | Turn one 'sidewaystable' for 180°

Post by amoz »

I have a 'sidewaystable' that ends up on an even page and faces out. Reviewers are asking for that particular table to be rotated 180 degrees. I have been searching around on the net but was unable to find a working solution. Any clues? Many thanks.

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

rotating | Turn one 'sidewaystable' for 180°

Post by localghost »

The rotating package supports an option to turn all floats of this kind into the same direction.

Code: Select all

\usepackage[figuresright]{rotating}
More information can be found in the manual. Package manuals are always better sources for information than everything else.


Best regards
Thorsten¹
amoz
Posts: 14
Joined: Mon Mar 16, 2009 1:42 pm

Re: rotating | Turn one 'sidewaystable' for 180°

Post by amoz »

Thank you for the (very) quick reply! I had been misled by the (counter)clockwise options of the rotating package, which were of no help.

Problem solved, and I appreciate the advise to dig out package manuals before anything else.
Michael Mancini
Posts: 2
Joined: Fri Dec 09, 2011 7:49 pm

rotating | Turn one 'sidewaystable' for 180°

Post by Michael Mancini »

I use "LyX" to write in latex.
I have attached the code from Stefan and I am not getting the error that I had gotten before, however now I turn the figures but look like that I am doing nothing. Any ideas?

Thank a lot. Congratulations for this web page!

Code: Select all

\PassOptionsToPackage{figuresright}{rotating}
% CHANGE THIS PACKAGE TO SIUNITS
%\usepackage{gensymb}


% Symbol packages
\usepackage[version=3]{mhchem}

% Nomenclature package definitions
\usepackage{nomencl}

\usepackage{ifthen}


\renewcommand{\nomgroup}[1]{%
\ifthenelse{\equal{#1}{A}}{\item[\textbf{Roman Upper-Case Symbols}]}{%
\ifthenelse{\equal{#1}{B}}{\item[\textbf{Roman Lower-Case Symbols}]}{%
\ifthenelse{\equal{#1}{C}}{\item[\textbf{Greek Upper-Case Symbols}]}{%
\ifthenelse{\equal{#1}{D}}{\item[\textbf{Greek Lower-Case Symbols}]}{%
\ifthenelse{\equal{#1}{E}}{\item[\textbf{Other Symbols}]}{%
\ifthenelse{\equal{#1}{F}}{\item[\textbf{Superscripts}]}{%
\ifthenelse{\equal{#1}{G}}{\item[\textbf{Subscripts}]}{%
\ifthenelse{\equal{#1}{Z}}{\item[\textbf{Acronyms}]}{}}}}}}}}}
\def\nompreamble{\addcontentsline{toc}{section}{\nomname}\markboth{\nomname}{\nomname}}

\newcommand{\nomunit}[1]{%
\renewcommand{\nomentryend}{\hspace*{\fill}#1}}

\makenomenclature
% Nomenclature begins

\usepackage{fixmath}
\newcommand{\acronym}[1]{\textsc{#1}}
\newcommand{\vect}[1]{\mathbold{#1}}
\newcommand{\tensor}[1]{\mathbf{#1}}
\newcommand{\du}{\,{\rm d}}
\newcommand{\superscript}[1]{\ensuremath{^{\textrm{#1}}}} \newcommand{\subscript}[1]{\ensuremath{_{\textrm{#1}}}}
\newcommand{\nox}{NO$_\mathrm{x}$}

\usepackage[helvetica]{quotchap}
\usepackage{type1cm}
\usepackage{url}

% Control the fonts and formatting used in the table of contents.
\usepackage[titles]{tocloft}

% Aesthetic spacing redefines that look nicer to me than the defaults.
\setlength{\cftbeforechapskip}{2ex}
\setlength{\cftbeforesecskip}{0.5ex}

\usepackage{courier}

\usepackage[font=small,format=plain,labelfont=bf,up,textfont=rm,up]{caption}

\usepackage{fancyhdr}

\pagestyle{fancy}
%Para que el texto aparezca en minúsculas
\renewcommand{\chaptermark}[1]{%
\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{%
\markright{\thesection\ #1}}

%% first reset the headers and footers
\fancyhf{}
%% make the odd pages have the section name on the top right
\fancyhead[LO]{\bfseries\thepage}
\fancyhead[RE]{\bfseries\thepage}
\fancyhead[RO]{\bfseries\rightmark}
\fancyhead[LE]{\bfseries\leftmark}
%% make the even pages have the chapter name on the top left
%\fancyhead[LE]{\thepage}
%\fancyhead[RO]{\leftmark}

%\footskip = 30pt
%\fancyfoot[LE]{\includegraphics[width=3cm]{logoupc.pdf}}
%\fancyfoot[RO]{\includegraphics[width=3cm]{logoupc.pdf}}


\setlength{\footnotesep}{12pt}
\clubpenalty=10000
\widowpenalty=10000
%\brokenpenalty=100
%\hyphenpenalty=1000

\usepackage{SIunits}
%link y indice como links (Puedo definir los colores dentro del documento)
\usepackage{setspace}
\usepackage[bookmarks = true, colorlinks=true, linkcolor =blue, citecolor = blue, menucolor = black, urlcolor = blue, pagebackref=true]{hyperref} 

\usepackage [figuresright]{rotating}
Last edited by localghost on Sat Dec 10, 2011 11:32 am, edited 2 times in total.
Post Reply