Add LaTeX output

This commit is contained in:
Thomas Dehaeze 2020-12-10 23:36:33 +01:00
parent 78c77389d9
commit 74598beb01
6 changed files with 1004 additions and 145 deletions

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-12-01 mar. 17:20 -->
<!-- 2020-12-10 jeu. 23:33 -->
<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,78 +33,81 @@
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#orgf55c16e">1. Basics</a>
<li><a href="#org84d6527">1. Basics</a>
<ul>
<li><a href="#org67aa295">1.1. Normal Markup</a></li>
<li><a href="#org0ee4aa3">1.2. Links to Footnotes</a></li>
<li><a href="#org4e3b2a9">1.3. Lists</a></li>
<li><a href="#org0975532">1.4. Links</a></li>
<li><a href="#org00bf706">1.5. Maths</a></li>
<li><a href="#org5d23f46">1.6. Verse, Quote</a></li>
<li><a href="#org627bdab">1.7. Aside</a></li>
<li><a href="#orge1180cd">1.8. Inline Task</a></li>
<li><a href="#org658eaff">1.1. Normal Markup</a></li>
<li><a href="#org2c3e8f5">1.2. Links to Footnotes</a></li>
<li><a href="#org4481bf9">1.3. Lists</a></li>
<li><a href="#orgf2d5c4a">1.4. Links</a></li>
<li><a href="#org71aaaec">1.5. Maths</a></li>
<li><a href="#org8093274">1.6. Verse, Quote</a></li>
<li><a href="#org623af09">1.7. Aside</a></li>
<li><a href="#org50b913f">1.8. Inline Task</a></li>
</ul>
</li>
<li><a href="#org039b623">2. Headlines</a>
<li><a href="#orgda0c9bf">2. Headlines</a>
<ul>
<li><a href="#org8a3d963">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="#org5854c56">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="#orgddebfa2">2.1.1. Third level Headline</a>
<li><a href="#org367c820">2.1.1. Third level Headline</a>
<ul>
<li><a href="#org7552e05">2.1.1.1. Fourth level Headline</a></li>
<li><a href="#org0fe4373">2.1.1.1. Fourth level Headline</a></li>
</ul>
</li>
<li><a href="#orgf374b5e">2.1.2. Third level Headline</a>
<li><a href="#org1192729">2.1.2. Third level Headline</a>
<ul>
<li><a href="#org4176fd6">2.1.2.1. Fourth level Headline</a></li>
<li><a href="#orgcca40ed">2.1.2.1. Fourth level Headline</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#orgf8785d7">2.2. <span class="todo TODO">TODO</span> Second level Headline with Schedule</a></li>
<li><a href="#orgb7b0768">2.3. <span class="priority">[B]</span> Second level Headline with a priority</a></li>
<li><a href="#orga9f480f">2.4. <span class="todo TODO">TODO</span> <span class="priority">[C]</span> Second level Headline with TODO State</a></li>
<li><a href="#org9f0814c">2.5. <span class="done DONE">DONE</span> <span class="priority">[A]</span> Second level Headline with DONE State</a>
<li><a href="#orgea7daa2">2.2. <span class="todo TODO">TODO</span> Second level Headline with Schedule</a></li>
<li><a href="#org7966ed1">2.3. <span class="priority">[B]</span> Second level Headline with a priority</a></li>
<li><a href="#org6f34581">2.4. <span class="todo TODO">TODO</span> <span class="priority">[C]</span> Second level Headline with TODO State</a></li>
<li><a href="#org8dec57f">2.5. <span class="done DONE">DONE</span> <span class="priority">[A]</span> Second level Headline with DONE State</a>
<ul>
<li><a href="#org66b96e6">2.5.1. <span class="todo WAIT">WAIT</span> Third level Headline with DONE State</a></li>
<li><a href="#org955722e">2.5.1. <span class="todo WAIT">WAIT</span> Third level Headline with DONE State</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org8fe71cc">3. Blocks</a></li>
<li><a href="#orge636b6e">4. Source Blocks</a>
<li><a href="#org5ca7087">3. Blocks</a></li>
<li><a href="#org1283074">4. Source Blocks</a>
<ul>
<li><a href="#org1f4f5d0">4.1. Figures</a></li>
<li><a href="#org22eedd9">4.2. Table Result</a></li>
<li><a href="#org4fab781">4.3. Inline Results</a></li>
<li><a href="#orgf2c1e94">4.4. Caption and Reference</a></li>
<li><a href="#orgd2edfd7">4.5. Source Blocks with Line Numbers</a></li>
<li><a href="#orgd74f503">4.1. Figures</a></li>
<li><a href="#org04eb7cc">4.2. Table Result</a></li>
<li><a href="#org60551e3">4.3. Inline Results</a></li>
<li><a href="#org98b6940">4.4. Caption and Reference</a></li>
<li><a href="#org0a17871">4.5. Source Blocks with Line Numbers</a></li>
</ul>
</li>
<li><a href="#org8abeb8a">5. Images</a></li>
<li><a href="#orga383787">6. Tables</a></li>
<li><a href="#orgb8a5d11">7. Details</a></li>
<li><a href="#orgf0c9c89">8. Videos</a></li>
<li><a href="#org73f9592">9. Bibliography</a></li>
<li><a href="#orge1d7e79">5. Images</a></li>
<li><a href="#org0d25db6">6. Tables</a></li>
<li><a href="#orgf648416">7. Details</a></li>
<li><a href="#org9ce808b">8. Videos</a></li>
</ul>
</div>
</div>
<div id="outline-container-orgf55c16e" class="outline-2">
<h2 id="orgf55c16e"><span class="section-number-2">1</span> Basics</h2>
<div id="outline-container-org84d6527" class="outline-2">
<h2 id="org84d6527"><span class="section-number-2">1</span> Basics</h2>
<div class="outline-text-2" id="text-1">
</div>
<div id="outline-container-org67aa295" class="outline-3">
<h3 id="org67aa295"><span class="section-number-3">1.1</span> Normal Markup</h3>
<div id="outline-container-org658eaff" class="outline-3">
<h3 id="org658eaff"><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>.
</p>
<p>
Here is some inline code Matlab code: <code class="src src-matlab">[K,CL,gamma] = mixsyn(G,W1,[],W3);</code>.
</p>
</div>
</div>
<div id="outline-container-org0ee4aa3" class="outline-3">
<h3 id="org0ee4aa3"><span class="section-number-3">1.2</span> Links to Footnotes</h3>
<div id="outline-container-org2c3e8f5" class="outline-3">
<h3 id="org2c3e8f5"><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 +115,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-org4e3b2a9" class="outline-3">
<h3 id="org4e3b2a9"><span class="section-number-3">1.3</span> Lists</h3>
<div id="outline-container-org4481bf9" class="outline-3">
<h3 id="org4481bf9"><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 +193,26 @@ maximus lorem quis accumsan vehicula.</dd>
</div>
</div>
<div id="outline-container-org0975532" class="outline-3">
<h3 id="org0975532"><span class="section-number-3">1.4</span> Links</h3>
<div id="outline-container-orgf2d5c4a" class="outline-3">
<h3 id="orgf2d5c4a"><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="#org0d0b9d8">3</a></li>
<li>Table <a href="#org8956047">2</a></li>
<li>Listing <a href="#org7a654ca">1</a></li>
<li>Figure <a href="#orgbd14016">3</a></li>
<li>Table <a href="#org5482c41">2</a></li>
<li>Listing <a href="#org73e1449">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="#org3694aa1">2</a></li>
<li>Section <a href="#org8a5bac8">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-org00bf706" class="outline-3">
<h3 id="org00bf706"><span class="section-number-3">1.5</span> Maths</h3>
<div id="outline-container-org71aaaec" class="outline-3">
<h3 id="org71aaaec"><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 +240,8 @@ Using the <code>align</code> environment Equations \eqref{eq:align_1} and \eqref
</div>
</div>
<div id="outline-container-org5d23f46" class="outline-3">
<h3 id="org5d23f46"><span class="section-number-3">1.6</span> Verse, Quote</h3>
<div id="outline-container-org8093274" class="outline-3">
<h3 id="org8093274"><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 +273,14 @@ Nearly everything is really interesting if you go into it deeply enough.
</div>
</div>
<div id="outline-container-org627bdab" class="outline-3">
<h3 id="org627bdab"><span class="section-number-3">1.7</span> Aside</h3>
<div id="outline-container-org623af09" class="outline-3">
<h3 id="org623af09"><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="org25bde10">
<div class="aside" id="org70ee1ec">
<p>
This is a note about the text using the <code>aside</code> environment.
This can be as long as wanted
@ -291,8 +294,8 @@ Cras elementum ex vel orci congue porttitor. Vestibulum scelerisque gravida matt
</div>
</div>
<div id="outline-container-orge1180cd" class="outline-3">
<h3 id="orge1180cd"><span class="section-number-3">1.8</span> Inline Task</h3>
<div id="outline-container-org50b913f" class="outline-3">
<h3 id="org50b913f"><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 +313,24 @@ Some text.
</div>
</div>
<div id="outline-container-org039b623" class="outline-2">
<h2 id="org039b623"><span class="section-number-2">2</span> Headlines</h2>
<div id="outline-container-orgda0c9bf" class="outline-2">
<h2 id="orgda0c9bf"><span class="section-number-2">2</span> Headlines</h2>
<div class="outline-text-2" id="text-2">
<p>
<a id="org3694aa1"></a>
<a id="org8a5bac8"></a>
</p>
</div>
<div id="outline-container-org8a3d963" class="outline-3">
<h3 id="org8a3d963"><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-org5854c56" class="outline-3">
<h3 id="org5854c56"><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-orgddebfa2" class="outline-4">
<h4 id="orgddebfa2"><span class="section-number-4">2.1.1</span> Third level Headline</h4>
<div id="outline-container-org367c820" class="outline-4">
<h4 id="org367c820"><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-org7552e05" class="outline-5">
<h5 id="org7552e05"><span class="section-number-5">2.1.1.1</span> Fourth level Headline</h5>
<div id="outline-container-org0fe4373" class="outline-5">
<h5 id="org0fe4373"><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 +339,12 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div>
</div>
<div id="outline-container-orgf374b5e" class="outline-4">
<h4 id="orgf374b5e"><span class="section-number-4">2.1.2</span> Third level Headline</h4>
<div id="outline-container-org1192729" class="outline-4">
<h4 id="org1192729"><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-org4176fd6" class="outline-5">
<h5 id="org4176fd6"><span class="section-number-5">2.1.2.1</span> Fourth level Headline</h5>
<div id="outline-container-orgcca40ed" class="outline-5">
<h5 id="orgcca40ed"><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 +354,8 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div>
</div>
<div id="outline-container-orgf8785d7" class="outline-3">
<h3 id="orgf8785d7"><span class="section-number-3">2.2</span> <span class="todo TODO">TODO</span> Second level Headline with Schedule</h3>
<div id="outline-container-orgea7daa2" class="outline-3">
<h3 id="orgea7daa2"><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 +365,8 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div>
</div>
<div id="outline-container-orgb7b0768" class="outline-3">
<h3 id="orgb7b0768"><span class="section-number-3">2.3</span> <span class="priority">[B]</span> Second level Headline with a priority</h3>
<div id="outline-container-org7966ed1" class="outline-3">
<h3 id="org7966ed1"><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 +374,8 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
</div>
</div>
<div id="outline-container-orga9f480f" class="outline-3">
<h3 id="orga9f480f"><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-org6f34581" class="outline-3">
<h3 id="org6f34581"><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 +383,8 @@ Vivamus egestas laoreet varius. Sed finibus libero nec quam tempor, eget viverra
</div>
</div>
<div id="outline-container-org9f0814c" class="outline-3">
<h3 id="org9f0814c"><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-org8dec57f" class="outline-3">
<h3 id="org8dec57f"><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 +392,8 @@ Cras sagittis tortor ac rutrum elementum. Maecenas luctus tempor enim, vitae sus
</p>
</div>
<div id="outline-container-org66b96e6" class="outline-4">
<h4 id="org66b96e6"><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-org955722e" class="outline-4">
<h4 id="org955722e"><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,80 +404,87 @@ Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean so
</div>
</div>
<div id="outline-container-org8fe71cc" class="outline-2">
<h2 id="org8fe71cc"><span class="section-number-2">3</span> Blocks</h2>
<div id="outline-container-org5ca7087" class="outline-2">
<h2 id="org5ca7087"><span class="section-number-2">3</span> Blocks</h2>
<div class="outline-text-2" id="text-3">
<div class="seealso" id="orge22c7c8">
<div class="seealso" id="org5c605f7">
<p>
<code>seealso</code> block.
</p>
</div>
<div class="hint" id="orgca32173">
<div class="hint" id="orgc8c2116">
<p>
<code>hint</code> block.
</p>
</div>
<div class="definition" id="org4194c31">
<div class="definition" id="orgd7bbea5">
<p>
<code>definition</code> block.
</p>
</div>
<div class="important" id="org429ae42">
<div class="important" id="org1e7eb2d">
<p>
<code>important</code> block.
</p>
</div>
<div class="exampl" id="org4ae6bba">
<div class="exampl" id="org40edea3">
<p>
<code>exampl</code> block.
</p>
</div>
<div class="exercice" id="org0bfd9e9">
<div class="exercice" id="orgcc86c69">
<p>
<code>exercice</code> block.
</p>
</div>
<div class="question" id="orgcfc1932">
<div class="question" id="org3a9d1b7">
<p>
<code>question</code> block.
</p>
</div>
<div class="answer" id="org67319d2">
<div class="answer" id="org508deb1">
<p>
<code>answer</code> block.
</p>
</div>
<div class="summary" id="org5aabb0c">
<div class="summary" id="org21442af">
<p>
<code>summary</code> block.
</p>
</div>
<div class="caution" id="org26b7a06">
<div class="note" id="org82cc66c">
<p>
<code>note</code> block.
</p>
</div>
<div class="caution" id="orgd5fe2b9">
<p>
<code>caution</code> block.
</p>
</div>
<div class="warning" id="org38cf9b9">
<div class="warning" id="org86549a7">
<p>
<code>warning</code> block.
</p>
@ -483,12 +493,12 @@ Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean so
</div>
</div>
<div id="outline-container-orge636b6e" class="outline-2">
<h2 id="orge636b6e"><span class="section-number-2">4</span> Source Blocks</h2>
<div id="outline-container-org1283074" class="outline-2">
<h2 id="org1283074"><span class="section-number-2">4</span> Source Blocks</h2>
<div class="outline-text-2" id="text-4">
</div>
<div id="outline-container-org1f4f5d0" class="outline-3">
<h3 id="org1f4f5d0"><span class="section-number-3">4.1</span> Figures</h3>
<div id="outline-container-orgd74f503" class="outline-3">
<h3 id="orgd74f503"><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>
@ -504,7 +514,7 @@ xlabel(<span class="org-string">'Time [s]'</span>); ylabel(<span class="org-stri
</div>
<div id="org7d27f3b" class="figure">
<div id="orga2c0544" 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>
@ -512,8 +522,8 @@ xlabel(<span class="org-string">'Time [s]'</span>); ylabel(<span class="org-stri
</div>
</div>
<div id="outline-container-org22eedd9" class="outline-3">
<h3 id="org22eedd9"><span class="section-number-3">4.2</span> Table Result</h3>
<div id="outline-container-org04eb7cc" class="outline-3">
<h3 id="org04eb7cc"><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;
@ -521,7 +531,7 @@ y = x<span class="org-type">.^</span>2;
</pre>
</div>
<table id="orgc203c2d" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org43ac85d" 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>
@ -590,8 +600,8 @@ y = x<span class="org-type">.^</span>2;
</div>
</div>
<div id="outline-container-org4fab781" class="outline-3">
<h3 id="org4fab781"><span class="section-number-3">4.3</span> Inline Results</h3>
<div id="outline-container-org60551e3" class="outline-3">
<h3 id="org60551e3"><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.
@ -620,35 +630,35 @@ y =
</div>
</div>
<div id="outline-container-orgf2c1e94" class="outline-3">
<h3 id="orgf2c1e94"><span class="section-number-3">4.4</span> Caption and Reference</h3>
<div id="outline-container-org98b6940" class="outline-3">
<h3 id="org98b6940"><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="#org7a654ca">1</a> or <a href="#org3862c0c">2</a>).
Moreover, we can link to specific bode blocks (Listing <a href="#org73e1449">1</a> or <a href="#org6261baa">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="org7a654ca"><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="org73e1449"><span class="org-type">figure</span>;
[X,Y,Z] = peaks;
contour(X,Y,Z,20)
</pre>
</div>
<div id="orgf36a25e" class="figure">
<div id="org227556c" 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="org3862c0c">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="org6261baa">A = [1 2; 3 4; 5 6; 7 8]
[U,S,V] = svd(A)
</pre>
</div>
<pre class="example" id="org6587bcc">
<pre class="example" id="orgc26e22d">
A = [1 2; 3 4; 5 6; 7 8]
A =
1 2
@ -673,11 +683,11 @@ V =
</div>
</div>
<div id="outline-container-orgd2edfd7" class="outline-3">
<h3 id="orgd2edfd7"><span class="section-number-3">4.5</span> Source Blocks with Line Numbers</h3>
<div id="outline-container-org0a17871" class="outline-3">
<h3 id="org0a17871"><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="#org0c8965c">3</a> has line numbers as the <code>-n</code> option was used.
The Listing <a href="#org7ddfba0">3</a> has line numbers as the <code>-n</code> option was used.
</p>
<p>
@ -686,7 +696,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="org0c8965c"><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="org7ddfba0"><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>
@ -707,15 +717,15 @@ Numbering can be continued by using <code>+n</code> option as shown below.
</div>
</div>
<div id="outline-container-org8abeb8a" class="outline-2">
<h2 id="org8abeb8a"><span class="section-number-2">5</span> Images</h2>
<div id="outline-container-orge1d7e79" class="outline-2">
<h2 id="orge1d7e79"><span class="section-number-2">5</span> Images</h2>
<div class="outline-text-2" id="text-5">
<p>
Figure <a href="#org0d0b9d8">3</a> shows the results of the Tikz code of listing <a href="#org54a233d">4</a>.
Figure <a href="#orgbd14016">3</a> shows the results of the Tikz code of listing <a href="#org292fb9b">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="#org0d0b9d8">3</a></label><pre class="src src-latex" id="org54a233d"><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="#orgbd14016">3</a></label><pre class="src src-latex" id="org292fb9b"><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>};
@ -738,7 +748,7 @@ Figure <a href="#org0d0b9d8">3</a> shows the results of the Tikz code of listing
</div>
<div id="org0d0b9d8" class="figure">
<div id="orgbd14016" 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>
@ -746,14 +756,14 @@ Figure <a href="#org0d0b9d8">3</a> shows the results of the Tikz code of listing
</div>
</div>
<div id="outline-container-orga383787" class="outline-2">
<h2 id="orga383787"><span class="section-number-2">6</span> Tables</h2>
<div id="outline-container-org0d25db6" class="outline-2">
<h2 id="org0d25db6"><span class="section-number-2">6</span> Tables</h2>
<div class="outline-text-2" id="text-6">
<p>
Table <a href="#org8956047">2</a> shows a table with some mathematics inside.
Table <a href="#org5482c41">2</a> shows a table with some mathematics inside.
</p>
<table id="org8956047" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org5482c41" 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>
@ -809,7 +819,7 @@ Table <a href="#org8956047">2</a> shows a table with some mathematics inside.
</tbody>
</table>
<table id="org4f4f7f2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="orgfee1a82" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 3:</span> Table without Head</caption>
<colgroup>
@ -882,7 +892,7 @@ Table <a href="#org8956047">2</a> shows a table with some mathematics inside.
</tbody>
</table>
<table id="org8cb1ac1" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org897e686" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 4:</span> Table with multiples groups</caption>
<colgroup>
@ -1016,8 +1026,8 @@ Table <a href="#org8956047">2</a> shows a table with some mathematics inside.
</div>
</div>
<div id="outline-container-orgb8a5d11" class="outline-2">
<h2 id="orgb8a5d11"><span class="section-number-2">7</span> Details</h2>
<div id="outline-container-orgf648416" class="outline-2">
<h2 id="orgf648416"><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.
@ -1028,7 +1038,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="org2b91cc9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<table id="org7e279b4" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 5:</span> A Simple table with included math</caption>
<colgroup>
@ -1096,7 +1106,7 @@ It is approximately <b>12,742 km</b>
</p>
</details>
<div class="question" id="orga68b480">
<div class="question" id="orgdb80427">
<p>
What is the approximate diameter of the earth?
</p>
@ -1111,8 +1121,8 @@ It is approximately <b>12,742 km</b>
</div>
</div>
<div id="outline-container-orgf0c9c89" class="outline-2">
<h2 id="orgf0c9c89"><span class="section-number-2">8</span> Videos</h2>
<div id="outline-container-org9ce808b" class="outline-2">
<h2 id="org9ce808b"><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>
@ -1120,12 +1130,6 @@ It is approximately <b>12,742 km</b>
</div>
</div>
<div id="outline-container-org73f9592" class="outline-2">
<h2 id="org73f9592"><span class="section-number-2">9</span> Bibliography</h2>
<div class="outline-text-2" id="text-9">
<p>
</p>
<style>.csl-left-margin{float: left; padding-right: 0em;} .csl-right-inline{margin: 0 0 0 1.7999999999999998em;}</style><h2 class='citeproc-org-bib-h2'>Bibliography</h2>
<div class="csl-bib-body">
@ -1139,14 +1143,12 @@ It is approximately <b>12,742 km</b>
<div class="csl-left-margin">[3]</div><div class="csl-right-inline">C. Dominik, <i>The Org Mode 7 Reference Manual-Organize your life with GNU Emacs</i>. Network Theory Ltd., 2010.</div>
</div>
</div>
</div>
</div>
<div id="footnotes">
<h2 class="footnotes">Footnotes</h2>
<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="#org0d0b9d8">3</a>.
A long foot note. Lorem ipsum dolor sit amet, consectetur adipiscing elit. With a reference to Figure <a href="#orgbd14016">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">
@ -1158,7 +1160,7 @@ An other footnote.
</div></div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-12-01 mar. 17:20</p>
<p class="date">Created: 2020-12-10 jeu. 23:33</p>
</div>
</body>
</html>

View File

@ -15,11 +15,15 @@
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="dist/style.css"/>
#+HTML_HEAD: <script type="text/javascript" src="dist/script.js"></script>
#+HTML_MATHJAX: align: center tagside: right font: TeX
#+LaTeX_CLASS: scrreprt
#+LaTeX_HEADER_EXTRA: \input{preamble.tex}
#+LaTeX_HEADER_EXTRA: \addbibresource{ref.bib}
#+BIBLIOGRAPHY: ref.bib
#+CSL_STYLE: ieee.csl
#+BIND: org-latex-default-table-environment "tabular"
#+BIND: org-latex-tables-booktabs nil
#+PROPERTY: header-args:matlab :session *MATLAB*
#+PROPERTY: header-args:matlab+ :comments org
#+PROPERTY: header-args:matlab+ :results none
@ -48,6 +52,8 @@
** Normal Markup
You can make words *bold*, /italic/, _underlined_, =verbatim= and ~code~, and, if you must, +strike-through+.
Here is some inline code Matlab code: src_matlab[:exports code]{[K,CL,gamma] = mixsyn(G,W1,[],W3);}.
** Links to Footnotes
A link to a footnote[fn:1] and to another footnote[fn:2].
@ -234,6 +240,10 @@ Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean so
=summary= block.
#+end_summary
#+begin_note
=note= block.
#+end_note
#+begin_caution
=caution= block.
#+end_caution
@ -513,9 +523,8 @@ It is approximately *12,742 km*
yt:SzA2YODtgK4
* Bibliography
bibliographystyle:unsrt
bibliography:ref.bib
* Bibliography :ignore:
#+latex: \printbibliography
* Footnotes :ignore:

BIN
index.pdf Normal file

Binary file not shown.

575
index.tex Normal file
View File

@ -0,0 +1,575 @@
% Created 2020-12-10 jeu. 23:33
% Intended LaTeX compiler: pdflatex
\documentclass[a4paper, 10pt, DIV=12, parskip=full]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\usepackage[most]{tcolorbox}
\usepackage{bm}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{array}
\usepackage{siunitx}
\input{preamble.tex}
\addbibresource{ref.bib}
\author{Dehaeze Thomas}
\date{\today}
\title{Test File for the Org Mode Theme\\\medskip
\large Simple set of CSS and JS files}
\hypersetup{
pdfauthor={Dehaeze Thomas},
pdftitle={Test File for the Org Mode Theme},
pdfkeywords={},
pdfsubject={},
pdfcreator={Emacs 27.1 (Org mode 9.5)},
pdflang={English}}
\begin{document}
\maketitle
\tableofcontents
\chapter{Basics}
\label{sec:org750a1c4}
\section{Normal Markup}
\label{sec:orgfd540ce}
You can make words \textbf{bold}, \emph{italic}, \uline{underlined}, \texttt{verbatim} and \texttt{code}, and, if you must, \sout{strike-through}.
Here is some inline code Matlab code: \mintinline{matlab}{[K,CL,gamma] = mixsyn(G,W1,[],W3);}.
\section{Links to Footnotes}
\label{sec:org6dfa464}
A link to a footnote\footnote{A long foot note. Lorem ipsum dolor sit amet, consectetur adipiscing elit. With a reference to Figure \ref{fig:general_control_names}.} and to another footnote\footnote{An other footnote.}.
\section{Lists}
\label{sec:org2b7929b}
\textbf{Unordered List}:
\begin{itemize}
\item Lorem ipsum dolor sit amet, consectetur adipiscing elit.
\item Nam aliquet euismod viverra.
\item Phasellus turpis nisi, faucibus a orci et, faucibus fermentum ligula.
\end{itemize}
\textbf{List with Tasks}:
\begin{itemize}
\item[{$\square$}] Task 1
\item[{$\boxtimes$}] Task 2
\item[{$\boxminus$}] Sub-tasks:
\begin{itemize}
\item[{$\square$}] Sub-task 1
\item[{$\boxtimes$}] Sub-task 2
\end{itemize}
\end{itemize}
\textbf{Ordered List}:
\begin{enumerate}
\item In libero odio, imperdiet eget ex a, vulputate suscipit tellus.
\item Etiam sed leo ex.
\item Integer eu rutrum turpis.
\end{enumerate}
\textbf{Nested Lists}:
\begin{itemize}
\item Nulla facilisi.
\item Donec vulputate risus ut lectus bibendum, vitae fringilla odio tempus.
\begin{enumerate}
\item In libero odio, imperdiet eget ex a, vulputate suscipit tellus.
\item Etiam sed leo ex.
\begin{itemize}
\item Nulla facilisi.
\item Donec vulputate risus ut lectus bibendum, vitae fringilla odio tempus.
\end{itemize}
\item Integer eu rutrum turpis.
\end{enumerate}
\item Ut porta, quam id mattis feugiat, augue mauris bibendum sapien, a pulvinar mi lorem vitae nunc.
\begin{itemize}
\item Integer eu rutrum turpis.
\begin{itemize}
\item Sed pretium mattis nibh, vel lobortis augue semper vel.
\end{itemize}
\end{itemize}
\end{itemize}
\textbf{Definition List}:
\begin{description}
\item[{Lorem ipsum}] dolor sit amet, consectetur adipiscing elit. Mauris laoreet
sollicitudin venenatis. Duis sed consequat dolor.
\item[{Etiam feugiat}] pharetra sapien et semper. Nunc ornare lacus sit amet massa
auctor, vitae aliquam eros interdum. Mauris arcu ante, imperdiet vel purus
ac, bibendum faucibus diam. Ut blandit nec mi at ultricies. Donec eget
mattis nisl. In sed nibh felis. Cras quis convallis orci.
\item[{Sed aliquam}] odio sed faucibus aliquam, arcu augue elementum justo, ut
vulputate ligula sem in augue. Maecenas ante felis, pellentesque auctor
semper non, eleifend quis ante. Fusce enim orci, suscipit ac dapibus et,
fermentum eu tortor. Duis in facilisis ante, quis faucibus dolor. Etiam
maximus lorem quis accumsan vehicula.
\end{description}
\section{Links}
\label{sec:orgd80fca4}
Here is a list of links to:
\begin{itemize}
\item Figure \ref{fig:general_control_names}
\item Table \ref{tab:table_with_equations}
\item Listing \ref{lst:matlab_figure}
\item Specific line of code
\item Equation \eqref{eq:numbered}
\item Section \ref{sec:headlines}
\item Bibliographic Reference \cite{stanisic14_effec}, and \cite{schulte11_activ_docum_with_org_mode,dominik10_org_mode_refer_manual_organ_gnu_emacs,stanisic14_effec}
\end{itemize}
\section{Maths}
\label{sec:org7433c8d}
Here is some inline mathematics: \(z = 2\).
Unumbered equation:
\[ F(x) = \int_0^x f(t) dt \]
Using the \texttt{equation} environment in Eq. \eqref{eq:numbered}.
\begin{equation}
F(s) = \int_0^\infty f(t) e^{-st} dt \label{eq:numbered}
\end{equation}
Using the \texttt{align} environment Equations \eqref{eq:align_1} and \eqref{eq:align_2}.
\begin{align}
\mathcal{F}(a) &= \frac{1}{2\pi i}\oint_\gamma \frac{f(z)}{z - a}\,dz \label{eq:align_1} \\
\int_D (\nabla\cdot \mathcal{F})\,dV &=\int_{\partial D}\mathcal{F}\cdot n\, dS \label{eq:align_2}
\end{align}
\section{Verse, Quote}
\label{sec:orgeeff8d5}
Below is a verse.
\begin{verse}
Great clouds overhead\\
Tiny black birds rise and fall\\
Snow covers Emacs\\
\vspace*{1em}
\hspace*{3em}---AlexSchroeder\\
\end{verse}
Below is a quote.
\begin{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}
\section{Aside}
\label{sec:org5bac25b}
An aside block can be used as shown below.
\begin{aside}
This is a note about the text using the \texttt{aside} environment.
This can be as long as wanted
\end{aside}
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.
\section{Inline Task}
\label{sec:orged6bd1b}
Some text.
\begin{center}
\fbox{
\begin{minipage}[c]{.6\textwidth}
\textbf{\textsf{\textsc{TODO}}} \framebox{\#C} This is an inline task
\rule[.8em]{\textwidth}{2pt}
\noindent\textbf{SCHEDULED:} \textit{<2020-11-26 jeu.>}\\
\end{minipage}
}
\end{center}
Some text.
\chapter{Headlines}
\label{sec:org352af02}
\label{sec:headlines}
\section{Second level Headline with tags\hfill{}\textsc{@home:@work}}
\label{sec:org205b941}
\subsection{Third level Headline}
\label{sec:orgbbbe2dd}
\subsubsection{Fourth level Headline}
\label{sec:orgc4a367d}
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.
\subsection{Third level Headline}
\label{sec:org70d0554}
\subsubsection{Fourth level Headline}
\label{sec:org7ff68c2}
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.
\section{{\bfseries\sffamily TODO} Second level Headline with Schedule}
\label{sec:org18a237f}
\noindent\textbf{SCHEDULED:} \textit{<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.
\section{\framebox{\#B} Second level Headline with a priority}
\label{sec:orgee22187}
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.
\section{{\bfseries\sffamily TODO} \framebox{\#C} Second level Headline with TODO State}
\label{sec:orgef3d990}
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.
\section{{\bfseries\sffamily DONE} \framebox{\#A} Second level Headline with DONE State}
\label{sec:org380820e}
\noindent\textbf{CLOSED:} \textit{[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.
\subsection{{\bfseries\sffamily WAIT} Third level Headline with DONE State}
\label{sec:org11d07f1}
\noindent\textbf{CLOSED:} \textit{[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.
\chapter{Blocks}
\label{sec:org665d3c9}
\begin{seealso}
\texttt{seealso} block.
\end{seealso}
\begin{hint}
\texttt{hint} block.
\end{hint}
\begin{definition}
\texttt{definition} block.
\end{definition}
\begin{important}
\texttt{important} block.
\end{important}
\begin{exampl}
\texttt{exampl} block.
\end{exampl}
\begin{exercice}
\texttt{exercice} block.
\end{exercice}
\begin{question}
\texttt{question} block.
\end{question}
\begin{answer}
\texttt{answer} block.
\end{answer}
\begin{summary}
\texttt{summary} block.
\end{summary}
\begin{note}
\texttt{note} block.
\end{note}
\begin{caution}
\texttt{caution} block.
\end{caution}
\begin{warning}
\texttt{warning} block.
\end{warning}
\chapter{Source Blocks}
\label{sec:org008b97a}
\section{Figures}
\label{sec:org17ae91a}
\begin{minted}[]{matlab}
t = 0:0.01:5; % Time [s]
x = sin(2*pi*t); % Output Voltage [V]
\end{minted}
\begin{minted}[]{matlab}
figure;
plot(t, x);
xlabel('Time [s]'); ylabel('Voltage [V]');
\end{minted}
\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/matlab_fig_example.png}
\caption{\label{fig:matlab_fig_example}Matlab Figure}
\end{figure}
\section{Table Result}
\label{sec:org91f0302}
\begin{minted}[]{matlab}
x = 1:10;
y = x.^2;
\end{minted}
\begin{table}[htbp]
\caption{\label{tab:table_name}Table caption}
\centering
\begin{tabular}{rr}
\(x\) & \(y = x^2\)\\
\hline
1 & 1\\
2 & 4\\
3 & 9\\
4 & 16\\
5 & 25\\
6 & 36\\
7 & 49\\
8 & 64\\
9 & 81\\
10 & 100\\
\end{tabular}
\end{table}
\section{Inline Results}
\label{sec:org92282c6}
Results can be automatically outputed as shown below.
\begin{minted}[]{matlab}
sqrt(2)
\end{minted}
\begin{verbatim}
1.4142
\end{verbatim}
\begin{minted}[]{matlab}
y
\end{minted}
\begin{verbatim}
y =
1 4 9 16 25 36 49 64 81 100
\end{verbatim}
\section{Caption and Reference}
\label{sec:orgbb8c9d6}
Captions can be added to code blocks.
Moreover, we can link to specific bode blocks (Listing \ref{lst:matlab_figure} or \ref{lst:matlab_svd}).
\begin{listing}[htbp]
\begin{minted}[]{matlab}
figure;
[X,Y,Z] = peaks;
contour(X,Y,Z,20)
\end{minted}
\caption{\label{lst:matlab_figure}Code to produce a nice contour plot}
\end{listing}
\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/matlab_logo.png}
\caption{\label{fig:matlab_logo}Obtained Contour Plot}
\end{figure}
\begin{listing}[htbp]
\begin{minted}[]{matlab}
A = [1 2; 3 4; 5 6; 7 8]
[U,S,V] = svd(A)
\end{minted}
\caption{\label{lst:matlab_svd}Code to compute the Singular Value Decomposition}
\end{listing}
\begin{verbatim}
A = [1 2; 3 4; 5 6; 7 8]
A =
1 2
3 4
5 6
7 8
[U,S,V] = svd(A)
U =
-0.152483233310201 -0.82264747222566 -0.394501022283829 -0.379959133877596
-0.349918371807964 -0.42137528768458 0.242796545704357 0.800655879510063
-0.547353510305727 -0.0201031031435029 0.697909975442776 -0.461434357387336
-0.74478864880349 0.381169081397575 -0.546205498863303 0.0407376117548695
S =
14.2690954992615 0
0 0.626828232417541
0 0
0 0
V =
-0.641423027995072 0.767187395072177
-0.767187395072177 -0.641423027995072
\end{verbatim}
\section{Source Blocks with Line Numbers}
\label{sec:orga0ef907}
The Listing \ref{lst:matlab_line_numbers} has line numbers as the \texttt{-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 4.
\begin{listing}[htbp]
\begin{minted}[linenos,firstnumber=1]{matlab}
figure;
plot(t, x)
xlabel('Time [s]');
ylabel('Output [V]');
\end{minted}
\caption{\label{lst:matlab_line_numbers}Specify Labels}
\end{listing}
Numbering can be continued by using \texttt{+n} option as shown below.
\begin{minted}[linenos,firstnumber=5]{matlab}
figure;
plot(t, u)
xlabel('Time [s]');
ylabel('Input [V]');
\end{minted}
\chapter{Images}
\label{sec:org3a775d4}
Figure \ref{fig:general_control_names} shows the results of the Tikz code of listing \ref{lst:tikz_test}.
\begin{listing}[htbp]
\begin{minted}[]{latex}
\begin{tikzpicture}
% Blocs
\node[block={2.0cm}{2.0cm}] (P) {$P$};
\node[block={1.5cm}{1.5cm}, below=0.7 of P] (K) {$K$};
% Input and outputs coordinates
\coordinate[] (inputw) at ($(P.south west)!0.75!(P.north west)$);
\coordinate[] (inputu) at ($(P.south west)!0.25!(P.north west)$);
\coordinate[] (outputz) at ($(P.south east)!0.75!(P.north east)$);
\coordinate[] (outputv) at ($(P.south east)!0.25!(P.north east)$);
% Connections and labels
\draw[<-] (inputw) node[above left, align=right]{(weighted)\\exogenous inputs\\$w$} -- ++(-1.5, 0);
\draw[<-] (inputu) -- ++(-0.8, 0) |- node[left, near start, align=right]{control signals\\$u$} (K.west);
\draw[->] (outputz) node[above right, align=left]{(weighted)\\exogenous outputs\\$z$} -- ++(1.5, 0);
\draw[->] (outputv) -- ++(0.8, 0) |- node[right, near start, align=left]{sensed output\\$v$} (K.east);
\end{tikzpicture}
\end{minted}
\caption{\label{lst:tikz_test}Tikz code that is used to generate Figure \ref{fig:general_control_names}}
\end{listing}
\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/general_control_names.png}
\caption{\label{fig:general_control_names}General Control Configuration}
\end{figure}
\chapter{Tables}
\label{sec:org8d81fa9}
Table \ref{tab:table_with_equations} shows a table with some mathematics inside.
\begin{table}[htbp]
\caption{\label{tab:table_with_equations}A Simple table with included math}
\centering
\begin{tabular}{rrrrrr}
\(N\) & \(N^2\) & \(N^3\) & \(N^4\) & \(\sqrt n\) & \(\sqrt[4]N\)\\
\hline
1 & 1 & 1 & 1 & 1 & 1\\
2 & 4 & 8 & 16 & 1.4142136 & 1.1892071\\
3 & 9 & 27 & 81 & 1.7320508 & 1.3160740\\
\end{tabular}
\end{table}
\begin{table}[htbp]
\caption{\label{tab:table_without_head}Table without Head}
\centering
\begin{tabular}{lrrrrr}
& \textbf{1} & \textbf{2} & \textbf{3} & \textbf{4} & \textbf{5}\\
\textbf{1} & 1 & 2 & 3 & 4 & 5\\
\textbf{2} & 2 & 4 & 6 & 8 & 10\\
\textbf{3} & 3 & 6 & 9 & 12 & 15\\
\textbf{4} & 4 & 8 & 12 & 16 & 20\\
\textbf{5} & 5 & 10 & 15 & 20 & 25\\
\end{tabular}
\end{table}
\begin{table}[htbp]
\caption{\label{tab:table_multiple_heads}Table with multiples groups}
\centering
\begin{tabular}{lccc}
& \textbf{Classical Control} & \textbf{Modern Control} & \textbf{Robust Control}\\
\hline
\textbf{Date} & 1930- & 1960- & 1980-\\
\hline
\textbf{Tools} & Transfer Functions & State Space formulation & Disk margin\\
& Nyquist Plots & Riccati Equations & Systems and Signals Norms (\(\mathcal{H}_\infty\), \(\mathcal{H}_2\) Norms)\\
& Bode Plots & & Closed Loop Transfer Functions\\
& Phase and Gain margins & & Weighting Functions\\
\hline
\textbf{Control Architectures} & Proportional, Integral, Derivative & Full State Feedback & General Control Configuration\\
& Leads, Lags & LQR, LQG & \\
& & Kalman Filters & \\
\hline
\textbf{Advantages} & Study Stability & Automatic Synthesis & Automatic Synthesis\\
& Simple & MIMO & MIMO\\
& Natural & Optimization Problem & Optimization Problem\\
& & & Guaranteed Robustness\\
& & & Easy specification of performances\\
\hline
\textbf{Disadvantages} & Manual Method & No Guaranteed Robustness & Required knowledge of specific tools\\
& Only SISO & Difficult Rejection of Perturbations & Need a reasonably good model of the system\\
\end{tabular}
\end{table}
\chapter{Details}
\label{sec:org3ed07b1}
Below is some content hidden until you click the bar.
Almost anything can be put here for instance this table below.
\begin{table}[htbp]
\caption{\label{tab:table_with_equations_bis}A Simple table with included math}
\centering
\begin{tabular}{rrrrrr}
\(N\) & \(N^2\) & \(N^3\) & \(N^4\) & \(\sqrt n\) & \(\sqrt[4]N\)\\
\hline
1 & 1 & 1 & 1 & 1 & 1\\
2 & 4 & 8 & 16 & 1.4142136 & 1.1892071\\
3 & 9 & 27 & 81 & 1.7320508 & 1.3160740\\
\end{tabular}
\end{table}
This \texttt{details} blocks can even be put in other blocks are shown below.
It is approximately \textbf{12,742 km}
\begin{question}
What is the approximate diameter of the earth?
It is approximately \textbf{12,742 km}
\end{question}
\chapter{Videos}
\label{sec:orge3827d0}
\href{https://www.youtube.com/embed/SzA2YODtgK4}{video}
\printbibliography
\end{document}

160
latex.org Normal file
View File

@ -0,0 +1,160 @@
#+TITLE: LaTeX preamble for Org-Theme
:DRAWER:
#+STARTUP: overview
#+OPTIONS: num:t toc:t |:t p:t f:t todo:t tasks:t pri:t tags:t <:t *:t
#+LANGUAGE: en
#+EMAIL: dehaeze.thomas@gmail.com
#+AUTHOR: Dehaeze Thomas
#+HTML_LINK_HOME: ../index.html
#+HTML_LINK_UP: ../index.html
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="dist/style.css"/>
#+HTML_HEAD: <script type="text/javascript" src="dist/script.js"></script>
#+LaTeX_CLASS: scrreprt
#+LaTeX_CLASS_OPTIONS: [a4paper, 10pt]
#+LaTeX_HEADER: \input{preamble.tex}
#+PROPERTY: header-args:latex :tangle preamble.tex
:END:
#+begin_src latex
\usepackage{float}
#+end_src
#+begin_src latex
\usepackage{caption,tabularx,booktabs}
#+end_src
#+begin_src latex
\usepackage{biblatex}
#+end_src
#+begin_src latex
\usepackage{fontawesome}
#+end_src
#+begin_src latex
\usepackage{caption}
\usepackage{subcaption}
\captionsetup[figure]{labelfont=bf}
\captionsetup[subfigure]{labelfont=bf}
\captionsetup[listing]{labelfont=bf}
\captionsetup[table]{labelfont=bf}
#+end_src
#+begin_src latex
\usepackage{xcolor}
\definecolor{my-blue}{HTML}{6b7adb}
\definecolor{my-pale-blue}{HTML}{e6e9f9}
\definecolor{my-red}{HTML}{db6b6b}
\definecolor{my-pale-red}{HTML}{f9e6e6}
\definecolor{my-green}{HTML}{6bdbb6}
\definecolor{my-pale-green}{HTML}{e6f9f3}
\definecolor{my-yellow}{HTML}{dbd26b}
\definecolor{my-pale-yellow}{HTML}{f9f7e6}
\definecolor{my-orange}{HTML}{dba76b}
\definecolor{my-pale-orange}{HTML}{f9f0e6}
\definecolor{my-grey}{HTML}{a3a3a3}
\definecolor{my-pale-grey}{HTML}{f0f0f0}
\definecolor{my-turq}{HTML}{6bc7db}
\definecolor{my-pale-turq}{HTML}{e6f6f9}
#+end_src
#+begin_src latex
\usepackage{inconsolata}
#+end_src
#+begin_src latex
\usepackage[newfloat=true, chapter]{minted}
\usemintedstyle{autumn}
\setminted{frame=lines,breaklines=true,tabsize=4,fontsize=\scriptsize,autogobble=true,labelposition=topline,bgcolor=my-pale-grey}
\setminted[matlab]{label=Matlab}
\setminted[latex]{label=LaTeX}
\setminted[bash]{label=Bash}
\setminted[python]{label=Python}
\setminted[text]{label=Results}
\setmintedinline{fontsize=\normalsize,bgcolor=my-pale-grey}
#+end_src
#+begin_src latex
\usepackage[most]{tcolorbox}
\tcbuselibrary{minted}
\newtcolorbox{seealso}{ enhanced,breakable,colback=my-pale-grey,colframe=my-grey,fonttitle=\bfseries,title=See Also}
\newtcolorbox{hint}{ enhanced,breakable,colback=my-pale-grey,colframe=my-grey,fonttitle=\bfseries,title=Hint}
\newtcolorbox{definition}{enhanced,breakable,colback=my-pale-red, colframe=my-red, fonttitle=\bfseries,title=Definition}
\newtcolorbox{important}{ enhanced,breakable,colback=my-pale-red, colframe=my-red, fonttitle=\bfseries,title=Important}
\newtcolorbox{exampl}[1][]{ enhanced,breakable,colback=my-pale-green,colframe=my-green,fonttitle=\bfseries,title=Example,#1}
\newtcolorbox{exercice}{ enhanced,breakable,colback=my-pale-yellow,colframe=my-yellow,fonttitle=\bfseries,title=Exercice}
\newtcolorbox{question}{ enhanced,breakable,colback=my-pale-yellow,colframe=my-yellow,fonttitle=\bfseries,title=Question}
\newtcolorbox{answer}{ enhanced,breakable,colback=my-pale-turq,colframe=my-turq,fonttitle=\bfseries,title=Answer}
\newtcolorbox{summary}{ enhanced,breakable,colback=my-pale-blue,colframe=my-blue,fonttitle=\bfseries,title=Summary}
\newtcolorbox{note}{ enhanced,breakable,colback=my-pale-blue,colframe=my-blue,fonttitle=\bfseries,title=Note}
\newtcolorbox{caution}{ enhanced,breakable,colback=my-pale-orange,colframe=my-orange,fonttitle=\bfseries,title=Caution}
\newtcolorbox{warning}{ enhanced,breakable,colback=my-pale-orange,colframe=my-orange,fonttitle=\bfseries,title=Warning}
\newtcolorbox{my-quote}[1]{%
colback=my-pale-grey,
grow to right by=-10mm,
grow to left by=-10mm,
boxrule=0pt,
boxsep=0pt,
breakable,
enhanced jigsaw,
borderline west={4pt}{0pt}{my-grey}}
\renewenvironment{quote}{\begin{my-quote}}{\end{my-quote}}
\newtcolorbox{my-verse}[1]{%
colback=my-pale-grey,
grow to right by=-10mm,
grow to left by=-10mm,
boxrule=0pt,
boxsep=0pt,
breakable,
enhanced jigsaw,
borderline west={4pt}{0pt}{my-grey}}
\renewenvironment{verse}{\begin{my-verse}}{\end{my-verse}}
\usepackage{environ}% http://ctan.org/pkg/environ
\NewEnviron{aside}{%
\marginpar{\BODY}
}
\renewenvironment{verbatim}{\VerbatimEnvironment\begin{minted}[]{text}}{\end{minted}}
#+end_src
#+begin_src latex
\usepackage{soul}
\sethlcolor{my-pale-grey}
\let\OldTexttt\texttt
\renewcommand{\texttt}[1]{{\ttfamily\hl{\mbox{\,#1\,}}}}
#+end_src
#+begin_src latex
\makeatletter
\preto\Gin@extensions{png,}
\DeclareGraphicsRule{.png}{pdf}{.pdf}{\noexpand\Gin@base.pdf}
\makeatother
#+end_src
#+begin_src latex
\usepackage{hyperref}
\hypersetup{
colorlinks = true,
allcolors = my-blue
}
\usepackage{hypcap}
#+end_src

113
preamble.tex Normal file
View File

@ -0,0 +1,113 @@
\usepackage{float}
\usepackage{caption,tabularx,booktabs}
\usepackage{biblatex}
\usepackage{fontawesome}
\usepackage{caption}
\usepackage{subcaption}
\captionsetup[figure]{labelfont=bf}
\captionsetup[subfigure]{labelfont=bf}
\captionsetup[listing]{labelfont=bf}
\captionsetup[table]{labelfont=bf}
\usepackage{xcolor}
\definecolor{my-blue}{HTML}{6b7adb}
\definecolor{my-pale-blue}{HTML}{e6e9f9}
\definecolor{my-red}{HTML}{db6b6b}
\definecolor{my-pale-red}{HTML}{f9e6e6}
\definecolor{my-green}{HTML}{6bdbb6}
\definecolor{my-pale-green}{HTML}{e6f9f3}
\definecolor{my-yellow}{HTML}{dbd26b}
\definecolor{my-pale-yellow}{HTML}{f9f7e6}
\definecolor{my-orange}{HTML}{dba76b}
\definecolor{my-pale-orange}{HTML}{f9f0e6}
\definecolor{my-grey}{HTML}{a3a3a3}
\definecolor{my-pale-grey}{HTML}{f0f0f0}
\definecolor{my-turq}{HTML}{6bc7db}
\definecolor{my-pale-turq}{HTML}{e6f6f9}
\usepackage{inconsolata}
\usepackage[newfloat=true, chapter]{minted}
\usemintedstyle{autumn}
\setminted{frame=lines,breaklines=true,tabsize=4,fontsize=\scriptsize,autogobble=true,labelposition=topline,bgcolor=my-pale-grey}
\setminted[matlab]{label=Matlab}
\setminted[latex]{label=LaTeX}
\setminted[bash]{label=Bash}
\setminted[python]{label=Python}
\setminted[text]{label=Results}
\setmintedinline{fontsize=\normalsize,bgcolor=my-pale-grey}
\usepackage[most]{tcolorbox}
\tcbuselibrary{minted}
\newtcolorbox{seealso}{ enhanced,breakable,colback=my-pale-grey,colframe=my-grey,fonttitle=\bfseries,title=See Also}
\newtcolorbox{hint}{ enhanced,breakable,colback=my-pale-grey,colframe=my-grey,fonttitle=\bfseries,title=Hint}
\newtcolorbox{definition}{enhanced,breakable,colback=my-pale-red, colframe=my-red, fonttitle=\bfseries,title=Definition}
\newtcolorbox{important}{ enhanced,breakable,colback=my-pale-red, colframe=my-red, fonttitle=\bfseries,title=Important}
\newtcolorbox{exampl}[1][]{ enhanced,breakable,colback=my-pale-green,colframe=my-green,fonttitle=\bfseries,title=Example,#1}
\newtcolorbox{exercice}{ enhanced,breakable,colback=my-pale-yellow,colframe=my-yellow,fonttitle=\bfseries,title=Exercice}
\newtcolorbox{question}{ enhanced,breakable,colback=my-pale-yellow,colframe=my-yellow,fonttitle=\bfseries,title=Question}
\newtcolorbox{answer}{ enhanced,breakable,colback=my-pale-turq,colframe=my-turq,fonttitle=\bfseries,title=Answer}
\newtcolorbox{summary}{ enhanced,breakable,colback=my-pale-blue,colframe=my-blue,fonttitle=\bfseries,title=Summary}
\newtcolorbox{note}{ enhanced,breakable,colback=my-pale-blue,colframe=my-blue,fonttitle=\bfseries,title=Note}
\newtcolorbox{caution}{ enhanced,breakable,colback=my-pale-orange,colframe=my-orange,fonttitle=\bfseries,title=Caution}
\newtcolorbox{warning}{ enhanced,breakable,colback=my-pale-orange,colframe=my-orange,fonttitle=\bfseries,title=Warning}
\newtcolorbox{my-quote}[1]{%
colback=my-pale-grey,
grow to right by=-10mm,
grow to left by=-10mm,
boxrule=0pt,
boxsep=0pt,
breakable,
enhanced jigsaw,
borderline west={4pt}{0pt}{my-grey}}
\renewenvironment{quote}{\begin{my-quote}}{\end{my-quote}}
\newtcolorbox{my-verse}[1]{%
colback=my-pale-grey,
grow to right by=-10mm,
grow to left by=-10mm,
boxrule=0pt,
boxsep=0pt,
breakable,
enhanced jigsaw,
borderline west={4pt}{0pt}{my-grey}}
\renewenvironment{verse}{\begin{my-verse}}{\end{my-verse}}
\usepackage{environ}% http://ctan.org/pkg/environ
\NewEnviron{aside}{%
\marginpar{\BODY}
}
\renewenvironment{verbatim}{\VerbatimEnvironment\begin{minted}[]{text}}{\end{minted}}
\usepackage{soul}
\sethlcolor{my-pale-grey}
\let\OldTexttt\texttt
\renewcommand{\texttt}[1]{{\ttfamily\hl{\mbox{\,#1\,}}}}
\makeatletter
\preto\Gin@extensions{png,}
\DeclareGraphicsRule{.png}{pdf}{.pdf}{\noexpand\Gin@base.pdf}
\makeatother
\usepackage{hyperref}
\hypersetup{
colorlinks = true,
allcolors = my-blue
}
\usepackage{hypcap}