{"id":340,"date":"2019-10-01T14:47:21","date_gmt":"2019-10-01T18:47:21","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/chapter\/quicklatex\/"},"modified":"2021-02-09T10:13:54","modified_gmt":"2021-02-09T15:13:54","slug":"quicklatex","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/chapter\/quicklatex\/","title":{"raw":"QuickLaTeX","rendered":"QuickLaTeX"},"content":{"raw":"QuickLaTeX is a plugin that allows for better representation of math formulas and equations into Pressbooks text. It is adapted from the LaTeX programming language.\r\n<h2>Enabling QuickLaTeX<\/h2>\r\n&nbsp;\r\n\r\nTo enable QuickLaTeX in your book, click on <strong>Plugins<\/strong> in the <a href=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/chapter\/the-menu-bar\/ \u200e\">menu bar<\/a> to manage plugin activation.\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-346\" src=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2019\/10\/Enable-Quick-LaTeX-Plugin.png\" alt=\"\" width=\"892\" height=\"496\" \/>\r\n\r\nClick on the word <strong>Activate<\/strong> next to the WP QuickLaTeX plugin. You can also click the check box (or several), choose <strong>Activate<\/strong> from the <strong>Bulk Actions<\/strong> drop-down menu, and then hit <strong>Apply<\/strong>.\r\n<h2>Writing with QuickLaTeX<\/h2>\r\n<img class=\"wp-image-338 size-full alignleft\" src=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-3.png\" alt=\"\" width=\"314\" height=\"184\" \/>\r\n\r\nNow that the plugin is activated, you can create formulas in the text window by using typed commands. Information about how to use QuickLaTex can be found in the settings menu. You can also make several other adjustments for how you want your formulas to look.\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: center\">This is how you would write using QuickLaTeX:<\/p>\r\n<img class=\"aligncenter size-full wp-image-339\" src=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-5.png\" alt=\"\" width=\"732\" height=\"376\" \/>\r\n\r\n&nbsp;\r\n\r\nAnd this is how it appears on the page:\r\n\r\n&nbsp;\r\n\r\n[latexpage]\r\n\r\nYou can insert formulas (such as $E = mc^2$) directly into the body of the text, or on a separate line:\r\n\r\n&nbsp;\r\n\r\n\\[\r\n\r\nG_\\mu_v = 8 \\pi G(T_\\mu_v + \\rho_\\Lambda g_\\mu_v)\r\n\r\n\\]\r\n\r\n&nbsp;\r\n\r\nDoing that will create an un-numbered equation. If you want to number your equations so that you can easily refer to them, start and end your equation with \"\\begin {equation}\" and \"\\end {equation}\" (remove the spaces). This will result in the equation having a number to the right which you can reference in the text.\r\n\r\n&nbsp;\r\n\r\n\\begin{equation}\r\n\r\n&nbsp;\r\n\r\nG_\\mu_v = 8 \\pi G(T_\\mu_v + \\rho_\\Lambda g_\\mu_v)\r\n\r\n&nbsp;\r\n\r\n\\end{equation}\r\n\r\n&nbsp;\r\n<div class=\"textbox shaded\">\r\n\r\n<em><strong>Note:<\/strong><\/em>\r\n\r\n&nbsp;\r\n\r\nHere is a <a href=\"http:\/\/cs.brown.edu\/about\/system\/managed\/latex\/doc\/symbols.pdf\">cheatsheet<\/a> which lays out common symbols and how to write them.\r\n\r\nHere is a <a href=\"http:\/\/mirrors.ctan.org\/info\/symbols\/comprehensive\/symbols-a4.pdf\">comprehensive list<\/a> of all LaTeX symbols and how to write them.\r\n\r\n<\/div>","rendered":"<p>QuickLaTeX is a plugin that allows for better representation of math formulas and equations into Pressbooks text. It is adapted from the LaTeX programming language.<\/p>\n<h2>Enabling QuickLaTeX<\/h2>\n<p>&nbsp;<\/p>\n<p>To enable QuickLaTeX in your book, click on <strong>Plugins<\/strong> in the <a href=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/chapter\/the-menu-bar\/ \u200e\">menu bar<\/a> to manage plugin activation.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-346\" src=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2019\/10\/Enable-Quick-LaTeX-Plugin.png\" alt=\"\" width=\"892\" height=\"496\" srcset=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2019\/10\/Enable-Quick-LaTeX-Plugin.png 892w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2019\/10\/Enable-Quick-LaTeX-Plugin-300x167.png 300w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2019\/10\/Enable-Quick-LaTeX-Plugin-768x427.png 768w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2019\/10\/Enable-Quick-LaTeX-Plugin-65x36.png 65w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2019\/10\/Enable-Quick-LaTeX-Plugin-225x125.png 225w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2019\/10\/Enable-Quick-LaTeX-Plugin-350x195.png 350w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><\/p>\n<p>Click on the word <strong>Activate<\/strong> next to the WP QuickLaTeX plugin. You can also click the check box (or several), choose <strong>Activate<\/strong> from the <strong>Bulk Actions<\/strong> drop-down menu, and then hit <strong>Apply<\/strong>.<\/p>\n<h2>Writing with QuickLaTeX<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-338 size-full alignleft\" src=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-3.png\" alt=\"\" width=\"314\" height=\"184\" srcset=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-3.png 314w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-3-300x176.png 300w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-3-65x38.png 65w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-3-225x132.png 225w\" sizes=\"auto, (max-width: 314px) 100vw, 314px\" \/><\/p>\n<p>Now that the plugin is activated, you can create formulas in the text window by using typed commands. Information about how to use QuickLaTex can be found in the settings menu. You can also make several other adjustments for how you want your formulas to look.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\">This is how you would write using QuickLaTeX:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-339\" src=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-5.png\" alt=\"\" width=\"732\" height=\"376\" srcset=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-5.png 732w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-5-300x154.png 300w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-5-65x33.png 65w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-5-225x116.png 225w, https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/uploads\/sites\/952\/2020\/06\/Latex-5-350x180.png 350w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>And this is how it appears on the page:<\/p>\n<p>&nbsp;<\/p>\n<p>You can insert formulas (such as <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/ql-cache\/quicklatex.com-9157b307b0b27184ad05ff3e3331fc30_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#69;&#32;&#61;&#32;&#109;&#99;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"69\" style=\"vertical-align: 0px;\" \/>) directly into the body of the text, or on a separate line:<\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/ql-cache\/quicklatex.com-e0d8b214d01d8b088a48159af2233891_l3.png\" height=\"19\" width=\"195\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91; &#71;&#95;&#92;&#109;&#117;&#95;&#118;&#32;&#61;&#32;&#56;&#32;&#92;&#112;&#105;&#32;&#71;&#40;&#84;&#95;&#92;&#109;&#117;&#95;&#118;&#32;&#43;&#32;&#92;&#114;&#104;&#111;&#95;&#92;&#76;&#97;&#109;&#98;&#100;&#97;&#32;&#103;&#95;&#92;&#109;&#117;&#95;&#118;&#41; &#92;&#93;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Doing that will create an un-numbered equation. If you want to number your equations so that you can easily refer to them, start and end your equation with &#8220;\\begin {equation}&#8221; and &#8220;\\end {equation}&#8221; (remove the spaces). This will result in the equation having a number to the right which you can reference in the text.<\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> (1) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-content\/ql-cache\/quicklatex.com-03f3afd304aec4c440b5a8ff0f48d6da_l3.png\" height=\"19\" width=\"195\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#71;&#95;&#92;&#109;&#117;&#95;&#118;&#32;&#61;&#32;&#56;&#32;&#92;&#112;&#105;&#32;&#71;&#40;&#84;&#95;&#92;&#109;&#117;&#95;&#118;&#32;&#43;&#32;&#92;&#114;&#104;&#111;&#95;&#92;&#76;&#97;&#109;&#98;&#100;&#97;&#32;&#103;&#95;&#92;&#109;&#117;&#95;&#118;&#41; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<div class=\"textbox shaded\">\n<p><em><strong>Note:<\/strong><\/em><\/p>\n<p>&nbsp;<\/p>\n<p>Here is a <a href=\"http:\/\/cs.brown.edu\/about\/system\/managed\/latex\/doc\/symbols.pdf\">cheatsheet<\/a> which lays out common symbols and how to write them.<\/p>\n<p>Here is a <a href=\"http:\/\/mirrors.ctan.org\/info\/symbols\/comprehensive\/symbols-a4.pdf\">comprehensive list<\/a> of all LaTeX symbols and how to write them.<\/p>\n<\/div>\n","protected":false},"author":801,"menu_order":4,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":"cc-by"},"chapter-type":[],"contributor":[61],"license":[52],"class_list":["post-340","chapter","type-chapter","status-publish","hentry","contributor-amanda-grey","license-cc-by"],"part":215,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/pressbooks\/v2\/chapters\/340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/wp\/v2\/users\/801"}],"version-history":[{"count":7,"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/pressbooks\/v2\/chapters\/340\/revisions"}],"predecessor-version":[{"id":371,"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/pressbooks\/v2\/chapters\/340\/revisions\/371"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/pressbooks\/v2\/parts\/215"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/pressbooks\/v2\/chapters\/340\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/wp\/v2\/media?parent=340"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/pressbooks\/v2\/chapter-type?post=340"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/wp\/v2\/contributor?post=340"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/pressbooksvisualguide\/wp-json\/wp\/v2\/license?post=340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}