{"id":276,"date":"2023-10-04T15:10:21","date_gmt":"2023-10-04T19:10:21","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/?post_type=chapter&#038;p=276"},"modified":"2024-01-09T17:33:02","modified_gmt":"2024-01-09T22:33:02","slug":"latex-testing-for-erin-fields","status":"web-only","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/chapter\/latex-testing-for-erin-fields\/","title":{"raw":"LaTeX support - Erin Fields","rendered":"LaTeX support &#8211; Erin Fields"},"content":{"raw":"Book: <a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/\">https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/<\/a>\r\n\r\nDate: October 4th, 2023\r\n\r\nIssue: Sometimes her LaTeX works, sometimes it doesn't\r\n<ul>\r\n \t<li><a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/chapter\/chapter-1\/\">LaTeX in Chapter 1 works<\/a><\/li>\r\n \t<li>LaTeX in other chapters (<a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/chapter\/chapter-2\/\">Chapter 2<\/a> and <a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/chapter\/agitation\/\">Agitation chapter<\/a>) doesn't work<\/li>\r\n<\/ul>\r\nShe's using \"<code>$$ __ $$<\/code>\", which doesn't show up in PDFs\r\n<ul>\r\n \t<li>Warn her about that<\/li>\r\n<\/ul>\r\nSolution:\r\n<div class=\"textbox\">\r\n\r\nHi Erin,\r\n\r\nIt seems like you have uncovered a strange Pressbooks bug, so thank you for that!\r\n\r\nI\u2019ve done some testing and it seems like the LaTeX in the first chapter works because of the one equation (<code>[latex] \\Delta E\\:=E_{Fe+3\/Fe+2}\\:-\\:Eh_{Cu+2}\\:\\:\\:_{CuS\/Cu2S}\\:=\\:0.68\\:-\\:0.46\\:=\\:0\/22\\:V)[\/latex]<\/code>) that uses the \u201c<code>[latex] [\/latex]<\/code>\u201d shortcodes instead of the \"<code>$$ $$<\/code>\" delimiters. When I replace the shortcodes with the delimiters, none of the LaTeX in the <a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/chapter\/chapter-1\/\">Leaching and Process Chemistry chapter<\/a> works. And if I add the shortcodes to one equation in the <a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/chapter\/agitation\/\">Agitation chapter<\/a>, all of the LaTeX in that chapter works. So it seems like Pressbooks needs at least one set of \u201c<code>[latex] [\/latex]<\/code>\u201d shortcodes in the chapter in order for the LaTeX to work.\r\n\r\nI\u2019m not sure why this is the case, and I will look into it further, but the method to fix the issue is to have at least one equation that uses the \u201c<code>[latex] [\/latex]<\/code>\u201d shortcodes in each chapter.\r\n\r\n<strong>Note:<\/strong> any LaTeX expressions using the \u201c<code>$$ $$<\/code>\u201d delimiters do not render in the PDF and so we do recommend using the \u201c<code>[latex] [\/latex]<\/code>\u201d shortcodes in general.\r\n\r\n<\/div>\r\n&nbsp;\r\n<h1>All LaTeX in Chapter 1:<\/h1>\r\n$$ CuO_{s}+H_{2}O_{l} = Cu^{+2}_{aq} + 2OH^{-}_{aq}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:K_{sp}+2.2\\times 10^{-21} \\tag{1} $$\r\n$$ 2OH^{-}\\:_{aq} + 2H^{+}\\:_{aq} = 2H_{2}O_{1}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:K=(1\/K_{w})^{2}=1\\times 10^{28} \\tag{2} $$\r\n$$ CuO_{s} + 2H^{+}\\:_{aq} = Cu^{+2}\\:_{aq} + H_{2}O_{l}\\:\\:\\:\\:\\:\\:\\:\\:\\:K_{l} = K_{sp}\/K_{w}^{2} = 2.2\\times 10^{7} \\tag{3} $$\r\n\r\n<hr \/>\r\n\r\n<div>$$ K= \\frac{[Cu^{+2}]}{[H^{+}]^{2}} \\tag{4} $$<\/div>\r\n<div><\/div>\r\n<div>$$ log[Cu^{+2}]=logK_{l}-2pH \\tag{5} $$<\/div>\r\n\r\n<hr \/>\r\n\r\n<div>$$ CuS_{s}=Cu^{+2}\\:_{aq} + S^{2-}\\:_{aq}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:K_{sp} = 8 \\times 10^{-37} \\tag{6} $$<\/div>\r\n<div><\/div>\r\n<div>$$ CuS_{s} + 2H^{+}\\:_{aq} =Cu^{+2}\\:_{aq} + H_{2}S_{g}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:K_{l}=1.1 \\times 10^{-15} \\tag{7} $$<\/div>\r\n<div><\/div>\r\n<div>$$ CuS_{s}+\\:2O_{2}\\:_{g} = Cu^{+2}\\:_{aq} + SO_{4}^{2-}\\:_{aq}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:K_{l}^{'} = 4 \\times 10^{109}\\:(!) \\tag{8} $$<\/div>\r\n\r\n<hr \/>\r\n\r\n$$ Fe^{+3}\\:_{aq}\\:+\\: e^{-} = Fe^{+2}\\:_{aq}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:E^{\\circ} = 0.77\\:V; \\sim0.68 V in\\:aq. \\:H_{2}SO_{4} \\tag{9} $$\r\n\r\n<hr \/>\r\n\r\n$$ CuS_{s}+ 2Fe^{+3}\\:_{aq} = Cu^{+2}\\:_{aq} + 2Fe^{+2}\\:_{aq} + S_{s} \\tag{10} $$\r\n\r\n$$ 2Fe^{+2}\\:_{aq}+1\/20_{2}\\:_{g}+2H^{+}\\:_{aq}=2Fe^{+3}\\:_{ag}+H_{2}O_{l} \\tag{11} $$\r\n\r\n(By thiobacillus ferrooxidans)\r\n\r\n$$ S_{s}\\;+\\:3\/20_{2g}\\:+\\:H_{2}O_{l}\\:=\\:H_{2}SO_{4}\\:_{aq} \\tag{12} $$\r\n\r\n<hr \/>\r\n\r\n$$ Cu_{2}S_ {s}\\:+\\:2Fe^{+3}\\:_{aq}\\: =\\: Cu^{+2}\\:_{aq}\\:+\\: 2Fe^{+2}\\;_{aq}\\:+\\: CuS_{s} \\tag{13} $$\r\n\r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=959\\text{ kJ\/mol} \\tag{29} $$\r\n<h1>LaTeX in Chapter 2<\/h1>\r\n<span style=\"background-color: #ffff99;\">$$ = 1.44\\%\\: CuFeS_{2} \\tag{1} $$<\/span>\r\n<h1>LaTeX in Agitation chapter<\/h1>\r\n<span style=\"background-color: #ffff00;\">$$ P = N p \\rho N^3D^5 (Watts)\\tag{1} $$<\/span>\r\n\r\n<span style=\"background-color: #ffff00;\">$$\\begin{equation}\\rho = fluid \\:density\u00a0 (kg\/m^3)\\end{equation}$$<\/span>\r\n\r\n<span style=\"background-color: #ffff00;\">$$ kg \\:m^{-3} \\times \\:sec^{-3} \\times \\:m^5 = kg \\:m \\:sec^{-2} m\\:sec^{-1} = N\\: m \\:sec^{-1} = J \\:sec^1 = Watt\\tag{4} $$<\/span>\r\n\r\n<span style=\"background-color: #ffff00;\">$${equation}Np=\\frac{P}{N^3D^5\\rho}\\tag{4} $$<\/span>\r\n\r\n<span style=\"background-color: #ffff00;\">$$P \\propto\\rho N^3D^5 \\tag{4} $$<\/span>\r\n<h1>Testing new delimiters:<\/h1>\r\nShortcode syntax:\r\n[latex]e^{i \\pi} + 1 = 0[\/latex]\r\n\r\nDollar sign syntax:\r\n$latex\u00a0e^{i \\pi} + 1 = 0$\r\n\r\nDouble dollar sign syntax:\r\n$$\u00a0e^{i \\pi} + 1 = 0$$\r\n<h1>Equation doesn't fully render for Erin:<\/h1>\r\n[latex]\\frac{\\text{5000gCu}}{\\text{t ore}} \\times \\frac{\\text{1 molCu}}{\\text{63.546gCu}}\\times \\frac{\\text{1molCuFeS2}}{\\text{1molCu}}\\times \\frac{\\text{185.513gCuFeS_2}}{\\text{molCuFeS_2}} = \\frac{\\text{14,439gCuFeS_2}}{\\text{t ore}}[\/latex]\r\n\r\n[latex]\\frac{\\text{1 molCu}}{\\text{63.546gCu}}[\/latex]\r\n\r\n<span style=\"background-color: #ffff99;\">[latex]\\frac{\\text{5000gCu}}{\\text{t ore}}[\/latex] x [latex]\\frac{\\text{1 molCu}}{\\text{63.546gCu}}[\/latex] x [latex]\\frac{\\text{1molCuFeS2}}{\\text{1molCu}}[\/latex] x [latex]\\frac{\\text{185.513gCuFeS_2}}{\\text{molCuFeS_2}}[\/latex] = [latex]\\frac{\\text{14,439gCuFeS_2}}{\\text{t ore}}[\/latex]<\/span>\r\n\r\nFixed it by toggling the background colour on and off in her book.\r\n<h1>Trying to make all equations not so big in PDF<\/h1>\r\nHere is some text and here is LaTeX that isn't changed: [latex]Fe^{+3}\/Fe^{+2}[\/latex]. Here is trailing text\r\n\r\nHere is some text and here is LaTeX that I want \"normalsize\": [latex]\\normalsize Fe^{+3}\/Fe^{+2}[\/latex]. Here is trailing text.\r\n\r\nHere is some text and here is LaTeX that I want \"small\": [latex]\\small Fe^{+3}\/Fe^{+2}[\/latex]. Here is trailing text.","rendered":"<p>Book: <a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/\">https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/<\/a><\/p>\n<p>Date: October 4th, 2023<\/p>\n<p>Issue: Sometimes her LaTeX works, sometimes it doesn&#8217;t<\/p>\n<ul>\n<li><a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/chapter\/chapter-1\/\">LaTeX in Chapter 1 works<\/a><\/li>\n<li>LaTeX in other chapters (<a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/chapter\/chapter-2\/\">Chapter 2<\/a> and <a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/chapter\/agitation\/\">Agitation chapter<\/a>) doesn&#8217;t work<\/li>\n<\/ul>\n<p>She&#8217;s using &#8220;<code>$$ __ $$<\/code>&#8220;, which doesn&#8217;t show up in PDFs<\/p>\n<ul>\n<li>Warn her about that<\/li>\n<\/ul>\n<p>Solution:<\/p>\n<div class=\"textbox\">\n<p>Hi Erin,<\/p>\n<p>It seems like you have uncovered a strange Pressbooks bug, so thank you for that!<\/p>\n<p>I\u2019ve done some testing and it seems like the LaTeX in the first chapter works because of the one equation (<code>[latex]\\Delta E\\:=E_{Fe+3\/Fe+2}\\:-\\:Eh_{Cu+2}\\:\\:\\:_{CuS\/Cu2S}\\:=\\:0.68\\:-\\:0.46\\:=\\:0\/22\\:V)[\/latex]<\/code>) that uses the \u201c<code>[latex][\/latex]<\/code>\u201d shortcodes instead of the &#8220;<code>$$ $$<\/code>&#8221; delimiters. When I replace the shortcodes with the delimiters, none of the LaTeX in the <a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/chapter\/chapter-1\/\">Leaching and Process Chemistry chapter<\/a> works. And if I add the shortcodes to one equation in the <a href=\"https:\/\/pressbooks.bccampus.ca\/hydrometallurgy\/chapter\/agitation\/\">Agitation chapter<\/a>, all of the LaTeX in that chapter works. So it seems like Pressbooks needs at least one set of \u201c<code>[latex][\/latex]<\/code>\u201d shortcodes in the chapter in order for the LaTeX to work.<\/p>\n<p>I\u2019m not sure why this is the case, and I will look into it further, but the method to fix the issue is to have at least one equation that uses the \u201c<code>[latex][\/latex]<\/code>\u201d shortcodes in each chapter.<\/p>\n<p><strong>Note:<\/strong> any LaTeX expressions using the \u201c<code>$$ $$<\/code>\u201d delimiters do not render in the PDF and so we do recommend using the \u201c<code>[latex][\/latex]<\/code>\u201d shortcodes in general.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h1>All LaTeX in Chapter 1:<\/h1>\n<p>$$ CuO_{s}+H_{2}O_{l} = Cu^{+2}_{aq} + 2OH^{-}_{aq}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:K_{sp}+2.2\\times 10^{-21} \\tag{1} $$<br \/>\n$$ 2OH^{-}\\:_{aq} + 2H^{+}\\:_{aq} = 2H_{2}O_{1}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:K=(1\/K_{w})^{2}=1\\times 10^{28} \\tag{2} $$<br \/>\n$$ CuO_{s} + 2H^{+}\\:_{aq} = Cu^{+2}\\:_{aq} + H_{2}O_{l}\\:\\:\\:\\:\\:\\:\\:\\:\\:K_{l} = K_{sp}\/K_{w}^{2} = 2.2\\times 10^{7} \\tag{3} $$<\/p>\n<hr \/>\n<div>$$ K= \\frac{[Cu^{+2}]}{[H^{+}]^{2}} \\tag{4} $$<\/div>\n<div><\/div>\n<div>$$ log[Cu^{+2}]=logK_{l}-2pH \\tag{5} $$<\/div>\n<hr \/>\n<div>$$ CuS_{s}=Cu^{+2}\\:_{aq} + S^{2-}\\:_{aq}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:K_{sp} = 8 \\times 10^{-37} \\tag{6} $$<\/div>\n<div><\/div>\n<div>$$ CuS_{s} + 2H^{+}\\:_{aq} =Cu^{+2}\\:_{aq} + H_{2}S_{g}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:K_{l}=1.1 \\times 10^{-15} \\tag{7} $$<\/div>\n<div><\/div>\n<div>$$ CuS_{s}+\\:2O_{2}\\:_{g} = Cu^{+2}\\:_{aq} + SO_{4}^{2-}\\:_{aq}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:K_{l}^{&#8216;} = 4 \\times 10^{109}\\:(!) \\tag{8} $$<\/div>\n<hr \/>\n<p>$$ Fe^{+3}\\:_{aq}\\:+\\: e^{-} = Fe^{+2}\\:_{aq}\\:\\:\\:\\:\\:\\:\\:\\:\\:\\:E^{\\circ} = 0.77\\:V; \\sim0.68 V in\\:aq. \\:H_{2}SO_{4} \\tag{9} $$<\/p>\n<hr \/>\n<p>$$ CuS_{s}+ 2Fe^{+3}\\:_{aq} = Cu^{+2}\\:_{aq} + 2Fe^{+2}\\:_{aq} + S_{s} \\tag{10} $$<\/p>\n<p>$$ 2Fe^{+2}\\:_{aq}+1\/20_{2}\\:_{g}+2H^{+}\\:_{aq}=2Fe^{+3}\\:_{ag}+H_{2}O_{l} \\tag{11} $$<\/p>\n<p>(By thiobacillus ferrooxidans)<\/p>\n<p>$$ S_{s}\\;+\\:3\/20_{2g}\\:+\\:H_{2}O_{l}\\:=\\:H_{2}SO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p>\n<hr \/>\n<p>$$ 2\\:[Al(H_{2}0)_{6}]Cl_{3}\\:=\\:Al_{2}O_{3s}\\:+\\:6HCl_{g}\\:+\\:9H_{2}O_{g}\\;\\;\\;\\;\\;\\Delta H^{\\circ}=959\\text{ kJ\/mol} \\tag{29} $$<\/p>\n<h1>LaTeX in Chapter 2<\/h1>\n<p><span style=\"background-color: #ffff99;\">$$ = 1.44\\%\\: CuFeS_{2} \\tag{1} $$<\/span><\/p>\n<h1>LaTeX in Agitation chapter<\/h1>\n<p><span style=\"background-color: #ffff00;\">$$ P = N p \\rho N^3D^5 (Watts)\\tag{1} $$<\/span><\/p>\n<p><span style=\"background-color: #ffff00;\">$$\\begin{equation}\\rho = fluid \\:density\u00a0 (kg\/m^3)\\end{equation}$$<\/span><\/p>\n<p><span style=\"background-color: #ffff00;\">$$ kg \\:m^{-3} \\times \\:sec^{-3} \\times \\:m^5 = kg \\:m \\:sec^{-2} m\\:sec^{-1} = N\\: m \\:sec^{-1} = J \\:sec^1 = Watt\\tag{4} $$<\/span><\/p>\n<p><span style=\"background-color: #ffff00;\">$${equation}Np=\\frac{P}{N^3D^5\\rho}\\tag{4} $$<\/span><\/p>\n<p><span style=\"background-color: #ffff00;\">$$P \\propto\\rho N^3D^5 \\tag{4} $$<\/span><\/p>\n<h1>Testing new delimiters:<\/h1>\n<p>Shortcode syntax:<br \/>\n[latex]e^{i \\pi} + 1 = 0[\/latex]<\/p>\n<p>Dollar sign syntax:<br \/>\n$latex\u00a0e^{i \\pi} + 1 = 0$<\/p>\n<p>Double dollar sign syntax:<br \/>\n$$\u00a0e^{i \\pi} + 1 = 0$$<\/p>\n<h1>Equation doesn&#8217;t fully render for Erin:<\/h1>\n<p>[latex]\\frac{\\text{5000gCu}}{\\text{t ore}} \\times \\frac{\\text{1 molCu}}{\\text{63.546gCu}}\\times \\frac{\\text{1molCuFeS2}}{\\text{1molCu}}\\times \\frac{\\text{185.513gCuFeS_2}}{\\text{molCuFeS_2}} = \\frac{\\text{14,439gCuFeS_2}}{\\text{t ore}}[\/latex]<\/p>\n<p>[latex]\\frac{\\text{1 molCu}}{\\text{63.546gCu}}[\/latex]<\/p>\n<p><span style=\"background-color: #ffff99;\">[latex]\\frac{\\text{5000gCu}}{\\text{t ore}}[\/latex] x [latex]\\frac{\\text{1 molCu}}{\\text{63.546gCu}}[\/latex] x [latex]\\frac{\\text{1molCuFeS2}}{\\text{1molCu}}[\/latex] x [latex]\\frac{\\text{185.513gCuFeS_2}}{\\text{molCuFeS_2}}[\/latex] = [latex]\\frac{\\text{14,439gCuFeS_2}}{\\text{t ore}}[\/latex]<\/span><\/p>\n<p>Fixed it by toggling the background colour on and off in her book.<\/p>\n<h1>Trying to make all equations not so big in PDF<\/h1>\n<p>Here is some text and here is LaTeX that isn&#8217;t changed: [latex]Fe^{+3}\/Fe^{+2}[\/latex]. Here is trailing text<\/p>\n<p>Here is some text and here is LaTeX that I want &#8220;normalsize&#8221;: [latex]\\normalsize Fe^{+3}\/Fe^{+2}[\/latex]. Here is trailing text.<\/p>\n<p>Here is some text and here is LaTeX that I want &#8220;small&#8221;: [latex]\\small Fe^{+3}\/Fe^{+2}[\/latex]. Here is trailing text.<\/p>\n","protected":false},"author":940,"menu_order":3,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-276","chapter","type-chapter","status-web-only","hentry"],"part":282,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/chapters\/276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/wp\/v2\/users\/940"}],"version-history":[{"count":9,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/chapters\/276\/revisions"}],"predecessor-version":[{"id":289,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/chapters\/276\/revisions\/289"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/parts\/282"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/chapters\/276\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/wp\/v2\/media?parent=276"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/chapter-type?post=276"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/wp\/v2\/contributor?post=276"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/wp\/v2\/license?post=276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}