Page MenuHomec4science

NumDataMoodle.rnw
No OneTemporary

File Metadata

Created
Fri, Oct 18, 08:08

NumDataMoodle.rnw

% !Rnw weave = knitr
% opts_knit(self.contained=FALSE)
\documentclass[handout]{beamer}
%\documentclass{beamer}
\usetheme{Boadilla}
\usecolortheme{seahorse}
%\usepackage[french]{babel}
%\usepackage[utf8]{inputenc}
%\usepackage[T1]{fontenc}
\usepackage{csquotes}
\usepackage{lmodern}
\usepackage{amsfonts,amsmath, amssymb}
\usepackage{color}
\usepackage{dirtree}
\usepackage{fontawesome5}
\usepackage{hyperref}
\def\UrlBreaks{\do\/\do-}
\hypersetup{colorlinks,%
citecolor=black,%
filecolor=black,%
linkcolor=black,%
urlcolor=blue}
\usepackage{graphicx}
\graphicspath{./{fig/}}
%%%%%%%%%%%%%%%%%%% Citations %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[backend=biber,
citestyle=authoryear,
bibstyle=authortitle,
url=true,
doi=true]{biblatex}
%\usepackage[style=authoryear,sorting=ynt]{biblatex}
\addbibresource{./source/NumDataMoodle.bib}
\usepackage{ccicons}
%%%%%%%%%%%%%%%%%%%%%%% RAPPEL DES SECTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%
\AtBeginSection[]
{
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents[currentsection, hideothersubsections]
\end{frame}
}
%%%%%%%%%%%%%%%%%%%%%%% DEF DES BLOCS %%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{Rcommandeblock}[3]{%
\setbeamercolor{block body}{#1}
\setbeamercolor{block title}{#3}
\begin{block}{#1}}{\end{block}}
% Définition = beamerboxesrounded avec scheme = Def
\definecolor{vertmoyen}{RGB}{51,110,23}
% Commandes Vert = beamerboxesrounded avec scheme=CommandeVerte
\beamerboxesdeclarecolorscheme{CommandeVerte}{vertmoyen}{vertmoyen!10}
% Commandes Orange = beamerboxesrounded avec scheme=CommandeOrange
\beamerboxesdeclarecolorscheme{CommandeOrange}{orange}{orange!10}
% Commandes Rouge = beamerboxesrounded avec scheme=CommandeRouge
\beamerboxesdeclarecolorscheme{CommandeRouge}{red}{red!20}
% Commandes Exo = beamerboxesrounded avec scheme=CommandeGrise
\beamerboxesdeclarecolorscheme{CommandeGrise}{gray}{gray!20}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
<<stat.tikz.knitr.color,echo=FALSE, warning=FALSE, message= FALSE>>=
packages <- c("knitr", "kableExtra")
# Install packages not yet installed
installed_packages <- packages %in% rownames(installed.packages())
if (any(installed_packages == FALSE)) {
install.packages(packages[!installed_packages])
}
library(knitr)
library(kableExtra)
knit_hooks$set(document = function(x,options) {
sub('\\usepackage[]{color}', '\\usepackage[]{xcolor}', x, fixed = TRUE)
#paste("\\begin{lstlisting}\n", x, "\\end{lstlisting}\n", sep = "")
})
opts_chunk$set(
fig.path = "fig/"
)
@
<<options, echo=FALSE, warning=FALSE, message= FALSE, results = FALSE>>=
options(digits=3)
packages <- c("dplyr", "knitr")
# Install packages not yet installed
installed_packages <- packages %in% rownames(installed.packages())
if (any(installed_packages == FALSE)) {
install.packages(packages[!installed_packages])
}
lapply(packages, require, character.only = TRUE)
@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{Numerical Data and Moodle}
\author{Sacha Varone}
\institute[HES-SO]{\href{https://www.hes-so.ch/}{University of Applied Sciences and Arts Western Switzerland (HES-SO)},\\
\href{https://www.hesge.ch/heg/}{Haute \'Ecole de Gestion de Genève}}
\date{\the\year}
\titlegraphic{\includegraphics[width=2cm]{HES_SO_Logo_RGB.png}
\hspace*{4.75cm}~%
\includegraphics[width=2cm]{heg-logo-haute-res-transp.png}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\frame[plain]{\titlepage}
<<child='source/en_intro.Rnw'>>=
@
<<child='source/en_solution.Rnw'>>=
@
<<child='source/en_Howto_main.Rnw'>>=
@
<<child='source/en_Howto_statement.Rnw'>>=
@
<<child='source/en_Howto_questions.Rnw'>>=
@
<<child='source/en_Howto_test.Rnw'>>=
@
<<child='source/en_OER.Rnw'>>=
@
<<child='source/en_bibliography.Rnw'>>=
@
\end{document}

Event Timeline