Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add highlighting-macros to template.tex and Rmarkdown syntax sugg…
…estions to skeleton.rmd

Co-authored-by: Christophe Dervieux <christophe.dervieux@gmail.com>
  • Loading branch information
auzaheta and cderv authored Feb 10, 2021
commit 9c3d7200a4859d29a1052db96c8cadec768c9eb8
3 changes: 3 additions & 0 deletions inst/rmarkdown/templates/ims/resources/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endlocaldefs

$if(highlighting-macros)$
$highlighting-macros$
$endif$
% pandoc header
$for(header-includes)$
$header-includes$
Expand Down
10 changes: 5 additions & 5 deletions inst/rmarkdown/templates/ims/skeleton/skeleton.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -184,18 +184,19 @@ Text is displayed by indenting it from the left margin. There are short quotatio
> indentation.

and longer ones.
\begin{quotation}

::: {.quotation latex=1}
This is a longer quotation. It consists of two paragraphs
of text. The beginning of each paragraph is indicated
by an extra indentation.

This is the second paragraph of the quotation. It is just
as dull as the first paragraph.
\end{quotation}
:::

# Environments

\subsection{Examples for \emph{\texttt{plain}}-style environments}
## Examples for *`plain`-style environments*
\begin{axiom}\label{ax1}
This is the body of Axiom \ref{ax1}.
\end{axiom}
Expand Down Expand Up @@ -341,7 +342,7 @@ One long equation:
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->

\begin{appendix}
\section*{Title}\label{appn} %% if no title is needed, leave empty \section*{}.
# Title {.unnumbered #appn}
Appendices should be provided in \verb|{appendix}| environment,
before Acknowledgements.

Expand Down Expand Up @@ -419,4 +420,3 @@ The second author was supported in part by NIH Grant ???????????.

## References