class: center, middle, inverse, title-slide .title[ # Geospatial Techniques ] .subtitle[ ## This is my subtitle ] .author[ ### .f2[.gold[Dr. Ankit Deshmukh]]
] .institute[ ### Pandit Deendayal Energy University, Gandhinagar ] .date[ ### .f3[07 July 2022 (updated: 20 July 2022)] ] ---
<!-- ------------------------- START SLIDES HERE --------------------------- --> ## Bibliography and citation Use `RefManageR` and `bibtex` package to generate citation with xaringan slide. ```r BibOptions(check.entries = FALSE, bib.style = "authoryear", style = "text", first.inits = FALSE) bib <- ReadBib("~/adx/Bibliography.bib") *A <- 10 *B <- "Something string" *C <- TRUE ``` Use `Cite(bib, "key")` to site an article ```default 1. This is a test `r Citet(bib, "2020AGUFMH184...06K")` after text 2. This is a test `r Citep(bib, "2020AGUFMH184...06K")` after text ``` > This is a test Kumari and Deshmukh (2020) after text<br /> > This is a test (Kumari and Deshmukh, 2020) after text ---- Use footnote with `.footnote[footnote text]` e.g.: Some text<sup>1</sup> .footnote[1: This is a footnote] --- ## Add table with `kable` ```r knitr::kable(head(iris), format = 'html') ``` <table> <thead> <tr> <th style="text-align:right;"> Sepal.Length </th> <th style="text-align:right;"> Sepal.Width </th> <th style="text-align:right;"> Petal.Length </th> <th style="text-align:right;"> Petal.Width </th> <th style="text-align:left;"> Species </th> </tr> </thead> <tbody> <tr> <td style="text-align:right;"> 5.1 </td> <td style="text-align:right;"> 3.5 </td> <td style="text-align:right;"> 1.4 </td> <td style="text-align:right;"> 0.2 </td> <td style="text-align:left;"> setosa </td> </tr> <tr> <td style="text-align:right;"> 4.9 </td> <td style="text-align:right;"> 3.0 </td> <td style="text-align:right;"> 1.4 </td> <td style="text-align:right;"> 0.2 </td> <td style="text-align:left;"> setosa </td> </tr> <tr> <td style="text-align:right;"> 4.7 </td> <td style="text-align:right;"> 3.2 </td> <td style="text-align:right;"> 1.3 </td> <td style="text-align:right;"> 0.2 </td> <td style="text-align:left;"> setosa </td> </tr> <tr> <td style="text-align:right;"> 4.6 </td> <td style="text-align:right;"> 3.1 </td> <td style="text-align:right;"> 1.5 </td> <td style="text-align:right;"> 0.2 </td> <td style="text-align:left;"> setosa </td> </tr> <tr> <td style="text-align:right;"> 5.0 </td> <td style="text-align:right;"> 3.6 </td> <td style="text-align:right;"> 1.4 </td> <td style="text-align:right;"> 0.2 </td> <td style="text-align:left;"> setosa </td> </tr> <tr> <td style="text-align:right;"> 5.4 </td> <td style="text-align:right;"> 3.9 </td> <td style="text-align:right;"> 1.7 </td> <td style="text-align:right;"> 0.4 </td> <td style="text-align:left;"> setosa </td> </tr> </tbody> </table> --- ## Two column view Nihil natus molestias tenetur error saepe repellendus tempore. Expedita eos est culpa est maxime. Molestiae ut fuga aut est doloribus. Deleniti ut nisi corrupti. Autem laborum earum id nihil. Laudantium sit quaerat dolorum mollitia eos. .pull-left[ `.pull-left[Your text on left]` <div class="figure"> <img src="./Images/Img01.jpg" alt="R-Studio IDE have many pans." width="400" /> <p class="caption">R-Studio IDE have many pans.</p> </div> ] .pull-right[ `.pull-rigth[Your text on left]` And some Xaringan logo <div class="figure"> <img src="./Images/Img.jpg" alt="R-Studio IDE have many pans." width="150" /> <p class="caption">R-Studio IDE have many pans.</p> </div> ] Nihil natus molestias tenetur error saepe repellendus tempore. Expedita eos est culpa est maxime. Molestiae ut fuga aut est doloribus. Deleniti ut nisi corrupti. Autem laborum earum id nihil. Laudantium sit quaerat dolorum mollitia eos. --- class: inverse middle left # This is an inverse slide Use `class:` just after `---` > class: [class_name] | inverse, top, center, bottom, left, right etc. > `.center[] .left[] .rigth[]` classes in between slides .center[This text is centered] .left[This text is on left] .right[This text in on right] [Ankit Deshmukh](www.ankitdeshmukh.com) --- # Mermaid plot for graphs in R markdown This is my diagram with mermaid plot [Ankit Deshmukh](www.ankitdeshmukh.com) .pull_left[ ```r DiagrammeR::mermaid(" graph LR A --> B A --> C C --> E B --> D ") ``` ] .pull_right[
] --- ## Special CSS tricks with `tachyons.min.css` <https://tachyons.io/> - `.gold[gold font]` --> .gold[gold font] [| Link for color names](http://tachyons.io/docs/themes/skins/) - `.b[bold font]` --> .b[bold font] - `.underline[Underlined font]` --> .underline[Underlined font] - `.i[italic font]` --> .i[italic fonts] ### Adjust font size `.f1[f1 font]` | .f1[f1 font] <br /> `.f2[f2 font]` | .f2[f2 font] <br /> `.f3[f3 font]` | .f3[f3 font] <br /> `.f4[f4 font]` | .f4[f4 font] <br /> `.f5[f5 font]` | .f5[f5 font] <br /> --- ## Panal set in Slides .panelset[ .panel[.panel-name[app.R] ```r hist(runif(100)) ``` <img src="Presentation_files/figure-html/unnamed-chunk-9-1.png" width="100%" /> ] .panel[.panel-name[About] Take a look at the R code in that other panel. ] ] --- ## My text panal set .panelset[ .panel[.panel-name[Code]
] .panel[.panel-name[Output] Ankit Deshmukh ```r knitr::kable(head(iris)) ``` | Sepal.Length| Sepal.Width| Petal.Length| Petal.Width|Species | |------------:|-----------:|------------:|-----------:|:-------| | 5.1| 3.5| 1.4| 0.2|setosa | | 4.9| 3.0| 1.4| 0.2|setosa | | 4.7| 3.2| 1.3| 0.2|setosa | | 4.6| 3.1| 1.5| 0.2|setosa | | 5.0| 3.6| 1.4| 0.2|setosa | | 5.4| 3.9| 1.7| 0.4|setosa | ] ] --- ## Adding countdown in Slides Solve this random question :: blab blab its
20
:
00
--- # Reference ```r # Use `PrintBibliography` to print all the used Reference. PrintBibliography(bib, .opts = list(bib.style = "alphabetic")) ``` [KD20] S. Kumari and A. Deshmukh. "Impact of Climate Change on Meteorological Drought in Different Climate Zones across the Indian Sub-Continent". In: _AGU Fall Meeting Abstracts_. Vol. 2020. Dec. 2020, pp. H184-06.