Individual experiences with
chlorine dioxide solution
(CDS)

peacecop kalmer:

Quarto

  • does not link between files,
  • every presentation is separate,
  • looks so much better than bookdown-presentations.

What version of Quarto do I have[1]?

quarto check

Setup

  1. For every presentation a subfolder inside the subfolder qmd.

  2. Link to the presentation in js.js:

  let nameOfPresentation = "<name-of-presentation>";
  createLink(div, "presentation-" + nameOfPresentation, nameOfPresentation + ".html", "<The title of the presentation>");

Preparing for remote controlling

  1. Cloning multiplex[2].

  2. In the multiplex’s folder:

    npm install reveal-multiplex
    
  3. Creating the service:

    sudo emacs /etc/systemd/system/multiplex.service
    
  4. Starting the server:

    sudo systemctl start multiplex.service
    
  5. Directing traffic to port 1948 into the server machine.

Remote controlling

  1. Configuring:

    format:
      revealjs:
    multiplex:
      url: 'http://ons.ee:1948/'
    
  2. Opening the main presentation HyperText Markup Language file for the audience.

  3. Opening the file with the ending “-speaker.html” for remote controlling.

Metadata: author

    author:
      - name: <the name of the first author>
      - name: '<the name of the second author>'
    <further names if necessary>

Metadata: title

title: |
    | <first line of the title>
    | <second line of the title>

Metadata: output file

    output-file: ../../_book/<the-name-of-the-output-file>.html

Metadata: format

    format:
      revealjs:
        incremental: true
        self-contained: true

incremental: true displays list items one by one[3]

self-contained: false results with missing files or undated content

Table

| Product | Price |
|---------|-----:|
| SET: NaClO2 Mouth Rinse and HCl Hair Rinse      | 25.00   |
| DMSO (DIMETHYLSULFOXIDE)     | 24.00  |

: The reagents for making CDS with their prices were bought on 2021/05/04.
The reagents for making CDS with their prices were bought on 2021/05/04.
Product Price
SET: NaClO2 Mouth Rinse and HCl Hair Rinse 25.00
DMSO (DIMETHYLSULFOXIDE) 24.00

Figures

With a caption:

![Pillikeel ja lainepikkus.](vibstr1.gif)

Pillikeel ja lainepikkus.

Without a caption:

![](vibstr1.gif)

Managing external references

A separate BIB-file in the subfolder of the presentation with records like this:

@misc{silent,
  title = {Silent Teacher},
  url = {https://silentteacher.toxicode.fr/},
  urldate = {2022-09-29},
  organization = {silentteacher.toxicode.fr}
}

In the metadata:

    bibliography: <the-name-of-the-presentation>.bib

A reference:

@quarto

[3]

[@quarto]

[3]

[@quarto(p. 41)]

[3(p. 41)]

List of references at the end

[<The name of the main site>](/)

## External references

```{=tex}
\hyphenpenalty=10000
\fontspec{Symbola}

```

List

-   no instructions:

    - no formulas,
  
    - no theorems,

-   no explanations
  • no instructions:

    • no formulas,

    • no theorems,

  • no explanations

Quantities

  • Comma without braces causes a space is not inside braces a space would be added[4, lk 146,5] (1).

    1. An example of incorrect punctuation:

      $$30,0^{\circ} \ne 30^{\circ}$$
      

      \[30,0^{\circ} \ne 30^{\circ}\]

  • Comma with braces causes no space (2).

    1. An example of correct punctuation:

      $$30{,}0^{\circ} \ne 30^{\circ}$$
      

      \[30{,}0^{\circ} \ne 30^{\circ}\]

Columns

Column layout (3)[6].

  1. An example of column layout:
:::: {layout="[ 60, 40 ]"}

::: {#columns-3}
first column

:::

::: {#columns-4}
second column

:::

::::

first column

second column

Translations[3]

  • for built-in strings

  • file <2-letter language code>.yml

  • as metadata: language: <file name>

Non-breaking hyphen off

Non-breaking hyphen (4)[7].

  1. An example of a breaking hyphen.
``{r label="fig-f-orbitals-example-hyphen-off", eval=FALSE, fig.cap="Nende olemasolu on oluline d-ploki elementide omaduste mõistmiseks. Tumedam värv tähistab positiivset[@atkins_2010_chemical(lk 30)]."}
include_external_graphics("f-orbitaalid.svg")

``
Figure 1: Nende olemasolu on oluline d-ploki elementide omaduste mõistmiseks. Tumedam värv tähistab positiivset[8(lk 30)].

Non-breaking hyphen on

Non-breaking hyphen (5)[7].

  1. An example of a breaking hyphen.
``{r label="fig-f-orbitals-example-hyphen-on", eval=FALSE, fig.cap="Nende olemasolu on oluline d\u2011ploki elementide omaduste mõistmiseks. Tumedam värv tähistab positiivset[@atkins_2010_chemical(lk 30)]."}
include_external_graphics("f-orbitaalid.svg")

``
Figure 2: Nende olemasolu on oluline d‑ploki elementide omaduste mõistmiseks. Tumedam värv tähistab positiivset[8(lk 30)].

Equation

Equation (6)[9].

  1. An example of an equation.
Keha kiirendus on võrdeline kehale mõjuva jõuga ja pöördvõrdeline keha massiga[@ekoolikottee] (@eq-newton-ii).

$$
\vec{\bf{a}} = \frac{\vec{\bf{F}}}{m}
$${#eq-newton-ii}

Keha kiirendus on võrdeline kehale mõjuva jõuga ja pöördvõrdeline keha massiga[10] (Equation 1).

\[ \vec{\bf{a}} = \frac{\vec{\bf{F}}}{m} \qquad(1)\]

External references

Manual for RStudio Server

1. How do you find the version of quarto being run inside rstudio. (n.d.). Stack Overflow. Retrieved April 1, 2023, from https://stackoverflow.com/a/75035399
2. Multiplex plugin. (2023). GitHub. https://github.com/reveal/multiplex
3. Quarto - revealjs. (n.d.). quarto.org. Retrieved February 9, 2023, from https://quarto.org/docs/presentations/revealjs/#incremental-lists
4. L AT e X2e: An unofficial reference manual. (2022). https://latexref.xyz/dev/latex2e.pdf
5. How to use comma as decimal separator in r markdown latex equations. (2019). Posit Community. https://community.rstudio.com/t/how-to-use-comma-as-decimal-separator-in-r-markdown-latex-equations/41890/3
6. Quarto - figures. (n.d.). Quarto. Retrieved January 3, 2024, from https://quarto.org/docs/authoring/figures.html#block-layout
7. Insert nonbreaking space and nonbreaking hyphen - rmarkdown to word document. (n.d.). Stack Overflow. Retrieved March 5, 2024, from https://stackoverflow.com/questions/77136115/insert-nonbreaking-space-and-nonbreaking-hyphen-rmarkdown-to-word-document
8. Atkins, P. W., & Jones, L. (2010). Chemical principles : The quest for insight. Nextcloud; W.H. Freeman. https://nextcloud.ons.ee/s/wZFXzLQa8q4yDer
9. Quarto - cross references. (n.d.). Quarto. Retrieved March 5, 2024, from https://quarto.org/docs/authoring/cross-references.html#equations
10. E-koolikott.ee. (n.d.). e-koolikott.ee. Retrieved February 15, 2024, from https://e-koolikott.ee/et/oppematerjal/19850-2-1-Dunaamika/229894#229895-Kehade-vastastikmoju-Joud