Update main page with more org syntax

This commit is contained in:
Thomas Dehaeze 2020-11-26 19:57:35 +01:00
parent 7dc2dcd681
commit 10518c6128
4 changed files with 370 additions and 144 deletions

15
dist/script.js vendored
View File

@ -57,15 +57,24 @@ docReady(function () {
boxCopy.textContent = "Copy"; boxCopy.textContent = "Copy";
boxCopy.onclick = function () { boxCopy.onclick = function () {
// Get text inside (remove 4 first char corresponding to "Copy") // Create a clone the node to not affect the original one
var srcText = this.parentNode.textContent.slice(4); var nodeClone = this.parentNode.cloneNode(true); // Remove Line Numbers and Copy Button
var linenumNodes = nodeClone.querySelectorAll('.linenr,.src-copy');
for (var i = linenumNodes.length - 1; i >= 0; --i) {
nodeClone.removeChild(linenumNodes[i]);
} // Copy the filetered content to the clipboard
var srcText = nodeClone.textContent;
navigator.clipboard.writeText(srcText).then(function () { navigator.clipboard.writeText(srcText).then(function () {
boxCopy.textContent = "Copied"; boxCopy.textContent = "Copied";
boxCopy.classList.add("src-copied"); boxCopy.classList.add("src-copied");
setTimeout(function () { setTimeout(function () {
boxCopy.textContent = "Copy"; boxCopy.textContent = "Copy";
boxCopy.classList.remove("src-copied"); boxCopy.classList.remove("src-copied");
}, 1000); }, 2000);
}); });
}; };

4
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"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-11-26 jeu. 15:53 --> <!-- 2020-11-26 jeu. 19:52 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Test File for the Org Mode Theme</title> <title>Test File for the Org Mode Theme</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -33,76 +33,78 @@
<h2>Table of Contents</h2> <h2>Table of Contents</h2>
<div id="text-table-of-contents"> <div id="text-table-of-contents">
<ul> <ul>
<li><a href="#orge37c25a">1. Basics</a> <li><a href="#orgaa2a67f">1. Basics</a>
<ul> <ul>
<li><a href="#orgf375cb9">1.1. Normal Markup</a></li> <li><a href="#orgd89d6f4">1.1. Normal Markup</a></li>
<li><a href="#org2498935">1.2. Links to Footnotes</a></li> <li><a href="#orgec448c0">1.2. Links to Footnotes</a></li>
<li><a href="#org092ba97">1.3. Lists</a></li> <li><a href="#org5f7cfbe">1.3. Lists</a></li>
<li><a href="#orgfa2c4c2">1.4. Links</a></li> <li><a href="#orge1307b7">1.4. Links</a></li>
<li><a href="#orgf369d9d">1.5. Maths</a></li> <li><a href="#orgf976ebe">1.5. Maths</a></li>
<li><a href="#org4b6e2eb">1.6. Quote</a></li> <li><a href="#org31f988a">1.6. Verse, Quote</a></li>
<li><a href="#org326d00b">1.7. Aside</a></li> <li><a href="#orga75fcdd">1.7. Aside</a></li>
<li><a href="#org539d118">1.8. Inline Task</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgd990b18">2. Headlines</a> <li><a href="#orgd8f41ad">2. Headlines</a>
<ul> <ul>
<li><a href="#org6a44c43">2.1. Second level Headline</a> <li><a href="#orgd793639">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> <ul>
<li><a href="#org3e954c6">2.1.1. Third level Headline</a> <li><a href="#orgd26e367">2.1.1. Third level Headline</a>
<ul> <ul>
<li><a href="#org49c9ad7">2.1.1.1. Fourth level Headline</a></li> <li><a href="#orgad7ccc8">2.1.1.1. Fourth level Headline</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgf58ef01">2.1.2. Third level Headline</a> <li><a href="#org8270df7">2.1.2. Third level Headline</a>
<ul> <ul>
<li><a href="#orgb5c9097">2.1.2.1. Fourth level Headline</a></li> <li><a href="#orgb36a453">2.1.2.1. Fourth level Headline</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
</li> </li>
<li><a href="#orga13850f">2.2. Second level Headline</a></li> <li><a href="#orgfecfd4d">2.2. <span class="todo TODO">TODO</span> Second level Headline with Schedule</a></li>
</ul> <li><a href="#orgff4aa95">2.3. <span class="priority">[B]</span> Second level Headline with a priority</a></li>
</li> <li><a href="#orga8ab1d0">2.4. <span class="todo TODO">TODO</span> <span class="priority">[C]</span> Second level Headline with TODO State</a></li>
<li><a href="#orge58605e">3. Blocks</a></li> <li><a href="#org884b24c">2.5. <span class="done DONE">DONE</span> <span class="priority">[A]</span> Second level Headline with DONE State</a>
<li><a href="#orga86945d">4. Source Blocks</a>
<ul> <ul>
<li><a href="#org76bfa35">4.1. Figures</a></li> <li><a href="#org06eebe1">2.5.1. <span class="todo WAIT">WAIT</span> Third level Headline with DONE State</a></li>
<li><a href="#org5630424">4.2. Table Result</a></li>
<li><a href="#org96bab18">4.3. Inline Results</a></li>
<li><a href="#orga49bd3e">4.4. Numbered Code Blocks</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org606ebc3">5. Images</a></li> </ul>
<li><a href="#orgd1e0c60">6. Tables</a></li> </li>
<li><a href="#org48b55d0">7. Details</a></li> <li><a href="#org9ce7da0">3. Blocks</a></li>
<li><a href="#orgae5b9d1">8. Videos</a></li> <li><a href="#org954a5f7">4. Source Blocks</a>
<li><a href="#orgf0ae97e">9. Bibliography</a></li> <ul>
<li><a href="#orga4713ea">4.1. Figures</a></li>
<li><a href="#org8264fca">4.2. Table Result</a></li>
<li><a href="#org36044d8">4.3. Inline Results</a></li>
<li><a href="#orgf71987d">4.4. Caption and Reference</a></li>
<li><a href="#org487ec05">4.5. Source Blocks with Line Numbers</a></li>
</ul>
</li>
<li><a href="#org9b0994c">5. Images</a></li>
<li><a href="#org24d9ab9">6. Tables</a></li>
<li><a href="#orgda35f86">7. Details</a></li>
<li><a href="#org6ed0c2c">8. Videos</a></li>
<li><a href="#org143ad15">9. Bibliography</a></li>
</ul> </ul>
</div> </div>
</div>
<div class="abstract" id="org91ab32e">
<p>
Simple Abstract.
</p>
</div> </div>
<div id="outline-container-orge37c25a" class="outline-2"> <div id="outline-container-orgaa2a67f" class="outline-2">
<h2 id="orge37c25a"><span class="section-number-2">1</span> Basics</h2> <h2 id="orgaa2a67f"><span class="section-number-2">1</span> Basics</h2>
<div class="outline-text-2" id="text-1"> <div class="outline-text-2" id="text-1">
</div> </div>
<div id="outline-container-orgf375cb9" class="outline-3"> <div id="outline-container-orgd89d6f4" class="outline-3">
<h3 id="orgf375cb9"><span class="section-number-3">1.1</span> Normal Markup</h3> <h3 id="orgd89d6f4"><span class="section-number-3">1.1</span> Normal Markup</h3>
<div class="outline-text-3" id="text-1-1"> <div class="outline-text-3" id="text-1-1">
<p> <p>
Here is some text in <b>bold</b>, now with <span class="underline">underline</span> and now some <code>inline code</code>. 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>.
Finally some <i>italic</i> text.
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-org2498935" class="outline-3"> <div id="outline-container-orgec448c0" class="outline-3">
<h3 id="org2498935"><span class="section-number-3">1.2</span> Links to Footnotes</h3> <h3 id="orgec448c0"><span class="section-number-3">1.2</span> Links to Footnotes</h3>
<div class="outline-text-3" id="text-1-2"> <div class="outline-text-3" id="text-1-2">
<p> <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>. 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>.
@ -110,8 +112,8 @@ A link to a footnote<sup><a id="fnr.1" class="footref" href="#fn.1">1</a></sup>
</div> </div>
</div> </div>
<div id="outline-container-org092ba97" class="outline-3"> <div id="outline-container-org5f7cfbe" class="outline-3">
<h3 id="org092ba97"><span class="section-number-3">1.3</span> Lists</h3> <h3 id="org5f7cfbe"><span class="section-number-3">1.3</span> Lists</h3>
<div class="outline-text-3" id="text-1-3"> <div class="outline-text-3" id="text-1-3">
<p> <p>
<b>Unordered List</b>: <b>Unordered List</b>:
@ -122,6 +124,18 @@ A link to a footnote<sup><a id="fnr.1" class="footref" href="#fn.1">1</a></sup>
<li>Phasellus turpis nisi, faucibus a orci et, faucibus fermentum ligula.</li> <li>Phasellus turpis nisi, faucibus a orci et, faucibus fermentum ligula.</li>
</ul> </ul>
<p>
<b>List with Tasks</b>:
</p>
<ul class="org-ul">
<li class="off"><code>[&#xa0;]</code> Task 1</li>
<li class="on"><code>[X]</code> Task 2</li>
<li class="trans"><code>[-]</code> Sub-tasks:
<ul class="org-ul">
<li class="off"><code>[&#xa0;]</code> Sub-task 1</li>
<li class="on"><code>[X]</code> Sub-task 2</li>
</ul></li>
</ul>
<p> <p>
<b>Ordered List</b>: <b>Ordered List</b>:
@ -176,25 +190,26 @@ maximus lorem quis accumsan vehicula.</dd>
</div> </div>
</div> </div>
<div id="outline-container-orgfa2c4c2" class="outline-3"> <div id="outline-container-orge1307b7" class="outline-3">
<h3 id="orgfa2c4c2"><span class="section-number-3">1.4</span> Links</h3> <h3 id="orge1307b7"><span class="section-number-3">1.4</span> Links</h3>
<div class="outline-text-3" id="text-1-4"> <div class="outline-text-3" id="text-1-4">
<p> <p>
Here is a list of links to: Here is a list of links to:
</p> </p>
<ul class="org-ul"> <ul class="org-ul">
<li>Figure <a href="#orgb486a9a">3</a></li> <li>Figure <a href="#org2ed7f47">3</a></li>
<li>Table <a href="#org5a7d75e">2</a></li> <li>Table <a href="#orgcadb600">2</a></li>
<li>Listing <a href="#orgd9c51fe">1</a></li> <li>Listing <a href="#org78a6809">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>Equation \eqref{eq:numbered}</li>
<li>Section <a href="#org922825b">2</a></li> <li>Section <a href="#org7f3a8fe">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> <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> </ul>
</div> </div>
</div> </div>
<div id="outline-container-orgf369d9d" class="outline-3"> <div id="outline-container-orgf976ebe" class="outline-3">
<h3 id="orgf369d9d"><span class="section-number-3">1.5</span> Maths</h3> <h3 id="orgf976ebe"><span class="section-number-3">1.5</span> Maths</h3>
<div class="outline-text-3" id="text-1-5"> <div class="outline-text-3" id="text-1-5">
<p> <p>
Here is some inline mathematics: \(z = 2\). Here is some inline mathematics: \(z = 2\).
@ -222,25 +237,47 @@ Using the <code>align</code> environment Equations \eqref{eq:align_1} and \eqref
</div> </div>
</div> </div>
<div id="outline-container-org4b6e2eb" class="outline-3"> <div id="outline-container-org31f988a" class="outline-3">
<h3 id="org4b6e2eb"><span class="section-number-3">1.6</span> Quote</h3> <h3 id="org31f988a"><span class="section-number-3">1.6</span> Verse, Quote</h3>
<div class="outline-text-3" id="text-1-6"> <div class="outline-text-3" id="text-1-6">
<p>
Below is a verse.
</p>
<p class="verse">
Great clouds overhead<br />
Tiny black birds rise and fall<br />
Snow covers Emacs<br />
<br />
&#xa0;&#xa0;&#xa0;&#x2014;AlexSchroeder<br />
</p>
<p>
Below is a quote.
</p>
<blockquote> <blockquote>
<p> <p>
This is a quote Nobody ever figures out what life is all about, and it doesn&rsquo;t matter.
Explore the world.
Nearly everything is really interesting if you go into it deeply enough.
</p>
<p>
&#x2014;Richard P. Feynman
</p> </p>
</blockquote> </blockquote>
</div> </div>
</div> </div>
<div id="outline-container-org326d00b" class="outline-3"> <div id="outline-container-orga75fcdd" class="outline-3">
<h3 id="org326d00b"><span class="section-number-3">1.7</span> Aside</h3> <h3 id="orga75fcdd"><span class="section-number-3">1.7</span> Aside</h3>
<div class="outline-text-3" id="text-1-7"> <div class="outline-text-3" id="text-1-7">
<p> <p>
An aside block can be used as shown below. An aside block can be used as shown below.
</p> </p>
<div class="aside" id="org4b61f08"> <div class="aside" id="orgd8c657c">
<p> <p>
This is a note about the text using the <code>aside</code> environment. This is a note about the text using the <code>aside</code> environment.
This can be as long as wanted This can be as long as wanted
@ -253,26 +290,44 @@ Cras elementum ex vel orci congue porttitor. Vestibulum scelerisque gravida matt
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-org539d118" class="outline-3">
<h3 id="org539d118"><span class="section-number-3">1.8</span> Inline Task</h3>
<div class="outline-text-3" id="text-1-8">
<p>
Some text.
</p>
<div class="inlinetask">
<b><span class="todo TODO">TODO</span> <span class="priority">[C]</span> This is an inline task</b><br />
<p><span class="timestamp-wrapper"><span class="timestamp-kwd">SCHEDULED:</span> <span class="timestamp">&lt;2020-11-26 jeu.&gt;</span></span></p>
</div> </div>
<div id="outline-container-orgd990b18" class="outline-2"> <p>
<h2 id="orgd990b18"><span class="section-number-2">2</span> Headlines</h2> Some text.
</p>
</div>
</div>
</div>
<div id="outline-container-orgd8f41ad" class="outline-2">
<h2 id="orgd8f41ad"><span class="section-number-2">2</span> Headlines</h2>
<div class="outline-text-2" id="text-2"> <div class="outline-text-2" id="text-2">
<p> <p>
<a id="org922825b"></a> <a id="org7f3a8fe"></a>
</p> </p>
</div> </div>
<div id="outline-container-org6a44c43" class="outline-3"> <div id="outline-container-orgd793639" class="outline-3">
<h3 id="org6a44c43"><span class="section-number-3">2.1</span> Second level Headline</h3> <h3 id="orgd793639"><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 class="outline-text-3" id="text-2-1">
</div> </div>
<div id="outline-container-org3e954c6" class="outline-4"> <div id="outline-container-orgd26e367" class="outline-4">
<h4 id="org3e954c6"><span class="section-number-4">2.1.1</span> Third level Headline</h4> <h4 id="orgd26e367"><span class="section-number-4">2.1.1</span> Third level Headline</h4>
<div class="outline-text-4" id="text-2-1-1"> <div class="outline-text-4" id="text-2-1-1">
</div> </div>
<div id="outline-container-org49c9ad7" class="outline-5"> <div id="outline-container-orgad7ccc8" class="outline-5">
<h5 id="org49c9ad7"><span class="section-number-5">2.1.1.1</span> Fourth level Headline</h5> <h5 id="orgad7ccc8"><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"> <div class="outline-text-5" id="text-2-1-1-1">
<p> <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. 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.
@ -281,12 +336,12 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div> </div>
</div> </div>
<div id="outline-container-orgf58ef01" class="outline-4"> <div id="outline-container-org8270df7" class="outline-4">
<h4 id="orgf58ef01"><span class="section-number-4">2.1.2</span> Third level Headline</h4> <h4 id="org8270df7"><span class="section-number-4">2.1.2</span> Third level Headline</h4>
<div class="outline-text-4" id="text-2-1-2"> <div class="outline-text-4" id="text-2-1-2">
</div> </div>
<div id="outline-container-orgb5c9097" class="outline-5"> <div id="outline-container-orgb36a453" class="outline-5">
<h5 id="orgb5c9097"><span class="section-number-5">2.1.2.1</span> Fourth level Headline</h5> <h5 id="orgb36a453"><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"> <div class="outline-text-5" id="text-2-1-2-1">
<p> <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. 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.
@ -296,76 +351,116 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div> </div>
</div> </div>
<div id="outline-container-orga13850f" class="outline-3"> <div id="outline-container-orgfecfd4d" class="outline-3">
<h3 id="orga13850f"><span class="section-number-3">2.2</span> Second level Headline</h3> <h3 id="orgfecfd4d"><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"> <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>
<p> <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. 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.
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-orgff4aa95" class="outline-3">
<h3 id="orgff4aa95"><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.
</p>
</div>
</div> </div>
<div id="outline-container-orge58605e" class="outline-2"> <div id="outline-container-orga8ab1d0" class="outline-3">
<h2 id="orge58605e"><span class="section-number-2">3</span> Blocks</h2> <h3 id="orga8ab1d0"><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.
</p>
</div>
</div>
<div id="outline-container-org884b24c" class="outline-3">
<h3 id="org884b24c"><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>
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.
</p>
</div>
<div id="outline-container-org06eebe1" class="outline-4">
<h4 id="org06eebe1"><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>
Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean sollicitudin nibh enim, sed pulvinar massa iaculis sit amet.
</p>
</div>
</div>
</div>
</div>
<div id="outline-container-org9ce7da0" class="outline-2">
<h2 id="org9ce7da0"><span class="section-number-2">3</span> Blocks</h2>
<div class="outline-text-2" id="text-3"> <div class="outline-text-2" id="text-3">
<div class="seealso" id="org459cebb"> <div class="seealso" id="orga0e4a3c">
<p> <p>
<code>seealso</code> block. <code>seealso</code> block.
</p> </p>
</div> </div>
<div class="hint" id="orgf69b177"> <div class="hint" id="orgef7ad92">
<p> <p>
<code>hint</code> block. <code>hint</code> block.
</p> </p>
</div> </div>
<div class="definition" id="orgefd1976"> <div class="definition" id="orgc59a5c6">
<p> <p>
<code>definition</code> block. <code>definition</code> block.
</p> </p>
</div> </div>
<div class="exampl" id="org3d18ba8"> <div class="exampl" id="org548e616">
<p> <p>
<code>exampl</code> block. <code>exampl</code> block.
</p> </p>
</div> </div>
<div class="question" id="org21658b0"> <div class="question" id="org1e7f6e7">
<p> <p>
<code>question</code> block. <code>question</code> block.
</p> </p>
</div> </div>
<div class="summary" id="orga4de47a"> <div class="summary" id="orgf801dd8">
<p> <p>
<code>summary</code> block. <code>summary</code> block.
</p> </p>
</div> </div>
<div class="important" id="org97b32d8"> <div class="important" id="org66f1cf8">
<p> <p>
<code>important</code> block. <code>important</code> block.
</p> </p>
</div> </div>
<div class="caution" id="org00c2d06"> <div class="caution" id="orgd3d90a5">
<p> <p>
<code>caution</code> block. <code>caution</code> block.
</p> </p>
</div> </div>
<div class="warning" id="orgcfe0a2a"> <div class="warning" id="org210617f">
<p> <p>
<code>warning</code> block. <code>warning</code> block.
</p> </p>
@ -374,12 +469,12 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div> </div>
</div> </div>
<div id="outline-container-orga86945d" class="outline-2"> <div id="outline-container-org954a5f7" class="outline-2">
<h2 id="orga86945d"><span class="section-number-2">4</span> Source Blocks</h2> <h2 id="org954a5f7"><span class="section-number-2">4</span> Source Blocks</h2>
<div class="outline-text-2" id="text-4"> <div class="outline-text-2" id="text-4">
</div> </div>
<div id="outline-container-org76bfa35" class="outline-3"> <div id="outline-container-orga4713ea" class="outline-3">
<h3 id="org76bfa35"><span class="section-number-3">4.1</span> Figures</h3> <h3 id="orga4713ea"><span class="section-number-3">4.1</span> Figures</h3>
<div class="outline-text-3" id="text-4-1"> <div class="outline-text-3" id="text-4-1">
<div class="org-src-container"> <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> <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>
@ -395,7 +490,7 @@ xlabel(<span class="org-string">'Time [s]'</span>); ylabel(<span class="org-stri
</div> </div>
<div id="org64560ea" class="figure"> <div id="org118e3f1" class="figure">
<p><img src="figs/matlab_fig_example.png" alt="matlab_fig_example.png" /> <p><img src="figs/matlab_fig_example.png" alt="matlab_fig_example.png" />
</p> </p>
<p><span class="figure-number">Figure 1: </span>Matlab Figure</p> <p><span class="figure-number">Figure 1: </span>Matlab Figure</p>
@ -403,8 +498,8 @@ xlabel(<span class="org-string">'Time [s]'</span>); ylabel(<span class="org-stri
</div> </div>
</div> </div>
<div id="outline-container-org5630424" class="outline-3"> <div id="outline-container-org8264fca" class="outline-3">
<h3 id="org5630424"><span class="section-number-3">4.2</span> Table Result</h3> <h3 id="org8264fca"><span class="section-number-3">4.2</span> Table Result</h3>
<div class="outline-text-3" id="text-4-2"> <div class="outline-text-3" id="text-4-2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">x = 1<span class="org-type">:</span>10; <pre class="src src-matlab">x = 1<span class="org-type">:</span>10;
@ -412,7 +507,7 @@ y = x<span class="org-type">.^</span>2;
</pre> </pre>
</div> </div>
<table id="org59b0ee4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table id="orgdfe2f20" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 1:</span> Table caption</caption> <caption class="t-above"><span class="table-number">Table 1:</span> Table caption</caption>
<colgroup> <colgroup>
@ -481,9 +576,13 @@ y = x<span class="org-type">.^</span>2;
</div> </div>
</div> </div>
<div id="outline-container-org96bab18" class="outline-3"> <div id="outline-container-org36044d8" class="outline-3">
<h3 id="org96bab18"><span class="section-number-3">4.3</span> Inline Results</h3> <h3 id="org36044d8"><span class="section-number-3">4.3</span> Inline Results</h3>
<div class="outline-text-3" id="text-4-3"> <div class="outline-text-3" id="text-4-3">
<p>
Results can be automatically outputed as shown below.
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">sqrt(2) <pre class="src src-matlab">sqrt(2)
</pre> </pre>
@ -507,34 +606,35 @@ y =
</div> </div>
</div> </div>
<div id="outline-container-orga49bd3e" class="outline-3"> <div id="outline-container-orgf71987d" class="outline-3">
<h3 id="orga49bd3e"><span class="section-number-3">4.4</span> Numbered Code Blocks</h3> <h3 id="orgf71987d"><span class="section-number-3">4.4</span> Caption and Reference</h3>
<div class="outline-text-3" id="text-4-4"> <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="#org78a6809">1</a> or <a href="#orgca6c420">2</a>).
</p>
<div class="org-src-container"> <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="orgd9c51fe"><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="org78a6809"><span class="org-type">figure</span>;
[X,Y,Z] = peaks; [X,Y,Z] = peaks;
contour(X,Y,Z,20) contour(X,Y,Z,20)
</pre> </pre>
</div> </div>
<div id="org4cceb10" class="figure"> <div id="org5e0acec" class="figure">
<p><img src="figs/matlab_logo.png" alt="matlab_logo.png" /> <p><img src="figs/matlab_logo.png" alt="matlab_logo.png" />
</p> </p>
<p><span class="figure-number">Figure 2: </span>Obtained Contour Plot</p> <p><span class="figure-number">Figure 2: </span>Obtained Contour Plot</p>
</div> </div>
<p>
Below is another code block.
</p>
<div class="org-src-container"> <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="org639fa86">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="orgca6c420">A = [1 2; 3 4; 5 6; 7 8]
[U,S,V] = svd(A) [U,S,V] = svd(A)
</pre> </pre>
</div> </div>
<pre class="example" id="org95ab433"> <pre class="example" id="org04a2c7e">
A = [1 2; 3 4; 5 6; 7 8] A = [1 2; 3 4; 5 6; 7 8]
A = A =
1 2 1 2
@ -558,17 +658,50 @@ V =
</pre> </pre>
</div> </div>
</div> </div>
</div>
<div id="outline-container-org606ebc3" class="outline-2"> <div id="outline-container-org487ec05" class="outline-3">
<h2 id="org606ebc3"><span class="section-number-2">5</span> Images</h2> <h3 id="org487ec05"><span class="section-number-3">4.5</span> Source Blocks with Line Numbers</h3>
<div class="outline-text-2" id="text-5"> <div class="outline-text-3" id="text-4-5">
<p> <p>
Figure <a href="#orgb486a9a">3</a> shows the results of the Tikz code of listing <a href="#org3a88ff9">3</a>. The Listing <a href="#org2717d5b">3</a> has line numbers as the <code>-n</code> option was used.
</p>
<p>
Specific lines of codes can be referenced.
For instance, the code used to specify the wanted the vertical label is on line <a href="#coderef-test" class="coderef" onmouseover="CodeHighlightOn(this, 'coderef-test');" onmouseout="CodeHighlightOff(this, 'coderef-test');">4</a>.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<label class="org-src-name"><span class="listing-number">Listing 3: </span>Tikz code that is used to generate Figure <a href="#orgb486a9a">3</a></label><pre class="src src-latex" id="org3a88ff9"><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 3: </span>Specify Labels</label><pre class="src src-matlab" id="org2717d5b"><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>
</pre>
</div>
<p>
Numbering can be continued by using <code>+n</code> option as shown below.
</p>
<div class="org-src-container">
<pre class="src src-matlab"><span class="linenr">5: </span><span class="org-type">figure</span>;
<span class="linenr">6: </span>plot(t, u)
<span class="linenr">7: </span>xlabel(<span class="org-string">'Time [s]'</span>);
<span class="linenr">8: </span>ylabel(<span class="org-string">'Input [V]'</span>);
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org9b0994c" class="outline-2">
<h2 id="org9b0994c"><span class="section-number-2">5</span> Images</h2>
<div class="outline-text-2" id="text-5">
<p>
Figure <a href="#org2ed7f47">3</a> shows the results of the Tikz code of listing <a href="#orgcaf78d5">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="#org2ed7f47">3</a></label><pre class="src src-latex" id="orgcaf78d5"><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-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>}; <span class="org-font-latex-sedate">\node</span>[block={2.0cm}{2.0cm}] (P) {<span class="org-font-latex-math">$P$</span>};
@ -591,7 +724,7 @@ Figure <a href="#orgb486a9a">3</a> shows the results of the Tikz code of listing
</div> </div>
<div id="orgb486a9a" class="figure"> <div id="org2ed7f47" class="figure">
<p><img src="figs/general_control_names.png" alt="general_control_names.png" /> <p><img src="figs/general_control_names.png" alt="general_control_names.png" />
</p> </p>
<p><span class="figure-number">Figure 3: </span>General Control Configuration</p> <p><span class="figure-number">Figure 3: </span>General Control Configuration</p>
@ -599,14 +732,14 @@ Figure <a href="#orgb486a9a">3</a> shows the results of the Tikz code of listing
</div> </div>
</div> </div>
<div id="outline-container-orgd1e0c60" class="outline-2"> <div id="outline-container-org24d9ab9" class="outline-2">
<h2 id="orgd1e0c60"><span class="section-number-2">6</span> Tables</h2> <h2 id="org24d9ab9"><span class="section-number-2">6</span> Tables</h2>
<div class="outline-text-2" id="text-6"> <div class="outline-text-2" id="text-6">
<p> <p>
Table <a href="#org5a7d75e">2</a> shows a table with some mathematics inside. Table <a href="#orgcadb600">2</a> shows a table with some mathematics inside.
</p> </p>
<table id="org5a7d75e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table id="orgcadb600" 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> <caption class="t-above"><span class="table-number">Table 2:</span> A Simple table with included math</caption>
<colgroup> <colgroup>
@ -664,8 +797,8 @@ Table <a href="#org5a7d75e">2</a> shows a table with some mathematics inside.
</div> </div>
</div> </div>
<div id="outline-container-org48b55d0" class="outline-2"> <div id="outline-container-orgda35f86" class="outline-2">
<h2 id="org48b55d0"><span class="section-number-2">7</span> Details</h2> <h2 id="orgda35f86"><span class="section-number-2">7</span> Details</h2>
<div class="outline-text-2" id="text-7"> <div class="outline-text-2" id="text-7">
<p> <p>
Below is some content hidden until you click the bar. Below is some content hidden until you click the bar.
@ -676,7 +809,7 @@ Below is some content hidden until you click the bar.
Almost anything can be put here for instance this table below. Almost anything can be put here for instance this table below.
</p> </p>
<table id="org1166870" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table id="orgb694d18" 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> <caption class="t-above"><span class="table-number">Table 3:</span> A Simple table with included math</caption>
<colgroup> <colgroup>
@ -738,7 +871,13 @@ Almost anything can be put here for instance this table below.
This <code>details</code> blocks can even be put in other blocks are shown below. This <code>details</code> blocks can even be put in other blocks are shown below.
</p> </p>
<div class="question" id="orge6f5f01"> <details><summary>Answer</summary>
<p>
It is approximately <b>12,742 km</b>
</p>
</details>
<div class="question" id="org1086913">
<p> <p>
What is the approximate diameter of the earth? What is the approximate diameter of the earth?
</p> </p>
@ -753,8 +892,8 @@ It is approximately <b>12,742 km</b>
</div> </div>
</div> </div>
<div id="outline-container-orgae5b9d1" class="outline-2"> <div id="outline-container-org6ed0c2c" class="outline-2">
<h2 id="orgae5b9d1"><span class="section-number-2">8</span> Videos</h2> <h2 id="org6ed0c2c"><span class="section-number-2">8</span> Videos</h2>
<div class="outline-text-2" id="text-8"> <div class="outline-text-2" id="text-8">
<p> <p>
<div class="yt"><iframe width="100%" height="100%" src="https://www.youtube.com/embed/A7wHSr6GRnc" frameborder="0" allowfullscreen></iframe></div> <div class="yt"><iframe width="100%" height="100%" src="https://www.youtube.com/embed/A7wHSr6GRnc" frameborder="0" allowfullscreen></iframe></div>
@ -762,8 +901,8 @@ It is approximately <b>12,742 km</b>
</div> </div>
</div> </div>
<div id="outline-container-orgf0ae97e" class="outline-2"> <div id="outline-container-org143ad15" class="outline-2">
<h2 id="orgf0ae97e"><span class="section-number-2">9</span> Bibliography</h2> <h2 id="org143ad15"><span class="section-number-2">9</span> Bibliography</h2>
<div class="outline-text-2" id="text-9"> <div class="outline-text-2" id="text-9">
<p> <p>
@ -788,7 +927,7 @@ It is approximately <b>12,742 km</b>
<div id="text-footnotes"> <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"> <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="#orgb486a9a">3</a>. A long foot note. Lorem ipsum dolor sit amet, consectetur adipiscing elit. With a reference to Figure <a href="#org2ed7f47">3</a>.
</p></div></div> </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"> <div class="footdef"><sup><a id="fn.2" class="footnum" href="#fnr.2">2</a></sup> <div class="footpara"><p class="footpara">
@ -800,7 +939,7 @@ An other footnote.
</div></div> </div></div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-11-26 jeu. 15:53</p> <p class="date">Created: 2020-11-26 jeu. 19:52</p>
</div> </div>
</body> </body>
</html> </html>

104
index.org
View File

@ -3,6 +3,8 @@
:DRAWER: :DRAWER:
#+STARTUP: overview #+STARTUP: overview
#+OPTIONS: num:t toc:t |:t f:t todo:t tasks:t pri:t tags:t <:t *:t
#+LANGUAGE: en #+LANGUAGE: en
#+EMAIL: dehaeze.thomas@gmail.com #+EMAIL: dehaeze.thomas@gmail.com
#+AUTHOR: Dehaeze Thomas #+AUTHOR: Dehaeze Thomas
@ -42,14 +44,9 @@
#+PROPERTY: header-args:latex+ :post pdf2svg(file=*this*, ext="png") #+PROPERTY: header-args:latex+ :post pdf2svg(file=*this*, ext="png")
:END: :END:
#+begin_abstract
Simple Abstract.
#+end_abstract
* Basics * Basics
** Normal Markup ** Normal Markup
Here is some text in *bold*, now with _underline_ and now some =inline code=. You can make words *bold*, /italic/, _underlined_, =verbatim= and ~code~, and, if you must, +strike-through+.
Finally some /italic/ text.
** Links to Footnotes ** Links to Footnotes
@ -61,6 +58,12 @@ A link to a footnote[fn:1] and to another footnote[fn:2].
- Nam aliquet euismod viverra. - Nam aliquet euismod viverra.
- Phasellus turpis nisi, faucibus a orci et, faucibus fermentum ligula. - Phasellus turpis nisi, faucibus a orci et, faucibus fermentum ligula.
*List with Tasks*:
- [ ] Task 1
- [X] Task 2
- [-] Sub-tasks:
- [ ] Sub-task 1
- [X] Sub-task 2
*Ordered List*: *Ordered List*:
1. In libero odio, imperdiet eget ex a, vulputate suscipit tellus. 1. In libero odio, imperdiet eget ex a, vulputate suscipit tellus.
@ -98,6 +101,7 @@ Here is a list of links to:
- Figure [[fig:general_control_names]] - Figure [[fig:general_control_names]]
- Table [[tab:table_with_equations]] - Table [[tab:table_with_equations]]
- Listing [[lst:matlab_figure]] - Listing [[lst:matlab_figure]]
- Specific [[(test)][line of code]]
- Equation eqref:eq:numbered - Equation eqref:eq:numbered
- Section [[sec:headlines]] - Section [[sec:headlines]]
- Bibliographic Reference cite:stanisic14_effec, and cite:schulte11_activ_docum_with_org_mode,dominik10_org_mode_refer_manual_organ_gnu_emacs,stanisic14_effec - Bibliographic Reference cite:stanisic14_effec, and cite:schulte11_activ_docum_with_org_mode,dominik10_org_mode_refer_manual_organ_gnu_emacs,stanisic14_effec
@ -119,9 +123,26 @@ Using the =align= environment Equations eqref:eq:align_1 and eqref:eq:align_2.
\int_D (\nabla\cdot \mathcal{F})\,dV &=\int_{\partial D}\mathcal{F}\cdot n\, dS \label{eq:align_2} \int_D (\nabla\cdot \mathcal{F})\,dV &=\int_{\partial D}\mathcal{F}\cdot n\, dS \label{eq:align_2}
\end{align} \end{align}
** Quote ** Verse, Quote
Below is a verse.
#+begin_verse
Great clouds overhead
Tiny black birds rise and fall
Snow covers Emacs
---AlexSchroeder
#+end_verse
Below is a quote.
#+begin_quote #+begin_quote
This is a quote Nobody ever figures out what life is all about, and it doesn't matter.
Explore the world.
Nearly everything is really interesting if you go into it deeply enough.
---Richard P. Feynman
#+end_quote #+end_quote
** Aside ** Aside
@ -134,10 +155,20 @@ This can be as long as wanted
Cras elementum ex vel orci congue porttitor. Vestibulum scelerisque gravida mattis. Suspendisse sit amet volutpat felis. Cras luctus porta lectus eget scelerisque. Cras blandit purus vel odio malesuada pellentesque. Interdum et malesuada fames ac ante ipsum primis in faucibus. Morbi eget aliquet sapien. Nunc eu elit in ligula aliquam congue dapibus eu massa. Sed accumsan hendrerit viverra. Quisque purus enim, tristique vitae porttitor eu, feugiat non ligula. Duis vitae ipsum vel quam ultricies ornare quis vitae quam. Vivamus commodo mauris non ex rutrum, sagittis facilisis metus tincidunt. Etiam vel nibh sit amet lorem auctor volutpat vel quis nulla. Quisque nec pharetra justo. Cras elementum ex vel orci congue porttitor. Vestibulum scelerisque gravida mattis. Suspendisse sit amet volutpat felis. Cras luctus porta lectus eget scelerisque. Cras blandit purus vel odio malesuada pellentesque. Interdum et malesuada fames ac ante ipsum primis in faucibus. Morbi eget aliquet sapien. Nunc eu elit in ligula aliquam congue dapibus eu massa. Sed accumsan hendrerit viverra. Quisque purus enim, tristique vitae porttitor eu, feugiat non ligula. Duis vitae ipsum vel quam ultricies ornare quis vitae quam. Vivamus commodo mauris non ex rutrum, sagittis facilisis metus tincidunt. Etiam vel nibh sit amet lorem auctor volutpat vel quis nulla. Quisque nec pharetra justo.
** Inline Task
Some text.
*************** TODO [#C] This is an inline task
SCHEDULED: <2020-11-26 jeu.>
*************** END
Some text.
* Headlines * Headlines
<<sec:headlines>> <<sec:headlines>>
** Second level Headline ** Second level Headline with tags :@home:@work:
*** Third level Headline *** Third level Headline
**** Fourth level Headline **** Fourth level Headline
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. 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.
@ -146,9 +177,25 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
**** Fourth level Headline **** Fourth level Headline
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. 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.
** Second level Headline ** TODO Second level Headline with Schedule
SCHEDULED: <2020-11-26 jeu.>
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. 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.
** [#B] Second level Headline with a priority
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.
** TODO [#C] Second level Headline with TODO State
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.
** DONE [#A] Second level Headline with DONE State
CLOSED: [2020-11-26 jeu. 18:53]
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.
*** WAIT Third level Headline with DONE State
CLOSED: [2020-11-26 jeu. 18:53]
Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean sollicitudin nibh enim, sed pulvinar massa iaculis sit amet.
* Blocks * Blocks
#+begin_seealso #+begin_seealso
@ -247,6 +294,8 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
** Inline Results ** Inline Results
Results can be automatically outputed as shown below.
#+begin_src matlab :results value replace #+begin_src matlab :results value replace
sqrt(2) sqrt(2)
#+end_src #+end_src
@ -263,7 +312,10 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
: y = : y =
: 1 4 9 16 25 36 49 64 81 100 : 1 4 9 16 25 36 49 64 81 100
** Numbered Code Blocks ** Caption and Reference
Captions can be added to code blocks.
Moreover, we can link to specific bode blocks (Listing [[lst:matlab_figure]] or [[lst:matlab_svd]]).
#+name: lst:matlab_figure #+name: lst:matlab_figure
#+caption: Code to produce a nice contour plot #+caption: Code to produce a nice contour plot
@ -282,8 +334,6 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
#+RESULTS: #+RESULTS:
[[file:figs/matlab_logo.png]] [[file:figs/matlab_logo.png]]
Below is another code block.
#+name: lst:matlab_svd #+name: lst:matlab_svd
#+caption: Code to compute the Singular Value Decomposition #+caption: Code to compute the Singular Value Decomposition
#+begin_src matlab :results output replace #+begin_src matlab :results output replace
@ -315,6 +365,30 @@ V =
-0.767187395072177 -0.641423027995072 -0.767187395072177 -0.641423027995072
#+end_example #+end_example
** Source Blocks with Line Numbers
The Listing [[lst:matlab_line_numbers]] has line numbers as the =-n= option was used.
Specific lines of codes can be referenced.
For instance, the code used to specify the wanted the vertical label is on line [[(test)]].
#+name: lst:matlab_line_numbers
#+caption: Specify Labels
#+begin_src matlab +n -r
figure;
plot(t, x)
xlabel('Time [s]');
ylabel('Output [V]'); (ref:test)
#+end_src
Numbering can be continued by using =+n= option as shown below.
#+begin_src matlab +n
figure;
plot(t, u)
xlabel('Time [s]');
ylabel('Input [V]');
#+end_src
* Images * Images
Figure [[fig:general_control_names]] shows the results of the Tikz code of listing [[lst:tikz_test]]. Figure [[fig:general_control_names]] shows the results of the Tikz code of listing [[lst:tikz_test]].
@ -381,6 +455,10 @@ Almost anything can be put here for instance this table below.
This =details= blocks can even be put in other blocks are shown below. This =details= blocks can even be put in other blocks are shown below.
#+HTML: <details><summary>Answer</summary>
It is approximately *12,742 km*
#+HTML: </details>
#+begin_question #+begin_question
What is the approximate diameter of the earth? What is the approximate diameter of the earth?