From da8d9df5a66c2353c190fa21d93e7c5e46addade Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Sun, 16 Jul 2023 22:34:25 +0200 Subject: [PATCH] Default left align math formulas --- Doc/Sd1/Appendix/Exam/2023/Summer/exam.xml | 50 ++-- Klausuren/Sd1/2014winter/Exam/pom.xml | 6 + Klausuren/Sd1/2014winter/Solution/pom.xml | 6 + Klausuren/Sd1/2015summer/Exam/pom.xml | 6 + Klausuren/Sd1/2015summer/Solve/pom.xml | 6 + Klausuren/Sd1/2015winter/Exam/pom.xml | 6 + Klausuren/Sd1/2015winter/Solve/pom.xml | 6 + Klausuren/Sd1/2016summer.failed/Exam/pom.xml | 6 + Klausuren/Sd1/2016summer.failed/Solve/pom.xml | 6 + Klausuren/Sd1/2016summer/Exam/pom.xml | 6 + Klausuren/Sd1/2016summer/Solve/pom.xml | 6 + Klausuren/Sd1/2016winter/Exam/pom.xml | 6 + Klausuren/Sd1/2016winter/Solve/pom.xml | 6 + Klausuren/Sd1/2017summer/Exam/pom.xml | 6 + Klausuren/Sd1/2017summer/Extras/pom.xml | 6 + Klausuren/Sd1/2017summer/Solve/pom.xml | 6 + Klausuren/Sd1/2017winter/Exam/pom.xml | 6 + Klausuren/Sd1/2017winter/Extra/pom.xml | 6 + Klausuren/Sd1/2017winter/Solve/pom.xml | 6 + Klausuren/Sd1/2018summer/Exam/pom.xml | 6 + Klausuren/Sd1/2018summer/Solve/pom.xml | 6 + Klausuren/Sd1/2018winter/Exam/pom.xml | 6 + Klausuren/Sd1/2018winter/Solve/pom.xml | 6 + Klausuren/Sd1/2019summer/Exam/pom.xml | 6 + Klausuren/Sd1/2019summer/Solve/pom.xml | 6 + Klausuren/Sd1/2019winter/Exam/pom.xml | 6 + Klausuren/Sd1/2019winter/Solve/pom.xml | 6 + Klausuren/Sd1/2020summer/Exam/pom.xml | 6 + Klausuren/Sd1/2020summer/Solve/pom.xml | 6 + Klausuren/Sd1/2020winter_1/Exam/pom.xml | 6 + Klausuren/Sd1/2020winter_1/Solve/pom.xml | 6 + Klausuren/Sd1/2020winter_2/Exam/pom.xml | 6 + Klausuren/Sd1/2020winter_2/Solve/pom.xml | 6 + Klausuren/Sd1/2021summer/Exam/pom.xml | 6 + Klausuren/Sd1/2021summer/Solve/pom.xml | 6 + Klausuren/Sd1/2021winter/Exam/pom.xml | 6 + .../mi/sd1/task2/Test_SquarePolynom.java | 239 ------------------ Klausuren/Sd1/2021winter/Solve/pom.xml | 6 + Klausuren/Sd1/2022winter/Exam/pom.xml | 6 + Klausuren/Sd1/2022winter/Solve/pom.xml | 6 + Klausuren/Sd1/2023summer/Exam/Readme.md | 56 +--- Klausuren/Sd1/2023summer/Exam/pom.xml | 10 +- Klausuren/Sd1/2023summer/Solve/Readme.md | 56 +--- Klausuren/Sd1/2023summer/Solve/pom.xml | 6 + Klausuren/Sd1/Tests/IntMax/Exam/pom.xml | 6 + Klausuren/Sd1/Tests/IntMax/Solve/pom.xml | 6 + .../Sd1/Tests/MaxThreeValueDiff/Exam/pom.xml | 6 + .../Sd1/Tests/MaxThreeValueDiff/Solve/pom.xml | 6 + 48 files changed, 301 insertions(+), 368 deletions(-) delete mode 100644 Klausuren/Sd1/2021winter/Exam/src/test/java/de/hdm_stuttgart/mi/sd1/task2/Test_SquarePolynom.java mode change 100644 => 120000 Klausuren/Sd1/2023summer/Exam/Readme.md mode change 100644 => 120000 Klausuren/Sd1/2023summer/Solve/Readme.md diff --git a/Doc/Sd1/Appendix/Exam/2023/Summer/exam.xml b/Doc/Sd1/Appendix/Exam/2023/Summer/exam.xml index 85cd39371..334698f01 100644 --- a/Doc/Sd1/Appendix/Exam/2023/Summer/exam.xml +++ b/Doc/Sd1/Appendix/Exam/2023/Summer/exam.xml @@ -127,29 +127,46 @@ role="red">Explain</emphasis> your answer.</para> <tip> - <para>Consider possible side effects of calling - <methodname>computeItemCount()</methodname> and provide an - example.</para> + <itemizedlist> + <listitem> + <para>Though <code>switch...case ... default</code> and + <code>if ... else if ... else</code> constructs are closely + related there is a principal difference.</para> + </listitem> + + <listitem> + <para>Consider possible side effects of calling + <methodname>computeItemCount()</methodname> and provide an + example.</para> + </listitem> + </itemizedlist> </tip> </question> <answer> - <para>Consider:</para> + <para><code>switch...case ... default</code> is being implemented + as a jump table whereas <code>if ... else if ... else</code> + evaluate their corresponding logical expressions as often as + either one else if(...) clause matches or the final else is being + reached. Thus in the <code>switch...case ... default</code> + implementation the <methodname>computeItemCount()</methodname> + method is being executed exactly once. On contrary the two + <code>else if(...)</code> branches may execute + <methodname>computeItemCount()</methodname> twice in succession. + Consider:</para> <programlisting language="java">public class X { private static int itemCount = 2; static int computeItemCount() {return itemCount++;} ... + public static int getScore() {/* either switch of if implementation */} }</programlisting> - <para>On a fresh start calling + <para>On a fresh start <code language="java">switch</code> calling <methodname>computeItemCount()</methodname> for the first time - will return the current value 2 of our variable <code - language="java">itemCount</code>.</para> - - <para>The <code language="java">switch</code> implementation will - match its default and thus return 0.</para> + receifing the initial <varname>itemCount</varname> value of 2 will + return its <code language="java">default</code> value 0.</para> <para>On contrary the <code>if ... else if ... else</code> implementation will call @@ -170,12 +187,9 @@ </listitem> </orderedlist> - <para>So the <code language="java">switch</code> statement - implementing a jump table differs from <code>if ... else if</code> - in definitely calling <code - language="java">computeItemCount()</code> only once. In order to - be in full accordance we'd need a small modification for the - »<code language="java">if</code>« implementation:</para> + <para>In order for both implementations to become aligned we need + a small modification on the <code language="java">if</code> + side:</para> <programlisting language="java">public static int getScore() { @@ -273,7 +287,9 @@ try { bunch of other child classes</link> of <link xlink:href="https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/java.base/java/lang/RuntimeException.html">RuntimeException</link>. The simplified version thus potentially catches additional - exceptions we might not be aware of. </para> + exceptions we might not be aware of. On the other hand the <code + language="java">try {...}</code> block does not contain an + apparent candidate for one of these.</para> </answer> </qandaentry> </qandadiv> diff --git a/Klausuren/Sd1/2014winter/Exam/pom.xml b/Klausuren/Sd1/2014winter/Exam/pom.xml index e763d6f55..68f7d8251 100644 --- a/Klausuren/Sd1/2014winter/Exam/pom.xml +++ b/Klausuren/Sd1/2014winter/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2014winter/Solution/pom.xml b/Klausuren/Sd1/2014winter/Solution/pom.xml index 33dd5b983..9f048978f 100644 --- a/Klausuren/Sd1/2014winter/Solution/pom.xml +++ b/Klausuren/Sd1/2014winter/Solution/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2015summer/Exam/pom.xml b/Klausuren/Sd1/2015summer/Exam/pom.xml index df26b1ce9..88c518c98 100644 --- a/Klausuren/Sd1/2015summer/Exam/pom.xml +++ b/Klausuren/Sd1/2015summer/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2015summer/Solve/pom.xml b/Klausuren/Sd1/2015summer/Solve/pom.xml index bf822d533..25368d2c7 100644 --- a/Klausuren/Sd1/2015summer/Solve/pom.xml +++ b/Klausuren/Sd1/2015summer/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2015winter/Exam/pom.xml b/Klausuren/Sd1/2015winter/Exam/pom.xml index 9e6cf7020..95a3aea6b 100644 --- a/Klausuren/Sd1/2015winter/Exam/pom.xml +++ b/Klausuren/Sd1/2015winter/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2015winter/Solve/pom.xml b/Klausuren/Sd1/2015winter/Solve/pom.xml index d2b9f1004..80d34e0b8 100644 --- a/Klausuren/Sd1/2015winter/Solve/pom.xml +++ b/Klausuren/Sd1/2015winter/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2016summer.failed/Exam/pom.xml b/Klausuren/Sd1/2016summer.failed/Exam/pom.xml index f8299ae94..5abd8d8fb 100644 --- a/Klausuren/Sd1/2016summer.failed/Exam/pom.xml +++ b/Klausuren/Sd1/2016summer.failed/Exam/pom.xml @@ -89,6 +89,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2016summer.failed/Solve/pom.xml b/Klausuren/Sd1/2016summer.failed/Solve/pom.xml index 159c44ba4..d95b76ec9 100644 --- a/Klausuren/Sd1/2016summer.failed/Solve/pom.xml +++ b/Klausuren/Sd1/2016summer.failed/Solve/pom.xml @@ -89,6 +89,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2016summer/Exam/pom.xml b/Klausuren/Sd1/2016summer/Exam/pom.xml index 40c17854a..c78520a9f 100644 --- a/Klausuren/Sd1/2016summer/Exam/pom.xml +++ b/Klausuren/Sd1/2016summer/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2016summer/Solve/pom.xml b/Klausuren/Sd1/2016summer/Solve/pom.xml index 71dbf015c..d8c363b02 100644 --- a/Klausuren/Sd1/2016summer/Solve/pom.xml +++ b/Klausuren/Sd1/2016summer/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2016winter/Exam/pom.xml b/Klausuren/Sd1/2016winter/Exam/pom.xml index 947e6f160..4b422266b 100644 --- a/Klausuren/Sd1/2016winter/Exam/pom.xml +++ b/Klausuren/Sd1/2016winter/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2016winter/Solve/pom.xml b/Klausuren/Sd1/2016winter/Solve/pom.xml index a20f7ee2c..fc25d13db 100644 --- a/Klausuren/Sd1/2016winter/Solve/pom.xml +++ b/Klausuren/Sd1/2016winter/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2017summer/Exam/pom.xml b/Klausuren/Sd1/2017summer/Exam/pom.xml index be76875cc..bb55d036c 100644 --- a/Klausuren/Sd1/2017summer/Exam/pom.xml +++ b/Klausuren/Sd1/2017summer/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2017summer/Extras/pom.xml b/Klausuren/Sd1/2017summer/Extras/pom.xml index a20668852..ba1c2d200 100644 --- a/Klausuren/Sd1/2017summer/Extras/pom.xml +++ b/Klausuren/Sd1/2017summer/Extras/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2017summer/Solve/pom.xml b/Klausuren/Sd1/2017summer/Solve/pom.xml index ba19dd5a9..53329cf9d 100644 --- a/Klausuren/Sd1/2017summer/Solve/pom.xml +++ b/Klausuren/Sd1/2017summer/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2017winter/Exam/pom.xml b/Klausuren/Sd1/2017winter/Exam/pom.xml index 8c09b0701..779318522 100644 --- a/Klausuren/Sd1/2017winter/Exam/pom.xml +++ b/Klausuren/Sd1/2017winter/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2017winter/Extra/pom.xml b/Klausuren/Sd1/2017winter/Extra/pom.xml index 9a41e60a6..fe7c60cdd 100644 --- a/Klausuren/Sd1/2017winter/Extra/pom.xml +++ b/Klausuren/Sd1/2017winter/Extra/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2017winter/Solve/pom.xml b/Klausuren/Sd1/2017winter/Solve/pom.xml index 503008f67..91acaf8f4 100644 --- a/Klausuren/Sd1/2017winter/Solve/pom.xml +++ b/Klausuren/Sd1/2017winter/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2018summer/Exam/pom.xml b/Klausuren/Sd1/2018summer/Exam/pom.xml index e0c6e18b7..43bd463ee 100644 --- a/Klausuren/Sd1/2018summer/Exam/pom.xml +++ b/Klausuren/Sd1/2018summer/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2018summer/Solve/pom.xml b/Klausuren/Sd1/2018summer/Solve/pom.xml index cb117d614..a4966b098 100644 --- a/Klausuren/Sd1/2018summer/Solve/pom.xml +++ b/Klausuren/Sd1/2018summer/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2018winter/Exam/pom.xml b/Klausuren/Sd1/2018winter/Exam/pom.xml index a1213bda6..46f013a64 100644 --- a/Klausuren/Sd1/2018winter/Exam/pom.xml +++ b/Klausuren/Sd1/2018winter/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2018winter/Solve/pom.xml b/Klausuren/Sd1/2018winter/Solve/pom.xml index d4c046f9a..61b89b55c 100644 --- a/Klausuren/Sd1/2018winter/Solve/pom.xml +++ b/Klausuren/Sd1/2018winter/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2019summer/Exam/pom.xml b/Klausuren/Sd1/2019summer/Exam/pom.xml index 8d188d6fc..f8ca9c747 100644 --- a/Klausuren/Sd1/2019summer/Exam/pom.xml +++ b/Klausuren/Sd1/2019summer/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2019summer/Solve/pom.xml b/Klausuren/Sd1/2019summer/Solve/pom.xml index 2312ef00c..f77c1b715 100644 --- a/Klausuren/Sd1/2019summer/Solve/pom.xml +++ b/Klausuren/Sd1/2019summer/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2019winter/Exam/pom.xml b/Klausuren/Sd1/2019winter/Exam/pom.xml index 9a8b25b6b..7058e1286 100644 --- a/Klausuren/Sd1/2019winter/Exam/pom.xml +++ b/Klausuren/Sd1/2019winter/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2019winter/Solve/pom.xml b/Klausuren/Sd1/2019winter/Solve/pom.xml index 54441431f..c804353ed 100644 --- a/Klausuren/Sd1/2019winter/Solve/pom.xml +++ b/Klausuren/Sd1/2019winter/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2020summer/Exam/pom.xml b/Klausuren/Sd1/2020summer/Exam/pom.xml index 9558f0ce1..fd9fc3577 100644 --- a/Klausuren/Sd1/2020summer/Exam/pom.xml +++ b/Klausuren/Sd1/2020summer/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2020summer/Solve/pom.xml b/Klausuren/Sd1/2020summer/Solve/pom.xml index 702d034ad..7284492af 100644 --- a/Klausuren/Sd1/2020summer/Solve/pom.xml +++ b/Klausuren/Sd1/2020summer/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2020winter_1/Exam/pom.xml b/Klausuren/Sd1/2020winter_1/Exam/pom.xml index 75b9905e1..21ab41370 100644 --- a/Klausuren/Sd1/2020winter_1/Exam/pom.xml +++ b/Klausuren/Sd1/2020winter_1/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2020winter_1/Solve/pom.xml b/Klausuren/Sd1/2020winter_1/Solve/pom.xml index c0601e8b4..d47beb65f 100644 --- a/Klausuren/Sd1/2020winter_1/Solve/pom.xml +++ b/Klausuren/Sd1/2020winter_1/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2020winter_2/Exam/pom.xml b/Klausuren/Sd1/2020winter_2/Exam/pom.xml index 6afba269b..c19744527 100644 --- a/Klausuren/Sd1/2020winter_2/Exam/pom.xml +++ b/Klausuren/Sd1/2020winter_2/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2020winter_2/Solve/pom.xml b/Klausuren/Sd1/2020winter_2/Solve/pom.xml index 96f16a114..9685205d1 100644 --- a/Klausuren/Sd1/2020winter_2/Solve/pom.xml +++ b/Klausuren/Sd1/2020winter_2/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2021summer/Exam/pom.xml b/Klausuren/Sd1/2021summer/Exam/pom.xml index a4bbe62d5..f3b5cea65 100644 --- a/Klausuren/Sd1/2021summer/Exam/pom.xml +++ b/Klausuren/Sd1/2021summer/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2021summer/Solve/pom.xml b/Klausuren/Sd1/2021summer/Solve/pom.xml index a3b9a48b4..687af259b 100644 --- a/Klausuren/Sd1/2021summer/Solve/pom.xml +++ b/Klausuren/Sd1/2021summer/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2021winter/Exam/pom.xml b/Klausuren/Sd1/2021winter/Exam/pom.xml index 8152a57b3..82d6a05bd 100644 --- a/Klausuren/Sd1/2021winter/Exam/pom.xml +++ b/Klausuren/Sd1/2021winter/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2021winter/Exam/src/test/java/de/hdm_stuttgart/mi/sd1/task2/Test_SquarePolynom.java b/Klausuren/Sd1/2021winter/Exam/src/test/java/de/hdm_stuttgart/mi/sd1/task2/Test_SquarePolynom.java deleted file mode 100644 index 3bdea6d97..000000000 --- a/Klausuren/Sd1/2021winter/Exam/src/test/java/de/hdm_stuttgart/mi/sd1/task2/Test_SquarePolynom.java +++ /dev/null @@ -1,239 +0,0 @@ -package de.hdm_stuttgart.mi.sd1.task2; - -import de.hdm_stuttgart.mi.exam.unitmarking.ExaminationTestDefaults; -import de.hdm_stuttgart.mi.exam.unitmarking.Marking; -import de.hdm_stuttgart.mi.sd1.ignore_me.ObjectWrapper; -import org.junit.Assert; -import org.junit.FixMethodOrder; -import org.junit.Test; -import org.junit.runners.MethodSorters; -@FixMethodOrder(MethodSorters.NAME_ASCENDING) - -public class Test_SquarePolynom extends ExaminationTestDefaults { - - @Test - @Marking(points = 5) - public void test_100_NoZero() { - final ObjectWrapper<SquarePolynom> poly = new ObjectWrapper<>(SquarePolynom.class,1, 1, 1); - assertNoZero(poly, composeDescription(1,2,1).toString()); - - final ObjectWrapper<SquarePolynom> poly2 = new ObjectWrapper<>(SquarePolynom.class,1, 2, 3); - assertNoZero(1, 6, 20, poly2); - assertNoZero(2, 13, 41, poly2); - } - - @Test - @Marking(points = 1) - public void test_200_OneZeroLinearOneZero() { - final ObjectWrapper<SquarePolynom> poly = new ObjectWrapper<>(SquarePolynom.class,0, 1, 1); - assertOneZero(poly, -1, composeDescription(0,1,1).toString()); - } - - @Test - @Marking(points = 1) - public void test_200_OneZeroLinearNoZero() { - final ObjectWrapper<SquarePolynom> poly = new ObjectWrapper<>(SquarePolynom.class,0, 0, 1); - assertNoZero(poly, composeDescription(0,0,1).toString()); - } - - @Test - @Marking(points = 3) - public void test_210_OneZero() { - final ObjectWrapper<SquarePolynom> poly = new ObjectWrapper<>(SquarePolynom.class,1, 2, 1); - assertOneZero(poly, -1, composeDescription(1,2,1).toString()); - - final ObjectWrapper<SquarePolynom> poly2 = new ObjectWrapper<>(SquarePolynom.class,1, 2, 3); - assertOneZero(6, -84, 294, poly2, 7); - assertOneZero(21, 126, 189, poly2, -3); - } - - @Test - @Marking(points = 5) - public void test_300_twoZeroes() { - - final ObjectWrapper<SquarePolynom> poly = new ObjectWrapper<>(SquarePolynom.class,1, 3, 2); - assertTwoZeroes(poly, -2, -1, "x² + 3x + 2"); - - assertTwoZeroes(3, 7, 4, poly, -4./3, -1); - - assertTwoZeroes(-2, 1, 3, poly, -1, 1.5); - - assertTwoZeroes(-1, 5, 6, poly, -1, 6); - - assertTwoZeroes(7, 11, 4, poly, -1, -4./7); - - assertTwoZeroes(4, -3, -10, poly, -1.25, 2); - - assertTwoZeroes(5, 6, 1, poly, -1, -0.2); - - } - - @Test - @Marking(points = 2) - public void test_400_Exception() { - final ObjectWrapper<SquarePolynom> poly = new ObjectWrapper<>(SquarePolynom.class,0, 0, 0); - - final Class<ArithmeticException> expectedArithmeticException = ArithmeticException.class; - - // Either of a, b or c must be non-zero - poly.invoke(double[].class, "getZeroes", expectedArithmeticException); - } - - @Test - @Marking(points = 3) - public void test_500_TwoZeroExzess() { - final ObjectWrapper<SquarePolynom> poly = new ObjectWrapper<>(SquarePolynom.class, - 46010, 598130,-1960026000); - assertTwoZeroes(poly,-213,200, - composeDescription(46010, 598130,-1960026000).toString()); - } - - // End of tests ------------------------------------------------------------------------------------------------- - // Test helper methods - // - static private final double delta = 1.E-12; - - static private StringBuffer composeDescription(final int a, final int b, final int c) { - final StringBuffer ret = new StringBuffer(); - ret.append(a).append("x²"); - if (0 < b) { - ret.append(" + ").append(b).append("x"); - } else if (b < 0) { - ret.append(" ").append(b).append("x"); - } - // Slight code duplication avoiding a method definition. Yepp: I'm lazy sometimes! - if (0 < c) { - ret.append(" + ").append(c); - } else if (c < 0) { - ret.append(" ").append(c); - } - return ret; - } - - /** - * Testing given polynomial for no real zero value. - * - * @param poly Polynomial to be tested - * @param description E.g. "-2x² + 4x -3" - */ - static private void assertNoZero(final ObjectWrapper<SquarePolynom> poly, final String description) { - - Assert.assertEquals("No zero expected for polynom »" + description + "«", - 0, poly.invoke(double[].class, "getZeroes").length); - } - - /** - * Testing for no real valued zero solution. - * - * @param a Square coefficient - * @param b Linear coefficient - * @param c Constant coefficient - * @param poly Square polynomial - */ - static private void assertNoZero(final int a, - final int b, - final int c, - final ObjectWrapper<SquarePolynom> poly) { - poly.invoke(void.class, "setA", a); - poly.invoke(void.class, "setB", b); - poly.invoke(void.class, "setC", c); - Assert.assertEquals("One zero expected for polynom »" + composeDescription(a, b, c) + "«", - 0, poly.invoke(double[].class, "getZeroes").length); - - - } - - /** - * Testing given polynomial for one zeroes to be returned - * - * @param poly Polynomial to be tested - * @param expected zero value - * @param description E.g. "-2x² + 4x -3" - */ - static private void assertOneZero(final ObjectWrapper<SquarePolynom> poly, - double expected, - final String description) { - final double[] result = poly.invoke(double[].class, "getZeroes"); - - Assert.assertEquals("One zero expected for polynom »" + description + "«", - 1, result.length); - Assert.assertEquals("Expected zero of »" + description +"« to be " + expected, expected, result[0], delta); - } - - /** - * Like {@link #assertOneZero(ObjectWrapper, double, String)} but re-setting coefficients beforehand, - * @param a Square coefficient - * @param b Linear coefficient - * @param c Constant coefficient - * @param poly Square polynomial - */ - static private void assertOneZero(final int a, - final int b, - final int c, - final ObjectWrapper<SquarePolynom> poly, - double expected) { - poly.invoke(void.class, "setA", a); - poly.invoke(void.class, "setB", b); - poly.invoke(void.class, "setC", c); - final double[] result = poly.invoke(double[].class, "getZeroes"); - - final StringBuffer polynomDescription = composeDescription(a, b, c); - - Assert.assertEquals(2 + " zeroes expected for polynom »" + polynomDescription + "«", - 1, result.length); - Assert.assertEquals("Expected zero of »" + polynomDescription +"« to be " + expected, - expected, result[0], delta); - } - - /** - * Testing given polynomial for two zeroes to be returned - * - * @param poly Polynomial to be tested - * @param expectedLower Lower zero value - * @param expectedUpper Upper zero value - * @param description E.g. "-2x² + 4x -3" - */ - static private void assertTwoZeroes(final ObjectWrapper<SquarePolynom> poly, - double expectedLower, - double expectedUpper, - final String description) { - final double[] result = poly.invoke(double[].class, "getZeroes"); - - Assert.assertEquals(2 + " zeroes expected for polynom »" + description + "«", - 2, result.length); - Assert.assertEquals("Expected lower zero of »" + description +"« to be " + expectedLower, - expectedLower, result[0], delta); - Assert.assertEquals("Expected upper zero of »" + description +"« to be " + expectedUpper, - expectedUpper, result[1], delta); - } - - /** - * Like {@link #assertTwoZeroes(ObjectWrapper, double, double, String)} but re-setting coeficients beforehand, - * @param a Square coefficient - * @param b Linear coefficient - * @param c Constant coefficient - * @param poly Square polynomial - * @param expectedLower Expected lower zero value - * @param expectedUpper Expected upper zero value - */ - static private void assertTwoZeroes(final int a, - final int b, - final int c, - final ObjectWrapper<SquarePolynom> poly, - double expectedLower, - double expectedUpper) { - poly.invoke(void.class, "setA", a); - poly.invoke(void.class, "setB", b); - poly.invoke(void.class, "setC", c); - final double[] result = poly.invoke(double[].class, "getZeroes"); - - final StringBuffer polynomDescription = composeDescription(a, b, c); - - Assert.assertEquals(2 + " zeroes expected for polynom »" + polynomDescription + "«", - 2, result.length); - Assert.assertEquals("Expected lower zero of »" + polynomDescription +"« to be " + expectedLower, - expectedLower, result[0], delta); - Assert.assertEquals("Expected upper zero of »" + polynomDescription +"« to be " + expectedUpper, - expectedUpper, result[1], delta); - } -} diff --git a/Klausuren/Sd1/2021winter/Solve/pom.xml b/Klausuren/Sd1/2021winter/Solve/pom.xml index 8152a57b3..82d6a05bd 100644 --- a/Klausuren/Sd1/2021winter/Solve/pom.xml +++ b/Klausuren/Sd1/2021winter/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2022winter/Exam/pom.xml b/Klausuren/Sd1/2022winter/Exam/pom.xml index 058e09487..552c3c7a9 100644 --- a/Klausuren/Sd1/2022winter/Exam/pom.xml +++ b/Klausuren/Sd1/2022winter/Exam/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2022winter/Solve/pom.xml b/Klausuren/Sd1/2022winter/Solve/pom.xml index d4de1150e..98e0ef9b7 100644 --- a/Klausuren/Sd1/2022winter/Solve/pom.xml +++ b/Klausuren/Sd1/2022winter/Solve/pom.xml @@ -90,6 +90,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2023summer/Exam/Readme.md b/Klausuren/Sd1/2023summer/Exam/Readme.md deleted file mode 100644 index 117f68a50..000000000 --- a/Klausuren/Sd1/2023summer/Exam/Readme.md +++ /dev/null @@ -1,55 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks -[<span style="color:orange;font-weight:bold;">WARNING</span>] [echo] Javadoc root at <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the <span style="color:blue;">file:///.../index.html</span> link opening your project's `index.html` Javadoc root -in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2023summer/Exam/Readme.md b/Klausuren/Sd1/2023summer/Exam/Readme.md new file mode 120000 index 000000000..0cdf24738 --- /dev/null +++ b/Klausuren/Sd1/2023summer/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2023summer/Exam/pom.xml b/Klausuren/Sd1/2023summer/Exam/pom.xml index 626795694..252d3d3d3 100644 --- a/Klausuren/Sd1/2023summer/Exam/pom.xml +++ b/Klausuren/Sd1/2023summer/Exam/pom.xml @@ -66,8 +66,8 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.5.0</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> <release>17</release> <doclint>all</doclint> @@ -89,6 +89,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/2023summer/Solve/Readme.md b/Klausuren/Sd1/2023summer/Solve/Readme.md deleted file mode 100644 index 117f68a50..000000000 --- a/Klausuren/Sd1/2023summer/Solve/Readme.md +++ /dev/null @@ -1,55 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks -[<span style="color:orange;font-weight:bold;">WARNING</span>] [echo] Javadoc root at <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the <span style="color:blue;">file:///.../index.html</span> link opening your project's `index.html` Javadoc root -in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2023summer/Solve/Readme.md b/Klausuren/Sd1/2023summer/Solve/Readme.md new file mode 120000 index 000000000..0cdf24738 --- /dev/null +++ b/Klausuren/Sd1/2023summer/Solve/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2023summer/Solve/pom.xml b/Klausuren/Sd1/2023summer/Solve/pom.xml index 7edc7209e..8d2662b6b 100644 --- a/Klausuren/Sd1/2023summer/Solve/pom.xml +++ b/Klausuren/Sd1/2023summer/Solve/pom.xml @@ -89,6 +89,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/Tests/IntMax/Exam/pom.xml b/Klausuren/Sd1/Tests/IntMax/Exam/pom.xml index fa5815455..04c31634e 100644 --- a/Klausuren/Sd1/Tests/IntMax/Exam/pom.xml +++ b/Klausuren/Sd1/Tests/IntMax/Exam/pom.xml @@ -88,6 +88,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/Tests/IntMax/Solve/pom.xml b/Klausuren/Sd1/Tests/IntMax/Solve/pom.xml index 76cae7356..28b0e5cc8 100644 --- a/Klausuren/Sd1/Tests/IntMax/Solve/pom.xml +++ b/Klausuren/Sd1/Tests/IntMax/Solve/pom.xml @@ -88,6 +88,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/pom.xml b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/pom.xml index 706edcee8..3ebd4043b 100644 --- a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/pom.xml +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/pom.xml @@ -88,6 +88,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/pom.xml b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/pom.xml index 706edcee8..3ebd4043b 100644 --- a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/pom.xml +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/pom.xml @@ -88,6 +88,12 @@ <nohelp>true</nohelp> <header><![CDATA[ + <script> + MathJax = { + chtml: { displayAlign: 'left', + displayIndent: '5ex'} + }; + </script> <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> -- GitLab