{"id":291,"date":"2023-10-19T14:34:40","date_gmt":"2023-10-19T18:34:40","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/?post_type=chapter&#038;p=291"},"modified":"2024-01-09T17:33:03","modified_gmt":"2024-01-09T22:33:03","slug":"latex-support-villy-christensen","status":"web-only","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/chapter\/latex-support-villy-christensen\/","title":{"raw":"LaTeX Support - Villy Christensen","rendered":"LaTeX Support &#8211; Villy Christensen"},"content":{"raw":"Book: <a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\">https:\/\/pressbooks.bccampus.ca\/ewemodel<\/a>\r\n\r\nDate: October 14th, 2023\r\n\r\nIssue:\r\n<ul>\r\n \t<li>Can't see Big Integral in MathJax settings (doesn't even show un-rendered code)<\/li>\r\n \t<li>Having rendering issues with LaTeX<\/li>\r\n \t<li>Can't use AsciiMath - doesn't render?<\/li>\r\n \t<li>Doesn't know how to label equations<\/li>\r\n<\/ul>\r\nAfflicted chapters:\r\n<ul>\r\n \t<li><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/predicting-consumption\/\">https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/predicting-consumption\/<\/a><\/li>\r\n \t<li><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/ecosim-introduction\/\">https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/ecosim-introduction\/<\/a><\/li>\r\n<\/ul>\r\nOther chapters with LaTeX:\r\n<ul>\r\n \t<li><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/tutorial-time-series-fitting\/\">https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/tutorial-time-series-fitting\/<\/a><\/li>\r\n \t<li><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/fleet-effort-dynamics\/\">https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/fleet-effort-dynamics\/<\/a><\/li>\r\n \t<li><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/lotka-volterra\/\">https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/lotka-volterra\/<\/a><\/li>\r\n<\/ul>\r\nSolution:\r\n<div class=\"textbox\">[Enter email to him here]<\/div>\r\n<h1>Testing<\/h1>\r\n<h2>1. Can't see Big Mathjax Integral<\/h2>\r\nUnsure why he can't. He doesn't even see the un-rendered LaTeX equation. It's just not there.\r\n<h2>2. Having rendering issues in MathJax<\/h2>\r\n<h3><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/predicting-consumption\/\">Predicting Consumption<\/a><\/h3>\r\n<table style=\"border-collapse: collapse; width: 100%; height: 54px;\" border=\"0\"><caption><code>[latex]C_i_j=\\frac{a_i_j v_i_j B_i P_j}{2v_i_j+a_i_j P_j}[\/latex]<\/code><\/caption>\r\n<tbody>\r\n<tr style=\"height: 18px;\">\r\n<th style=\"width: 22.235%; height: 18px;\" scope=\"col\"><\/th>\r\n<th style=\"width: 38.8825%; height: 18px;\" scope=\"col\">Code<\/th>\r\n<th style=\"width: 38.8825%; height: 18px;\" scope=\"col\">Render<\/th>\r\n<\/tr>\r\n<tr style=\"height: 18px;\">\r\n<th style=\"width: 22.235%; height: 18px;\" scope=\"row\">Using singular subscript<\/th>\r\n<td style=\"width: 38.8825%; height: 18px;\"><code>[latex]C_{ij}= \\frac{a_{ij} v_{ij} B_i P_j}{2v_{ij} + a_{ij} P_j}[\/latex]<\/code><\/td>\r\n<td style=\"width: 38.8825%; height: 18px;\">[latex]\\Large C_{ij}= \\frac{a_{ij} v_{ij} B_i P_j}{2v_{ij} + a_{ij} P_j}[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px;\">\r\n<th style=\"width: 22.235%; height: 18px;\" scope=\"row\">Using double subscript<\/th>\r\n<td style=\"width: 38.8825%; height: 18px;\"><code>[latex]C_{i_j}= \\frac{a_{i_j} v_{i_j} B_i P_j}{2v_{i_j} + a_{i_j} P_j}[\/latex]<\/code><\/td>\r\n<td style=\"width: 38.8825%; height: 18px;\">[latex]\\Large C_{i_j}= \\frac{a_{i_j} v_{i_j} B_i P_j}{2v_{i_j} + a_{i_j} P_j}[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n\r\n&nbsp;\r\n<table style=\"border-collapse: collapse; width: 100%; height: 199px;\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 18px;\">\r\n<th style=\"width: 50%; height: 18px;\" scope=\"col\">Original<\/th>\r\n<th style=\"width: 50%; height: 18px;\" scope=\"col\">Solution<\/th>\r\n<\/tr>\r\n<tr style=\"height: 36px;\">\r\n<td style=\"width: 50%; height: 36px;\"><code>[latex]C_i_j=\\frac{a_i_j v_i_j B_i P_j}{2v_i_j+a_i_j P_j}[\/latex]<\/code><\/td>\r\n<td style=\"width: 50%; height: 36px;\">[latex]C_{ij}= \\frac{a_{ij} v_{ij} B_i P_j}{2v_{ij} + a_{ij} P_j}[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 55px;\">\r\n<td style=\"width: 50%; height: 55px;\"><code>[latex]C_i_j=\\frac{a_i_j v_i_j B_i P_j T_i T_j S_i_j M_i_j\/D_j}{v_i_j + v_i_j\u00a0T_i M_i_j + a_i_j M_i_j P_j S_i_j T_j \/D_j}[\/latex]<\/code><\/td>\r\n<td style=\"width: 50%; height: 55px;\">[latex]C_{i_j}=\\frac{a_{i_j} v_{i_j} B_i P_j T_i T_j S_{i_j} \\frac{M_{i_j}}{D_j}}{v_{i_j} + v_{i_j} T_i M_{i_j} + a_{i_j} M_{i_j} P_j S_{i_j} \\frac{T_j}{D_j}}[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 36px;\">\r\n<td style=\"width: 50%; height: 36px;\">[latex]D_j=\\frac{h_j T_j}{1+\\sum_k a_k_j B_k T_k M_k_j}[\/latex]<\/td>\r\n<td style=\"width: 50%; height: 36px;\"><\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px;\">\r\n<td style=\"width: 50%; height: 18px;\">[latex]C_i_j=a_i_j \\times B_i \\times\u00a0T_j \\times\u00a0S_i_j[\/latex]<\/td>\r\n<td style=\"width: 50%; height: 18px;\"><\/td>\r\n<\/tr>\r\n<tr style=\"height: 36px;\">\r\n<td style=\"width: 50%; height: 36px;\">[latex]T_{i,j}=T_{i,j}+(1-a+\\frac{a \\times c_{i,opt}}{c_{i,t-1}})}[\/latex]<\/td>\r\n<td style=\"width: 50%; height: 36px;\"><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h3 class=\"entry-title\"><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/ecosim-introduction\/\">An introduction to Ecosim<\/a><\/h3>\r\n&nbsp;\r\n<h2>3. Can't use AsciiMath<\/h2>\r\n&nbsp;\r\n<h2>4. Doesn't know how to label equations<\/h2>\r\n<h3>Using \\tag{label}<\/h3>\r\n<table style=\"border-collapse: collapse; width: 100%; height: 54px;\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<th style=\"width: 50%;\" scope=\"col\">Equation rendered<\/th>\r\n<th style=\"width: 50%;\" scope=\"col\">Code<\/th>\r\n<\/tr>\r\n<tr style=\"height: 18px;\">\r\n<td style=\"width: 50%; height: 18px;\" rowspan=\"3\">[latex] x -5 = 2 \\tag{1}[\/latex]\r\n[latex] x - 4 = 8 \\tag{2} [\/latex]\r\n[latex] x - 4 = 9 \\tag{3}[\/latex]<\/td>\r\n<td style=\"width: 50%; height: 18px;\" rowspan=\"3\"><code>[latex] x -5 = 2 \\tag{1}[\/latex]<\/code>\r\n<code>[latex] x - 4 = 8 \\tag{2} [\/latex]<\/code>\r\n<code>[latex] x - 4 = 9 \\tag{3}[\/latex]<\/code><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h3>Using <code>\\begin{equation} ... \\end{equation}<\/code> - only in QuickLaTeX<\/h3>\r\n[latex]\\begin{equation} x - 5 = 2 \\end{equation}[\/latex]\r\n\r\n[latex]\\begin{equation} x - 4 = 8 \\end{equation}[\/latex]\r\n\r\n[latex]\\begin{equation} x - 4 = 9 \\end{equation}[\/latex]","rendered":"<p>Book: <a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\">https:\/\/pressbooks.bccampus.ca\/ewemodel<\/a><\/p>\n<p>Date: October 14th, 2023<\/p>\n<p>Issue:<\/p>\n<ul>\n<li>Can&#8217;t see Big Integral in MathJax settings (doesn&#8217;t even show un-rendered code)<\/li>\n<li>Having rendering issues with LaTeX<\/li>\n<li>Can&#8217;t use AsciiMath &#8211; doesn&#8217;t render?<\/li>\n<li>Doesn&#8217;t know how to label equations<\/li>\n<\/ul>\n<p>Afflicted chapters:<\/p>\n<ul>\n<li><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/predicting-consumption\/\">https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/predicting-consumption\/<\/a><\/li>\n<li><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/ecosim-introduction\/\">https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/ecosim-introduction\/<\/a><\/li>\n<\/ul>\n<p>Other chapters with LaTeX:<\/p>\n<ul>\n<li><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/tutorial-time-series-fitting\/\">https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/tutorial-time-series-fitting\/<\/a><\/li>\n<li><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/fleet-effort-dynamics\/\">https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/fleet-effort-dynamics\/<\/a><\/li>\n<li><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/lotka-volterra\/\">https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/lotka-volterra\/<\/a><\/li>\n<\/ul>\n<p>Solution:<\/p>\n<div class=\"textbox\">[Enter email to him here]<\/div>\n<h1>Testing<\/h1>\n<h2>1. Can&#8217;t see Big Mathjax Integral<\/h2>\n<p>Unsure why he can&#8217;t. He doesn&#8217;t even see the un-rendered LaTeX equation. It&#8217;s just not there.<\/p>\n<h2>2. Having rendering issues in MathJax<\/h2>\n<h3><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/predicting-consumption\/\">Predicting Consumption<\/a><\/h3>\n<table style=\"border-collapse: collapse; width: 100%; height: 54px;\">\n<caption><code>[latex]C_i_j=\\frac{a_i_j v_i_j B_i P_j}{2v_i_j+a_i_j P_j}[\/latex]<\/code><\/caption>\n<tbody>\n<tr style=\"height: 18px;\">\n<th style=\"width: 22.235%; height: 18px;\" scope=\"col\"><\/th>\n<th style=\"width: 38.8825%; height: 18px;\" scope=\"col\">Code<\/th>\n<th style=\"width: 38.8825%; height: 18px;\" scope=\"col\">Render<\/th>\n<\/tr>\n<tr style=\"height: 18px;\">\n<th style=\"width: 22.235%; height: 18px;\" scope=\"row\">Using singular subscript<\/th>\n<td style=\"width: 38.8825%; height: 18px;\"><code>[latex]C_{ij}= \\frac{a_{ij} v_{ij} B_i P_j}{2v_{ij} + a_{ij} P_j}[\/latex]<\/code><\/td>\n<td style=\"width: 38.8825%; height: 18px;\">[latex]\\Large C_{ij}= \\frac{a_{ij} v_{ij} B_i P_j}{2v_{ij} + a_{ij} P_j}[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 18px;\">\n<th style=\"width: 22.235%; height: 18px;\" scope=\"row\">Using double subscript<\/th>\n<td style=\"width: 38.8825%; height: 18px;\"><code>[latex]C_{i_j}= \\frac{a_{i_j} v_{i_j} B_i P_j}{2v_{i_j} + a_{i_j} P_j}[\/latex]<\/code><\/td>\n<td style=\"width: 38.8825%; height: 18px;\">[latex]\\Large C_{i_j}= \\frac{a_{i_j} v_{i_j} B_i P_j}{2v_{i_j} + a_{i_j} P_j}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 199px;\">\n<tbody>\n<tr style=\"height: 18px;\">\n<th style=\"width: 50%; height: 18px;\" scope=\"col\">Original<\/th>\n<th style=\"width: 50%; height: 18px;\" scope=\"col\">Solution<\/th>\n<\/tr>\n<tr style=\"height: 36px;\">\n<td style=\"width: 50%; height: 36px;\"><code>[latex]C_i_j=\\frac{a_i_j v_i_j B_i P_j}{2v_i_j+a_i_j P_j}[\/latex]<\/code><\/td>\n<td style=\"width: 50%; height: 36px;\">[latex]C_{ij}= \\frac{a_{ij} v_{ij} B_i P_j}{2v_{ij} + a_{ij} P_j}[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 55px;\">\n<td style=\"width: 50%; height: 55px;\"><code>[latex]C_i_j=\\frac{a_i_j v_i_j B_i P_j T_i T_j S_i_j M_i_j\/D_j}{v_i_j + v_i_j\u00a0T_i M_i_j + a_i_j M_i_j P_j S_i_j T_j \/D_j}[\/latex]<\/code><\/td>\n<td style=\"width: 50%; height: 55px;\">[latex]C_{i_j}=\\frac{a_{i_j} v_{i_j} B_i P_j T_i T_j S_{i_j} \\frac{M_{i_j}}{D_j}}{v_{i_j} + v_{i_j} T_i M_{i_j} + a_{i_j} M_{i_j} P_j S_{i_j} \\frac{T_j}{D_j}}[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 36px;\">\n<td style=\"width: 50%; height: 36px;\">[latex]D_j=\\frac{h_j T_j}{1+\\sum_k a_k_j B_k T_k M_k_j}[\/latex]<\/td>\n<td style=\"width: 50%; height: 36px;\"><\/td>\n<\/tr>\n<tr style=\"height: 18px;\">\n<td style=\"width: 50%; height: 18px;\">[latex]C_i_j=a_i_j \\times B_i \\times\u00a0T_j \\times\u00a0S_i_j[\/latex]<\/td>\n<td style=\"width: 50%; height: 18px;\"><\/td>\n<\/tr>\n<tr style=\"height: 36px;\">\n<td style=\"width: 50%; height: 36px;\">[latex]T_{i,j}=T_{i,j}+(1-a+\\frac{a \\times c_{i,opt}}{c_{i,t-1}})}[\/latex]<\/td>\n<td style=\"width: 50%; height: 36px;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 class=\"entry-title\"><a href=\"https:\/\/pressbooks.bccampus.ca\/ewemodel\/chapter\/ecosim-introduction\/\">An introduction to Ecosim<\/a><\/h3>\n<p>&nbsp;<\/p>\n<h2>3. Can&#8217;t use AsciiMath<\/h2>\n<p>&nbsp;<\/p>\n<h2>4. Doesn&#8217;t know how to label equations<\/h2>\n<h3>Using \\tag{label}<\/h3>\n<table style=\"border-collapse: collapse; width: 100%; height: 54px;\">\n<tbody>\n<tr>\n<th style=\"width: 50%;\" scope=\"col\">Equation rendered<\/th>\n<th style=\"width: 50%;\" scope=\"col\">Code<\/th>\n<\/tr>\n<tr style=\"height: 18px;\">\n<td style=\"width: 50%; height: 18px;\" rowspan=\"3\">[latex]x -5 = 2 \\tag{1}[\/latex]<br \/>\n[latex]x - 4 = 8 \\tag{2}[\/latex]<br \/>\n[latex]x - 4 = 9 \\tag{3}[\/latex]<\/td>\n<td style=\"width: 50%; height: 18px;\" rowspan=\"3\"><code>[latex]x -5 = 2 \\tag{1}[\/latex]<\/code><br \/>\n<code>[latex]x - 4 = 8 \\tag{2}[\/latex]<\/code><br \/>\n<code>[latex]x - 4 = 9 \\tag{3}[\/latex]<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Using <code>\\begin{equation} ... \\end{equation}<\/code> &#8211; only in QuickLaTeX<\/h3>\n<p>[latex]\\begin{equation} x - 5 = 2 \\end{equation}[\/latex]<\/p>\n<p>[latex]\\begin{equation} x - 4 = 8 \\end{equation}[\/latex]<\/p>\n<p>[latex]\\begin{equation} x - 4 = 9 \\end{equation}[\/latex]<\/p>\n","protected":false},"author":940,"menu_order":4,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-291","chapter","type-chapter","status-web-only","hentry"],"part":282,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/chapters\/291","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":5,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/chapters\/291\/revisions"}],"predecessor-version":[{"id":293,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/chapters\/291\/revisions\/293"}],"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\/291\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/wp\/v2\/media?parent=291"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/pressbooks\/v2\/chapter-type?post=291"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/wp\/v2\/contributor?post=291"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/hfriedman\/wp-json\/wp\/v2\/license?post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}