{"id":119,"date":"2019-03-10T00:19:13","date_gmt":"2019-03-10T05:19:13","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/introtolatex\/?post_type=part&#038;p=119"},"modified":"2019-05-08T18:14:24","modified_gmt":"2019-05-08T22:14:24","slug":"commands","status":"publish","type":"part","link":"https:\/\/pressbooks.bccampus.ca\/introtolatex\/part\/commands\/","title":{"raw":"Equations and Symbols","rendered":"Equations and Symbols"},"content":{"raw":"Pressbooks has a built-in Latex plug-in which allows you to create a Latex environment using shortcode. Before you start writing code, you'll need to select the plug-in by choosing Plugins from the lefthand sidebar and then choosing 'Activate' under the WP QuickLaTeX plugin.\r\n\r\n<img src=\"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-content\/uploads\/sites\/654\/2019\/03\/1-Plugin-1024x658.png\" alt=\"Screenshot of how to activate QuickLatex plugin.\" width=\"1024\" height=\"658\" class=\"alignnone size-large wp-image-273\" \/>\r\n\r\nOnce you've activated the plug-in, you can start inserting code anywhere in your document using latex shortcode tags:\r\n\r\n[latex] \\verb|[\u200clatex\u200c] Some LaTeX code [\u200c\/latex\u200c]|[\/latex]","rendered":"<p>Pressbooks has a built-in Latex plug-in which allows you to create a Latex environment using shortcode. Before you start writing code, you&#8217;ll need to select the plug-in by choosing Plugins from the lefthand sidebar and then choosing &#8216;Activate&#8217; under the WP QuickLaTeX plugin.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-content\/uploads\/sites\/654\/2019\/03\/1-Plugin-1024x658.png\" alt=\"Screenshot of how to activate QuickLatex plugin.\" width=\"1024\" height=\"658\" class=\"alignnone size-large wp-image-273\" srcset=\"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-content\/uploads\/sites\/654\/2019\/03\/1-Plugin-1024x658.png 1024w, https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-content\/uploads\/sites\/654\/2019\/03\/1-Plugin-300x193.png 300w, https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-content\/uploads\/sites\/654\/2019\/03\/1-Plugin-768x493.png 768w, https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-content\/uploads\/sites\/654\/2019\/03\/1-Plugin-65x42.png 65w, https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-content\/uploads\/sites\/654\/2019\/03\/1-Plugin-225x145.png 225w, https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-content\/uploads\/sites\/654\/2019\/03\/1-Plugin-350x225.png 350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Once you&#8217;ve activated the plug-in, you can start inserting code anywhere in your document using latex shortcode tags:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-content\/ql-cache\/quicklatex.com-daf8daa5dc642e6f673e4b9d2294846e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#118;&#101;&#114;&#98;&#124;&#91;&#8204;&#108;&#97;&#116;&#101;&#120;&#8204;&#93;&#32;&#83;&#111;&#109;&#101;&#32;&#76;&#97;&#84;&#101;&#88;&#32;&#99;&#111;&#100;&#101;&#32;&#91;&#8204;&#47;&#108;&#97;&#116;&#101;&#120;&#8204;&#93;&#124;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"240\" style=\"vertical-align: -1px;\" \/><\/p>\n","protected":false},"parent":0,"menu_order":2,"template":"","meta":{"pb_part_invisible":false,"pb_part_invisible_string":""},"contributor":[],"license":[],"class_list":["post-119","part","type-part","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-json\/pressbooks\/v2\/parts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-json\/pressbooks\/v2\/parts"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-json\/wp\/v2\/types\/part"}],"version-history":[{"count":14,"href":"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-json\/pressbooks\/v2\/parts\/119\/revisions"}],"predecessor-version":[{"id":613,"href":"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-json\/pressbooks\/v2\/parts\/119\/revisions\/613"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-json\/wp\/v2\/contributor?post=119"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/introtolatex\/wp-json\/wp\/v2\/license?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}