Wize_Presentation.html 12.1 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Wize Presentation</title>
<!-- metadata -->
<meta name="generator" content="Zim 0.72.0" />
<meta charset="utf-8"/>
<meta name="version" content="S5 1.1" />
<meta name="presdate" content="" />
<meta name="author" content="" />
<meta name="company" content="" />
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<meta name="controlVis" content="hidden" />
<!-- style sheet links -->
<link rel="shortcut icon" 
        href="./Wize_Presentation_files/_resources/common-spec/favicon.ico" >
<link rel="stylesheet"
        href="./Wize_Presentation_files/_resources/common-spec/zim-variables.css" >
<link rel="stylesheet"
        href="./Wize_Presentation_files/_resources/common-spec/zim-pres-variables.css" >

        
<link rel="stylesheet" href="./Wize_Presentation_files/_resources/ui/default/slides.css" type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="./Wize_Presentation_files/_resources/ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="./Wize_Presentation_files/_resources/ui/default/print.css" type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="./Wize_Presentation_files/_resources/ui/default/opera.css" type="text/css" media="projection" id="operaFix" />
    
    <link rel="stylesheet"
        href="./Wize_Presentation_files/_resources/common/zim-style.css" >
    <link rel="stylesheet"
        href="./Wize_Presentation_files/_resources/common/zim-table-style.css" >
    <link rel="stylesheet"
        href="./Wize_Presentation_files/_resources/common/zim-special.css" >
    <link rel="stylesheet"
        href="./Wize_Presentation_files/_resources/common/zim-hljs.css" >
    <link rel="stylesheet"
        href="./Wize_Presentation_files/_resources/common-spec/zim-pres-override.css" >

    <link rel="stylesheet"
        href="./Wize_Presentation_files/_resources/common/hljs/styles/sunburst.css" >
      
    <!-- hljs -->
    <script src="./Wize_Presentation_files/_resources/common/hljs/highlight.pack.js"></script>
        
    <script src="./Wize_Presentation_files/_resources/common/wizefunc.js"></script>    
        
<!-- S5 JS -->
<script src="./Wize_Presentation_files/_resources/ui/default/slides.js" type="text/javascript"></script>
 <style type='text/css'>
    *           { font-family: sans-serif }
    img {            
            display: block;
            margin-left: auto;
            margin-right: auto;
            height: var(--main-pres-img-height);
        }
    tt {
            font-size: inherit;
        }
        
    td, th {
        font-size: var(--main-pres-table-font-size);
    }
    
    code {
        font-size: var(--main-pres-code-font-size);
        }
        
    body {
        background: var(--main-pres-background-color);
        background-image: url('./Wize_Presentation_files/_resources/common-spec/fond-pres.jpg');
        background-repeat: var(--main-pres-background-repeat);
        background-size: var(--main-pres-background-size);
        }        
               
</style>
</head>
<body>

<div class="layout">
<div id="controls"><!-- DO NOT EDIT --></div>
<div id="currentSlide"><!-- DO NOT EDIT --></div>
<div id="header">
<div id="logoDivId" style="position: absolute; right: 1em;">
<img id="logoImgId" src='./Wize_Presentation_files/_resources/common-spec/logo-pres.png' alt=' '>
</div>
</div>
<div id="footer">
<h2 id="footinfo1"></h2>
<h2 id="footinfo2"></h2>
</div>

</div>

<div class="presentation">

<div class="slide">
<h1>Wize Presentation</h1>

<p>
Created Wednesday 16 October 2019
</p>

<p>
Quick presentation using <b>Wize_S5</b> export.
</p>

<p>
<ul>
<li>left-click  or right arrow โ†’ next slide</li>
<li>left arrow โ†’ previous slide</li>
<li>mouse over bottom right โ†’ shows navigation</li>
</ul>
</p>

<h4>#Wize from H4</h4>

<h4>#William Daniau from H4</h4>


</div>
<div class="slide">
<h1>Slides</h1>

<p>
Every <b>H1</b> header will start a new slide.
</p>

<p>
This export uses special <b>H4</b> and <b>H5</b> headers for in document configuration, these headers begins with the "#" character and are never directly displayed. We will refer these as <b>#H4</b> and <b>#H5</b> in the following
</p>

<p>
The content of the first two  <b>#H4</b> on the page, will be placed in the footer. The <b>#H5</b> headers will be interpreted as layout informations as demonstrated later.
</p>

<h4>Standard H4</h4>

<h5>Standard H5</h5>

<p>
will be of course normally displayed!
</p>


</div>
<div class="slide">
<h1>Features</h1>

<p>
The presentation will keep most of the current Wize theme, however the behaviour will be somewhat different.
</p>

<p>
<ul>
<li>Resizing the browser will try to keep almost everything with same proportions.</li>
<li>no scrolling is possible</li>
</ul>
</p>


</div>
<div class="slide">
<h1>Customization</h1>

<p>
All customization is done into the common-theme directory.
</p>

<p>
The specific <b>Wize_S5</b> customization is done with four files :<br>
<ul>
<li><tt>zim-pres-variables.css</tt></li>
<li><tt>zim-pres-override.css</tt></li>
<li>Optional  file <tt>logo-pres.png </tt>will be used as the logo.</li>
<li>Optional file <tt>fond-pres.jpg</tt> will be used as the background.</li>
</ul>
</p>


</div>
<div class="slide">
<h1>Tables</h1>

<p>
Here's a table example :
</p>
<table>
<thead><tr>
  <th align="left">First Name</th>
  <th align="left">Name</th>
  <th align="left">email</th>
  <th align="left">Favorite color</th>
</tr></thead>
<tr>
  <td align="left">Nathalie</td>
  <td align="left">Charpentier</td>
  <td align="left"><a href="mailto:nathalie.charpentier@lasbas.com" title="nathalie.charpentier@lasbas.com" class="mailto">nathalie.charpentier@lasbas.com</a></td>
  <td align="left">Green</td>
</tr>
<tr>
  <td align="left">Marcel</td>
  <td align="left">Dupont</td>
  <td align="left"><a href="mailto:marcel.dupont@nothere.com" title="marcel.dupont@nothere.com" class="mailto">marcel.dupont@nothere.com</a></td>
  <td align="left">Blue</td>
</tr>
<tr>
  <td align="left">Joe</td>
  <td align="left">Smith</td>
  <td align="left"><a href="mailto:joe.smith@here.com" title="joe.smith@here.com" class="mailto">joe.smith@here.com</a></td>
  <td align="left">Orange</td>
</tr>
<tr>
  <td align="left">Electra</td>
  <td align="left">Cigales</td>
  <td align="left"><a href="mailto:electra.cigales@nowhere.com" title="electra.cigales@nowhere.com" class="mailto">electra.cigales@nowhere.com</a></td>
  <td align="left">Red</td>
</tr>
</table>

<p>
It uses the current theme colors.<br>
The relative font-size used in tables can be defined in <tt>zim-pres-variables.css</tt> file.
</p>


</div>
<div class="slide">
<h1>Pictures</h1>

<p>
By default, pictures will be centered and resized to an height of approximately 8 characters. This value can be modified into <tt>zim-pres-variables.css</tt>
</p>

<p>
<img src="./Wize_Presentation_files/tournesol.jpeg">
</p>


</div>
<div class="slide">
<h1>Code</h1>

<p>
Code will be syntax highlighted but the portion of code that can be actually displayed is limited.
</p>
<div class="zim-object">
<pre><code class="cpp">#include &lt;iostream&gt;

int main(int argc, char *argv[]) {
  /* An annoying "Hello World" example */
  for (auto i = 0; i &lt; 0xFFFF; i++)
    cout &lt;&lt; "Hello, World!" &lt;&lt; endl;
  char c = '\n';
  unordered_map &lt;string, vector&lt;string&gt; &gt; m;
  m["key"] = "\\\\"; // this is an error
  
  return -2e3 + 12l;
}
</code></pre>
</div>

<p>
The relative size of the used font for code can be defined in <tt>zim-pres-variables.css</tt> file.
</p>


</div>
<div class="slide">
<h1>In doc customization 1</h1>

<p>
Having pictures, tables, lists and code all displayed centered the same way can be boring in a presentation, this is why there's the ability to somewhat customize these by using  <b>#H5</b>.
</p>

<p>
For example :
</p>

<h5>#left</h5>

<h5>#height5em</h5>

<p>
<img src="./Wize_Presentation_files/tournesol.jpeg">
</p>

<p>
Adding two <b>#H5</b> with "<b>#left</b>" and "<b>#height5em</b>" after the text "For example :" just before the image, makes it floating left, which means that text will flow around it. And we also specified a height of 5 characters. 
</p>


</div>
<div class="slide">
<h1>In doc customization 2</h1>

<p>
This is a screnshot of how the previous appeared in <b>zim</b>
</p>

<h5>#left</h5>

<h5>#height7em</h5>

<p>
<img src="./Wize_Presentation_files/in_doc_h5_custom_v3.png"><br>
Every  <b>#H5</b> header must contain only one instruction.
</p>


</div>
<div class="slide">
<h1>In doc customization 3</h1>

<h2>Available configuration tags</h2>

<p>
The following configuration tags are available :
</p>

<h5>#left</h5>

<h5>#width40vw</h5>

<p>
<ul>
<li>#left</li>
<li>#right</li>
<li>#widthXXUU</li>
<li>#heightXXUU</li>
<li>#fontsizeXX</li>
</ul>
</p>

<p>
These applied on <br>
<ul>
<li>images</li>
<li>lists</li>
<li>tables</li>
<li>code</li>
</ul>
</p>


</div>
<div class="slide">
<h1>In doc customization 4</h1>

<h2>#left and #right</h2>

<p>
These  will respectively make the following object float left or right
</p>

<h2>#fontsizeXX</h2>

<p>
This tag will only be usefull with other objects than images, it will apply a XX% factor on the font-size.
</p>


</div>
<div class="slide">
<h1>In doc customization 5</h1>

<p>
These tags use a unit. This unit better be a relative one such as em (character), vh (viewport height), vw (viewport width)
</p>

<h2>#heightXXUU</h2>

<p>
This tag will force the height of an object to value XX within unit UU. This tag is mainly intended to be used with images. 
</p>

<h2>#widthXXUU</h2>

<p>
This tag will force the width of an object to value XX within unit UU. It also force height to auto.
</p>


</div>
<div class="slide">
<h1>In doc customization 6</h1>

<h2>Example 1</h2>

<h5>#width50vw</h5>

<h5>#right</h5>

<h5>#fontsize90</h5>

<table>
<thead><tr>
  <th align="left">First Name</th>
  <th align="left">Name</th>
  <th align="left">email</th>
  <th align="left">Favorite color</th>
</tr></thead>
<tr>
  <td align="left">Nathalie</td>
  <td align="left">Charpentier</td>
  <td align="left"><a href="mailto:nathalie.charpentier@lasbas.com" title="nathalie.charpentier@lasbas.com" class="mailto">nathalie.charpentier@lasbas.com</a></td>
  <td align="left">Green</td>
</tr>
<tr>
  <td align="left">Marcel</td>
  <td align="left">Dupont</td>
  <td align="left"><a href="mailto:marcel.dupont@nothere.com" title="marcel.dupont@nothere.com" class="mailto">marcel.dupont@nothere.com</a></td>
  <td align="left">Blue</td>
</tr>
<tr>
  <td align="left">Joe</td>
  <td align="left">Smith</td>
  <td align="left"><a href="mailto:joe.smith@here.com" title="joe.smith@here.com" class="mailto">joe.smith@here.com</a></td>
  <td align="left">Orange</td>
</tr>
<tr>
  <td align="left">Electra</td>
  <td align="left">Cigales</td>
  <td align="left"><a href="mailto:electra.cigales@nowhere.com" title="electra.cigales@nowhere.com" class="mailto">electra.cigales@nowhere.com</a></td>
  <td align="left">Red</td>
</tr>
</table>

<p>
Here we used <b>#width50vw</b>, <b>#right</b> and <b>#fontsize90</b>  before this table, which means, that we want it to float on the right and to have its width equal be 50% of the viewport width (even if it seems to be more due to margins). We also apply a 90% sizing on the font.
</p>


</div>
<div class="slide">
<h1>In doc customization 7</h1>

<h2>Example 2</h2>

<h5>#width70vw</h5>

<h5>#fontsize80</h5>

<div class="zim-object">
<pre><code class="cpp">#include &lt;iostream&gt;

int main(int argc, char *argv[]) {
  /* An annoying "Hello World" example */
  for (auto i = 0; i &lt; 0xFFFF; i++)
    cout &lt;&lt; "Hello, World!" &lt;&lt; endl;
  char c = '\n';
  unordered_map &lt;string, vector&lt;string&gt; &gt; m;
  m["key"] = "\\\\"; // this is an error
  
  return -2e3 + 12l;
}
</code></pre>
</div>

<p>
Here we  used <b>#width70vw</b>  and <b>#fontsize80</b> before this block code, sizing it to 70% of viewport width.
</p>


</div>

</div>
<script src="./Wize_Presentation_files/_resources/common/go-hljs.js"></script>
<script>
tagToInfo(true);
tagToStyle();
</script>

</body>
</html>