Rotating package + sidewaystable + pagenumbering not rotated expected











up vote
12
down vote

favorite












This question is similar to: Set up sidewaysfigure to have the bottom of the figure toward the spine but that question doesn't give me the result I'm looking for.



Instead, I want my tables to be rotated such that the top of the figure is always near the spine. But I believe I've run into an incompatibility related to the rotating package and page numbering styles.



There's an example below, which I'm compiling using two passes of pdflatex. The result is that Table 1 is rotated with the top away from the spine. If I comment out "Line A" (see example), then the table is rotated as expected. In other words, changing the page numbering style is also causing my tables to rotate different ways, and that's not what I want.



In my case, all pages will alternate, regardless of the number on the page. That is, the first page in the PDF will be on the right of the spine when the book is open, the second page to the left, etc, regardless of the numbering in the resulting PDF, and I'm not allowed to include blank pages. This format is bad, but it's imposed by another authority and is not negotiable.



How can I continue to include line A and still get the table rotated as desired?
Thanks!



documentclass[10pt,twoside,letterpaper,oldfontcommands,openany]{memoir}

usepackage{rotating} % Rotating table
pagenumbering{roman} % This makes the page numbers Roman (i, ii, etc)
title{Test title}
author{Test author}

begin{document}
Test title page

clearpagepagenumbering{arabic} % Line A. Toggle this

chapter{Test chapter}

begin{sidewaystable}
centering
begin{tabular}{|l|}
hline
A \
hline
a \
hline
end{tabular}
caption{Table 1}
end{sidewaystable}

begin{sidewaystable}
centering
begin{tabular}{|l|}
hline
B \
hline
b \
hline
end{tabular}
caption{Table 2}
end{sidewaystable}

end{document}









share|improve this question




















  • 1




    Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format.
    – karlkoeller
    Jun 18 '13 at 17:51










  • @Matt Anyway fight to express youself in your own format, which is surely better than this or mine!
    – RicoRally
    Nov 9 '14 at 11:58

















up vote
12
down vote

favorite












This question is similar to: Set up sidewaysfigure to have the bottom of the figure toward the spine but that question doesn't give me the result I'm looking for.



Instead, I want my tables to be rotated such that the top of the figure is always near the spine. But I believe I've run into an incompatibility related to the rotating package and page numbering styles.



There's an example below, which I'm compiling using two passes of pdflatex. The result is that Table 1 is rotated with the top away from the spine. If I comment out "Line A" (see example), then the table is rotated as expected. In other words, changing the page numbering style is also causing my tables to rotate different ways, and that's not what I want.



In my case, all pages will alternate, regardless of the number on the page. That is, the first page in the PDF will be on the right of the spine when the book is open, the second page to the left, etc, regardless of the numbering in the resulting PDF, and I'm not allowed to include blank pages. This format is bad, but it's imposed by another authority and is not negotiable.



How can I continue to include line A and still get the table rotated as desired?
Thanks!



documentclass[10pt,twoside,letterpaper,oldfontcommands,openany]{memoir}

usepackage{rotating} % Rotating table
pagenumbering{roman} % This makes the page numbers Roman (i, ii, etc)
title{Test title}
author{Test author}

begin{document}
Test title page

clearpagepagenumbering{arabic} % Line A. Toggle this

chapter{Test chapter}

begin{sidewaystable}
centering
begin{tabular}{|l|}
hline
A \
hline
a \
hline
end{tabular}
caption{Table 1}
end{sidewaystable}

begin{sidewaystable}
centering
begin{tabular}{|l|}
hline
B \
hline
b \
hline
end{tabular}
caption{Table 2}
end{sidewaystable}

end{document}









share|improve this question




















  • 1




    Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format.
    – karlkoeller
    Jun 18 '13 at 17:51










  • @Matt Anyway fight to express youself in your own format, which is surely better than this or mine!
    – RicoRally
    Nov 9 '14 at 11:58















up vote
12
down vote

favorite









up vote
12
down vote

favorite











This question is similar to: Set up sidewaysfigure to have the bottom of the figure toward the spine but that question doesn't give me the result I'm looking for.



Instead, I want my tables to be rotated such that the top of the figure is always near the spine. But I believe I've run into an incompatibility related to the rotating package and page numbering styles.



There's an example below, which I'm compiling using two passes of pdflatex. The result is that Table 1 is rotated with the top away from the spine. If I comment out "Line A" (see example), then the table is rotated as expected. In other words, changing the page numbering style is also causing my tables to rotate different ways, and that's not what I want.



In my case, all pages will alternate, regardless of the number on the page. That is, the first page in the PDF will be on the right of the spine when the book is open, the second page to the left, etc, regardless of the numbering in the resulting PDF, and I'm not allowed to include blank pages. This format is bad, but it's imposed by another authority and is not negotiable.



How can I continue to include line A and still get the table rotated as desired?
Thanks!



documentclass[10pt,twoside,letterpaper,oldfontcommands,openany]{memoir}

usepackage{rotating} % Rotating table
pagenumbering{roman} % This makes the page numbers Roman (i, ii, etc)
title{Test title}
author{Test author}

begin{document}
Test title page

clearpagepagenumbering{arabic} % Line A. Toggle this

chapter{Test chapter}

begin{sidewaystable}
centering
begin{tabular}{|l|}
hline
A \
hline
a \
hline
end{tabular}
caption{Table 1}
end{sidewaystable}

begin{sidewaystable}
centering
begin{tabular}{|l|}
hline
B \
hline
b \
hline
end{tabular}
caption{Table 2}
end{sidewaystable}

end{document}









share|improve this question















This question is similar to: Set up sidewaysfigure to have the bottom of the figure toward the spine but that question doesn't give me the result I'm looking for.



Instead, I want my tables to be rotated such that the top of the figure is always near the spine. But I believe I've run into an incompatibility related to the rotating package and page numbering styles.



There's an example below, which I'm compiling using two passes of pdflatex. The result is that Table 1 is rotated with the top away from the spine. If I comment out "Line A" (see example), then the table is rotated as expected. In other words, changing the page numbering style is also causing my tables to rotate different ways, and that's not what I want.



In my case, all pages will alternate, regardless of the number on the page. That is, the first page in the PDF will be on the right of the spine when the book is open, the second page to the left, etc, regardless of the numbering in the resulting PDF, and I'm not allowed to include blank pages. This format is bad, but it's imposed by another authority and is not negotiable.



How can I continue to include line A and still get the table rotated as desired?
Thanks!



documentclass[10pt,twoside,letterpaper,oldfontcommands,openany]{memoir}

usepackage{rotating} % Rotating table
pagenumbering{roman} % This makes the page numbers Roman (i, ii, etc)
title{Test title}
author{Test author}

begin{document}
Test title page

clearpagepagenumbering{arabic} % Line A. Toggle this

chapter{Test chapter}

begin{sidewaystable}
centering
begin{tabular}{|l|}
hline
A \
hline
a \
hline
end{tabular}
caption{Table 1}
end{sidewaystable}

begin{sidewaystable}
centering
begin{tabular}{|l|}
hline
B \
hline
b \
hline
end{tabular}
caption{Table 2}
end{sidewaystable}

end{document}






tables page-numbering rotating






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 16 '17 at 14:48









David Carlisle

477k3811061841




477k3811061841










asked Jun 18 '13 at 17:49









Matt

61114




61114








  • 1




    Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format.
    – karlkoeller
    Jun 18 '13 at 17:51










  • @Matt Anyway fight to express youself in your own format, which is surely better than this or mine!
    – RicoRally
    Nov 9 '14 at 11:58
















  • 1




    Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format.
    – karlkoeller
    Jun 18 '13 at 17:51










  • @Matt Anyway fight to express youself in your own format, which is surely better than this or mine!
    – RicoRally
    Nov 9 '14 at 11:58










1




1




Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format.
– karlkoeller
Jun 18 '13 at 17:51




Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format.
– karlkoeller
Jun 18 '13 at 17:51












@Matt Anyway fight to express youself in your own format, which is surely better than this or mine!
– RicoRally
Nov 9 '14 at 11:58






@Matt Anyway fight to express youself in your own format, which is surely better than this or mine!
– RicoRally
Nov 9 '14 at 11:58












2 Answers
2






active

oldest

votes

















up vote
4
down vote













As rotation goes along with page count, I though to change it, so tables are oriented as you want. I hope page numbering was not a mandatory requirement. :)

Your Line A hass been changed.



documentclass[10pt,twoside,letterpaper,oldfontcommands,openany]{memoir}

usepackage{rotating}
pagenumbering{roman}
title{Test title}
author{Test author}

begin{document}
Test title page

clearpagepagenumbering{arabic}setcounter{page}{2}

chapter{Test chapter}

begin{sidewaystable}
centering
begin{tabular}{|l|}
hline
A \
hline
a \
hline
end{tabular}
caption{Table 1}
end{sidewaystable}

begin{sidewaystable}
centering
begin{tabular}{|l|}
hline
B \
hline
b \
hline
end{tabular}
caption{Table 2}
end{sidewaystable}

end{document}





share|improve this answer




























    up vote
    0
    down vote













    Though this question is maybe not relevant for you anymore, I thought others may still be interested.



    I found an answer to this question in the package documentation here.



    You can set an option in the rotating package:



    usepackage[figuresleft]{rotating}


    or



    usepackage[figuresright]{rotating}


    depending on which way you would like them to face.



    Hope it helps!






    share|improve this answer








    New contributor




    linx is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.


















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "85"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














       

      draft saved


      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f119802%2frotating-package-sidewaystable-pagenumbering-not-rotated-expected%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      4
      down vote













      As rotation goes along with page count, I though to change it, so tables are oriented as you want. I hope page numbering was not a mandatory requirement. :)

      Your Line A hass been changed.



      documentclass[10pt,twoside,letterpaper,oldfontcommands,openany]{memoir}

      usepackage{rotating}
      pagenumbering{roman}
      title{Test title}
      author{Test author}

      begin{document}
      Test title page

      clearpagepagenumbering{arabic}setcounter{page}{2}

      chapter{Test chapter}

      begin{sidewaystable}
      centering
      begin{tabular}{|l|}
      hline
      A \
      hline
      a \
      hline
      end{tabular}
      caption{Table 1}
      end{sidewaystable}

      begin{sidewaystable}
      centering
      begin{tabular}{|l|}
      hline
      B \
      hline
      b \
      hline
      end{tabular}
      caption{Table 2}
      end{sidewaystable}

      end{document}





      share|improve this answer

























        up vote
        4
        down vote













        As rotation goes along with page count, I though to change it, so tables are oriented as you want. I hope page numbering was not a mandatory requirement. :)

        Your Line A hass been changed.



        documentclass[10pt,twoside,letterpaper,oldfontcommands,openany]{memoir}

        usepackage{rotating}
        pagenumbering{roman}
        title{Test title}
        author{Test author}

        begin{document}
        Test title page

        clearpagepagenumbering{arabic}setcounter{page}{2}

        chapter{Test chapter}

        begin{sidewaystable}
        centering
        begin{tabular}{|l|}
        hline
        A \
        hline
        a \
        hline
        end{tabular}
        caption{Table 1}
        end{sidewaystable}

        begin{sidewaystable}
        centering
        begin{tabular}{|l|}
        hline
        B \
        hline
        b \
        hline
        end{tabular}
        caption{Table 2}
        end{sidewaystable}

        end{document}





        share|improve this answer























          up vote
          4
          down vote










          up vote
          4
          down vote









          As rotation goes along with page count, I though to change it, so tables are oriented as you want. I hope page numbering was not a mandatory requirement. :)

          Your Line A hass been changed.



          documentclass[10pt,twoside,letterpaper,oldfontcommands,openany]{memoir}

          usepackage{rotating}
          pagenumbering{roman}
          title{Test title}
          author{Test author}

          begin{document}
          Test title page

          clearpagepagenumbering{arabic}setcounter{page}{2}

          chapter{Test chapter}

          begin{sidewaystable}
          centering
          begin{tabular}{|l|}
          hline
          A \
          hline
          a \
          hline
          end{tabular}
          caption{Table 1}
          end{sidewaystable}

          begin{sidewaystable}
          centering
          begin{tabular}{|l|}
          hline
          B \
          hline
          b \
          hline
          end{tabular}
          caption{Table 2}
          end{sidewaystable}

          end{document}





          share|improve this answer












          As rotation goes along with page count, I though to change it, so tables are oriented as you want. I hope page numbering was not a mandatory requirement. :)

          Your Line A hass been changed.



          documentclass[10pt,twoside,letterpaper,oldfontcommands,openany]{memoir}

          usepackage{rotating}
          pagenumbering{roman}
          title{Test title}
          author{Test author}

          begin{document}
          Test title page

          clearpagepagenumbering{arabic}setcounter{page}{2}

          chapter{Test chapter}

          begin{sidewaystable}
          centering
          begin{tabular}{|l|}
          hline
          A \
          hline
          a \
          hline
          end{tabular}
          caption{Table 1}
          end{sidewaystable}

          begin{sidewaystable}
          centering
          begin{tabular}{|l|}
          hline
          B \
          hline
          b \
          hline
          end{tabular}
          caption{Table 2}
          end{sidewaystable}

          end{document}






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 9 '14 at 11:54









          RicoRally

          954412




          954412






















              up vote
              0
              down vote













              Though this question is maybe not relevant for you anymore, I thought others may still be interested.



              I found an answer to this question in the package documentation here.



              You can set an option in the rotating package:



              usepackage[figuresleft]{rotating}


              or



              usepackage[figuresright]{rotating}


              depending on which way you would like them to face.



              Hope it helps!






              share|improve this answer








              New contributor




              linx is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                up vote
                0
                down vote













                Though this question is maybe not relevant for you anymore, I thought others may still be interested.



                I found an answer to this question in the package documentation here.



                You can set an option in the rotating package:



                usepackage[figuresleft]{rotating}


                or



                usepackage[figuresright]{rotating}


                depending on which way you would like them to face.



                Hope it helps!






                share|improve this answer








                New contributor




                linx is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Though this question is maybe not relevant for you anymore, I thought others may still be interested.



                  I found an answer to this question in the package documentation here.



                  You can set an option in the rotating package:



                  usepackage[figuresleft]{rotating}


                  or



                  usepackage[figuresright]{rotating}


                  depending on which way you would like them to face.



                  Hope it helps!






                  share|improve this answer








                  New contributor




                  linx is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  Though this question is maybe not relevant for you anymore, I thought others may still be interested.



                  I found an answer to this question in the package documentation here.



                  You can set an option in the rotating package:



                  usepackage[figuresleft]{rotating}


                  or



                  usepackage[figuresright]{rotating}


                  depending on which way you would like them to face.



                  Hope it helps!







                  share|improve this answer








                  New contributor




                  linx is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  linx is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered yesterday









                  linx

                  12




                  12




                  New contributor




                  linx is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  linx is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  linx is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f119802%2frotating-package-sidewaystable-pagenumbering-not-rotated-expected%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Entries order in /etc/network/interfaces

                      新発田市

                      Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)