Add few colors and boxes

This commit is contained in:
Thomas Dehaeze 2020-11-27 16:57:04 +01:00
parent 7944704b69
commit 848a97510e
7 changed files with 194 additions and 161 deletions

3
dist/script.js vendored
View File

@ -10,14 +10,17 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
// var $ = require('jquery');
// window.$ = $;
// require('bootstrap');
//
// Blocks
docReady(function () {
var boxesNames = {
"seealso": "See also",
"definition": "Definition",
"exampl": "Example",
"exercice": "Exercice",
"question": "Question",
"summary": "Summary",
"answer": "Answer",
"hint": "Hint",
"important": "Important",
"caution": "Caution",

2
dist/style.css vendored

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-11-27 ven. 10:51 -->
<!-- 2020-11-27 ven. 16:53 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Test File for the Org Mode Theme</title>
<meta name="generator" content="Org mode" />
@ -33,69 +33,69 @@
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org65663e9">1. Basics</a>
<li><a href="#org0fb41a7">1. Basics</a>
<ul>
<li><a href="#org2dd87aa">1.1. Normal Markup</a></li>
<li><a href="#org6faaea2">1.2. Links to Footnotes</a></li>
<li><a href="#org95213c0">1.3. Lists</a></li>
<li><a href="#orgb8626a0">1.4. Links</a></li>
<li><a href="#org89b7577">1.5. Maths</a></li>
<li><a href="#orgd589837">1.6. Verse, Quote</a></li>
<li><a href="#org94d4483">1.7. Aside</a></li>
<li><a href="#org9c694d9">1.8. Inline Task</a></li>
<li><a href="#org757985c">1.1. Normal Markup</a></li>
<li><a href="#org59bc3e8">1.2. Links to Footnotes</a></li>
<li><a href="#orge836a98">1.3. Lists</a></li>
<li><a href="#orge42498f">1.4. Links</a></li>
<li><a href="#org759cc91">1.5. Maths</a></li>
<li><a href="#orgf3a6f40">1.6. Verse, Quote</a></li>
<li><a href="#org671a6c5">1.7. Aside</a></li>
<li><a href="#org9ebf07b">1.8. Inline Task</a></li>
</ul>
</li>
<li><a href="#org99de171">2. Headlines</a>
<li><a href="#org60ae68b">2. Headlines</a>
<ul>
<li><a href="#org174ebf8">2.1. Second level Headline with tags&#xa0;&#xa0;&#xa0;<span class="tag"><span class="_home">@home</span>&#xa0;<span class="_work">@work</span></span></a>
<li><a href="#orgaaccd55">2.1. Second level Headline with tags&#xa0;&#xa0;&#xa0;<span class="tag"><span class="_home">@home</span>&#xa0;<span class="_work">@work</span></span></a>
<ul>
<li><a href="#orgc04f3a4">2.1.1. Third level Headline</a>
<li><a href="#org5fa8690">2.1.1. Third level Headline</a>
<ul>
<li><a href="#org85943d7">2.1.1.1. Fourth level Headline</a></li>
<li><a href="#org1d54f82">2.1.1.1. Fourth level Headline</a></li>
</ul>
</li>
<li><a href="#org3745941">2.1.2. Third level Headline</a>
<li><a href="#orge235fa7">2.1.2. Third level Headline</a>
<ul>
<li><a href="#org6fa548d">2.1.2.1. Fourth level Headline</a></li>
<li><a href="#orgbec374b">2.1.2.1. Fourth level Headline</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org2bf6a3b">2.2. <span class="todo TODO">TODO</span> Second level Headline with Schedule</a></li>
<li><a href="#org7d99384">2.3. <span class="priority">[B]</span> Second level Headline with a priority</a></li>
<li><a href="#orgd18a6f3">2.4. <span class="todo TODO">TODO</span> <span class="priority">[C]</span> Second level Headline with TODO State</a></li>
<li><a href="#org97e6766">2.5. <span class="done DONE">DONE</span> <span class="priority">[A]</span> Second level Headline with DONE State</a>
<li><a href="#orgc8348e8">2.2. <span class="todo TODO">TODO</span> Second level Headline with Schedule</a></li>
<li><a href="#orgaa404b0">2.3. <span class="priority">[B]</span> Second level Headline with a priority</a></li>
<li><a href="#org0999db0">2.4. <span class="todo TODO">TODO</span> <span class="priority">[C]</span> Second level Headline with TODO State</a></li>
<li><a href="#org200800c">2.5. <span class="done DONE">DONE</span> <span class="priority">[A]</span> Second level Headline with DONE State</a>
<ul>
<li><a href="#org29ca5d5">2.5.1. <span class="todo WAIT">WAIT</span> Third level Headline with DONE State</a></li>
<li><a href="#org56a076d">2.5.1. <span class="todo WAIT">WAIT</span> Third level Headline with DONE State</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org7602b57">3. Blocks</a></li>
<li><a href="#org79f5e97">4. Source Blocks</a>
<li><a href="#org65eb668">3. Blocks</a></li>
<li><a href="#orgc76188b">4. Source Blocks</a>
<ul>
<li><a href="#org545c7e9">4.1. Figures</a></li>
<li><a href="#orgdb2b817">4.2. Table Result</a></li>
<li><a href="#orge5bf18a">4.3. Inline Results</a></li>
<li><a href="#org4c7b2e7">4.4. Caption and Reference</a></li>
<li><a href="#org0e93278">4.5. Source Blocks with Line Numbers</a></li>
<li><a href="#orgf3dc6a4">4.1. Figures</a></li>
<li><a href="#org298f84d">4.2. Table Result</a></li>
<li><a href="#org717b8d7">4.3. Inline Results</a></li>
<li><a href="#orgcda5674">4.4. Caption and Reference</a></li>
<li><a href="#orgd30dd1e">4.5. Source Blocks with Line Numbers</a></li>
</ul>
</li>
<li><a href="#orgc48bfa7">5. Images</a></li>
<li><a href="#org274e18e">6. Tables</a></li>
<li><a href="#org919b242">7. Details</a></li>
<li><a href="#org5408d5c">8. Videos</a></li>
<li><a href="#orgda216d4">9. Bibliography</a></li>
<li><a href="#org08fe09b">5. Images</a></li>
<li><a href="#orgc5d0573">6. Tables</a></li>
<li><a href="#orgd185230">7. Details</a></li>
<li><a href="#org0b5c92f">8. Videos</a></li>
<li><a href="#org43c479e">9. Bibliography</a></li>
</ul>
</div>
</div>
<div id="outline-container-org65663e9" class="outline-2">
<h2 id="org65663e9"><span class="section-number-2">1</span> Basics</h2>
<div id="outline-container-org0fb41a7" class="outline-2">
<h2 id="org0fb41a7"><span class="section-number-2">1</span> Basics</h2>
<div class="outline-text-2" id="text-1">
</div>
<div id="outline-container-org2dd87aa" class="outline-3">
<h3 id="org2dd87aa"><span class="section-number-3">1.1</span> Normal Markup</h3>
<div id="outline-container-org757985c" class="outline-3">
<h3 id="org757985c"><span class="section-number-3">1.1</span> Normal Markup</h3>
<div class="outline-text-3" id="text-1-1">
<p>
You can make words <b>bold</b>, <i>italic</i>, <span class="underline">underlined</span>, <code>verbatim</code> and <code>code</code>, and, if you must, <del>strike-through</del>.
@ -103,8 +103,8 @@ You can make words <b>bold</b>, <i>italic</i>, <span class="underline">underline
</div>
</div>
<div id="outline-container-org6faaea2" class="outline-3">
<h3 id="org6faaea2"><span class="section-number-3">1.2</span> Links to Footnotes</h3>
<div id="outline-container-org59bc3e8" class="outline-3">
<h3 id="org59bc3e8"><span class="section-number-3">1.2</span> Links to Footnotes</h3>
<div class="outline-text-3" id="text-1-2">
<p>
A link to a footnote<sup><a id="fnr.1" class="footref" href="#fn.1">1</a></sup> and to another footnote<sup><a id="fnr.2" class="footref" href="#fn.2">2</a></sup>.
@ -112,8 +112,8 @@ A link to a footnote<sup><a id="fnr.1" class="footref" href="#fn.1">1</a></sup>
</div>
</div>
<div id="outline-container-org95213c0" class="outline-3">
<h3 id="org95213c0"><span class="section-number-3">1.3</span> Lists</h3>
<div id="outline-container-orge836a98" class="outline-3">
<h3 id="orge836a98"><span class="section-number-3">1.3</span> Lists</h3>
<div class="outline-text-3" id="text-1-3">
<p>
<b>Unordered List</b>:
@ -190,26 +190,26 @@ maximus lorem quis accumsan vehicula.</dd>
</div>
</div>
<div id="outline-container-orgb8626a0" class="outline-3">
<h3 id="orgb8626a0"><span class="section-number-3">1.4</span> Links</h3>
<div id="outline-container-orge42498f" class="outline-3">
<h3 id="orge42498f"><span class="section-number-3">1.4</span> Links</h3>
<div class="outline-text-3" id="text-1-4">
<p>
Here is a list of links to:
</p>
<ul class="org-ul">
<li>Figure <a href="#orgb76855b">3</a></li>
<li>Table <a href="#org16fb0d3">2</a></li>
<li>Listing <a href="#org2b85768">1</a></li>
<li>Figure <a href="#org427bc14">3</a></li>
<li>Table <a href="#org12b31e4">2</a></li>
<li>Listing <a href="#org73d1f2d">1</a></li>
<li>Specific <a href="#coderef-test" class="coderef" onmouseover="CodeHighlightOn(this, 'coderef-test');" onmouseout="CodeHighlightOff(this, 'coderef-test');">line of code</a></li>
<li>Equation \eqref{eq:numbered}</li>
<li>Section <a href="#orgf2189e4">2</a></li>
<li>Section <a href="#orgd4cef46">2</a></li>
<li>Bibliographic Reference <a href="#citeproc_bib_item_1">[1]</a>, and <a href="#citeproc_bib_item_1">[1]</a><a href="#citeproc_bib_item_3">[3]</a></li>
</ul>
</div>
</div>
<div id="outline-container-org89b7577" class="outline-3">
<h3 id="org89b7577"><span class="section-number-3">1.5</span> Maths</h3>
<div id="outline-container-org759cc91" class="outline-3">
<h3 id="org759cc91"><span class="section-number-3">1.5</span> Maths</h3>
<div class="outline-text-3" id="text-1-5">
<p>
Here is some inline mathematics: \(z = 2\).
@ -237,8 +237,8 @@ Using the <code>align</code> environment Equations \eqref{eq:align_1} and \eqref
</div>
</div>
<div id="outline-container-orgd589837" class="outline-3">
<h3 id="orgd589837"><span class="section-number-3">1.6</span> Verse, Quote</h3>
<div id="outline-container-orgf3a6f40" class="outline-3">
<h3 id="orgf3a6f40"><span class="section-number-3">1.6</span> Verse, Quote</h3>
<div class="outline-text-3" id="text-1-6">
<p>
Below is a verse.
@ -270,14 +270,14 @@ Nearly everything is really interesting if you go into it deeply enough.
</div>
</div>
<div id="outline-container-org94d4483" class="outline-3">
<h3 id="org94d4483"><span class="section-number-3">1.7</span> Aside</h3>
<div id="outline-container-org671a6c5" class="outline-3">
<h3 id="org671a6c5"><span class="section-number-3">1.7</span> Aside</h3>
<div class="outline-text-3" id="text-1-7">
<p>
An aside block can be used as shown below.
</p>
<div class="aside" id="orgfa9f090">
<div class="aside" id="orga3fb002">
<p>
This is a note about the text using the <code>aside</code> environment.
This can be as long as wanted
@ -291,8 +291,8 @@ Cras elementum ex vel orci congue porttitor. Vestibulum scelerisque gravida matt
</div>
</div>
<div id="outline-container-org9c694d9" class="outline-3">
<h3 id="org9c694d9"><span class="section-number-3">1.8</span> Inline Task</h3>
<div id="outline-container-org9ebf07b" class="outline-3">
<h3 id="org9ebf07b"><span class="section-number-3">1.8</span> Inline Task</h3>
<div class="outline-text-3" id="text-1-8">
<p>
Some text.
@ -310,24 +310,24 @@ Some text.
</div>
</div>
<div id="outline-container-org99de171" class="outline-2">
<h2 id="org99de171"><span class="section-number-2">2</span> Headlines</h2>
<div id="outline-container-org60ae68b" class="outline-2">
<h2 id="org60ae68b"><span class="section-number-2">2</span> Headlines</h2>
<div class="outline-text-2" id="text-2">
<p>
<a id="orgf2189e4"></a>
<a id="orgd4cef46"></a>
</p>
</div>
<div id="outline-container-org174ebf8" class="outline-3">
<h3 id="org174ebf8"><span class="section-number-3">2.1</span> Second level Headline with tags&#xa0;&#xa0;&#xa0;<span class="tag"><span class="_home">@home</span>&#xa0;<span class="_work">@work</span></span></h3>
<div id="outline-container-orgaaccd55" class="outline-3">
<h3 id="orgaaccd55"><span class="section-number-3">2.1</span> Second level Headline with tags&#xa0;&#xa0;&#xa0;<span class="tag"><span class="_home">@home</span>&#xa0;<span class="_work">@work</span></span></h3>
<div class="outline-text-3" id="text-2-1">
</div>
<div id="outline-container-orgc04f3a4" class="outline-4">
<h4 id="orgc04f3a4"><span class="section-number-4">2.1.1</span> Third level Headline</h4>
<div id="outline-container-org5fa8690" class="outline-4">
<h4 id="org5fa8690"><span class="section-number-4">2.1.1</span> Third level Headline</h4>
<div class="outline-text-4" id="text-2-1-1">
</div>
<div id="outline-container-org85943d7" class="outline-5">
<h5 id="org85943d7"><span class="section-number-5">2.1.1.1</span> Fourth level Headline</h5>
<div id="outline-container-org1d54f82" class="outline-5">
<h5 id="org1d54f82"><span class="section-number-5">2.1.1.1</span> Fourth level Headline</h5>
<div class="outline-text-5" id="text-2-1-1-1">
<p>
Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placerat felis malesuada elementum. Donec tincidunt pharetra tincidunt. Praesent id lectus eget erat porttitor placerat non a magna. Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean sollicitudin nibh enim, sed pulvinar massa iaculis sit amet. Vivamus egestas laoreet varius. Sed finibus libero nec quam tempor, eget viverra sapien fermentum. Donec dictum eleifend velit, vel elementum ex ultrices non. Vivamus mauris ex, ultrices quis sem vel, dapibus lacinia est. Praesent a sapien id diam venenatis finibus non vel justo. Cras sagittis tortor ac rutrum elementum. Maecenas luctus tempor enim, vitae suscipit quam consequat a. Phasellus feugiat congue sapien commodo cursus. Interdum et malesuada fames ac ante ipsum primis in faucibus.
@ -336,12 +336,12 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div>
</div>
<div id="outline-container-org3745941" class="outline-4">
<h4 id="org3745941"><span class="section-number-4">2.1.2</span> Third level Headline</h4>
<div id="outline-container-orge235fa7" class="outline-4">
<h4 id="orge235fa7"><span class="section-number-4">2.1.2</span> Third level Headline</h4>
<div class="outline-text-4" id="text-2-1-2">
</div>
<div id="outline-container-org6fa548d" class="outline-5">
<h5 id="org6fa548d"><span class="section-number-5">2.1.2.1</span> Fourth level Headline</h5>
<div id="outline-container-orgbec374b" class="outline-5">
<h5 id="orgbec374b"><span class="section-number-5">2.1.2.1</span> Fourth level Headline</h5>
<div class="outline-text-5" id="text-2-1-2-1">
<p>
Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placerat felis malesuada elementum. Donec tincidunt pharetra tincidunt. Praesent id lectus eget erat porttitor placerat non a magna. Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean sollicitudin nibh enim, sed pulvinar massa iaculis sit amet. Vivamus egestas laoreet varius. Sed finibus libero nec quam tempor, eget viverra sapien fermentum. Donec dictum eleifend velit, vel elementum ex ultrices non. Vivamus mauris ex, ultrices quis sem vel, dapibus lacinia est. Praesent a sapien id diam venenatis finibus non vel justo. Cras sagittis tortor ac rutrum elementum. Maecenas luctus tempor enim, vitae suscipit quam consequat a. Phasellus feugiat congue sapien commodo cursus. Interdum et malesuada fames ac ante ipsum primis in faucibus.
@ -351,8 +351,8 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div>
</div>
<div id="outline-container-org2bf6a3b" class="outline-3">
<h3 id="org2bf6a3b"><span class="section-number-3">2.2</span> <span class="todo TODO">TODO</span> Second level Headline with Schedule</h3>
<div id="outline-container-orgc8348e8" class="outline-3">
<h3 id="orgc8348e8"><span class="section-number-3">2.2</span> <span class="todo TODO">TODO</span> Second level Headline with Schedule</h3>
<div class="outline-text-3" id="text-2-2">
<p><span class="timestamp-wrapper"><span class="timestamp-kwd">SCHEDULED:</span> <span class="timestamp">&lt;2020-11-26 jeu.&gt;</span></span></p>
@ -362,8 +362,8 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div>
</div>
<div id="outline-container-org7d99384" class="outline-3">
<h3 id="org7d99384"><span class="section-number-3">2.3</span> <span class="priority">[B]</span> Second level Headline with a priority</h3>
<div id="outline-container-orgaa404b0" class="outline-3">
<h3 id="orgaa404b0"><span class="section-number-3">2.3</span> <span class="priority">[B]</span> Second level Headline with a priority</h3>
<div class="outline-text-3" id="text-2-3">
<p>
Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placerat felis malesuada elementum. Donec tincidunt pharetra tincidunt. Praesent id lectus eget erat porttitor placerat non a magna.
@ -371,8 +371,8 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div>
</div>
<div id="outline-container-orgd18a6f3" class="outline-3">
<h3 id="orgd18a6f3"><span class="section-number-3">2.4</span> <span class="todo TODO">TODO</span> <span class="priority">[C]</span> Second level Headline with TODO State</h3>
<div id="outline-container-org0999db0" class="outline-3">
<h3 id="org0999db0"><span class="section-number-3">2.4</span> <span class="todo TODO">TODO</span> <span class="priority">[C]</span> Second level Headline with TODO State</h3>
<div class="outline-text-3" id="text-2-4">
<p>
Vivamus egestas laoreet varius. Sed finibus libero nec quam tempor, eget viverra sapien fermentum. Donec dictum eleifend velit, vel elementum ex ultrices non. Vivamus mauris ex, ultrices quis sem vel, dapibus lacinia est. Praesent a sapien id diam venenatis finibus non vel justo.
@ -380,8 +380,8 @@ Vivamus egestas laoreet varius. Sed finibus libero nec quam tempor, eget viverra
</div>
</div>
<div id="outline-container-org97e6766" class="outline-3">
<h3 id="org97e6766"><span class="section-number-3">2.5</span> <span class="done DONE">DONE</span> <span class="priority">[A]</span> Second level Headline with DONE State</h3>
<div id="outline-container-org200800c" class="outline-3">
<h3 id="org200800c"><span class="section-number-3">2.5</span> <span class="done DONE">DONE</span> <span class="priority">[A]</span> Second level Headline with DONE State</h3>
<div class="outline-text-3" id="text-2-5">
<p><span class="timestamp-wrapper"><span class="timestamp-kwd">CLOSED:</span> <span class="timestamp">[2020-11-26 jeu. 18:53]</span></span></p>
<p>
@ -389,8 +389,8 @@ Cras sagittis tortor ac rutrum elementum. Maecenas luctus tempor enim, vitae sus
</p>
</div>
<div id="outline-container-org29ca5d5" class="outline-4">
<h4 id="org29ca5d5"><span class="section-number-4">2.5.1</span> <span class="todo WAIT">WAIT</span> Third level Headline with DONE State</h4>
<div id="outline-container-org56a076d" class="outline-4">
<h4 id="org56a076d"><span class="section-number-4">2.5.1</span> <span class="todo WAIT">WAIT</span> Third level Headline with DONE State</h4>
<div class="outline-text-4" id="text-2-5-1">
<p><span class="timestamp-wrapper"><span class="timestamp-kwd">CLOSED:</span> <span class="timestamp">[2020-11-26 jeu. 18:53]</span></span></p>
<p>
@ -401,66 +401,80 @@ Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean so
</div>
</div>
<div id="outline-container-org7602b57" class="outline-2">
<h2 id="org7602b57"><span class="section-number-2">3</span> Blocks</h2>
<div id="outline-container-org65eb668" class="outline-2">
<h2 id="org65eb668"><span class="section-number-2">3</span> Blocks</h2>
<div class="outline-text-2" id="text-3">
<div class="seealso" id="org5073077">
<div class="seealso" id="orga352b7d">
<p>
<code>seealso</code> block.
</p>
</div>
<div class="hint" id="orgd31ea7f">
<div class="hint" id="orgc01274f">
<p>
<code>hint</code> block.
</p>
</div>
<div class="definition" id="orgc4cfd73">
<div class="definition" id="org93a009b">
<p>
<code>definition</code> block.
</p>
</div>
<div class="exampl" id="orgc37c321">
<p>
<code>exampl</code> block.
</p>
</div>
<div class="question" id="orgd20db05">
<p>
<code>question</code> block.
</p>
</div>
<div class="summary" id="orgd3837a9">
<p>
<code>summary</code> block.
</p>
</div>
<div class="important" id="orga264a31">
<div class="important" id="orgf4780a8">
<p>
<code>important</code> block.
</p>
</div>
<div class="caution" id="org84faa5c">
<div class="exampl" id="orgecf5f07">
<p>
<code>exampl</code> block.
</p>
</div>
<div class="exercice" id="org4c59e12">
<p>
<code>exercice</code> block.
</p>
</div>
<div class="question" id="orgaea97f8">
<p>
<code>question</code> block.
</p>
</div>
<div class="answer" id="orgebe265b">
<p>
<code>answer</code> block.
</p>
</div>
<div class="summary" id="orgc123a14">
<p>
<code>summary</code> block.
</p>
</div>
<div class="caution" id="orgb0b95e7">
<p>
<code>caution</code> block.
</p>
</div>
<div class="warning" id="org8f2e0f1">
<div class="warning" id="org87aa04a">
<p>
<code>warning</code> block.
</p>
@ -469,12 +483,12 @@ Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean so
</div>
</div>
<div id="outline-container-org79f5e97" class="outline-2">
<h2 id="org79f5e97"><span class="section-number-2">4</span> Source Blocks</h2>
<div id="outline-container-orgc76188b" class="outline-2">
<h2 id="orgc76188b"><span class="section-number-2">4</span> Source Blocks</h2>
<div class="outline-text-2" id="text-4">
</div>
<div id="outline-container-org545c7e9" class="outline-3">
<h3 id="org545c7e9"><span class="section-number-3">4.1</span> Figures</h3>
<div id="outline-container-orgf3dc6a4" class="outline-3">
<h3 id="orgf3dc6a4"><span class="section-number-3">4.1</span> Figures</h3>
<div class="outline-text-3" id="text-4-1">
<div class="org-src-container">
<pre class="src src-matlab">t = 0<span class="org-type">:</span>0.01<span class="org-type">:</span>5; <span class="org-comment">% Time [s]</span>
@ -490,7 +504,7 @@ xlabel(<span class="org-string">'Time [s]'</span>); ylabel(<span class="org-stri
</div>
<div id="org8c9fa3a" class="figure">
<div id="orge92eb8f" class="figure">
<p><img src="figs/matlab_fig_example.png" alt="matlab_fig_example.png" />
</p>
<p><span class="figure-number">Figure 1: </span>Matlab Figure</p>
@ -498,8 +512,8 @@ xlabel(<span class="org-string">'Time [s]'</span>); ylabel(<span class="org-stri
</div>
</div>
<div id="outline-container-orgdb2b817" class="outline-3">
<h3 id="orgdb2b817"><span class="section-number-3">4.2</span> Table Result</h3>
<div id="outline-container-org298f84d" class="outline-3">
<h3 id="org298f84d"><span class="section-number-3">4.2</span> Table Result</h3>
<div class="outline-text-3" id="text-4-2">
<div class="org-src-container">
<pre class="src src-matlab">x = 1<span class="org-type">:</span>10;
@ -507,7 +521,7 @@ y = x<span class="org-type">.^</span>2;
</pre>
</div>
<table id="org6f4cd18" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="orgad9db72" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 1:</span> Table caption</caption>
<colgroup>
@ -576,8 +590,8 @@ y = x<span class="org-type">.^</span>2;
</div>
</div>
<div id="outline-container-orge5bf18a" class="outline-3">
<h3 id="orge5bf18a"><span class="section-number-3">4.3</span> Inline Results</h3>
<div id="outline-container-org717b8d7" class="outline-3">
<h3 id="org717b8d7"><span class="section-number-3">4.3</span> Inline Results</h3>
<div class="outline-text-3" id="text-4-3">
<p>
Results can be automatically outputed as shown below.
@ -606,35 +620,35 @@ y =
</div>
</div>
<div id="outline-container-org4c7b2e7" class="outline-3">
<h3 id="org4c7b2e7"><span class="section-number-3">4.4</span> Caption and Reference</h3>
<div id="outline-container-orgcda5674" class="outline-3">
<h3 id="orgcda5674"><span class="section-number-3">4.4</span> Caption and Reference</h3>
<div class="outline-text-3" id="text-4-4">
<p>
Captions can be added to code blocks.
Moreover, we can link to specific bode blocks (Listing <a href="#org2b85768">1</a> or <a href="#org1629eb7">2</a>).
Moreover, we can link to specific bode blocks (Listing <a href="#org73d1f2d">1</a> or <a href="#org320bda6">2</a>).
</p>
<div class="org-src-container">
<label class="org-src-name"><span class="listing-number">Listing 1: </span>Code to produce a nice contour plot</label><pre class="src src-matlab" id="org2b85768"><span class="org-type">figure</span>;
<label class="org-src-name"><span class="listing-number">Listing 1: </span>Code to produce a nice contour plot</label><pre class="src src-matlab" id="org73d1f2d"><span class="org-type">figure</span>;
[X,Y,Z] = peaks;
contour(X,Y,Z,20)
</pre>
</div>
<div id="org340b96b" class="figure">
<div id="org5a17bea" class="figure">
<p><img src="figs/matlab_logo.png" alt="matlab_logo.png" />
</p>
<p><span class="figure-number">Figure 2: </span>Obtained Contour Plot</p>
</div>
<div class="org-src-container">
<label class="org-src-name"><span class="listing-number">Listing 2: </span>Code to compute the Singular Value Decomposition</label><pre class="src src-matlab" id="org1629eb7">A = [1 2; 3 4; 5 6; 7 8]
<label class="org-src-name"><span class="listing-number">Listing 2: </span>Code to compute the Singular Value Decomposition</label><pre class="src src-matlab" id="org320bda6">A = [1 2; 3 4; 5 6; 7 8]
[U,S,V] = svd(A)
</pre>
</div>
<pre class="example" id="org1b7dfb5">
<pre class="example" id="org75dd625">
A = [1 2; 3 4; 5 6; 7 8]
A =
1 2
@ -659,11 +673,11 @@ V =
</div>
</div>
<div id="outline-container-org0e93278" class="outline-3">
<h3 id="org0e93278"><span class="section-number-3">4.5</span> Source Blocks with Line Numbers</h3>
<div id="outline-container-orgd30dd1e" class="outline-3">
<h3 id="orgd30dd1e"><span class="section-number-3">4.5</span> Source Blocks with Line Numbers</h3>
<div class="outline-text-3" id="text-4-5">
<p>
The Listing <a href="#orgdf6c073">3</a> has line numbers as the <code>-n</code> option was used.
The Listing <a href="#org59c9359">3</a> has line numbers as the <code>-n</code> option was used.
</p>
<p>
@ -672,7 +686,7 @@ For instance, the code used to specify the wanted the vertical label is on line
</p>
<div class="org-src-container">
<label class="org-src-name"><span class="listing-number">Listing 3: </span>Specify Labels</label><pre class="src src-matlab" id="orgdf6c073"><span class="linenr">1: </span><span class="org-type">figure</span>;
<label class="org-src-name"><span class="listing-number">Listing 3: </span>Specify Labels</label><pre class="src src-matlab" id="org59c9359"><span class="linenr">1: </span><span class="org-type">figure</span>;
<span class="linenr">2: </span>plot(t, x)
<span class="linenr">3: </span>xlabel(<span class="org-string">'Time [s]'</span>);
<span id="coderef-test" class="coderef-off"><span class="linenr">4: </span>ylabel(<span class="org-string">'Output [V]'</span>);</span>
@ -693,15 +707,15 @@ Numbering can be continued by using <code>+n</code> option as shown below.
</div>
</div>
<div id="outline-container-orgc48bfa7" class="outline-2">
<h2 id="orgc48bfa7"><span class="section-number-2">5</span> Images</h2>
<div id="outline-container-org08fe09b" class="outline-2">
<h2 id="org08fe09b"><span class="section-number-2">5</span> Images</h2>
<div class="outline-text-2" id="text-5">
<p>
Figure <a href="#orgb76855b">3</a> shows the results of the Tikz code of listing <a href="#orgf90fb61">4</a>.
Figure <a href="#org427bc14">3</a> shows the results of the Tikz code of listing <a href="#org8a713fb">4</a>.
</p>
<div class="org-src-container">
<label class="org-src-name"><span class="listing-number">Listing 4: </span>Tikz code that is used to generate Figure <a href="#orgb76855b">3</a></label><pre class="src src-latex" id="orgf90fb61"><span class="org-font-latex-sedate"><span class="org-keyword">\begin</span></span>{<span class="org-function-name">tikzpicture</span>}
<label class="org-src-name"><span class="listing-number">Listing 4: </span>Tikz code that is used to generate Figure <a href="#org427bc14">3</a></label><pre class="src src-latex" id="org8a713fb"><span class="org-font-latex-sedate"><span class="org-keyword">\begin</span></span>{<span class="org-function-name">tikzpicture</span>}
<span class="org-comment">% Blocs</span>
<span class="org-font-latex-sedate">\node</span>[block={2.0cm}{2.0cm}] (P) {<span class="org-font-latex-math">$P$</span>};
@ -724,7 +738,7 @@ Figure <a href="#orgb76855b">3</a> shows the results of the Tikz code of listing
</div>
<div id="orgb76855b" class="figure">
<div id="org427bc14" class="figure">
<p><img src="figs/general_control_names.png" alt="general_control_names.png" />
</p>
<p><span class="figure-number">Figure 3: </span>General Control Configuration</p>
@ -732,14 +746,14 @@ Figure <a href="#orgb76855b">3</a> shows the results of the Tikz code of listing
</div>
</div>
<div id="outline-container-org274e18e" class="outline-2">
<h2 id="org274e18e"><span class="section-number-2">6</span> Tables</h2>
<div id="outline-container-orgc5d0573" class="outline-2">
<h2 id="orgc5d0573"><span class="section-number-2">6</span> Tables</h2>
<div class="outline-text-2" id="text-6">
<p>
Table <a href="#org16fb0d3">2</a> shows a table with some mathematics inside.
Table <a href="#org12b31e4">2</a> shows a table with some mathematics inside.
</p>
<table id="org16fb0d3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org12b31e4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 2:</span> A Simple table with included math</caption>
<colgroup>
@ -797,8 +811,8 @@ Table <a href="#org16fb0d3">2</a> shows a table with some mathematics inside.
</div>
</div>
<div id="outline-container-org919b242" class="outline-2">
<h2 id="org919b242"><span class="section-number-2">7</span> Details</h2>
<div id="outline-container-orgd185230" class="outline-2">
<h2 id="orgd185230"><span class="section-number-2">7</span> Details</h2>
<div class="outline-text-2" id="text-7">
<p>
Below is some content hidden until you click the bar.
@ -809,7 +823,7 @@ Below is some content hidden until you click the bar.
Almost anything can be put here for instance this table below.
</p>
<table id="orgcd47368" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="orgb98a2d3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 3:</span> A Simple table with included math</caption>
<colgroup>
@ -877,7 +891,7 @@ It is approximately <b>12,742 km</b>
</p>
</details>
<div class="question" id="org8e2b4ce">
<div class="question" id="org8c1cbb3">
<p>
What is the approximate diameter of the earth?
</p>
@ -892,8 +906,8 @@ It is approximately <b>12,742 km</b>
</div>
</div>
<div id="outline-container-org5408d5c" class="outline-2">
<h2 id="org5408d5c"><span class="section-number-2">8</span> Videos</h2>
<div id="outline-container-org0b5c92f" class="outline-2">
<h2 id="org0b5c92f"><span class="section-number-2">8</span> Videos</h2>
<div class="outline-text-2" id="text-8">
<p>
<div class="yt"><iframe width="100%" height="100%" src="https://www.youtube.com/embed/SzA2YODtgK4" frameborder="0" allowfullscreen></iframe></div>
@ -901,8 +915,8 @@ It is approximately <b>12,742 km</b>
</div>
</div>
<div id="outline-container-orgda216d4" class="outline-2">
<h2 id="orgda216d4"><span class="section-number-2">9</span> Bibliography</h2>
<div id="outline-container-org43c479e" class="outline-2">
<h2 id="org43c479e"><span class="section-number-2">9</span> Bibliography</h2>
<div class="outline-text-2" id="text-9">
<p>
@ -927,7 +941,7 @@ It is approximately <b>12,742 km</b>
<div id="text-footnotes">
<div class="footdef"><sup><a id="fn.1" class="footnum" href="#fnr.1">1</a></sup> <div class="footpara"><p class="footpara">
A long foot note. Lorem ipsum dolor sit amet, consectetur adipiscing elit. With a reference to Figure <a href="#orgb76855b">3</a>.
A long foot note. Lorem ipsum dolor sit amet, consectetur adipiscing elit. With a reference to Figure <a href="#org427bc14">3</a>.
</p></div></div>
<div class="footdef"><sup><a id="fn.2" class="footnum" href="#fnr.2">2</a></sup> <div class="footpara"><p class="footpara">
@ -939,7 +953,7 @@ An other footnote.
</div></div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-11-27 ven. 10:51</p>
<p class="date">Created: 2020-11-27 ven. 16:53</p>
</div>
</body>
</html>

View File

@ -210,22 +210,30 @@ Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean so
=definition= block.
#+end_definition
#+begin_important
=important= block.
#+end_important
#+begin_exampl
=exampl= block.
#+end_exampl
#+begin_exercice
=exercice= block.
#+end_exercice
#+begin_question
=question= block.
#+end_question
#+begin_answer
=answer= block.
#+end_answer
#+begin_summary
=summary= block.
#+end_summary
#+begin_important
=important= block.
#+end_important
#+begin_caution
=caution= block.
#+end_caution

View File

@ -1,15 +1,17 @@
// var $ = require('jquery');
// window.$ = $;
// require('bootstrap');
//
// Blocks
docReady(function() {
var boxesNames = {
"seealso": "See also",
"definition": "Definition",
"exampl": "Example",
"exercice": "Exercice",
"question": "Question",
"summary": "Summary",
"answer": "Answer",
"hint": "Hint",
"important": "Important",
"caution": "Caution",

View File

@ -3,9 +3,11 @@ $types: (
definition: (color: $pale-red, title-color: $red, icon: "\f005"),
exampl: (color: $pale-green, title-color: $green, icon: "\f013"),
question: (color: $pale-yellow, title-color: $yellow, icon: "\f059"),
exercice: (color: $pale-yellow, title-color: $yellow, icon: "\f040"),
answer: (color: $pale-turq, title-color: $turq, icon: "\f00c"),
summary: (color: $pale-blue, title-color: $blue, icon: "\f02e"),
hint: (color: $pale-grey, title-color: $grey, icon: "\f05a"),
important: (color: $pale-orange, title-color: $orange, icon: "\f005"),
important: (color: $pale-red, title-color: $red, icon: "\f005"),
caution: (color: $pale-orange, title-color: $orange, icon: "\f071"),
warning: (color: $pale-orange, title-color: $orange, icon: "\f071")
);

View File

@ -4,12 +4,13 @@
$white: #fff;
$black: #000;
$blue: hsl(204, 61%, 64%);
$red: hsl(360, 61%, 64%);
$green: hsl(160, 61%, 64%);
$yellow: hsl(55, 61%, 64%);
$orange: hsl(32, 61%, 64%);
$grey: hsl(0, 0%, 64%);
$blue: hsl(232, 61%, 64%);
$red: hsl(360, 61%, 64%);
$green: hsl(160, 61%, 64%);
$yellow: hsl(55, 61%, 64%);
$orange: hsl(32, 61%, 64%);
$grey: hsl(0, 0%, 64%);
$turq: hsl(191, 61%, 64%);
$pale-blue: adjust-color($blue, $lightness: 30%);
$pale-red: adjust-color($red, $lightness: 30%);
@ -17,6 +18,7 @@ $pale-green: adjust-color($green, $lightness: 30%);
$pale-yellow: adjust-color($yellow, $lightness: 30%);
$pale-orange: adjust-color($orange, $lightness: 30%);
$pale-grey: adjust-color($grey, $lightness: 30%);
$pale-turq: adjust-color($grey, $lightness: 30%);
$dark-blue: adjust-color($blue, $lightness: -30%);
$dark-red: adjust-color($red, $lightness: -30%);
@ -24,12 +26,14 @@ $dark-green: adjust-color($green, $lightness: -30%);
$dark-yellow: adjust-color($yellow, $lightness: -30%);
$dark-orange: adjust-color($orange, $lightness: -30%);
$dark-grey: adjust-color($grey, $lightness: -30%);
$dark-turq: adjust-color($turq, $lightness: -30%);
$vivid-blue: adjust-color($blue, $saturation: 20%);
$vivid-red: adjust-color($red, $saturation: 20%);
$vivid-green: adjust-color($green, $saturation: 20%);
$vivid-yellow: adjust-color($yellow, $saturation: 20%);
$vivid-orange: adjust-color($orange, $saturation: 20%);
$vivid-turq: adjust-color($turq, $saturation: 20%);
// main color palette