{"id":255,"date":"2024-01-09T12:27:37","date_gmt":"2024-01-09T17:27:37","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/pbtips\/?post_type=chapter&#038;p=255"},"modified":"2024-01-29T13:16:00","modified_gmt":"2024-01-29T18:16:00","slug":"display-landscape-table-in-print-version","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/pbtips\/chapter\/display-landscape-table-in-print-version\/","title":{"raw":"Display Landscape Table in Print Version","rendered":"Display Landscape Table in Print Version"},"content":{"raw":"<strong>Theme Options<\/strong> allow you to adjust the display options for the web, PDF, and eBook version of your text individually. The amount of customization available for each format will vary depending on the theme you have chosen.\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Resourcces<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nTo learn more about adjusting export Appearance settings, review the following guide:\r\n<ul>\r\n \t<li><a href=\"https:\/\/raider.pressbooks.pub\/pressbooksguide\/chapter\/customizing-your-exports-with-custom-styles\/\">Pressbooks User Guide - Customizing your Exports with Custom Styles<\/a><\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/div>\r\n<div style=\"font-weight: 400\">\r\n<div>\r\n<h2>Issue<\/h2>\r\nA wider table may display well in the web version of your text, but get cut off in the PDF export.\r\n<h2>Solution<\/h2>\r\n[caption id=\"attachment_214\" align=\"aligncenter\" width=\"1024\"]<img class=\"wp-image-214 size-large\" src=\"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-content\/uploads\/sites\/1918\/2023\/05\/Screenshot-2023-07-12-at-9.35.20-AM-1024x395.png\" alt=\"\" width=\"1024\" height=\"395\" \/> Remember when editing the Custom Styles Sheet, you can customize the Web, PDF, and Ebook versions. If you want the change to occur across all three formats, you will need to copy the code to each drop-down (top).[\/caption]\r\n\r\n&nbsp;\r\n\r\nTo prevent the table from getting cut off, you can add CSS\u00a0 to the <strong>Custom Styles Sheet<\/strong> that will force the table to display in landscape format in your PDF export.\r\n\r\n<\/div>\r\n<ol>\r\n \t<li>On the Dashboard, select<strong> Appearance<\/strong> then<strong> Custom Styles<\/strong><\/li>\r\n \t<li>At the top of the page, select <strong>PDF<\/strong> on the dropdown menu labelled -\u00a0 <strong>You are currently editing styles for: <\/strong><\/li>\r\n \t<li>In the <strong>Your PDF Styles<\/strong> box, add the CSS shown below<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div>\r\n<div class=\"textbox\">\r\n\r\n<strong>Custom CSS:<\/strong>\r\n<div>@page big_table {\r\nprince-rotate-body: landscape;\r\nprince-shrink-to-fit: auto; }\r\ntable.big {\r\npage: big_table }<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\n<\/div>\r\n<div>\r\n<div><\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/div>","rendered":"<p><strong>Theme Options<\/strong> allow you to adjust the display options for the web, PDF, and eBook version of your text individually. The amount of customization available for each format will vary depending on the theme you have chosen.<\/p>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Resourcces<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>To learn more about adjusting export Appearance settings, review the following guide:<\/p>\n<ul>\n<li><a href=\"https:\/\/raider.pressbooks.pub\/pressbooksguide\/chapter\/customizing-your-exports-with-custom-styles\/\">Pressbooks User Guide &#8211; Customizing your Exports with Custom Styles<\/a><\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div style=\"font-weight: 400\">\n<div>\n<h2>Issue<\/h2>\n<p>A wider table may display well in the web version of your text, but get cut off in the PDF export.<\/p>\n<h2>Solution<\/h2>\n<figure id=\"attachment_214\" aria-describedby=\"caption-attachment-214\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-214 size-large\" src=\"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-content\/uploads\/sites\/1918\/2023\/05\/Screenshot-2023-07-12-at-9.35.20-AM-1024x395.png\" alt=\"\" width=\"1024\" height=\"395\" srcset=\"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-content\/uploads\/sites\/1918\/2023\/05\/Screenshot-2023-07-12-at-9.35.20-AM-1024x395.png 1024w, https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-content\/uploads\/sites\/1918\/2023\/05\/Screenshot-2023-07-12-at-9.35.20-AM-300x116.png 300w, https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-content\/uploads\/sites\/1918\/2023\/05\/Screenshot-2023-07-12-at-9.35.20-AM-768x296.png 768w, https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-content\/uploads\/sites\/1918\/2023\/05\/Screenshot-2023-07-12-at-9.35.20-AM-65x25.png 65w, https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-content\/uploads\/sites\/1918\/2023\/05\/Screenshot-2023-07-12-at-9.35.20-AM-225x87.png 225w, https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-content\/uploads\/sites\/1918\/2023\/05\/Screenshot-2023-07-12-at-9.35.20-AM-350x135.png 350w, https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-content\/uploads\/sites\/1918\/2023\/05\/Screenshot-2023-07-12-at-9.35.20-AM.png 1497w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption id=\"caption-attachment-214\" class=\"wp-caption-text\">Remember when editing the Custom Styles Sheet, you can customize the Web, PDF, and Ebook versions. If you want the change to occur across all three formats, you will need to copy the code to each drop-down (top).<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>To prevent the table from getting cut off, you can add CSS\u00a0 to the <strong>Custom Styles Sheet<\/strong> that will force the table to display in landscape format in your PDF export.<\/p>\n<\/div>\n<ol>\n<li>On the Dashboard, select<strong> Appearance<\/strong> then<strong> Custom Styles<\/strong><\/li>\n<li>At the top of the page, select <strong>PDF<\/strong> on the dropdown menu labelled &#8211;\u00a0 <strong>You are currently editing styles for: <\/strong><\/li>\n<li>In the <strong>Your PDF Styles<\/strong> box, add the CSS shown below<\/li>\n<\/ol>\n<\/div>\n<div>\n<div class=\"textbox\">\n<p><strong>Custom CSS:<\/strong><\/p>\n<div>@page big_table {<br \/>\nprince-rotate-body: landscape;<br \/>\nprince-shrink-to-fit: auto; }<br \/>\ntable.big {<br \/>\npage: big_table }<\/div>\n<div>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<div>\n<div><\/div>\n<div>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n","protected":false},"author":1076,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-255","chapter","type-chapter","status-publish","hentry"],"part":266,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/pressbooks\/v2\/chapters\/255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/wp\/v2\/users\/1076"}],"version-history":[{"count":2,"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/pressbooks\/v2\/chapters\/255\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/pressbooks\/v2\/chapters\/255\/revisions\/275"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/pressbooks\/v2\/parts\/266"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/pressbooks\/v2\/chapters\/255\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/wp\/v2\/media?parent=255"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/pressbooks\/v2\/chapter-type?post=255"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/wp\/v2\/contributor?post=255"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/pbtips\/wp-json\/wp\/v2\/license?post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}