| Author | DaveJarvis <email> |
|---|---|
| Date | 2025-09-05 02:17:04 GMT-0700 |
| Commit | 5a62bc0851a4f6eb68755a0ef0866bc02f6274bc |
| Parent | 3d17010 |
| details. | ||
| +## Inline classes | ||
| + | ||
| +Inline classes can be assigned to words or phrases. This allows presentation | ||
| +logic to stylize words based on their classification. The general form of | ||
| +inline classes follows: | ||
| + | ||
| +``` markdown | ||
| +[word]{.class} | ||
| +``` | ||
| + | ||
| +For example: | ||
| + | ||
| +``` markdown | ||
| +[radiation]{.glossary .warning} | ||
| +``` | ||
| + | ||
| +The given example outputs the following XHTML: | ||
| + | ||
| +``` html | ||
| +<span class="glossary warning">radiation</span> | ||
| +``` | ||
| + | ||
| +Note the semantic `warning` class instead of a direct colour class such | ||
| +as `red`. This allows the colour to be changed at the presentation layer | ||
| +without the class name becoming stale. | ||
| + | ||
| ## Captions and cross-references | ||
| Understanding quotation mark encoding helps ensure proper typography in both | ||
| digital and print formats. Different encoding options provide flexibility for | ||
| -various output requirements. | ||
| - | ||
| -[@tbl:quote-encoding] lists available encoding choices. | ||
| +various output requirements. [@tbl:quote-encoding] lists available encoding | ||
| +choices. | ||
| | Option | Encoding | Description | | ||
| * ***Boschet*** -- Based on Baskerville font with elegant styling. | ||
| -* ***Handrit*** -- Based on Courier font in double-spaced manuscript format. | ||
| +* ***Handrit*** -- Double-spaced manuscript format using TeX Gyre Cursor. | ||
| * ***Tarmes*** -- Based on Times Roman font with minimal styling. | ||
| -* ***TeXomus*** -- A technical format suitable for user manuals. | ||
| +* ***TeXomus*** -- A format suitable for technical documentaion. | ||
| Theme selection is available during PDF export through the theme drop-down menu |
| function that is called by name in the Markdown document. | ||
| -### Working Directory | ||
| +### Working directory | ||
| The working directory determines where R searches for source files. Accomplish | ||
| directory where the R engine searches for source files. | ||
| -## Creating Data Visualizations | ||
| +## Data visualizations | ||
| Data visualizations enrich documents by incorporating statistical analysis and | ||
| > 2.0 | ||
| -## Working with External Data | ||
| +To insert visual content, such as a plot, use ` ```{r}` and ` ``` ` to | ||
| +enclose R snippets, such as: | ||
| -Working with external data involves sourcing R files from specified directories | ||
| -to incorporate additional functions or data into documents. This allows | ||
| -flexible management of R resources outside the main document. | ||
| + ```{r} | ||
| + x <- seq( 0, 2 * pi, length.out=100 ) | ||
| + y <- sin( x ) | ||
| + plot( x, y, type="l" ) | ||
| + ``` | ||
| -R files may be sourced from any directory, not just the user's home directory. | ||
| +The document shows a plot. | ||
| ## Variable definitions | ||
| Delta | 40 lines added, 12 lines removed, 28-line increase |
|---|