{"id":1999,"date":"2022-06-02T09:35:16","date_gmt":"2022-06-02T16:35:16","guid":{"rendered":"https:\/\/jetic.org\/?page_id=1999"},"modified":"2024-02-07T17:05:42","modified_gmt":"2024-02-08T01:05:42","slug":"common-latex-stuff","status":"publish","type":"page","link":"https:\/\/jetic.org\/de\/common-latex-stuff\/","title":{"rendered":"Common LaTeX Stuff for Boolean Algebra"},"content":{"rendered":"<p>Writing mathematical equations properly on a computer isn&#8217;t hard, and LaTeX is probably the best tool for it, and is supported by all these office applications:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.libreoffice.org\" data-type=\"link\" data-id=\"https:\/\/www.libreoffice.org\">LibreOffice<\/a> (with <a href=\"https:\/\/extensions.libreoffice.org\/en\/extensions\/show\/texmaths-1\" data-type=\"link\" data-id=\"https:\/\/extensions.libreoffice.org\/en\/extensions\/show\/texmaths-1\">TexMath<\/a>)<\/li>\n\n\n\n<li>M&#36; Office; and<\/li>\n\n\n\n<li>Apple iWork<\/li>\n<\/ul>\n\n\n\n<p>When it comes to the choice of software, LibreOffice and Apple iWork are free and very powerful. It&#8217;s also always a good idea to support open-source projects like LibreOffice against Micro&#36;oft&#8217;s bloatware.<\/p>\n\n\n\n<p>Later on when you are working in IT, Math, or Physics, etc. LaTeX will also be the preferred (sometimes only) tool to create PDFs in both the industry and academia. This document only introduces you to the math bits needed for Boolean algebra, but I&#8217;ve seen math students taking post-secondary math notes using LaTeX, very efficient once you are familiar with it.<\/p>\n\n\n\n<p>If you are on macOS, stick to Apple Pages, it saves you a lot of time. Simply do <strong>Insert -&gt; Equation<\/strong> and you&#8217;ll be able to start writing LaTeX math without any issue, it also gives you live preview, and Apple has a pretty decent support page for it: <a href=\"https:\/\/support.apple.com\/en-us\/HT202501\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/support.apple.com\/en-us\/HT202501<\/a><\/p>\n\n\n\n<p>Something that we recently found out, M&#36; Office has the worse support for proper LaTeX grammar, so you might want to be careful there. It seems that M&#36; takes LaTeX input and converts it (incorrectly) to its own proprietary format instead of having a real rendering engine. <\/p>\n\n\n\n<p>To setup LaTeX equation writing in M&#36;, first select <strong>Insert -&gt; Equation<\/strong>, then make sure you select <strong>LaTeX<\/strong> when creating it:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"872\" height=\"125\" src=\"https:\/\/jetic.org\/wp-content\/uploads\/2022\/06\/abb5b821-c4a2-4369-bda0-4fd9fb62f05b.png\" alt=\"\" class=\"wp-image-2001\" srcset=\"https:\/\/jetic.org\/wp-content\/uploads\/2022\/06\/abb5b821-c4a2-4369-bda0-4fd9fb62f05b.png 872w, https:\/\/jetic.org\/wp-content\/uploads\/2022\/06\/abb5b821-c4a2-4369-bda0-4fd9fb62f05b-300x43.png 300w, https:\/\/jetic.org\/wp-content\/uploads\/2022\/06\/abb5b821-c4a2-4369-bda0-4fd9fb62f05b-768x110.png 768w, https:\/\/jetic.org\/wp-content\/uploads\/2022\/06\/abb5b821-c4a2-4369-bda0-4fd9fb62f05b-18x3.png 18w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\" \/><figcaption class=\"wp-element-caption\">Taken from M$ Support<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Basic Symbols<\/h2>\n\n\n\n<p>Writing LaTeX is kinda like writing code, except that this code is not to be executed but rendered. Standard symbols and numbers and letters will be rendered directly, like the plus sign and equal sign. Power is also simple with the <code>^<\/code> symbol e.g.:<\/p>\n\n\n\n<p>Basic stuff: <code>y=a^2+bx+c<\/code> will be rendered as: <p class=\"ql-center-displayed-equation\" style=\"line-height: 21px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-0530fef4e57d3dee8147e5c1d5dfb83a_l3.png\" height=\"21\" width=\"120\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#121;&#61;&#97;&#94;&#50;&#43;&#98;&#120;&#43;&#99;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p>Power: <code>a^{123}<\/code> will be rendered as: <p class=\"ql-center-displayed-equation\" style=\"line-height: 17px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-748798473bbf16846a871aca77055243_l3.png\" height=\"17\" width=\"30\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#97;&#94;&#123;&#49;&#50;&#51;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p>Footnotes: <code>a_{16}<\/code> will be rendered as: <p class=\"ql-center-displayed-equation\" style=\"line-height: 10px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-cc3a246dd03427b6af9b31d48e88fa4d_l3.png\" height=\"10\" width=\"23\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#97;&#95;&#123;&#49;&#54;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p>Fractions: <code>\\frac{b}{a+c}<\/code> will be rendered as: <p class=\"ql-center-displayed-equation\" style=\"line-height: 38px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-5c3c1b60ff37a852b0a8906d98752279_l3.png\" height=\"38\" width=\"40\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#102;&#114;&#97;&#99;&#123;&#98;&#125;&#123;&#97;&#43;&#99;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p>A pair of curly brackets is used to indicate whatever is inside is a single component. Special symbols require you to start writing its name with right slash <code>\\<\/code><\/p>\n\n\n\n<p>For example:<\/p>\n\n\n\n<p><code>\\Sigma<\/code>&nbsp;gets rendered as:&nbsp;<p class=\"ql-center-displayed-equation\" style=\"line-height: 12px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-d486f3d80da06b9c595a65443095923b_l3.png\" height=\"12\" width=\"12\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#83;&#105;&#103;&#109;&#97;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p><code>\\Pi<\/code>&nbsp;gets rendered as:&nbsp;<p class=\"ql-center-displayed-equation\" style=\"line-height: 12px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-c701f6eff10676550de51fe473e714ad_l3.png\" height=\"12\" width=\"13\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#80;&#105;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p><code>\\oplus<\/code>&nbsp;gets rendered as:&nbsp;<p class=\"ql-center-displayed-equation\" style=\"line-height: 13px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-51cbf0e7b47c64bff631c6bb1c6b70b8_l3.png\" height=\"13\" width=\"13\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#111;&#112;&#108;&#117;&#115;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p><code>\\cdot<\/code> gets rendered as: <p class=\"ql-center-displayed-equation\" style=\"line-height: 2px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-5ffc47dc98176ce1ae66f95e7577ad1e_l3.png\" height=\"2\" width=\"3\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#99;&#100;&#111;&#116;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p>Make sure to also use space bar to separate different symbols.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Overlines<\/h2>\n\n\n\n<p>Overlines (NOT operators) in LaTeX is supposed to be simple.<\/p>\n\n\n\n<p><code>\\overline{X}<\/code>&nbsp;gets rendered as: <p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-ad9398af90e4789c643e0d0c5d517f7a_l3.png\" height=\"16\" width=\"17\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#88;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p><code>\\overline{X+Y}<\/code>&nbsp;gets rendered as: <p class=\"ql-center-displayed-equation\" style=\"line-height: 18px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-873fa5c92da6b47a61bd14a6495d0502_l3.png\" height=\"18\" width=\"52\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#88;&#43;&#89;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p><code>\\overline{X}\\overline{Y}<\/code>&nbsp;gets rendered as: <p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-a13c4dd00de6164d2a630192075706d9_l3.png\" height=\"16\" width=\"37\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#88;&#125;&#32;&#92;&#32;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#89;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p>For some reason that last one above might not be rendered correctly in older versions of M&#36; Office, you will have to do one of the below:<\/p>\n\n\n\n<p>Use <code>\\cdot<\/code>: <code>\\overline{X} \\cdot \\overline{Y}<\/code>&nbsp;gets rendered as: <p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-ab90ad922af5eeacfae813e6f3dc4d99_l3.png\" height=\"16\" width=\"44\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#88;&#125;&#92;&#99;&#100;&#111;&#116;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#89;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<p>Use right slash and whitespace: <code>\\overline{X} \\ &nbsp;\\overline{Y}<\/code>&nbsp;gets rendered as: <p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jetic.org\/wp-content\/ql-cache\/quicklatex.com-92ca681a17d6bcd02b85e17c238ffe64_l3.png\" height=\"16\" width=\"37\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#88;&#125;&#92;&#32;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#89;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n<p>Hopefully, this is enough for most boolean algebra equations. If you have more suggestions please let me know.<\/p>","protected":false},"excerpt":{"rendered":"<p>Writing mathematical equations properly on a computer isn&#8217;t hard, and LaTeX is probably the best tool for it, and is supported by all these office applications: When it comes to the choice of software, LibreOffice and Apple iWork are free and very powerful. It&#8217;s also always a good idea to support open-source projects like LibreOffice &hellip; <a href=\"https:\/\/jetic.org\/de\/common-latex-stuff\/\" class=\"more-link\"><span class=\"screen-reader-text\">Common LaTeX Stuff for Boolean Algebra<\/span> weiterlesen<\/a><\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1999","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"publishpress_future_action":{"enabled":false,"date":"2026-05-09 11:09:30","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/jetic.org\/de\/wp-json\/wp\/v2\/pages\/1999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jetic.org\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jetic.org\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jetic.org\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jetic.org\/de\/wp-json\/wp\/v2\/comments?post=1999"}],"version-history":[{"count":15,"href":"https:\/\/jetic.org\/de\/wp-json\/wp\/v2\/pages\/1999\/revisions"}],"predecessor-version":[{"id":2432,"href":"https:\/\/jetic.org\/de\/wp-json\/wp\/v2\/pages\/1999\/revisions\/2432"}],"wp:attachment":[{"href":"https:\/\/jetic.org\/de\/wp-json\/wp\/v2\/media?parent=1999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}