You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -495,7 +499,7 @@ Below this text there's a line separator
495
499
Text styling can be extended done with <imgsrc='https://raw.githubusercontent.com/zoometh/thomashuet/master/img/app-prg-html.png'style='height: 45px;vertical-align: middle;'><imgsrc='https://raw.githubusercontent.com/zoometh/thomashuet/master/img/app-prg-css.png'style='height: 45px;vertical-align: middle;'> markup languages
496
500
497
501
<divclass="div-text">
498
-
<small>narrative part</small>
502
+
<small>narrative part</small><br>
499
503
```{.html}
500
504
<h2 style="color:blue;">A Blue Heading</h2>
501
505
<p style="color:red;">A red paragraph.</p>
@@ -596,13 +600,18 @@ Text styling can be extended done with <img src='https://raw.githubusercontent.c
596
600
::::
597
601
598
602
599
-
<br><br> <center> gives the same result : </center> <br>
603
+
<br> <center> gives the same result :
604
+
605
+
<small>
600
606
601
607
| Header 1 | Header 2 |
602
608
| ----------- | ----------- |
603
609
| Row 1 | Text |
604
610
| Row 2 | Another text|
605
611
612
+
</small>
613
+
</center>
614
+
606
615
\
607
616
608
617
### Alignements
@@ -614,54 +623,67 @@ Use `:----:`, `:---`, or `---:` to align
614
623
```{.md}
615
624
| Left | Center | Right |
616
625
| :--- | :----: | ---: |
617
-
| Header | Title | Here's this |
618
-
| Paragraph | Text | And more |
626
+
| Header | Title | Hello |
619
627
```
620
628
</div>
621
629
622
630
\
623
631
624
632
| Left | Center | Right |
625
633
|:----------|:------:|------------:|
626
-
| Header | Title | Here's this |
627
-
| Paragraph | Text | And more |
634
+
| Header | Title | Hello |
628
635
629
636
\
630
637
631
638
### Complex tables
632
639
633
-
Complex tables have to be created inside <spanclass="r-code">code chunks</span>, e.g. [kable()](https://bookdown.org/yihui/rmarkdown-cookbook/kable.html) from {`knitr`} with [kable_styling()](https://cran.r-project.org/web/packages/kableExtra/vignettes/awesome_table_in_html.html) from {`kableExtra`}
640
+
To create in <spanclass="r-code">code chunks</span>
[kbl()](https://www.rdocumentation.org/packages/kableExtra/versions/1.4.0/topics/kbl), [kable()](https://bookdown.org/yihui/rmarkdown-cookbook/kable.html), [kable_classic()](https://www.rdocumentation.org/packages/kableExtra/versions/1.4.0/topics/kable_classic) and [kable_styling()](https://cran.r-project.org/web/packages/kableExtra/vignettes/awesome_table_in_html.html) from the {`kableExtra`} package
End of line (`<br>` in HTML) with 2 or more spaces and return -- or `\` and return -- for example:
777
+
In Markdown: 2+ spaces and return, or `\` and return. In HTML: `<br>`
756
778
757
779
758
780
:::: {.columns}
@@ -766,7 +788,7 @@ Reconnais-toi
766
788
Cette adorable personne c'est toi
767
789
Sous le grand chapeau canotier
768
790
Oeil
769
-
Nez
791
+
Nez
770
792
Ta Bouche
771
793
Voici l’ovale de ta figure
772
794
Ton cou Exquis
@@ -778,7 +800,7 @@ Reconnais-toi
778
800
Cette adorable personne c'est toi
779
801
Sous le grand chapeau canotier
780
802
Oeil
781
-
Nez
803
+
Nez
782
804
Ta Bouche
783
805
Voici l’ovale de ta figure
784
806
Ton cou Exquis
@@ -970,27 +992,32 @@ Footnotes numbering are automatically updated/incremented
970
992
971
993
### Variables
972
994
973
-
Variables calculated inside the <spanclass="r-code">code chunks</span> can be called in the <spanclass="r-text">narrative parts</span>: <imgsrc='https://raw.githubusercontent.com/zoometh/thomashuet/master/teach/www/rmd_call_var.png'style='height: 45px;vertical-align: middle;'>
995
+
Variables calculated inside the <spanclass="r-code">code chunks</span> can be called in the <spanclass="r-text">narrative parts</span>
Here the <notes>`</notes> quote has been changed to a <notes>'</notes> quote for display purpose
1020
+
Here the <notes>`</notes> quote has been changed to a <notes>'</notes> quote for display purpose: <imgsrc='https://raw.githubusercontent.com/zoometh/thomashuet/master/teach/www/rmd_call_var.png'style='height: 45px;vertical-align: middle;'>
994
1021
:::
995
1022
\
996
1023
@@ -1002,17 +1029,18 @@ Here the <notes>`</notes> quote has been changed to a <notes>'</notes> quote for
The distribution of the maximum length (L) and maximum breadth (B) shows a R^2^ = `r round(model$coefficients[2], 2)`, Fig. \@ref(fig:maxLmaxB))
1054
+
```{.md}
1055
+
<small>The distribution of the maximum length (L) and maximum breadth (B) shows a R^2^ = 'r round(model$coefficients[2], 2)', Fig. \@ref(fig:maxLmaxB))</small>
1028
1056
```
1029
1057
</div>
1058
+
<small>The distribution of the maximum length (L) and maximum breadth (B) shows a R^2^ = `r round(model$coefficients[2], 2)`, Fig. \@ref(fig:maxLmaxB))</small>
1059
+
1060
+
::: {.callout-warning}
1061
+
1062
+
* Here the <notes>`</notes> quote has been changed to a <notes>'</notes> quote for display purpose in 'r round(model$coefficients[2], 2)'.
1063
+
* Need to use <imgsrc='https://raw.githubusercontent.com/zoometh/thomashuet/master/img/r-pkg-bookdown.png'style='width: 50px;vertical-align: middle;'> [bookdown](https://bookdown.org/) to render correctly '\@ref(fig:maxLmaxB)', see: the [raw `.Rmd`](https://github.com/zoometh/thomashuet/blob/main/teach/stats/r4a/examples/cross-referencing.Rmd) and the [rendered PDF](https://github.com/zoometh/thomashuet/blob/main/teach/stats/r4a/examples/cross-referencing.pdf)
1030
1064
1031
-
::: {.callout-note}
1032
-
Need to use <imgsrc='https://raw.githubusercontent.com/zoometh/thomashuet/master/img/r-pkg-bookdown.png'style='width: 50px;vertical-align: middle;'> [bookdown](https://bookdown.org/), see: the [native `.Rmd`](https://github.com/zoometh/thomashuet/blob/main/teach/stats/r4a/examples/cross-referencing.Rmd) and the [rendered PDF](https://github.com/zoometh/thomashuet/blob/main/teach/stats/r4a/examples/cross-referencing.pdf)
1033
1065
:::
1034
1066
1035
1067
@@ -1108,14 +1140,18 @@ published by Yihui Xie [-@Xie19]
It's easy to retrieve [this reference in Google Scholar](https://scholar.google.fr/scholar?hl=en&as_sdt=0%2C5&q=Tinytex%3A+A+Lightweight%2C+Cross-Platform%2C+and+Easy-to-Maintain+Latex+Distribution+Based+on+Tex+Live&btnG=), and paste it in the `.bib` file. Remember that you can also use [Visual R Markdown](#vrm) bibliographical references add-on (ex: [Zotero](https://www.zotero.org/) <imgsrc="https://raw.githubusercontent.com/zoometh/thomashuet/master/img/app-bib-zotero.png"style="height: 45px;vertical-align: middle;"/>)
1143
+
It's easy to retrieve [this reference in Google Scholar](https://scholar.google.fr/scholar?hl=en&as_sdt=0%2C5&q=Tinytex%3A+A+Lightweight%2C+Cross-Platform%2C+and+Easy-to-Maintain+Latex+Distribution+Based+on+Tex+Live&btnG=), and paste it in the `.bib` file. You can also use [Visual R Markdown](#vrm) bibliographical references add-on (ex: [Zotero](https://www.zotero.org/) <imgsrc="https://raw.githubusercontent.com/zoometh/thomashuet/master/img/app-bib-zotero.png"style="height: 45px;vertical-align: middle;"/>)
0 commit comments