# <svg width="35px" height="35px" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="id-badge" class="svg-inline--fa fa-id-badge fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M336 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM144 32h96c8.8 0 16 7.2 16 16s-7.2 16-16 16h-96c-8.8 0-16-7.2-16-16s7.2-16 16-16zm48 128c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H102.4C90 416 80 407.4 80 396.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"></path></svg> ## 西村武司 / Takeshi Nishimura - [🦖](https://sites.google.com/view/takeshinishimura/) ****** - メモ + [TeXでプレゼン](#3) + [Rでプレゼン](#4) --- # Graduate School of Agriculture, Ehime University
--- # Presentations ## LaTeX Beamer - [Beamer](https://ctan.org/pkg/beamer) - [Metropolis](https://github.com/matze/mtheme) + XeLaTeXでコンパイル ```TeX \documentclass[unicode,11pt,xcolor={dvipsnames,svgnames},usepdftitle=false,aspectratio=169]{beamer} % ハンドアウトの場合 %\documentclass[unicode,11pt,xcolor={dvipsnames,svgnames},usepdftitle=false,aspectratio=43,handout]{beamer} %\usepackage{pgfpages} %\pgfpagesuselayout{4 on 1}[a4paper,landscape] \usetheme{metropolis} % 日本語対応 %\usepackage{zxjatype} \usepackage[boldfont]{xeCJK} \setCJKmainfont{Hiragino Kaku Gothic ProN W3} \setCJKsansfont{Hiragino Kaku Gothic ProN W3} \setCJKmonofont{Hiragino Maru Gothic ProN W4} \usepackage{pxrubrica} %\usepackage{arev}% 数式フォントをArev Sansなどにすると,記号(例:※,→)が出力されない ``` --- # Presentations ## R Markdown - [xaringan](https://github.com/yihui/xaringan) - [metropolis theme](https://github.com/pat-s/xaringan-metropolis) ```r install.packages("xaringan") library(rmarkdown) rmarkdown::render("index.Rmd") browseURL("index.html") ``` - [Slidify](https://github.com/ramnathv/slidify) ```r require(devtools) devtools::install_github("ramnathv/slidify") devtools::install_github("ramnathv/slidifyLibraries") library(slidify) slidify::author("slidify") slidify::slidify("index.Rmd") browseURL("index.html") ```