{"id":51,"date":"2016-09-27T20:49:41","date_gmt":"2016-09-27T20:49:41","guid":{"rendered":"http:\/\/www.publiconsulting.com\/wordpress\/eduguide\/chapter\/chapter-title-styling\/"},"modified":"2018-01-21T18:44:35","modified_gmt":"2018-01-21T18:44:35","slug":"chapter-title-styling","status":"publish","type":"chapter","link":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/chapter\/chapter-title-styling\/","title":{"rendered":"Chapter Title Styling"},"content":{"raw":"\n<div class=\"textbox\">\n<p>This chapter will cover how to add special formatting to chapter titles:<\/p>\n<ul>\n<li>Italicizing within a chapter title<\/li>\n<li>Forcing a break in a chapter title<\/li>\n<li>Numberless chapters<\/li>\n<\/ul>\n<\/div>\n<h2>Italicizing Within A Chapter Title<\/h2>\n<p>If you have the name of another text within a chapter title, you will probably want&nbsp;to italicize it to keep with standard conventions. This is simple to do. When entering your chapter title, simply wrap the section you wish to italicize in &lt;em&gt; tags like this:<\/p>\n<p><img class=\"size-full wp-image-48 aligncenter\" src=\"http:\/\/www.publiconsulting.com\/wordpress\/navegarvela\/wp-content\/uploads\/sites\/56\/2016\/09\/title1.png\" alt=\"title1\" width=\"648\" height=\"97\"><\/p>\n<p>This will then display the tagged text as italicized in all your outputs, including the table of contents.<\/p>\n<h2>Forcing a Break in Your Chapter Headings<\/h2>\n<p>Let's say you have a chapter heading, and, in the theme you've chosen, the chapter heading comes out like this in the PDF:<\/p>\n<h2 style=\"text-align: center;\">Forcing a Break in Your Chapter<br>\nHeadings<\/h2>\n<p>But you would like it to come out like this:<\/p>\n<h2 style=\"text-align: center;\">Forcing a Break in<br>\nYour Chapter Headings<\/h2>\n<p>You can do this by entering <strong>&lt;br \/&gt;<\/strong>&nbsp;in the Chapter Title field in the Pressbooks editor:<\/p>\n<p><img class=\"size-full wp-image-49 aligncenter\" src=\"http:\/\/www.publiconsulting.com\/wordpress\/navegarvela\/wp-content\/uploads\/sites\/56\/2016\/09\/title2.png\" alt=\"title2\" width=\"650\" height=\"95\"><\/p>\n<h3>Notes and Explanations<\/h3>\n<ul>\n<li>The <code>&lt;br \/&gt;<\/code> is the HTML tag for \"break.\"<\/li>\n<li>Make sure there is no space on either side of the <code>&lt;br \/&gt;<\/code> tag.<\/li>\n<li>Pressbooks will strip this break when generating the Table of Contents, so the title will appear on one line<\/li>\n<li>This break will <strong>also be present in the ebook outputs<\/strong>, which might cause some funny breaking on small screens.<\/li>\n<\/ul>\n<h2>Numberless Chapters<\/h2>\n<p>Occasionally, you may have enabled the \"Display Chapter Numbers\" option in your theme options&nbsp;(which automatically numbers your chapters), but have a handful&nbsp;of chapters to which you do not want to apply numbers. To do so, you'll need to enable the chapter types taxonomy:<\/p>\n<ol>\n<li>Go to \"Appearance\" --&gt; \"Theme Options\"<\/li>\n<li>Check the box for \"Enable chapter types taxonomy\"<\/li>\n<li>Save changes<\/li>\n<\/ol>\n<p>Now, when you go to edit your chapters, you will see this box on the right hand menu, where you can select&nbsp;\"Numberless\":<\/p>\n<p><img class=\"size-full wp-image-50 aligncenter\" src=\"http:\/\/www.publiconsulting.com\/wordpress\/navegarvela\/wp-content\/uploads\/sites\/56\/2016\/09\/title3.png\" alt=\"title3\" width=\"290\" height=\"274\"><\/p>\n<p>This will result in the chapter title appearing without a number across all exports, and a Table of Contents will look something like this:<\/p>\n<div class=\"textbox\">1. A Great Chapter<br>\n2. Another Great Chapter<br>\n<strong>A Numberless Chapter<\/strong><br>\n3. A Wonderful Chapter<\/div>\n\n","rendered":"<div class=\"textbox\">\n<p>This chapter will cover how to add special formatting to chapter titles:<\/p>\n<ul>\n<li>Italicizing within a chapter title<\/li>\n<li>Forcing a break in a chapter title<\/li>\n<li>Numberless chapters<\/li>\n<\/ul>\n<\/div>\n<h2>Italicizing Within A Chapter Title<\/h2>\n<p>If you have the name of another text within a chapter title, you will probably want&nbsp;to italicize it to keep with standard conventions. This is simple to do. When entering your chapter title, simply wrap the section you wish to italicize in &lt;em&gt; tags like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-48 aligncenter\" src=\"\/\/www.publiconsulting.com\/wordpress\/navegarvela\/wp-content\/uploads\/sites\/56\/2016\/09\/title1.png\" alt=\"title1\" width=\"648\" height=\"97\" srcset=\"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title1.png 648w, https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title1-300x45.png 300w, https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title1-65x10.png 65w, https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title1-225x34.png 225w, https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title1-350x52.png 350w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/p>\n<p>This will then display the tagged text as italicized in all your outputs, including the table of contents.<\/p>\n<h2>Forcing a Break in Your Chapter Headings<\/h2>\n<p>Let&#8217;s say you have a chapter heading, and, in the theme you&#8217;ve chosen, the chapter heading comes out like this in the PDF:<\/p>\n<h2 style=\"text-align: center;\">Forcing a Break in Your Chapter<br \/>\nHeadings<\/h2>\n<p>But you would like it to come out like this:<\/p>\n<h2 style=\"text-align: center;\">Forcing a Break in<br \/>\nYour Chapter Headings<\/h2>\n<p>You can do this by entering <strong>&lt;br \/&gt;<\/strong>&nbsp;in the Chapter Title field in the Pressbooks editor:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-49 aligncenter\" src=\"\/\/www.publiconsulting.com\/wordpress\/navegarvela\/wp-content\/uploads\/sites\/56\/2016\/09\/title2.png\" alt=\"title2\" width=\"650\" height=\"95\" srcset=\"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title2.png 650w, https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title2-300x44.png 300w, https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title2-65x10.png 65w, https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title2-225x33.png 225w, https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title2-350x51.png 350w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/p>\n<h3>Notes and Explanations<\/h3>\n<ul>\n<li>The <code>&lt;br \/&gt;<\/code> is the HTML tag for &#8220;break.&#8221;<\/li>\n<li>Make sure there is no space on either side of the <code>&lt;br \/&gt;<\/code> tag.<\/li>\n<li>Pressbooks will strip this break when generating the Table of Contents, so the title will appear on one line<\/li>\n<li>This break will <strong>also be present in the ebook outputs<\/strong>, which might cause some funny breaking on small screens.<\/li>\n<\/ul>\n<h2>Numberless Chapters<\/h2>\n<p>Occasionally, you may have enabled the &#8220;Display Chapter Numbers&#8221; option in your theme options&nbsp;(which automatically numbers your chapters), but have a handful&nbsp;of chapters to which you do not want to apply numbers. To do so, you&#8217;ll need to enable the chapter types taxonomy:<\/p>\n<ol>\n<li>Go to &#8220;Appearance&#8221; &#8211;&gt; &#8220;Theme Options&#8221;<\/li>\n<li>Check the box for &#8220;Enable chapter types taxonomy&#8221;<\/li>\n<li>Save changes<\/li>\n<\/ol>\n<p>Now, when you go to edit your chapters, you will see this box on the right hand menu, where you can select&nbsp;&#8220;Numberless&#8221;:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-50 aligncenter\" src=\"\/\/www.publiconsulting.com\/wordpress\/navegarvela\/wp-content\/uploads\/sites\/56\/2016\/09\/title3.png\" alt=\"title3\" width=\"290\" height=\"274\" srcset=\"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title3.png 290w, https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title3-65x61.png 65w, https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-content\/uploads\/sites\/56\/2016\/09\/title3-225x213.png 225w\" sizes=\"auto, (max-width: 290px) 100vw, 290px\" \/><\/p>\n<p>This will result in the chapter title appearing without a number across all exports, and a Table of Contents will look something like this:<\/p>\n<div class=\"textbox\">1. A Great Chapter<br \/>\n2. Another Great Chapter<br \/>\n<strong>A Numberless Chapter<\/strong><br \/>\n3. A Wonderful Chapter<\/div>\n","protected":false},"author":1,"menu_order":1,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-51","chapter","type-chapter","status-publish","hentry"],"part":17,"_links":{"self":[{"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/pressbooks\/v2\/chapters\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/pressbooks\/v2\/chapters\/51\/revisions"}],"predecessor-version":[{"id":52,"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/pressbooks\/v2\/chapters\/51\/revisions\/52"}],"part":[{"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/pressbooks\/v2\/parts\/17"}],"metadata":[{"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/pressbooks\/v2\/chapters\/51\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/pressbooks\/v2\/chapter-type?post=51"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/wp\/v2\/contributor?post=51"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/www.publiconsulting.com\/wordpress\/eduguide\/wp-json\/wp\/v2\/license?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}