diff --git a/dwev/_extension.yml b/dwev/_extension.yml new file mode 100644 index 0000000..db5d3dd --- /dev/null +++ b/dwev/_extension.yml @@ -0,0 +1,7 @@ +title: eisvogel +author: Ming Su +version: 0.0.1 +contributes: + formats: + pdf: + template: eisvogel.tex diff --git a/dwev/_extensions/drwater/dwev/_extension.yml b/dwev/_extensions/drwater/dwev/_extension.yml new file mode 100644 index 0000000..db5d3dd --- /dev/null +++ b/dwev/_extensions/drwater/dwev/_extension.yml @@ -0,0 +1,7 @@ +title: eisvogel +author: Ming Su +version: 0.0.1 +contributes: + formats: + pdf: + template: eisvogel.tex diff --git a/dwev/_extensions/drwater/dwev/eisvogel.tex b/dwev/_extensions/drwater/dwev/eisvogel.tex new file mode 100644 index 0000000..3688e4f --- /dev/null +++ b/dwev/_extensions/drwater/dwev/eisvogel.tex @@ -0,0 +1,1213 @@ +%% +% Copyright (c) 2017 - 2024, Pascal Wagler; +% Copyright (c) 2014 - 2024, John MacFarlane +% +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions +% are met: +% +% - Redistributions of source code must retain the above copyright +% notice, this list of conditions and the following disclaimer. +% +% - Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% +% - Neither the name of John MacFarlane nor the names of other +% contributors may be used to endorse or promote products derived +% from this software without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +% COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +% POSSIBILITY OF SUCH DAMAGE. +%% + +%% +% This is the Eisvogel pandoc LaTeX template. +% +% For usage information and examples visit the official GitHub page: +% https://github.com/Wandmalfarbe/pandoc-latex-template +%% + +% Options for packages loaded elsewhere +\PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref} +\PassOptionsToPackage{hyphens}{url} +\PassOptionsToPackage{dvipsnames,svgnames,x11names,table}{xcolor} +$if(CJKmainfont)$ +\PassOptionsToPackage{space}{xeCJK} +$endif$ +% +\documentclass[ +$if(fontsize)$ + $fontsize$, +$endif$ +$if(papersize)$ + $papersize$paper, +$else$ + paper=a4, +$endif$ +$if(beamer)$ + ignorenonframetext, +$if(handout)$ + handout, +$endif$ +$if(aspectratio)$ + aspectratio=$aspectratio$, +$endif$ +$if(babel-lang)$ + $babel-lang$, +$endif$ +$endif$ +$for(classoption)$ + $classoption$$sep$, +$endfor$ + ,captions=tableheading +]{$if(beamer)$$documentclass$$else$$if(book)$scrbook$else$scrartcl$endif$$endif$} +$if(beamer)$ +$if(background-image)$ +\usebackgroundtemplate{% + \includegraphics[width=\paperwidth]{$background-image$}% +} +% In beamer background-image does not work well when other images are used, so this is the workaround +\pgfdeclareimage[width=\paperwidth,height=\paperheight]{background}{$background-image$} +\usebackgroundtemplate{\pgfuseimage{background}} +$endif$ +\usepackage{pgfpages} +\setbeamertemplate{caption}[numbered] +\setbeamertemplate{caption label separator}{: } +\setbeamercolor{caption name}{fg=normal text.fg} +\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$ +$for(beameroption)$ +\setbeameroption{$beameroption$} +$endfor$ +% Prevent slide breaks in the middle of a paragraph +\widowpenalties 1 10000 +\raggedbottom +$if(section-titles)$ +\setbeamertemplate{part page}{ + \centering + \begin{beamercolorbox}[sep=16pt,center]{part title} + \usebeamerfont{part title}\insertpart\par + \end{beamercolorbox} +} +\setbeamertemplate{section page}{ + \centering + \begin{beamercolorbox}[sep=12pt,center]{section title} + \usebeamerfont{section title}\insertsection\par + \end{beamercolorbox} +} +\setbeamertemplate{subsection page}{ + \centering + \begin{beamercolorbox}[sep=8pt,center]{subsection title} + \usebeamerfont{subsection title}\insertsubsection\par + \end{beamercolorbox} +} +\AtBeginPart{ + \frame{\partpage} +} +\AtBeginSection{ + \ifbibliography + \else + \frame{\sectionpage} + \fi +} +\AtBeginSubsection{ + \frame{\subsectionpage} +} +$endif$ +$endif$ +$if(beamerarticle)$ +\usepackage{beamerarticle} % needs to be loaded first +$endif$ +\usepackage{amsmath,amssymb} +$if(linestretch)$ +\usepackage{setspace} +$else$ +% Use setspace anyway because we change the default line spacing. +% The spacing is changed early to affect the titlepage and the TOC. +\usepackage{setspace} +\setstretch{1.2} +$endif$ +\usepackage{iftex} +\ifPDFTeX + \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} + \usepackage[utf8]{inputenc} + \usepackage{textcomp} % provide euro and other symbols +\else % if luatex or xetex +$if(mathspec)$ + \ifXeTeX + \usepackage{mathspec} % this also loads fontspec + \else + \usepackage{unicode-math} % this also loads fontspec + \fi +$else$ + \usepackage{unicode-math} % this also loads fontspec +$endif$ + \defaultfontfeatures{Scale=MatchLowercase}$-- must come before Beamer theme + \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} +\fi +$if(fontfamily)$ +$else$ +$-- Set default font before Beamer theme so the theme can override it +\usepackage{lmodern} +$endif$ +$-- Set Beamer theme before user font settings so they can override theme +$if(beamer)$ +$if(theme)$ +\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$} +$endif$ +$if(colortheme)$ +\usecolortheme{$colortheme$} +$endif$ +$if(fonttheme)$ +\usefonttheme{$fonttheme$} +$endif$ +$if(mainfont)$ +\usefonttheme{serif} % use mainfont rather than sansfont for slide text +$endif$ +$if(innertheme)$ +\useinnertheme{$innertheme$} +$endif$ +$if(outertheme)$ +\useoutertheme{$outertheme$} +$endif$ +$endif$ +$-- User font settings (must come after default font and Beamer theme) +$if(fontfamily)$ +\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$} +$endif$ +\ifPDFTeX\else + % xetex/luatex font selection +$if(mainfont)$ + $if(mainfontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("mainfontfallback",{ + $for(mainfontfallback)$"$mainfontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$} +$endif$ +$if(sansfont)$ + $if(sansfontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("sansfontfallback",{ + $for(sansfontfallback)$"$sansfontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$$if(sansfontfallback)$,RawFeature={fallback=sansfontfallback}$endif$]{$sansfont$} +$endif$ +$if(monofont)$ + $if(monofontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("monofontfallback",{ + $for(monofontfallback)$"$monofontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$if(monofontfallback)$,RawFeature={fallback=monofontfallback}$endif$]{$monofont$} +$endif$ +$for(fontfamilies)$ + \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$} +$endfor$ +$if(mathfont)$ +$if(mathspec)$ + \ifXeTeX + \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} + \else + \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} + \fi +$else$ + \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} +$endif$ +$endif$ +$if(CJKmainfont)$ + \ifXeTeX + \usepackage{xeCJK} + \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} + $if(CJKsansfont)$ + \setCJKsansfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKsansfont$} + $endif$ + $if(CJKmonofont)$ + \setCJKmonofont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmonofont$} + $endif$ + \fi +$endif$ +$if(luatexjapresetoptions)$ + \ifLuaTeX + \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset} + \fi +$endif$ +$if(CJKmainfont)$ + \ifLuaTeX + \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec} + \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} + \fi +$endif$ +\fi +$if(zero-width-non-joiner)$ +%% Support for zero-width non-joiner characters. +\makeatletter +\def\zerowidthnonjoiner{% + % Prevent ligatures and adjust kerning, but still support hyphenating. + \texorpdfstring{% + \TextOrMath{\nobreak\discretionary{-}{}{\kern.03em}% + \ifvmode\else\nobreak\hskip\z@skip\fi}{}% + }{}% +} +\makeatother +\ifPDFTeX + \DeclareUnicodeCharacter{200C}{\zerowidthnonjoiner} +\else + \catcode`^^^^200c=\active + \protected\def ^^^^200c{\zerowidthnonjoiner} +\fi +%% End of ZWNJ support +$endif$ +% Use upquote if available, for straight quotes in verbatim environments +\IfFileExists{upquote.sty}{\usepackage{upquote}}{} +\IfFileExists{microtype.sty}{% use microtype if available + \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype} + \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts +}{} +$if(indent)$ +$else$ +\makeatletter +\@ifundefined{KOMAClassName}{% if non-KOMA class + \IfFileExists{parskip.sty}{% + \usepackage{parskip} + }{% else + \setlength{\parindent}{0pt} + \setlength{\parskip}{6pt plus 2pt minus 1pt}} +}{% if KOMA class + \KOMAoptions{parskip=half}} +\makeatother +$endif$ +$if(verbatim-in-note)$ +\usepackage{fancyvrb} +$endif$ +\usepackage{xcolor} +\definecolor{default-linkcolor}{HTML}{A50000} +\definecolor{default-filecolor}{HTML}{A50000} +\definecolor{default-citecolor}{HTML}{4077C0} +\definecolor{default-urlcolor}{HTML}{4077C0} +$if(footnotes-pretty)$ +% load footmisc in order to customize footnotes (footmisc has to be loaded before hyperref, cf. https://tex.stackexchange.com/a/169124/144087) +\usepackage[hang,flushmargin,bottom,multiple]{footmisc} +\setlength{\footnotemargin}{0.8em} % set space between footnote nr and text +\setlength{\footnotesep}{\baselineskip} % set space between multiple footnotes +\setlength{\skip\footins}{0.3cm} % set space between page content and footnote +\setlength{\footskip}{0.9cm} % set space between footnote and page bottom +$endif$ +$if(geometry)$ +$if(beamer)$ +\geometry{$for(geometry)$$geometry$$sep$,$endfor$} +$else$ +\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} +$endif$ +$else$ +$if(beamer)$ +$else$ +\usepackage[margin=2.5cm,includehead=true,includefoot=true,centering,$for(geometry)$$geometry$$sep$,$endfor$]{geometry} +$endif$ +$endif$ +$if(titlepage-logo)$ +\usepackage[export]{adjustbox} +\usepackage{graphicx} +$endif$ +$if(beamer)$ +\newif\ifbibliography +$endif$ +$if(listings)$ +\usepackage{listings} +\newcommand{\passthrough}[1]{#1} +\lstset{defaultdialect=[5.3]Lua} +\lstset{defaultdialect=[x86masm]Assembler} +$endif$ +$if(listings-no-page-break)$ +\usepackage{etoolbox} +\BeforeBeginEnvironment{lstlisting}{\par\noindent\begin{minipage}{\linewidth}} +\AfterEndEnvironment{lstlisting}{\end{minipage}\par\addvspace{\topskip}} +$endif$ +$if(lhs)$ +\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} +$endif$ +$if(highlighting-macros)$ +$highlighting-macros$ + +% Workaround/bugfix from jannick0. +% See https://github.com/jgm/pandoc/issues/4302#issuecomment-360669013) +% or https://github.com/Wandmalfarbe/pandoc-latex-template/issues/2 +% +% Redefine the verbatim environment 'Highlighting' to break long lines (with +% the help of fvextra). Redefinition is necessary because it is unlikely that +% pandoc includes fvextra in the default template. +\usepackage{fvextra} +\DefineVerbatimEnvironment{Highlighting}{Verbatim}{breaklines,fontsize=$if(code-block-font-size)$$code-block-font-size$$else$\small$endif$,commandchars=\\\{\}} + +$endif$ +$if(tables)$ +\usepackage{longtable,booktabs,array} +$if(multirow)$ +\usepackage{multirow} +$endif$ +\usepackage{calc} % for calculating minipage widths +$if(beamer)$ +\usepackage{caption} +% Make caption package work with longtable +\makeatletter +\def\fnum@table{\tablename~\thetable} +\makeatother +$else$ +% Correct order of tables after \paragraph or \subparagraph +\usepackage{etoolbox} +\makeatletter +\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{} +\makeatother +% Allow footnotes in longtable head/foot +\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}} +\makesavenoteenv{longtable} +$endif$ +$endif$ +% add backlinks to footnote references, cf. https://tex.stackexchange.com/questions/302266/make-footnote-clickable-both-ways +$if(footnotes-disable-backlinks)$ +$else$ +\usepackage{footnotebackref} +$endif$ +$if(graphics)$ +\usepackage{graphicx} +\makeatletter +% \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} +% \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} +% \makeatother +% % Scale images if necessary, so that they will not overflow the page +% % margins by default, and it is still possible to overwrite the defaults +% % using explicit options in \includegraphics[width, height, ...]{} +% \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} +\newsavebox\pandoc@box +\newcommand*\pandocbounded[1]{% scales image to fit in text height/width + \sbox\pandoc@box{#1}% + \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}% + \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}% + \ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both + \ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}% + \else\usebox{\pandoc@box}% + \fi% +} +% Set default figure placement to htbp +\makeatletter +\def\fps@figure{htbp} +\makeatother +% \makeatletter Old options from template, replaced with quarto defaults above +% \newsavebox\pandoc@box +% \newcommand*\pandocbounded[1]{% scales image to fit in text height/width +% \sbox\pandoc@box{#1}% +% \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}% +% \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}% +% \ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both +% \ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}% +% \else\usebox{\pandoc@box}% +% \fi% +% } +% % Set default figure placement to htbp +% % Make use of float-package and set default placement for figures to H. +% % The option H means 'PUT IT HERE' (as opposed to the standard h option which means 'You may put it here if you like'). +% \usepackage{float} +% \floatplacement{figure}{$if(float-placement-figure)$$float-placement-figure$$else$H$endif$} +% \makeatother +$endif$ +$if(svg)$ +\usepackage{svg} +$endif$ +$if(strikeout)$ +$-- also used for underline +\ifLuaTeX + \usepackage{luacolor} + \usepackage[soul]{lua-ul} +\else +\usepackage{soul} +$if(beamer)$ + \makeatletter + \let\HL\hl + \renewcommand\hl{% fix for beamer highlighting + \let\set@color\beamerorig@set@color + \let\reset@color\beamerorig@reset@color + \HL} + \makeatother +$endif$ +$if(CJKmainfont)$ + \ifXeTeX + % soul's \st doesn't work for CJK: + \usepackage{xeCJKfntef} + \renewcommand{\st}[1]{\sout{#1}} + \fi +$endif$ +\fi +$endif$ +\setlength{\emergencystretch}{3em} % prevent overfull lines +\providecommand{\tightlist}{% + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} +$if(numbersections)$ +\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$} +$else$ +\setcounter{secnumdepth}{-\maxdimen} % remove section numbering +$endif$ +$if(subfigure)$ +\usepackage{subcaption} +$endif$ +$if(beamer)$ +$else$ +$if(block-headings)$ +% Make \paragraph and \subparagraph free-standing +\makeatletter +\ifx\paragraph\undefined\else + \let\oldparagraph\paragraph + \renewcommand{\paragraph}{ + \@ifstar + \xxxParagraphStar + \xxxParagraphNoStar + } + \newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}} + \newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}} +\fi +\ifx\subparagraph\undefined\else + \let\oldsubparagraph\subparagraph + \renewcommand{\subparagraph}{ + \@ifstar + \xxxSubParagraphStar + \xxxSubParagraphNoStar + } + \newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}} + \newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}} +\fi +\makeatother +$endif$ +$endif$ +$if(pagestyle)$ +\pagestyle{$pagestyle$} +$endif$ +$if(csl-refs)$ +% definitions for citeproc citations +\NewDocumentCommand\citeproctext{}{} +\NewDocumentCommand\citeproc{mm}{% + \begingroup\def\citeproctext{#2}\cite{#1}\endgroup} +\makeatletter + % allow citations to break across lines + \let\@cite@ofmt\@firstofone + % avoid brackets around text for \cite: + \def\@biblabel#1{} + \def\@cite#1#2{{#1\if@tempswa , #2\fi}} +\makeatother +\newlength{\cslhangindent} +\setlength{\cslhangindent}{1.5em} +\newlength{\csllabelwidth} +\setlength{\csllabelwidth}{3em} +\newenvironment{CSLReferences}[2] % #1 hanging-indent, #2 entry-spacing + {\begin{list}{}{% + \setlength{\itemindent}{0pt} + \setlength{\leftmargin}{0pt} + \setlength{\parsep}{0pt} + % turn on hanging indent if param 1 is 1 + \ifodd #1 + \setlength{\leftmargin}{\cslhangindent} + \setlength{\itemindent}{-1\cslhangindent} + \fi + % set entry spacing + \setlength{\itemsep}{#2\baselineskip}}} + {\end{list}} +\usepackage{calc} +\newcommand{\CSLBlock}[1]{\hfill\break\parbox[t]{\linewidth}{\strut\ignorespaces#1\strut}} +\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}} +\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}} +\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1} +$endif$ +$if(lang)$ +\ifLuaTeX +\usepackage[bidi=basic]{babel} +\else +\usepackage[bidi=default]{babel} +\fi +$if(babel-lang)$ +\babelprovide[main,import]{$babel-lang$} +$if(mainfont)$ +\ifPDFTeX +\else +\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$} +\fi +$endif$ +$endif$ +$for(babel-otherlangs)$ +\babelprovide[import]{$babel-otherlangs$} +$endfor$ +$for(babelfonts/pairs)$ +\babelfont[$babelfonts.key$]{rm}{$babelfonts.value$} +$endfor$ +% get rid of language-specific shorthands (see #6817): +\let\LanguageShortHands\languageshorthands +\def\languageshorthands#1{} +$if(selnolig-langs)$ +\ifLuaTeX + \usepackage[$for(selnolig-langs)$$it$$sep$,$endfor$]{selnolig} % disable illegal ligatures +\fi +$endif$ +$endif$ +$for(header-includes)$ +$header-includes$ +$endfor$ +$if(dir)$ +\ifPDFTeX + \TeXXeTstate=1 + \newcommand{\RL}[1]{\beginR #1\endR} + \newcommand{\LR}[1]{\beginL #1\endL} + \newenvironment{RTL}{\beginR}{\endR} + \newenvironment{LTR}{\beginL}{\endL} +\fi +$endif$ +$if(natbib)$ +\usepackage[$natbiboptions$]{natbib} +\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} +$endif$ +$if(biblatex)$ +\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex} +$for(bibliography)$ +\addbibresource{$bibliography$} +$endfor$ +$endif$ +$if(nocite-ids)$ +\nocite{$for(nocite-ids)$$it$$sep$, $endfor$} +$endif$ +$if(csquotes)$ +\usepackage{csquotes} +$endif$ +\usepackage{bookmark} +\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available +\urlstyle{$if(urlstyle)$$urlstyle$$else$same$endif$} +$if(links-as-notes)$ +% Make links footnotes instead of hotlinks: +\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}} +$endif$ +$if(verbatim-in-note)$ +\VerbatimFootnotes % allow verbatim text in footnotes +$endif$ +\hypersetup{ +$if(title-meta)$ + pdftitle={$title-meta$}, +$endif$ +$if(author-meta)$ + pdfauthor={$author-meta$}, +$endif$ +$if(lang)$ + pdflang={$lang$}, +$endif$ +$if(subject)$ + pdfsubject={$subject$}, +$endif$ +$if(keywords)$ + pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, +$endif$ +$if(colorlinks)$ + colorlinks=true, + linkcolor={$if(linkcolor)$$linkcolor$$else$default-linkcolor$endif$}, + filecolor={$if(filecolor)$$filecolor$$else$default-filecolor$endif$}, + citecolor={$if(citecolor)$$citecolor$$else$default-citecolor$endif$}, + urlcolor={$if(urlcolor)$$urlcolor$$else$default-urlcolor$endif$}, +$else$ +$if(boxlinks)$ +$else$ + hidelinks, +$endif$ +$endif$ + breaklinks=true, + pdfcreator={LaTeX via pandoc with the Eisvogel template}} +$if(title)$ +\title{$title$$if(thanks)$\thanks{$thanks$}$endif$} +$endif$ +$if(subtitle)$ +$if(beamer)$ +$else$ +\usepackage{etoolbox} +\makeatletter +\providecommand{\subtitle}[1]{% add subtitle to \maketitle + \apptocmd{\@title}{\par {\large #1 \par}}{}{} +} +\makeatother +$endif$ +\subtitle{$subtitle$} +$endif$ +\author{$for(author)$$author$$sep$ \and $endfor$} +\date{$date$} +$if(beamer)$ +$if(institute)$ +\institute{$for(institute)$$institute$$sep$ \and $endfor$} +$endif$ +$if(titlegraphic)$ +\titlegraphic{\includegraphics$if(titlegraphicoptions)$[$for(titlegraphicoptions)$$titlegraphicoptions$$sep$, $endfor$]$endif${$titlegraphic$}} +$endif$ +$if(logo)$ +\logo{\includegraphics{$logo$}} +$endif$ +$endif$ + + + +%% +%% added +%% + +$if(page-background)$ +\usepackage[pages=all]{background} +$endif$ + +% +% for the background color of the title page +% +$if(titlepage)$ +\usepackage{pagecolor} +\usepackage{afterpage} +$if(titlepage-background)$ +\usepackage{tikz} +$endif$ +$if(geometry)$ +$else$ +\usepackage[margin=2.5cm,includehead=true,includefoot=true,centering]{geometry} +$endif$ +$endif$ + +% +% break urls +% +\PassOptionsToPackage{hyphens}{url} + +% +% When using babel or polyglossia with biblatex, loading csquotes is recommended +% to ensure that quoted texts are typeset according to the rules of your main language. +% +\usepackage{csquotes} + +% +% captions +% +\definecolor{caption-color}{HTML}{777777} +$if(beamer)$ +$else$ +\usepackage[font={stretch=1.2}, textfont={color=caption-color}, position=top, skip=4mm, labelfont=bf, singlelinecheck=false, justification=$if(caption-justification)$$caption-justification$$else$raggedright$endif$]{caption} +\setcapindent{0em} +$endif$ + +% +% blockquote +% +\definecolor{blockquote-border}{RGB}{221,221,221} +\definecolor{blockquote-text}{RGB}{119,119,119} +\usepackage{mdframed} +\newmdenv[rightline=false,bottomline=false,topline=false,linewidth=3pt,linecolor=blockquote-border,skipabove=\parskip]{customblockquote} +\renewenvironment{quote}{\begin{customblockquote}\list{}{\rightmargin=0em\leftmargin=0em}% +\item\relax\color{blockquote-text}\ignorespaces}{\unskip\unskip\endlist\end{customblockquote}} + +% +% Source Sans Pro as the default font family +% Source Code Pro for monospace text +% +% 'default' option sets the default +% font family to Source Sans Pro, not \sfdefault. +% +\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex + $if(fontfamily)$ + $else$ + \usepackage[default]{sourcesanspro} + \usepackage{sourcecodepro} + $endif$ +\else % if not pdftex + $if(mainfont)$ + $else$ + \usepackage[default]{sourcesanspro} + \usepackage{sourcecodepro} + + % XeLaTeX specific adjustments for straight quotes: https://tex.stackexchange.com/a/354887 + % This issue is already fixed (see https://github.com/silkeh/latex-sourcecodepro/pull/5) but the + % fix is still unreleased. + % TODO: Remove this workaround when the new version of sourcecodepro is released on CTAN. + \ifxetex + \makeatletter + \defaultfontfeatures[\ttfamily] + { Numbers = \sourcecodepro@figurestyle, + Scale = \SourceCodePro@scale, + Extension = .otf } + \setmonofont + [ UprightFont = *-\sourcecodepro@regstyle, + ItalicFont = *-\sourcecodepro@regstyle It, + BoldFont = *-\sourcecodepro@boldstyle, + BoldItalicFont = *-\sourcecodepro@boldstyle It ] + {SourceCodePro} + \makeatother + \fi + $endif$ +\fi + +% +% heading color +% +\definecolor{heading-color}{RGB}{40,40,40} +$if(beamer)$ +$else$ +\addtokomafont{section}{\color{heading-color}} +$endif$ +% When using the classes report, scrreprt, book, +% scrbook or memoir, uncomment the following line. +%\addtokomafont{chapter}{\color{heading-color}} + +% +% variables for title, author and date +% +$if(beamer)$ +$else$ +\usepackage{titling} +\title{$title$} +\author{$for(author)$$author$$sep$, $endfor$} +\date{$date$} +$endif$ + +% +% tables +% +$if(tables)$ + +\definecolor{table-row-color}{HTML}{F5F5F5} +\definecolor{table-rule-color}{HTML}{999999} + +%\arrayrulecolor{black!40} +\arrayrulecolor{table-rule-color} % color of \toprule, \midrule, \bottomrule +\setlength\heavyrulewidth{0.3ex} % thickness of \toprule, \bottomrule +\renewcommand{\arraystretch}{1.3} % spacing (padding) + +$if(table-use-row-colors)$ +% Unfortunately the colored cells extend beyond the edge of the +% table because pandoc uses @-expressions (@{}) like so: +% +% \begin{longtable}[]{@{}ll@{}} +% \end{longtable} +% +% https://en.wikibooks.org/wiki/LaTeX/Tables#.40-expressions +\usepackage{etoolbox} +\AtBeginEnvironment{longtable}{\rowcolors{2}{}{table-row-color!100}} +\preto{\toprule}{\hiderowcolors}{}{} +\appto{\endhead}{\showrowcolors}{}{} +\appto{\endfirsthead}{\showrowcolors}{}{} +$endif$ +$endif$ + +% +% remove paragraph indentation +% +\setlength{\parindent}{0pt} +\setlength{\parskip}{6pt plus 2pt minus 1pt} +\setlength{\emergencystretch}{3em} % prevent overfull lines + +% +% +% Listings +% +% + +$if(listings)$ + +% +% general listing colors +% +\definecolor{listing-background}{HTML}{F7F7F7} +\definecolor{listing-rule}{HTML}{B3B2B3} +\definecolor{listing-numbers}{HTML}{B3B2B3} +\definecolor{listing-text-color}{HTML}{000000} +\definecolor{listing-keyword}{HTML}{435489} +\definecolor{listing-keyword-2}{HTML}{1284CA} % additional keywords +\definecolor{listing-keyword-3}{HTML}{9137CB} % additional keywords +\definecolor{listing-identifier}{HTML}{435489} +\definecolor{listing-string}{HTML}{00999A} +\definecolor{listing-comment}{HTML}{8E8E8E} + +\lstdefinestyle{eisvogel_listing_style}{ + language = java, +$if(listings-disable-line-numbers)$ + xleftmargin = 0.6em, + framexleftmargin = 0.4em, +$else$ + numbers = left, + xleftmargin = 2.7em, + framexleftmargin = 2.5em, +$endif$ + backgroundcolor = \color{listing-background}, + basicstyle = \color{listing-text-color}\linespread{1.0}% + \lst@ifdisplaystyle% + $if(code-block-font-size)$$code-block-font-size$$else$\small$endif$% + \fi\ttfamily{}, + breaklines = true, + frame = single, + framesep = 0.19em, + rulecolor = \color{listing-rule}, + frameround = ffff, + tabsize = 4, + numberstyle = \color{listing-numbers}, + aboveskip = 1.0em, + belowskip = 0.1em, + abovecaptionskip = 0em, + belowcaptionskip = 1.0em, + keywordstyle = {\color{listing-keyword}\bfseries}, + keywordstyle = {[2]\color{listing-keyword-2}\bfseries}, + keywordstyle = {[3]\color{listing-keyword-3}\bfseries\itshape}, + sensitive = true, + identifierstyle = \color{listing-identifier}, + commentstyle = \color{listing-comment}, + stringstyle = \color{listing-string}, + showstringspaces = false, + escapeinside = {/*@}{@*/}, % Allow LaTeX inside these special comments + literate = + {á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1 + {Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1 + {à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1 + {À}{{\`A}}1 {È}{{\`E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1 + {ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1 + {Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1 + {â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1 + {Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1 + {œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1 + {ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1 + {€}{{\EUR}}1 {£}{{\pounds}}1 {«}{{\guillemotleft}}1 + {»}{{\guillemotright}}1 {ñ}{{\~n}}1 {Ñ}{{\~N}}1 {¿}{{?`}}1 + {…}{{\ldots}}1 {≥}{{>=}}1 {≤}{{<=}}1 {„}{{\glqq}}1 {“}{{\grqq}}1 + {”}{{''}}1 +} +\lstset{style=eisvogel_listing_style} + +% +% Java (Java SE 12, 2019-06-22) +% +\lstdefinelanguage{Java}{ + morekeywords={ + % normal keywords (without data types) + abstract,assert,break,case,catch,class,continue,default, + do,else,enum,exports,extends,final,finally,for,if,implements, + import,instanceof,interface,module,native,new,package,private, + protected,public,requires,return,static,strictfp,super,switch, + synchronized,this,throw,throws,transient,try,volatile,while, + % var is an identifier + var + }, + morekeywords={[2] % data types + % primitive data types + boolean,byte,char,double,float,int,long,short, + % String + String, + % primitive wrapper types + Boolean,Byte,Character,Double,Float,Integer,Long,Short + % number types + Number,AtomicInteger,AtomicLong,BigDecimal,BigInteger,DoubleAccumulator,DoubleAdder,LongAccumulator,LongAdder,Short, + % other + Object,Void,void + }, + morekeywords={[3] % literals + % reserved words for literal values + null,true,false, + }, + sensitive, + morecomment = [l]//, + morecomment = [s]{/*}{*/}, + morecomment = [s]{/**}{*/}, + morestring = [b]", + morestring = [b]', +} + +\lstdefinelanguage{XML}{ + morestring = [b]", + moredelim = [s][\bfseries\color{listing-keyword}]{<}{\ }, + moredelim = [s][\bfseries\color{listing-keyword}]{}, + moredelim = [l][\bfseries\color{listing-keyword}]{/>}, + moredelim = [l][\bfseries\color{listing-keyword}]{>}, + morecomment = [s]{}, + morecomment = [s]{}, + commentstyle = \color{listing-comment}, + stringstyle = \color{listing-string}, + identifierstyle = \color{listing-identifier} +} +$endif$ + +% +% header and footer +% +$if(beamer)$ +$else$ +$if(disable-header-and-footer)$ +$else$ +\usepackage[headsepline,footsepline]{scrlayer-scrpage} + +\newpairofpagestyles{eisvogel-header-footer}{ + \clearpairofpagestyles + \ihead*{$if(header-left)$$header-left$$else$$title$$endif$} + \chead*{$if(header-center)$$header-center$$else$$endif$} + \ohead*{$if(header-right)$$header-right$$else$$date$$endif$} + \ifoot*{$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$} + \cfoot*{$if(footer-center)$$footer-center$$else$$endif$} + \ofoot*{$if(footer-right)$$footer-right$$else$\thepage$endif$} + \addtokomafont{pageheadfoot}{\upshape} +} +\pagestyle{eisvogel-header-footer} + +$if(book)$ +\deftripstyle{ChapterStyle}{}{}{}{}{\pagemark}{} +\renewcommand*{\chapterpagestyle}{ChapterStyle} +$endif$ + +$if(page-background)$ +\backgroundsetup{ +scale=1, +color=black, +opacity=$if(page-background-opacity)$$page-background-opacity$$else$0.2$endif$, +angle=0, +contents={% + \includegraphics[width=\paperwidth,height=\paperheight]{$page-background$} + }% +} +$endif$ +$endif$ +$endif$ + +%% +%% end added +%% + +\begin{document} + +%% +%% begin titlepage +%% +$if(beamer)$ +$else$ +$if(titlepage)$ +\begin{titlepage} +$if(titlepage-background)$ +\newgeometry{top=2cm, right=4cm, bottom=3cm, left=4cm} +$else$ +\newgeometry{left=6cm} +$endif$ +$if(titlepage-color)$ +\definecolor{titlepage-color}{HTML}{$titlepage-color$} +\newpagecolor{titlepage-color}\afterpage{\restorepagecolor} +$endif$ +$if(titlepage-background)$ +\tikz[remember picture,overlay] \node[inner sep=0pt] at (current page.center){\includegraphics[width=\paperwidth,height=\paperheight]{$titlepage-background$}}; +$endif$ +\newcommand{\colorRule}[3][black]{\textcolor[HTML]{#1}{\rule{#2}{#3}}} +\begin{flushleft} +\noindent +\\[-1em] +\color[HTML]{$if(titlepage-text-color)$$titlepage-text-color$$else$5F5F5F$endif$} +\makebox[0pt][l]{\colorRule[$if(titlepage-rule-color)$$titlepage-rule-color$$else$435488$endif$]{1.3\textwidth}{$if(titlepage-rule-height)$$titlepage-rule-height$$else$4$endif$pt}} +\par +\noindent + + +$if(titlepage-background)$ +% The titlepage with a background image has other text spacing and text size +{ + \setstretch{2} + \vfill + \vskip -8em + $if(title-vskip)$ + \vskip $title-vskip$ + $endif$ + $if(title-hskip)$ + \vskip $title-hskip$ + $endif$ + \noindent { + $if(title-size)$ + \$title-size$ + $else$ + \huge + $endif$ +\textbf{\textsf{$title$}}} + $if(subtitle)$ + \vskip 1em + { + $if(subtitle-size)$ + \$subtitle-size$ + $else$ + \Large + $endif$ + \textsf{$subtitle$}} + $endif$ + \vskip 2em + $if(author-vskip)$ + \vskip $author-vskip$ + $endif$ + \noindent { + $if(author-size)$ + $author-size$ + $else$ + \Large + $endif$ + +\textsf{$for(author)$$author$$sep$, $endfor$} +\vskip 0.6em + $if(date-vskip)$ + \vskip $date-vskip$ + $endif$ + +\textsf{$date$}} + \vfill +} +$else$ +{ + \setstretch{1.4} + \vfill + \noindent {\huge \textbf{\textsf{$title$}}} + $if(subtitle)$ + \vskip 1em + {\Large \textsf{$subtitle$}} + $endif$ + \vskip 2em + \noindent {\Large \textsf{$for(author)$$author$$sep$, $endfor$}} + \vfill +} +$endif$ + +$if(titlepage-logo)$ +\noindent +\includegraphics[width=$if(logo-width)$$logo-width$$else$35mm$endif$, left]{$titlepage-logo$} +$endif$ + +$if(titlepage-background)$ +$else$ +\textsf{$date$} +$endif$ +\end{flushleft} +\end{titlepage} +\restoregeometry +\pagenumbering{arabic} +$endif$ +$endif$ + +%% +%% end titlepage +%% + +$if(has-frontmatter)$ +\frontmatter +$endif$ +$if(title)$ +$if(beamer)$ +\frame{\titlepage} +% don't generate the default title +% $else$ +% \maketitle +$endif$ +$if(abstract)$ +\begin{abstract} +$abstract$ +\end{abstract} +$endif$ +$endif$ + +$if(first-chapter)$ +\setcounter{chapter}{$first-chapter$} +\addtocounter{chapter}{-1} +$endif$ + +$for(include-before)$ +$include-before$ + +$endfor$ +$if(toc)$ +$if(toc-title)$ +\renewcommand*\contentsname{$toc-title$} +$endif$ +$if(beamer)$ +\begin{frame}[allowframebreaks] +$if(toc-title)$ + \frametitle{$toc-title$} +$endif$ + \setcounter{tocdepth}{$toc-depth$} + \tableofcontents +\end{frame} +$if(toc-own-page)$ +\newpage +$endif$ +$else$ +{ +$if(colorlinks)$ +\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$} +$endif$ +\setcounter{tocdepth}{$toc-depth$} +\tableofcontents +$if(toc-own-page)$ +\newpage +$endif$ +} +$endif$ +$endif$ +$if(lof)$ +\listoffigures +$endif$ +$if(lot)$ +\listoftables +$endif$ +$if(linestretch)$ +\setstretch{$linestretch$} +$endif$ +$if(has-frontmatter)$ +\mainmatter +$endif$ +$body$ + +$if(has-frontmatter)$ +\backmatter +$endif$ +$if(natbib)$ +$if(bibliography)$ +$if(biblio-title)$ +$if(has-chapters)$ +\renewcommand\bibname{$biblio-title$} +$else$ +\renewcommand\refname{$biblio-title$} +$endif$ +$endif$ +$if(beamer)$ +\begin{frame}[allowframebreaks]{$biblio-title$} + \bibliographytrue +$endif$ + \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} +$if(beamer)$ +\end{frame} +$endif$ + +$endif$ +$endif$ +$if(biblatex)$ +$if(beamer)$ +\begin{frame}[allowframebreaks]{$biblio-title$} + \bibliographytrue + \printbibliography[heading=none] +\end{frame} +$else$ +\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ +$endif$ + +$endif$ +$for(include-after)$ +$include-after$ + +$endfor$ +\end{document} diff --git a/dwev/basic-example.pdf b/dwev/basic-example.pdf new file mode 100644 index 0000000..63be4d5 Binary files /dev/null and b/dwev/basic-example.pdf differ diff --git a/dwev/beamer.pdf b/dwev/beamer.pdf new file mode 100644 index 0000000..7d2c508 Binary files /dev/null and b/dwev/beamer.pdf differ diff --git a/dwev/beamer.qmd b/dwev/beamer.qmd new file mode 100644 index 0000000..1bbcdb7 --- /dev/null +++ b/dwev/beamer.qmd @@ -0,0 +1,53 @@ +--- +title: "Example PDF" +author: [Author] +date: "2019-06-16" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +# Obscura atque coniuge, per de coniunx + +- Vertitur iura tum nepotis causa motus. + +```html + + + + This is the title of the page. + + + This is an image. + + +``` + +# Scyrumve spiro subitusque mente + +```{.sql caption="Pallas nuper longusque cratere habuisse sepulcro pectore fertur."} +CREATE TYPE person_t AS ( + firstName VARCHAR(50) NOT NULL, + lastName VARCHAR(50) NOT NULL +); + +CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS + $$ SELECT 'P: ' || initcap($1.firstName); $$ +LANGUAGE SQL; +``` \ No newline at end of file diff --git a/dwev/book.pdf b/dwev/book.pdf new file mode 100644 index 0000000..4724f44 Binary files /dev/null and b/dwev/book.pdf differ diff --git a/dwev/book.qmd b/dwev/book.qmd new file mode 100644 index 0000000..4b3c42c --- /dev/null +++ b/dwev/book.qmd @@ -0,0 +1,110 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +book: true +classoption: [oneside] +titlepage: true, +# titlepage-rule-color: "360049" +titlepage-text-color: "FFFFFF" +titlepage-rule-height: 0 +titlepage-background: "inst/title-page-custom/background.pdf" +format: dwev-pdf +--- + +# Crinis mixtaque factisque ille + +## Aut nunc furori ad latarumque Philomela + +Lorem markdownum includite volenti monticolae videre vocem hac sparsit puta +gelidis vestros egressus sex. Undis eris per auguris armis. Est saevior pater. +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. + +## Gaudet Silenus iuvenis + +Mulciber denique faces ingratus, in umeros umeri cum, iram ira custos non. +Pariterque admissa nubes, in ait ecce setae summis sacrorum me gaudete tellus. +Ille tu perire ille, artificis caede. + +```scala +def sumLeaves(t: Tree): Int = t match { + case Branch(l, r) => sumLeaves(l) + sumLeaves(r) + case Leaf(x) => x +} +``` + +Cephea rector minorque, quem corpora, +Argus. Superi hoc tenuavit timebant ossibus totque non serpere animo corpore +superas gelidae, comitate deus Iunonigenaeque +pectora. + +- Tuis Cereris armiferae fugiunt suus derepta vel +- Veniam mea cum sollertior arbore flore +- Ceae saecula +- Tamen est + +## Dies tunc in enim + +Gerunt urimur violaeque agricolis iussa locis puppis +simul cognita, vertentia Romana +obprobrium pignora superem est certe nondum suffuderat. Nox Pasiphaeia domo: +**abiit** catenas utro crimine gramina ingemuere mixtae. Quem trabibus etiamnum +orbe addita, eiaculatur videri cervo artus. Nutritur cupidine silentia Maeoniam +aere enim gemuit adgreditur, telasque *annis* nos cum Arctonque ingens lateri +cum iaculoque ferus. + +## Et dextra utque per lenius portus eburnae + +Cui vittas aris ibi putat dicere; factum sedere antiqua? Cognita Lyncides iuste +insuetum lacerum in sinamus arces; aves aevum spatiumque de utrumque moveret in? +Tertia ordine, Epidaurius, *has sed et* et novat: quod superare concubitusque +retia quoque, ne totiens. + +Est paenitet Cerealia sparsit; carne insignia in maris; tibi Nec, que Peleu meum +buxus. Propoetides formae magna auro ad gerat cohibentur facienda partem at +nunc, foret? **Ad stirpe**! Ut latius pararet: vestibus cumque pedibus ficta +prior summas cancer ipsa Marte Buten es +terruit. Opifex dixit oculos Oete quoque, quot silvarum abrepti nutrix concita +obsidis consistere fibula saxum, Antigonen minabitur tota. + +# Vagata eiectatamque sidera satis reducet + +## Talem ex aliquo ingemuit + +Lorem markdownum solus miserabile sitae. Tantum Syron limenque cupidine: litore +modo coniuge: in huc, illo crimen novena, vocisque gratia, quae. Sua manusque +patris nec meritorum pedibus hominis virgine, ruere tamen virtus aliter. Tunc +ego. Solitaque remittant fagus omnia eat. + +$$r_d^i(t+1) = \min\{r_s,\max\{0, r_d^i(t) + \beta(n_t - \lvert N_i(t)\rvert)\}\}$$ + +Obstitit silentia et novi non, huic metitur, coronantur lucos. Bracchia aura; +donis quod volucris illi futurae, ut +*venturorumque tellus* arma: saxumque. + +## Vera tum est putes adspicit noxque + +Hora et vidit figere tangi! Omni bis *prior nunc* capilli, pulsat tuam Pallante, +*suis*. Solae decore ipso armorum coitusque paro audita *viveret tibi* apparuit +flammasque lapides. Cursu anas usus eundo anticipata, intabescere quae concita +fallit. Dea corpore fabrae: nec Neptunus membris, falsa murice; fac Marte quam +in. + +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et. + +## Arachnes deus tum penetralia tempore aurea populante + +Lentae spissisque *carne*. Fixit inquit cautes et iugis novus sim quisquam nisi +haesurum vel deorum fetibus virgo. + +Sub nautae, tegebat clamat. Credas Parrhasio. Commemorat nescio liceatque +excipit! Uris clipeo ego visa amplexas meos ibitis condidit Taenaria, si. Tua +ora tempus patrio revulsos, tellus curru facies, Gange gemit agitata! + +Ruinam ipsaque sibi ovis Teucer Iovis tibi; erat versus neque victa attonitus +doque, quod! Dixit carmina, eo, per capillis quid lina, qua, ille. Siqua +caelestum flammas ferre super et saevissime inmisit quoque suis sic aspergine +vis praerupit. Et puellae summa eventu. +Placeat ut medio *plectrumque inferni* Talia; pertimui opem. diff --git a/dwev/bookcn.pdf b/dwev/bookcn.pdf new file mode 100644 index 0000000..11d0206 Binary files /dev/null and b/dwev/bookcn.pdf differ diff --git a/dwev/bookcn.qmd b/dwev/bookcn.qmd new file mode 100644 index 0000000..caed11f --- /dev/null +++ b/dwev/bookcn.qmd @@ -0,0 +1,131 @@ +--- +title: "中文报告模板" +author: "苏命" +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +book: true +# top-level-division: chapter +documentclass: ctexbook # 使用ctexbook文档类专门处理中文 +classoption: + - fntef + - UTF8 + # - scheme=plain # 标题样式方案 + - zihao=-4 # 正文字号小四 + - lang=cn + # - chinesefont=founder # founder|ctexfont|nofont + - scheme=chinese + - color=blue # blue|green| + - titlestyle=hang +# classoption: [oneside] +titlepage: true +# titlepage-rule-color: "360049" +titlepage-text-color: "360049" +titlepage-rule-height: 0 +titlepage-background: "inst/cover1.pdf" +title-vskip: -30em +title-size: "Huge" +author-vskip: -4em +date-vskip: -1em +numbersections: true +# titlepage-logo: "inst/rceeslogo.pdf" +# logo-width: 30mm +lang: zh-CN +fig-pos: "!t" +colorlinks: true +urlcolor: blue +header-left: "\\hspace{1cm}" +header-center: "\\leftmark" +header-right: "第\\thepage 页" +footer-left: "\\thetitle" +# footer-center: "This is \\LaTeX{}" +footer-right: "\\leftmark" +toc: true +toc-own-page: true +fig-toc: true +CJKmainfont: "Noto Serif CJK SC" +CJKsansfont: "Noto Sans CJK SC" +CJKmonofont: "Noto Sans Mono CJK SC" +CJKoptions: | + AutoFakeBold=true +format: dwev-pdf +--- + +```{r} +#| label: setup +#| include: false +#| cache: false +lang <- "cn" +RM <- "F" # global rendermode, L: load pdata; F: fast load pdf +isRendering <- !isTRUE(getOption('knitr.in.progress')) +require(lubridate) +require(tidyverse) +require(patchwork) +require(drwateR) +rmdify::rmd_init() +``` + + +# 摘要 + +# 项目背景与国内外现状介绍 + + +::: callout-warning +Book in early development. Planned release in 202X. +::: + +本书分三大部分,分别是机器学习、贝叶斯建模和空间分析。三个部分分别依据任务类型、模型种类和数据类型展开,不同的写作出发点将呈现不一样的写作风格。应用机器学习首先需要确定任务类型,根据不同的任务选用不同的算法。贝叶斯建模从简单到复杂分频率和贝叶斯方法介绍主流的统计模型。应用空间分析方法需要根据空间数据类型(生成机理)而定,不同的生成机理将对应不同的建模和分析方法。机器学习根据任务类型分聚类、分类、回归和排序四个章节。贝叶斯建模根据模型种类分概率推理框架、线性模型、广义线性模型、分层正态模型、混合效应模型、广义可加模型、高斯过程回归、时间序列回归等八个章节。空间分析部分根据空间数据类型分点模式数据分析、点参考数据分析和区域数据分析三个章节。如[@fig-fig1]所示。 + + +```{r} +#| label: fig-fig1 +#| fig-cap: "asdf" + +plot(1) +``` + + + +## 环境信息 {#session .unnumbered} + +本书采用科学和技术写作排版系统 [Quarto](https://quarto.org/) 编写,所有代码和文本混编在 qmd 格式的纯文本文件中,具有计算可重复性,即内含的 R 语言、Stan 语言和 Python 语言代码都可运行,并将计算结果插入到最终的文档中,本书使用的主要 R 包及版本信息如下: + + +# 主要进展1 + +## 主要进展2 + +本书分三大部分,分别是机器学习、贝叶斯建模和空间分析。三个部分分别依据任务类型、模型种类和数据类型展开,不同的写作出发点将呈现不一样的写作风格。应用机器学习首先需要确定任务类型,根据不同的任务选用不同的算法。贝叶斯建模从简单到复杂分频率和贝叶斯方法介绍主流的统计模型。应用空间分析方法需要根据空间数据类型(生成机理)而定,不同的生成机理将对应不同的建模和分析方法。机器学习根据任务类型分聚类、分类、回归和排序四个章节。贝叶斯建模根据模型种类分概率推理框架、线性模型、广义线性模型、分层正态模型、混合效应模型、广义可加模型、高斯过程回归、时间序列回归等八个章节。空间分析部分根据空间数据类型分点模式数据分析、点参考数据分析和区域数据分析三个章节。 + +## 主要进展2 + +本书分三大部分,分别是机器学习、贝叶斯建模和空间分析。三个部分分别依据任务类型、模型种类和数据类型展开,不同的写作出发点将呈现不一样的写作风格。应用机器学习首先需要确定任务类型,根据不同的任务选用不同的算法。贝叶斯建模从简单到复杂分频率和贝叶斯方法介绍主流的统计模型。应用空间分析方法需要根据空间数据类型(生成机理)而定,不同的生成机理将对应不同的建模和分析方法。机器学习根据任务类型分聚类、分类、回归和排序四个章节。贝叶斯建模根据模型种类分概率推理框架、线性模型、广义线性模型、分层正态模型、混合效应模型、广义可加模型、高斯过程回归、时间序列回归等八个章节。空间分析部分根据空间数据类型分点模式数据分析、点参考数据分析和区域数据分析三个章节。 + + +# 主要进展2 + +## 主要进展2 + +本书分三大部分,分别是机器学习、贝叶斯建模和空间分析。三个部分分别依据任务类型、模型种类和数据类型展开,不同的写作出发点将呈现不一样的写作风格。应用机器学习首先需要确定任务类型,根据不同的任务选用不同的算法。贝叶斯建模从简单到复杂分频率和贝叶斯方法介绍主流的统计模型。应用空间分析方法需要根据空间数据类型(生成机理)而定,不同的生成机理将对应不同的建模和分析方法。机器学习根据任务类型分聚类、分类、回归和排序四个章节。贝叶斯建模根据模型种类分概率推理框架、线性模型、广义线性模型、分层正态模型、混合效应模型、广义可加模型、高斯过程回归、时间序列回归等八个章节。空间分析部分根据空间数据类型分点模式数据分析、点参考数据分析和区域数据分析三个章节。 + +## 主要进展2 + +本书分三大部分,分别是机器学习、贝叶斯建模和空间分析。三个部分分别依据任务类型、模型种类和数据类型展开,不同的写作出发点将呈现不一样的写作风格。应用机器学习首先需要确定任务类型,根据不同的任务选用不同的算法。贝叶斯建模从简单到复杂分频率和贝叶斯方法介绍主流的统计模型。应用空间分析方法需要根据空间数据类型(生成机理)而定,不同的生成机理将对应不同的建模和分析方法。机器学习根据任务类型分聚类、分类、回归和排序四个章节。贝叶斯建模根据模型种类分概率推理框架、线性模型、广义线性模型、分层正态模型、混合效应模型、广义可加模型、高斯过程回归、时间序列回归等八个章节。空间分析部分根据空间数据类型分点模式数据分析、点参考数据分析和区域数据分析三个章节。 + +## 主要进展2 + +本书分三大部分,分别是机器学习、贝叶斯建模和空间分析。三个部分分别依据任务类型、模型种类和数据类型展开,不同的写作出发点将呈现不一样的写作风格。应用机器学习首先需要确定任务类型,根据不同的任务选用不同的算法。贝叶斯建模从简单到复杂分频率和贝叶斯方法介绍主流的统计模型。应用空间分析方法需要根据空间数据类型(生成机理)而定,不同的生成机理将对应不同的建模和分析方法。机器学习根据任务类型分聚类、分类、回归和排序四个章节。贝叶斯建模根据模型种类分概率推理框架、线性模型、广义线性模型、分层正态模型、混合效应模型、广义可加模型、高斯过程回归、时间序列回归等八个章节。空间分析部分根据空间数据类型分点模式数据分析、点参考数据分析和区域数据分析三个章节。 + +## 主要进展2 + +本书分三大部分,分别是机器学习、贝叶斯建模和空间分析。三个部分分别依据任务类型、模型种类和数据类型展开,不同的写作出发点将呈现不一样的写作风格。应用机器学习首先需要确定任务类型,根据不同的任务选用不同的算法。贝叶斯建模从简单到复杂分频率和贝叶斯方法介绍主流的统计模型。应用空间分析方法需要根据空间数据类型(生成机理)而定,不同的生成机理将对应不同的建模和分析方法。机器学习根据任务类型分聚类、分类、回归和排序四个章节。贝叶斯建模根据模型种类分概率推理框架、线性模型、广义线性模型、分层正态模型、混合效应模型、广义可加模型、高斯过程回归、时间序列回归等八个章节。空间分析部分根据空间数据类型分点模式数据分析、点参考数据分析和区域数据分析三个章节。 + + +# 结论与下一步计划 + +本书分三大部分,分别是机器学习、贝叶斯建模和空间分析。三个部分分别依据任务类型、模型种类和数据类型展开,不同的写作出发点将呈现不一样的写作风格。应用机器学习首先需要确定任务类型,根据不同的任务选用不同的算法。贝叶斯建模从简单到复杂分频率和贝叶斯方法介绍主流的统计模型。应用空间分析方法需要根据空间数据类型(生成机理)而定,不同的生成机理将对应不同的建模和分析方法。机器学习根据任务类型分聚类、分类、回归和排序四个章节。贝叶斯建模根据模型种类分概率推理框架、线性模型、广义线性模型、分层正态模型、混合效应模型、广义可加模型、高斯过程回归、时间序列回归等八个章节。空间分析部分根据空间数据类型分点模式数据分析、点参考数据分析和区域数据分析三个章节。 + +# 参考文献{-} + + diff --git a/dwev/boxes-with-pandoc-latex-environment-and-awesomebox.pdf b/dwev/boxes-with-pandoc-latex-environment-and-awesomebox.pdf new file mode 100644 index 0000000..9f413f7 Binary files /dev/null and b/dwev/boxes-with-pandoc-latex-environment-and-awesomebox.pdf differ diff --git a/dwev/boxes-with-pandoc-latex-environment-and-awesomebox.qmd b/dwev/boxes-with-pandoc-latex-environment-and-awesomebox.qmd new file mode 100644 index 0000000..3c26ccd --- /dev/null +++ b/dwev/boxes-with-pandoc-latex-environment-and-awesomebox.qmd @@ -0,0 +1,131 @@ +--- +title: "Boxes with pandoc-latex-environment and awesomebox" +author: [Author] +date: "2020-01-01" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +colorlinks: true +header-includes: +- | + ```{=latex} + \usepackage{awesomebox} + ``` +pandoc-latex-environment: + noteblock: [note] + tipblock: [tip] + warningblock: [warning] + cautionblock: [caution] + importantblock: [important] +format: dwev-pdf +--- + +# Boxes with `pandoc-latex-environment` and `awesomebox` + +This example demonstrates the use of the filter [`pandoc-latex-environments`] to create custom boxes with the [`awesomebox`] package. *pandoc-latex-environment* is a pandoc filter for adding LaTeX environment on specific HTML div tags. + + +## Box Types + +For a list of all available boxes and options visit the [`awesomebox` documentation](https://ctan.org/pkg/awesomebox). + +```markdown +::: note +Lorem ipsum dolor ... +::: +``` + +::: note +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. + +Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum +felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl. +::: + +```markdown +::: tip +Lorem ipsum dolor ... +::: +``` + +::: tip +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. + +Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum +felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl. +::: + +```markdown +::: warning +Lorem ipsum dolor ... +::: +``` + +::: warning +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. + +Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum +felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl. +::: + +```markdown +::: caution +Lorem ipsum dolor ... +::: +``` + +::: caution +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. + +Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum +felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl. +::: + +```markdown +::: important +Lorem ipsum dolor ... +::: +``` + +::: important +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. + +Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum +felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl. +::: + +One can also use raw HTML `div` tags to create the custom environments. + +```markdown +
+Lorem ipsum dolor ... +
+``` + +
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. +
+ +Markdown formatting inside the environments is supported. + +::: important +**Lorem ipsum dolor** sit amet, `consectetur adipiscing` elit. + +``` +if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); +} +``` + +*Nam aliquet libero +quis lectus elementum fermentum.* +::: + +[`pandoc-latex-environments`]: https://github.com/chdemko/pandoc-latex-environment/ +[`awesomebox`]: https://ctan.org/pkg/awesomebox \ No newline at end of file diff --git a/dwev/boxes-with-pandoc-latex-environment-and-tcolorbox.pdf b/dwev/boxes-with-pandoc-latex-environment-and-tcolorbox.pdf new file mode 100644 index 0000000..3a50751 Binary files /dev/null and b/dwev/boxes-with-pandoc-latex-environment-and-tcolorbox.pdf differ diff --git a/dwev/boxes-with-pandoc-latex-environment-and-tcolorbox.qmd b/dwev/boxes-with-pandoc-latex-environment-and-tcolorbox.qmd new file mode 100644 index 0000000..5d460eb --- /dev/null +++ b/dwev/boxes-with-pandoc-latex-environment-and-tcolorbox.qmd @@ -0,0 +1,79 @@ +--- +title: "Boxes with pandoc-latex-environment and tcolorbox" +author: [Author] +date: "2020-01-01" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +colorlinks: true +header-includes: +- | + ```{=latex} + \usepackage{tcolorbox} + + \newtcolorbox{info-box}{colback=cyan!5!white,arc=0pt,outer arc=0pt,colframe=cyan!60!black} + \newtcolorbox{warning-box}{colback=orange!5!white,arc=0pt,outer arc=0pt,colframe=orange!80!black} + \newtcolorbox{error-box}{colback=red!5!white,arc=0pt,outer arc=0pt,colframe=red!75!black} + ``` +pandoc-latex-environment: + tcolorbox: [box] + info-box: [info] + warning-box: [warning] + error-box: [error] +format: dwev-pdf +--- + +# Boxes with `pandoc-latex-environment` and `tcolorbox` + +This example demonstrates the use of the filter [`pandoc-latex-environments`] +to create custom boxes with the [`tcolorbox`] package. +*pandoc-latex-environment* is a pandoc filter for adding LaTeX environment on +specific HTML div tags. For a list of all available options visit the +[`tcolorbox` documentation](https://ctan.org/pkg/tcolorbox). + +## Simple Box + +::: box +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. +::: + +## Markdown inside the Box + +Markdown formatting inside the environment is supported. + +::: box +Lorem ipsum **dolor** sit amet, `consectetur adipiscing` elit. + +``` +if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); +} +``` + +*Nam aliquet libero +quis lectus elementum fermentum.* +::: + +## Custom Box + +One can define custom boxes in the LaTeX preamble with the variable +`header-includes` at the top of this document. + +::: info +**Info**: This is a custom box that may be used to show info messages in your +document. +::: + +::: warning +**Warning**: This is a custom box that may be used to show warning messages in +your document. +::: + +::: error +**Error**: This is a custom box that may be used to show error messages in your +document. +::: + +[`pandoc-latex-environments`]: https://github.com/chdemko/pandoc-latex-environment/ +[`tcolorbox`]: https://ctan.org/pkg/tcolorbox \ No newline at end of file diff --git a/dwev/code-blocks-listings.pdf b/dwev/code-blocks-listings.pdf new file mode 100644 index 0000000..14e2182 Binary files /dev/null and b/dwev/code-blocks-listings.pdf differ diff --git a/dwev/code-blocks-listings.qmd b/dwev/code-blocks-listings.qmd new file mode 100644 index 0000000..5adf4d2 --- /dev/null +++ b/dwev/code-blocks-listings.qmd @@ -0,0 +1,56 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios -- "figurae flectentem annis aliquid Peneosque" ab +esse, 'obstat' gravitate. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. Obscura atque coniuge, per de coniunx, sibi medias +commentaque virgine anima tamen comitemque petis, sed. + +```{.html caption="Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. Obscura atque coniuge, per de coniunx, sibi medias +commentaque virgine anima tamen comitemque petis, sed."} + + + + This is the title of the page. + + + This is a link. + This is an image. + + +``` + +Vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +```sql +CREATE TYPE person_t AS ( + firstName VARCHAR(50) NOT NULL, + lastName VARCHAR(50) NOT NULL +); +CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS + $$ SELECT 'P: ' || initcap($1.firstName); $$ +LANGUAGE SQL; +``` \ No newline at end of file diff --git a/dwev/code-blocks-without-listings.qmd b/dwev/code-blocks-without-listings.qmd new file mode 100644 index 0000000..d16aee7 --- /dev/null +++ b/dwev/code-blocks-without-listings.qmd @@ -0,0 +1,53 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque +abesse obstat. + +```java +public class Example implements LoremIpsum { + public static void map(String[] sortedLeft, Long[] sortedRight, int splitIndex) { + if(sortedLeft == null || sortedRight == null) { + System.err.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur +obscura atque coniuge. + +```html + + + + This is the title of the page. + + + This is a link. + This is an image. + + +``` + +Vertitur iura tum nepotis causa; motus. Diva virtus! Acrota destruitis vos +iubet quo et classis excessere. + +```sql +CREATE TYPE person_t AS ( + firstName VARCHAR(50) NOT NULL, +); + +CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS + $$ SELECT 'P: ' || initcap($1.firstName); $$ +LANGUAGE SQL; +``` \ No newline at end of file diff --git a/dwev/eisvogel.tex b/dwev/eisvogel.tex new file mode 100644 index 0000000..3688e4f --- /dev/null +++ b/dwev/eisvogel.tex @@ -0,0 +1,1213 @@ +%% +% Copyright (c) 2017 - 2024, Pascal Wagler; +% Copyright (c) 2014 - 2024, John MacFarlane +% +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions +% are met: +% +% - Redistributions of source code must retain the above copyright +% notice, this list of conditions and the following disclaimer. +% +% - Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% +% - Neither the name of John MacFarlane nor the names of other +% contributors may be used to endorse or promote products derived +% from this software without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +% COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +% POSSIBILITY OF SUCH DAMAGE. +%% + +%% +% This is the Eisvogel pandoc LaTeX template. +% +% For usage information and examples visit the official GitHub page: +% https://github.com/Wandmalfarbe/pandoc-latex-template +%% + +% Options for packages loaded elsewhere +\PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref} +\PassOptionsToPackage{hyphens}{url} +\PassOptionsToPackage{dvipsnames,svgnames,x11names,table}{xcolor} +$if(CJKmainfont)$ +\PassOptionsToPackage{space}{xeCJK} +$endif$ +% +\documentclass[ +$if(fontsize)$ + $fontsize$, +$endif$ +$if(papersize)$ + $papersize$paper, +$else$ + paper=a4, +$endif$ +$if(beamer)$ + ignorenonframetext, +$if(handout)$ + handout, +$endif$ +$if(aspectratio)$ + aspectratio=$aspectratio$, +$endif$ +$if(babel-lang)$ + $babel-lang$, +$endif$ +$endif$ +$for(classoption)$ + $classoption$$sep$, +$endfor$ + ,captions=tableheading +]{$if(beamer)$$documentclass$$else$$if(book)$scrbook$else$scrartcl$endif$$endif$} +$if(beamer)$ +$if(background-image)$ +\usebackgroundtemplate{% + \includegraphics[width=\paperwidth]{$background-image$}% +} +% In beamer background-image does not work well when other images are used, so this is the workaround +\pgfdeclareimage[width=\paperwidth,height=\paperheight]{background}{$background-image$} +\usebackgroundtemplate{\pgfuseimage{background}} +$endif$ +\usepackage{pgfpages} +\setbeamertemplate{caption}[numbered] +\setbeamertemplate{caption label separator}{: } +\setbeamercolor{caption name}{fg=normal text.fg} +\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$ +$for(beameroption)$ +\setbeameroption{$beameroption$} +$endfor$ +% Prevent slide breaks in the middle of a paragraph +\widowpenalties 1 10000 +\raggedbottom +$if(section-titles)$ +\setbeamertemplate{part page}{ + \centering + \begin{beamercolorbox}[sep=16pt,center]{part title} + \usebeamerfont{part title}\insertpart\par + \end{beamercolorbox} +} +\setbeamertemplate{section page}{ + \centering + \begin{beamercolorbox}[sep=12pt,center]{section title} + \usebeamerfont{section title}\insertsection\par + \end{beamercolorbox} +} +\setbeamertemplate{subsection page}{ + \centering + \begin{beamercolorbox}[sep=8pt,center]{subsection title} + \usebeamerfont{subsection title}\insertsubsection\par + \end{beamercolorbox} +} +\AtBeginPart{ + \frame{\partpage} +} +\AtBeginSection{ + \ifbibliography + \else + \frame{\sectionpage} + \fi +} +\AtBeginSubsection{ + \frame{\subsectionpage} +} +$endif$ +$endif$ +$if(beamerarticle)$ +\usepackage{beamerarticle} % needs to be loaded first +$endif$ +\usepackage{amsmath,amssymb} +$if(linestretch)$ +\usepackage{setspace} +$else$ +% Use setspace anyway because we change the default line spacing. +% The spacing is changed early to affect the titlepage and the TOC. +\usepackage{setspace} +\setstretch{1.2} +$endif$ +\usepackage{iftex} +\ifPDFTeX + \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} + \usepackage[utf8]{inputenc} + \usepackage{textcomp} % provide euro and other symbols +\else % if luatex or xetex +$if(mathspec)$ + \ifXeTeX + \usepackage{mathspec} % this also loads fontspec + \else + \usepackage{unicode-math} % this also loads fontspec + \fi +$else$ + \usepackage{unicode-math} % this also loads fontspec +$endif$ + \defaultfontfeatures{Scale=MatchLowercase}$-- must come before Beamer theme + \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} +\fi +$if(fontfamily)$ +$else$ +$-- Set default font before Beamer theme so the theme can override it +\usepackage{lmodern} +$endif$ +$-- Set Beamer theme before user font settings so they can override theme +$if(beamer)$ +$if(theme)$ +\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$} +$endif$ +$if(colortheme)$ +\usecolortheme{$colortheme$} +$endif$ +$if(fonttheme)$ +\usefonttheme{$fonttheme$} +$endif$ +$if(mainfont)$ +\usefonttheme{serif} % use mainfont rather than sansfont for slide text +$endif$ +$if(innertheme)$ +\useinnertheme{$innertheme$} +$endif$ +$if(outertheme)$ +\useoutertheme{$outertheme$} +$endif$ +$endif$ +$-- User font settings (must come after default font and Beamer theme) +$if(fontfamily)$ +\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$} +$endif$ +\ifPDFTeX\else + % xetex/luatex font selection +$if(mainfont)$ + $if(mainfontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("mainfontfallback",{ + $for(mainfontfallback)$"$mainfontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$} +$endif$ +$if(sansfont)$ + $if(sansfontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("sansfontfallback",{ + $for(sansfontfallback)$"$sansfontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$$if(sansfontfallback)$,RawFeature={fallback=sansfontfallback}$endif$]{$sansfont$} +$endif$ +$if(monofont)$ + $if(monofontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("monofontfallback",{ + $for(monofontfallback)$"$monofontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$if(monofontfallback)$,RawFeature={fallback=monofontfallback}$endif$]{$monofont$} +$endif$ +$for(fontfamilies)$ + \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$} +$endfor$ +$if(mathfont)$ +$if(mathspec)$ + \ifXeTeX + \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} + \else + \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} + \fi +$else$ + \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} +$endif$ +$endif$ +$if(CJKmainfont)$ + \ifXeTeX + \usepackage{xeCJK} + \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} + $if(CJKsansfont)$ + \setCJKsansfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKsansfont$} + $endif$ + $if(CJKmonofont)$ + \setCJKmonofont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmonofont$} + $endif$ + \fi +$endif$ +$if(luatexjapresetoptions)$ + \ifLuaTeX + \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset} + \fi +$endif$ +$if(CJKmainfont)$ + \ifLuaTeX + \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec} + \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} + \fi +$endif$ +\fi +$if(zero-width-non-joiner)$ +%% Support for zero-width non-joiner characters. +\makeatletter +\def\zerowidthnonjoiner{% + % Prevent ligatures and adjust kerning, but still support hyphenating. + \texorpdfstring{% + \TextOrMath{\nobreak\discretionary{-}{}{\kern.03em}% + \ifvmode\else\nobreak\hskip\z@skip\fi}{}% + }{}% +} +\makeatother +\ifPDFTeX + \DeclareUnicodeCharacter{200C}{\zerowidthnonjoiner} +\else + \catcode`^^^^200c=\active + \protected\def ^^^^200c{\zerowidthnonjoiner} +\fi +%% End of ZWNJ support +$endif$ +% Use upquote if available, for straight quotes in verbatim environments +\IfFileExists{upquote.sty}{\usepackage{upquote}}{} +\IfFileExists{microtype.sty}{% use microtype if available + \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype} + \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts +}{} +$if(indent)$ +$else$ +\makeatletter +\@ifundefined{KOMAClassName}{% if non-KOMA class + \IfFileExists{parskip.sty}{% + \usepackage{parskip} + }{% else + \setlength{\parindent}{0pt} + \setlength{\parskip}{6pt plus 2pt minus 1pt}} +}{% if KOMA class + \KOMAoptions{parskip=half}} +\makeatother +$endif$ +$if(verbatim-in-note)$ +\usepackage{fancyvrb} +$endif$ +\usepackage{xcolor} +\definecolor{default-linkcolor}{HTML}{A50000} +\definecolor{default-filecolor}{HTML}{A50000} +\definecolor{default-citecolor}{HTML}{4077C0} +\definecolor{default-urlcolor}{HTML}{4077C0} +$if(footnotes-pretty)$ +% load footmisc in order to customize footnotes (footmisc has to be loaded before hyperref, cf. https://tex.stackexchange.com/a/169124/144087) +\usepackage[hang,flushmargin,bottom,multiple]{footmisc} +\setlength{\footnotemargin}{0.8em} % set space between footnote nr and text +\setlength{\footnotesep}{\baselineskip} % set space between multiple footnotes +\setlength{\skip\footins}{0.3cm} % set space between page content and footnote +\setlength{\footskip}{0.9cm} % set space between footnote and page bottom +$endif$ +$if(geometry)$ +$if(beamer)$ +\geometry{$for(geometry)$$geometry$$sep$,$endfor$} +$else$ +\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} +$endif$ +$else$ +$if(beamer)$ +$else$ +\usepackage[margin=2.5cm,includehead=true,includefoot=true,centering,$for(geometry)$$geometry$$sep$,$endfor$]{geometry} +$endif$ +$endif$ +$if(titlepage-logo)$ +\usepackage[export]{adjustbox} +\usepackage{graphicx} +$endif$ +$if(beamer)$ +\newif\ifbibliography +$endif$ +$if(listings)$ +\usepackage{listings} +\newcommand{\passthrough}[1]{#1} +\lstset{defaultdialect=[5.3]Lua} +\lstset{defaultdialect=[x86masm]Assembler} +$endif$ +$if(listings-no-page-break)$ +\usepackage{etoolbox} +\BeforeBeginEnvironment{lstlisting}{\par\noindent\begin{minipage}{\linewidth}} +\AfterEndEnvironment{lstlisting}{\end{minipage}\par\addvspace{\topskip}} +$endif$ +$if(lhs)$ +\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} +$endif$ +$if(highlighting-macros)$ +$highlighting-macros$ + +% Workaround/bugfix from jannick0. +% See https://github.com/jgm/pandoc/issues/4302#issuecomment-360669013) +% or https://github.com/Wandmalfarbe/pandoc-latex-template/issues/2 +% +% Redefine the verbatim environment 'Highlighting' to break long lines (with +% the help of fvextra). Redefinition is necessary because it is unlikely that +% pandoc includes fvextra in the default template. +\usepackage{fvextra} +\DefineVerbatimEnvironment{Highlighting}{Verbatim}{breaklines,fontsize=$if(code-block-font-size)$$code-block-font-size$$else$\small$endif$,commandchars=\\\{\}} + +$endif$ +$if(tables)$ +\usepackage{longtable,booktabs,array} +$if(multirow)$ +\usepackage{multirow} +$endif$ +\usepackage{calc} % for calculating minipage widths +$if(beamer)$ +\usepackage{caption} +% Make caption package work with longtable +\makeatletter +\def\fnum@table{\tablename~\thetable} +\makeatother +$else$ +% Correct order of tables after \paragraph or \subparagraph +\usepackage{etoolbox} +\makeatletter +\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{} +\makeatother +% Allow footnotes in longtable head/foot +\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}} +\makesavenoteenv{longtable} +$endif$ +$endif$ +% add backlinks to footnote references, cf. https://tex.stackexchange.com/questions/302266/make-footnote-clickable-both-ways +$if(footnotes-disable-backlinks)$ +$else$ +\usepackage{footnotebackref} +$endif$ +$if(graphics)$ +\usepackage{graphicx} +\makeatletter +% \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} +% \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} +% \makeatother +% % Scale images if necessary, so that they will not overflow the page +% % margins by default, and it is still possible to overwrite the defaults +% % using explicit options in \includegraphics[width, height, ...]{} +% \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} +\newsavebox\pandoc@box +\newcommand*\pandocbounded[1]{% scales image to fit in text height/width + \sbox\pandoc@box{#1}% + \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}% + \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}% + \ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both + \ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}% + \else\usebox{\pandoc@box}% + \fi% +} +% Set default figure placement to htbp +\makeatletter +\def\fps@figure{htbp} +\makeatother +% \makeatletter Old options from template, replaced with quarto defaults above +% \newsavebox\pandoc@box +% \newcommand*\pandocbounded[1]{% scales image to fit in text height/width +% \sbox\pandoc@box{#1}% +% \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}% +% \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}% +% \ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both +% \ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}% +% \else\usebox{\pandoc@box}% +% \fi% +% } +% % Set default figure placement to htbp +% % Make use of float-package and set default placement for figures to H. +% % The option H means 'PUT IT HERE' (as opposed to the standard h option which means 'You may put it here if you like'). +% \usepackage{float} +% \floatplacement{figure}{$if(float-placement-figure)$$float-placement-figure$$else$H$endif$} +% \makeatother +$endif$ +$if(svg)$ +\usepackage{svg} +$endif$ +$if(strikeout)$ +$-- also used for underline +\ifLuaTeX + \usepackage{luacolor} + \usepackage[soul]{lua-ul} +\else +\usepackage{soul} +$if(beamer)$ + \makeatletter + \let\HL\hl + \renewcommand\hl{% fix for beamer highlighting + \let\set@color\beamerorig@set@color + \let\reset@color\beamerorig@reset@color + \HL} + \makeatother +$endif$ +$if(CJKmainfont)$ + \ifXeTeX + % soul's \st doesn't work for CJK: + \usepackage{xeCJKfntef} + \renewcommand{\st}[1]{\sout{#1}} + \fi +$endif$ +\fi +$endif$ +\setlength{\emergencystretch}{3em} % prevent overfull lines +\providecommand{\tightlist}{% + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} +$if(numbersections)$ +\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$} +$else$ +\setcounter{secnumdepth}{-\maxdimen} % remove section numbering +$endif$ +$if(subfigure)$ +\usepackage{subcaption} +$endif$ +$if(beamer)$ +$else$ +$if(block-headings)$ +% Make \paragraph and \subparagraph free-standing +\makeatletter +\ifx\paragraph\undefined\else + \let\oldparagraph\paragraph + \renewcommand{\paragraph}{ + \@ifstar + \xxxParagraphStar + \xxxParagraphNoStar + } + \newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}} + \newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}} +\fi +\ifx\subparagraph\undefined\else + \let\oldsubparagraph\subparagraph + \renewcommand{\subparagraph}{ + \@ifstar + \xxxSubParagraphStar + \xxxSubParagraphNoStar + } + \newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}} + \newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}} +\fi +\makeatother +$endif$ +$endif$ +$if(pagestyle)$ +\pagestyle{$pagestyle$} +$endif$ +$if(csl-refs)$ +% definitions for citeproc citations +\NewDocumentCommand\citeproctext{}{} +\NewDocumentCommand\citeproc{mm}{% + \begingroup\def\citeproctext{#2}\cite{#1}\endgroup} +\makeatletter + % allow citations to break across lines + \let\@cite@ofmt\@firstofone + % avoid brackets around text for \cite: + \def\@biblabel#1{} + \def\@cite#1#2{{#1\if@tempswa , #2\fi}} +\makeatother +\newlength{\cslhangindent} +\setlength{\cslhangindent}{1.5em} +\newlength{\csllabelwidth} +\setlength{\csllabelwidth}{3em} +\newenvironment{CSLReferences}[2] % #1 hanging-indent, #2 entry-spacing + {\begin{list}{}{% + \setlength{\itemindent}{0pt} + \setlength{\leftmargin}{0pt} + \setlength{\parsep}{0pt} + % turn on hanging indent if param 1 is 1 + \ifodd #1 + \setlength{\leftmargin}{\cslhangindent} + \setlength{\itemindent}{-1\cslhangindent} + \fi + % set entry spacing + \setlength{\itemsep}{#2\baselineskip}}} + {\end{list}} +\usepackage{calc} +\newcommand{\CSLBlock}[1]{\hfill\break\parbox[t]{\linewidth}{\strut\ignorespaces#1\strut}} +\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}} +\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}} +\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1} +$endif$ +$if(lang)$ +\ifLuaTeX +\usepackage[bidi=basic]{babel} +\else +\usepackage[bidi=default]{babel} +\fi +$if(babel-lang)$ +\babelprovide[main,import]{$babel-lang$} +$if(mainfont)$ +\ifPDFTeX +\else +\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$} +\fi +$endif$ +$endif$ +$for(babel-otherlangs)$ +\babelprovide[import]{$babel-otherlangs$} +$endfor$ +$for(babelfonts/pairs)$ +\babelfont[$babelfonts.key$]{rm}{$babelfonts.value$} +$endfor$ +% get rid of language-specific shorthands (see #6817): +\let\LanguageShortHands\languageshorthands +\def\languageshorthands#1{} +$if(selnolig-langs)$ +\ifLuaTeX + \usepackage[$for(selnolig-langs)$$it$$sep$,$endfor$]{selnolig} % disable illegal ligatures +\fi +$endif$ +$endif$ +$for(header-includes)$ +$header-includes$ +$endfor$ +$if(dir)$ +\ifPDFTeX + \TeXXeTstate=1 + \newcommand{\RL}[1]{\beginR #1\endR} + \newcommand{\LR}[1]{\beginL #1\endL} + \newenvironment{RTL}{\beginR}{\endR} + \newenvironment{LTR}{\beginL}{\endL} +\fi +$endif$ +$if(natbib)$ +\usepackage[$natbiboptions$]{natbib} +\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} +$endif$ +$if(biblatex)$ +\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex} +$for(bibliography)$ +\addbibresource{$bibliography$} +$endfor$ +$endif$ +$if(nocite-ids)$ +\nocite{$for(nocite-ids)$$it$$sep$, $endfor$} +$endif$ +$if(csquotes)$ +\usepackage{csquotes} +$endif$ +\usepackage{bookmark} +\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available +\urlstyle{$if(urlstyle)$$urlstyle$$else$same$endif$} +$if(links-as-notes)$ +% Make links footnotes instead of hotlinks: +\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}} +$endif$ +$if(verbatim-in-note)$ +\VerbatimFootnotes % allow verbatim text in footnotes +$endif$ +\hypersetup{ +$if(title-meta)$ + pdftitle={$title-meta$}, +$endif$ +$if(author-meta)$ + pdfauthor={$author-meta$}, +$endif$ +$if(lang)$ + pdflang={$lang$}, +$endif$ +$if(subject)$ + pdfsubject={$subject$}, +$endif$ +$if(keywords)$ + pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, +$endif$ +$if(colorlinks)$ + colorlinks=true, + linkcolor={$if(linkcolor)$$linkcolor$$else$default-linkcolor$endif$}, + filecolor={$if(filecolor)$$filecolor$$else$default-filecolor$endif$}, + citecolor={$if(citecolor)$$citecolor$$else$default-citecolor$endif$}, + urlcolor={$if(urlcolor)$$urlcolor$$else$default-urlcolor$endif$}, +$else$ +$if(boxlinks)$ +$else$ + hidelinks, +$endif$ +$endif$ + breaklinks=true, + pdfcreator={LaTeX via pandoc with the Eisvogel template}} +$if(title)$ +\title{$title$$if(thanks)$\thanks{$thanks$}$endif$} +$endif$ +$if(subtitle)$ +$if(beamer)$ +$else$ +\usepackage{etoolbox} +\makeatletter +\providecommand{\subtitle}[1]{% add subtitle to \maketitle + \apptocmd{\@title}{\par {\large #1 \par}}{}{} +} +\makeatother +$endif$ +\subtitle{$subtitle$} +$endif$ +\author{$for(author)$$author$$sep$ \and $endfor$} +\date{$date$} +$if(beamer)$ +$if(institute)$ +\institute{$for(institute)$$institute$$sep$ \and $endfor$} +$endif$ +$if(titlegraphic)$ +\titlegraphic{\includegraphics$if(titlegraphicoptions)$[$for(titlegraphicoptions)$$titlegraphicoptions$$sep$, $endfor$]$endif${$titlegraphic$}} +$endif$ +$if(logo)$ +\logo{\includegraphics{$logo$}} +$endif$ +$endif$ + + + +%% +%% added +%% + +$if(page-background)$ +\usepackage[pages=all]{background} +$endif$ + +% +% for the background color of the title page +% +$if(titlepage)$ +\usepackage{pagecolor} +\usepackage{afterpage} +$if(titlepage-background)$ +\usepackage{tikz} +$endif$ +$if(geometry)$ +$else$ +\usepackage[margin=2.5cm,includehead=true,includefoot=true,centering]{geometry} +$endif$ +$endif$ + +% +% break urls +% +\PassOptionsToPackage{hyphens}{url} + +% +% When using babel or polyglossia with biblatex, loading csquotes is recommended +% to ensure that quoted texts are typeset according to the rules of your main language. +% +\usepackage{csquotes} + +% +% captions +% +\definecolor{caption-color}{HTML}{777777} +$if(beamer)$ +$else$ +\usepackage[font={stretch=1.2}, textfont={color=caption-color}, position=top, skip=4mm, labelfont=bf, singlelinecheck=false, justification=$if(caption-justification)$$caption-justification$$else$raggedright$endif$]{caption} +\setcapindent{0em} +$endif$ + +% +% blockquote +% +\definecolor{blockquote-border}{RGB}{221,221,221} +\definecolor{blockquote-text}{RGB}{119,119,119} +\usepackage{mdframed} +\newmdenv[rightline=false,bottomline=false,topline=false,linewidth=3pt,linecolor=blockquote-border,skipabove=\parskip]{customblockquote} +\renewenvironment{quote}{\begin{customblockquote}\list{}{\rightmargin=0em\leftmargin=0em}% +\item\relax\color{blockquote-text}\ignorespaces}{\unskip\unskip\endlist\end{customblockquote}} + +% +% Source Sans Pro as the default font family +% Source Code Pro for monospace text +% +% 'default' option sets the default +% font family to Source Sans Pro, not \sfdefault. +% +\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex + $if(fontfamily)$ + $else$ + \usepackage[default]{sourcesanspro} + \usepackage{sourcecodepro} + $endif$ +\else % if not pdftex + $if(mainfont)$ + $else$ + \usepackage[default]{sourcesanspro} + \usepackage{sourcecodepro} + + % XeLaTeX specific adjustments for straight quotes: https://tex.stackexchange.com/a/354887 + % This issue is already fixed (see https://github.com/silkeh/latex-sourcecodepro/pull/5) but the + % fix is still unreleased. + % TODO: Remove this workaround when the new version of sourcecodepro is released on CTAN. + \ifxetex + \makeatletter + \defaultfontfeatures[\ttfamily] + { Numbers = \sourcecodepro@figurestyle, + Scale = \SourceCodePro@scale, + Extension = .otf } + \setmonofont + [ UprightFont = *-\sourcecodepro@regstyle, + ItalicFont = *-\sourcecodepro@regstyle It, + BoldFont = *-\sourcecodepro@boldstyle, + BoldItalicFont = *-\sourcecodepro@boldstyle It ] + {SourceCodePro} + \makeatother + \fi + $endif$ +\fi + +% +% heading color +% +\definecolor{heading-color}{RGB}{40,40,40} +$if(beamer)$ +$else$ +\addtokomafont{section}{\color{heading-color}} +$endif$ +% When using the classes report, scrreprt, book, +% scrbook or memoir, uncomment the following line. +%\addtokomafont{chapter}{\color{heading-color}} + +% +% variables for title, author and date +% +$if(beamer)$ +$else$ +\usepackage{titling} +\title{$title$} +\author{$for(author)$$author$$sep$, $endfor$} +\date{$date$} +$endif$ + +% +% tables +% +$if(tables)$ + +\definecolor{table-row-color}{HTML}{F5F5F5} +\definecolor{table-rule-color}{HTML}{999999} + +%\arrayrulecolor{black!40} +\arrayrulecolor{table-rule-color} % color of \toprule, \midrule, \bottomrule +\setlength\heavyrulewidth{0.3ex} % thickness of \toprule, \bottomrule +\renewcommand{\arraystretch}{1.3} % spacing (padding) + +$if(table-use-row-colors)$ +% Unfortunately the colored cells extend beyond the edge of the +% table because pandoc uses @-expressions (@{}) like so: +% +% \begin{longtable}[]{@{}ll@{}} +% \end{longtable} +% +% https://en.wikibooks.org/wiki/LaTeX/Tables#.40-expressions +\usepackage{etoolbox} +\AtBeginEnvironment{longtable}{\rowcolors{2}{}{table-row-color!100}} +\preto{\toprule}{\hiderowcolors}{}{} +\appto{\endhead}{\showrowcolors}{}{} +\appto{\endfirsthead}{\showrowcolors}{}{} +$endif$ +$endif$ + +% +% remove paragraph indentation +% +\setlength{\parindent}{0pt} +\setlength{\parskip}{6pt plus 2pt minus 1pt} +\setlength{\emergencystretch}{3em} % prevent overfull lines + +% +% +% Listings +% +% + +$if(listings)$ + +% +% general listing colors +% +\definecolor{listing-background}{HTML}{F7F7F7} +\definecolor{listing-rule}{HTML}{B3B2B3} +\definecolor{listing-numbers}{HTML}{B3B2B3} +\definecolor{listing-text-color}{HTML}{000000} +\definecolor{listing-keyword}{HTML}{435489} +\definecolor{listing-keyword-2}{HTML}{1284CA} % additional keywords +\definecolor{listing-keyword-3}{HTML}{9137CB} % additional keywords +\definecolor{listing-identifier}{HTML}{435489} +\definecolor{listing-string}{HTML}{00999A} +\definecolor{listing-comment}{HTML}{8E8E8E} + +\lstdefinestyle{eisvogel_listing_style}{ + language = java, +$if(listings-disable-line-numbers)$ + xleftmargin = 0.6em, + framexleftmargin = 0.4em, +$else$ + numbers = left, + xleftmargin = 2.7em, + framexleftmargin = 2.5em, +$endif$ + backgroundcolor = \color{listing-background}, + basicstyle = \color{listing-text-color}\linespread{1.0}% + \lst@ifdisplaystyle% + $if(code-block-font-size)$$code-block-font-size$$else$\small$endif$% + \fi\ttfamily{}, + breaklines = true, + frame = single, + framesep = 0.19em, + rulecolor = \color{listing-rule}, + frameround = ffff, + tabsize = 4, + numberstyle = \color{listing-numbers}, + aboveskip = 1.0em, + belowskip = 0.1em, + abovecaptionskip = 0em, + belowcaptionskip = 1.0em, + keywordstyle = {\color{listing-keyword}\bfseries}, + keywordstyle = {[2]\color{listing-keyword-2}\bfseries}, + keywordstyle = {[3]\color{listing-keyword-3}\bfseries\itshape}, + sensitive = true, + identifierstyle = \color{listing-identifier}, + commentstyle = \color{listing-comment}, + stringstyle = \color{listing-string}, + showstringspaces = false, + escapeinside = {/*@}{@*/}, % Allow LaTeX inside these special comments + literate = + {á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1 + {Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1 + {à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1 + {À}{{\`A}}1 {È}{{\`E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1 + {ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1 + {Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1 + {â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1 + {Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1 + {œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1 + {ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1 + {€}{{\EUR}}1 {£}{{\pounds}}1 {«}{{\guillemotleft}}1 + {»}{{\guillemotright}}1 {ñ}{{\~n}}1 {Ñ}{{\~N}}1 {¿}{{?`}}1 + {…}{{\ldots}}1 {≥}{{>=}}1 {≤}{{<=}}1 {„}{{\glqq}}1 {“}{{\grqq}}1 + {”}{{''}}1 +} +\lstset{style=eisvogel_listing_style} + +% +% Java (Java SE 12, 2019-06-22) +% +\lstdefinelanguage{Java}{ + morekeywords={ + % normal keywords (without data types) + abstract,assert,break,case,catch,class,continue,default, + do,else,enum,exports,extends,final,finally,for,if,implements, + import,instanceof,interface,module,native,new,package,private, + protected,public,requires,return,static,strictfp,super,switch, + synchronized,this,throw,throws,transient,try,volatile,while, + % var is an identifier + var + }, + morekeywords={[2] % data types + % primitive data types + boolean,byte,char,double,float,int,long,short, + % String + String, + % primitive wrapper types + Boolean,Byte,Character,Double,Float,Integer,Long,Short + % number types + Number,AtomicInteger,AtomicLong,BigDecimal,BigInteger,DoubleAccumulator,DoubleAdder,LongAccumulator,LongAdder,Short, + % other + Object,Void,void + }, + morekeywords={[3] % literals + % reserved words for literal values + null,true,false, + }, + sensitive, + morecomment = [l]//, + morecomment = [s]{/*}{*/}, + morecomment = [s]{/**}{*/}, + morestring = [b]", + morestring = [b]', +} + +\lstdefinelanguage{XML}{ + morestring = [b]", + moredelim = [s][\bfseries\color{listing-keyword}]{<}{\ }, + moredelim = [s][\bfseries\color{listing-keyword}]{}, + moredelim = [l][\bfseries\color{listing-keyword}]{/>}, + moredelim = [l][\bfseries\color{listing-keyword}]{>}, + morecomment = [s]{}, + morecomment = [s]{}, + commentstyle = \color{listing-comment}, + stringstyle = \color{listing-string}, + identifierstyle = \color{listing-identifier} +} +$endif$ + +% +% header and footer +% +$if(beamer)$ +$else$ +$if(disable-header-and-footer)$ +$else$ +\usepackage[headsepline,footsepline]{scrlayer-scrpage} + +\newpairofpagestyles{eisvogel-header-footer}{ + \clearpairofpagestyles + \ihead*{$if(header-left)$$header-left$$else$$title$$endif$} + \chead*{$if(header-center)$$header-center$$else$$endif$} + \ohead*{$if(header-right)$$header-right$$else$$date$$endif$} + \ifoot*{$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$} + \cfoot*{$if(footer-center)$$footer-center$$else$$endif$} + \ofoot*{$if(footer-right)$$footer-right$$else$\thepage$endif$} + \addtokomafont{pageheadfoot}{\upshape} +} +\pagestyle{eisvogel-header-footer} + +$if(book)$ +\deftripstyle{ChapterStyle}{}{}{}{}{\pagemark}{} +\renewcommand*{\chapterpagestyle}{ChapterStyle} +$endif$ + +$if(page-background)$ +\backgroundsetup{ +scale=1, +color=black, +opacity=$if(page-background-opacity)$$page-background-opacity$$else$0.2$endif$, +angle=0, +contents={% + \includegraphics[width=\paperwidth,height=\paperheight]{$page-background$} + }% +} +$endif$ +$endif$ +$endif$ + +%% +%% end added +%% + +\begin{document} + +%% +%% begin titlepage +%% +$if(beamer)$ +$else$ +$if(titlepage)$ +\begin{titlepage} +$if(titlepage-background)$ +\newgeometry{top=2cm, right=4cm, bottom=3cm, left=4cm} +$else$ +\newgeometry{left=6cm} +$endif$ +$if(titlepage-color)$ +\definecolor{titlepage-color}{HTML}{$titlepage-color$} +\newpagecolor{titlepage-color}\afterpage{\restorepagecolor} +$endif$ +$if(titlepage-background)$ +\tikz[remember picture,overlay] \node[inner sep=0pt] at (current page.center){\includegraphics[width=\paperwidth,height=\paperheight]{$titlepage-background$}}; +$endif$ +\newcommand{\colorRule}[3][black]{\textcolor[HTML]{#1}{\rule{#2}{#3}}} +\begin{flushleft} +\noindent +\\[-1em] +\color[HTML]{$if(titlepage-text-color)$$titlepage-text-color$$else$5F5F5F$endif$} +\makebox[0pt][l]{\colorRule[$if(titlepage-rule-color)$$titlepage-rule-color$$else$435488$endif$]{1.3\textwidth}{$if(titlepage-rule-height)$$titlepage-rule-height$$else$4$endif$pt}} +\par +\noindent + + +$if(titlepage-background)$ +% The titlepage with a background image has other text spacing and text size +{ + \setstretch{2} + \vfill + \vskip -8em + $if(title-vskip)$ + \vskip $title-vskip$ + $endif$ + $if(title-hskip)$ + \vskip $title-hskip$ + $endif$ + \noindent { + $if(title-size)$ + \$title-size$ + $else$ + \huge + $endif$ +\textbf{\textsf{$title$}}} + $if(subtitle)$ + \vskip 1em + { + $if(subtitle-size)$ + \$subtitle-size$ + $else$ + \Large + $endif$ + \textsf{$subtitle$}} + $endif$ + \vskip 2em + $if(author-vskip)$ + \vskip $author-vskip$ + $endif$ + \noindent { + $if(author-size)$ + $author-size$ + $else$ + \Large + $endif$ + +\textsf{$for(author)$$author$$sep$, $endfor$} +\vskip 0.6em + $if(date-vskip)$ + \vskip $date-vskip$ + $endif$ + +\textsf{$date$}} + \vfill +} +$else$ +{ + \setstretch{1.4} + \vfill + \noindent {\huge \textbf{\textsf{$title$}}} + $if(subtitle)$ + \vskip 1em + {\Large \textsf{$subtitle$}} + $endif$ + \vskip 2em + \noindent {\Large \textsf{$for(author)$$author$$sep$, $endfor$}} + \vfill +} +$endif$ + +$if(titlepage-logo)$ +\noindent +\includegraphics[width=$if(logo-width)$$logo-width$$else$35mm$endif$, left]{$titlepage-logo$} +$endif$ + +$if(titlepage-background)$ +$else$ +\textsf{$date$} +$endif$ +\end{flushleft} +\end{titlepage} +\restoregeometry +\pagenumbering{arabic} +$endif$ +$endif$ + +%% +%% end titlepage +%% + +$if(has-frontmatter)$ +\frontmatter +$endif$ +$if(title)$ +$if(beamer)$ +\frame{\titlepage} +% don't generate the default title +% $else$ +% \maketitle +$endif$ +$if(abstract)$ +\begin{abstract} +$abstract$ +\end{abstract} +$endif$ +$endif$ + +$if(first-chapter)$ +\setcounter{chapter}{$first-chapter$} +\addtocounter{chapter}{-1} +$endif$ + +$for(include-before)$ +$include-before$ + +$endfor$ +$if(toc)$ +$if(toc-title)$ +\renewcommand*\contentsname{$toc-title$} +$endif$ +$if(beamer)$ +\begin{frame}[allowframebreaks] +$if(toc-title)$ + \frametitle{$toc-title$} +$endif$ + \setcounter{tocdepth}{$toc-depth$} + \tableofcontents +\end{frame} +$if(toc-own-page)$ +\newpage +$endif$ +$else$ +{ +$if(colorlinks)$ +\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$} +$endif$ +\setcounter{tocdepth}{$toc-depth$} +\tableofcontents +$if(toc-own-page)$ +\newpage +$endif$ +} +$endif$ +$endif$ +$if(lof)$ +\listoffigures +$endif$ +$if(lot)$ +\listoftables +$endif$ +$if(linestretch)$ +\setstretch{$linestretch$} +$endif$ +$if(has-frontmatter)$ +\mainmatter +$endif$ +$body$ + +$if(has-frontmatter)$ +\backmatter +$endif$ +$if(natbib)$ +$if(bibliography)$ +$if(biblio-title)$ +$if(has-chapters)$ +\renewcommand\bibname{$biblio-title$} +$else$ +\renewcommand\refname{$biblio-title$} +$endif$ +$endif$ +$if(beamer)$ +\begin{frame}[allowframebreaks]{$biblio-title$} + \bibliographytrue +$endif$ + \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} +$if(beamer)$ +\end{frame} +$endif$ + +$endif$ +$endif$ +$if(biblatex)$ +$if(beamer)$ +\begin{frame}[allowframebreaks]{$biblio-title$} + \bibliographytrue + \printbibliography[heading=none] +\end{frame} +$else$ +\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ +$endif$ + +$endif$ +$for(include-after)$ +$include-after$ + +$endfor$ +\end{document} diff --git a/dwev/figure/fig-fig1-1.pdf b/dwev/figure/fig-fig1-1.pdf new file mode 100644 index 0000000..cdf3afd Binary files /dev/null and b/dwev/figure/fig-fig1-1.pdf differ diff --git a/dwev/header-and-footer.pdf b/dwev/header-and-footer.pdf new file mode 100644 index 0000000..378aa8c Binary files /dev/null and b/dwev/header-and-footer.pdf differ diff --git a/dwev/header-and-footer.qmd b/dwev/header-and-footer.qmd new file mode 100644 index 0000000..a8f230c --- /dev/null +++ b/dwev/header-and-footer.qmd @@ -0,0 +1,63 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +header-left: "\\hspace{1cm}" +header-center: "\\leftmark" +header-right: "Page \\thepage" +footer-left: "\\thetitle" +footer-center: "This is \\LaTeX{}" +footer-right: "\\theauthor" +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +> Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/images-and-tables.qmd b/dwev/images-and-tables.qmd new file mode 100644 index 0000000..043e46d --- /dev/null +++ b/dwev/images-and-tables.qmd @@ -0,0 +1,66 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +table-use-row-colors: false +format: dwev-pdf +--- + +# Images and Tables + +## LaTeX Table with Caption + +At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr. + +\begin{longtable}[]{llllllll} +\caption[tbl-aa]{Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.} \\ +\toprule +Test Nr. & Position & Radius & Rot & Grün & Blau & +beste Fitness & Abweichung\tabularnewline +\midrule +\endhead +1 & 20 \% & 20 \% & 20 \% & 20 \% & 20 \% & 7,5219 & +0,9115\tabularnewline +2 & 0 \% & 25 \% & 25 \% & 25 \% & 25 \% & 8,0566 & +1,4462\tabularnewline +3 & 0 \% & 0 \% & 33 \% & 33 \% & 33 \% & 8,7402 & 2,1298\tabularnewline +4 & 50 \% & 20 \% & 10 \% & 10 \% & 10 \% & 6,6104 & +0,0000\tabularnewline +5 & 70 \% & 0 \% & 10 \% & 10 \% & 10 \% & 7,0696 & +0,4592\tabularnewline +6 & 20 \% & 50 \% & 10 \% & 10 \% & 10 \% & 7,0034 & +0,3930\tabularnewline +\bottomrule +\end{longtable} + +At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr. + +## Image with Caption + +![Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.](inst/images-and-tables/image.png) + +## Markdown Table without Caption + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque abesse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi medias +commentaque virgine anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +Test Nr. | Position | Radius | Rot | Grün | Blau | beste Fitness | Abweichung | +|---|---|---|---|---|---|---|---| +1 | 20 % | 20 % | 20 % | 20 % | 20 % | 7,5219 | 0,9115 | +2 | 0 % | 25 % | 25 % | 25 % | 25 % | 8,0566 | 1,4462 | +3 | 0 % | 0 % | 33 % | 33 % | 33 % | 8,7402 | 2,1298 | +4 | 50 % | 20 % | 10 % | 10 % | 10 % | 6,6104 | 0,0000 | +5 | 70 % | 0 % | 10 % | 10 % | 10 % | 7,0696 | 0,4592 | +6 | 20 % | 50 % | 10 % | 10 % | 10 % | 7,0034 | 0,3930 | +7 | 40 % | 15 % | 15 % | 15 % | 15 % | 6,9122 | 0,3018 | + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente Pirithoi abstulit, lapides. + +## Image without Caption + +![](inst/images-and-tables/image.png) diff --git a/dwev/images-and-tables.tex b/dwev/images-and-tables.tex new file mode 100644 index 0000000..d136a59 --- /dev/null +++ b/dwev/images-and-tables.tex @@ -0,0 +1,504 @@ +%% +% Copyright (c) 2017 - 2024, Pascal Wagler; +% Copyright (c) 2014 - 2024, John MacFarlane +% +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions +% are met: +% +% - Redistributions of source code must retain the above copyright +% notice, this list of conditions and the following disclaimer. +% +% - Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% +% - Neither the name of John MacFarlane nor the names of other +% contributors may be used to endorse or promote products derived +% from this software without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +% COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +% POSSIBILITY OF SUCH DAMAGE. +%% + +%% +% This is the Eisvogel pandoc LaTeX template. +% +% For usage information and examples visit the official GitHub page: +% https://github.com/Wandmalfarbe/pandoc-latex-template +%% + +% Options for packages loaded elsewhere +\PassOptionsToPackage{unicode}{hyperref} +\PassOptionsToPackage{hyphens}{url} +\PassOptionsToPackage{dvipsnames,svgnames,x11names,table}{xcolor} +% +\documentclass[ + paper=a4, + ,captions=tableheading +]{scrartcl} +\usepackage{amsmath,amssymb} +% Use setspace anyway because we change the default line spacing. +% The spacing is changed early to affect the titlepage and the TOC. +\usepackage{setspace} +\setstretch{1.2} +\usepackage{iftex} +\ifPDFTeX + \usepackage[T1]{fontenc} + \usepackage[utf8]{inputenc} + \usepackage{textcomp} % provide euro and other symbols +\else % if luatex or xetex + \usepackage{unicode-math} % this also loads fontspec + \defaultfontfeatures{Scale=MatchLowercase} + \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} +\fi +\usepackage{lmodern} +\ifPDFTeX\else + % xetex/luatex font selection +\fi +% Use upquote if available, for straight quotes in verbatim environments +\IfFileExists{upquote.sty}{\usepackage{upquote}}{} +\IfFileExists{microtype.sty}{% use microtype if available + \usepackage[]{microtype} + \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts +}{} +\makeatletter +\@ifundefined{KOMAClassName}{% if non-KOMA class + \IfFileExists{parskip.sty}{% + \usepackage{parskip} + }{% else + \setlength{\parindent}{0pt} + \setlength{\parskip}{6pt plus 2pt minus 1pt}} +}{% if KOMA class + \KOMAoptions{parskip=half}} +\makeatother +\usepackage{xcolor} +\definecolor{default-linkcolor}{HTML}{A50000} +\definecolor{default-filecolor}{HTML}{A50000} +\definecolor{default-citecolor}{HTML}{4077C0} +\definecolor{default-urlcolor}{HTML}{4077C0} +\usepackage[margin=2.5cm,includehead=true,includefoot=true,centering,]{geometry} +\usepackage{longtable,booktabs,array} +\usepackage{calc} % for calculating minipage widths +% Correct order of tables after \paragraph or \subparagraph +\usepackage{etoolbox} +\makeatletter +\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{} +\makeatother +% Allow footnotes in longtable head/foot +\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}} +\makesavenoteenv{longtable} +% add backlinks to footnote references, cf. https://tex.stackexchange.com/questions/302266/make-footnote-clickable-both-ways +\usepackage{footnotebackref} +\usepackage{graphicx} +\makeatletter +% \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} +% \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} +% \makeatother +% % Scale images if necessary, so that they will not overflow the page +% % margins by default, and it is still possible to overwrite the defaults +% % using explicit options in \includegraphics[width, height, ...]{} +% \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} +\newsavebox\pandoc@box +\newcommand*\pandocbounded[1]{% scales image to fit in text height/width + \sbox\pandoc@box{#1}% + \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}% + \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}% + \ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both + \ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}% + \else\usebox{\pandoc@box}% + \fi% +} +% Set default figure placement to htbp +\makeatletter +\def\fps@figure{htbp} +\makeatother +% \makeatletter Old options from template, replaced with quarto defaults above +% \newsavebox\pandoc@box +% \newcommand*\pandocbounded[1]{% scales image to fit in text height/width +% \sbox\pandoc@box{#1}% +% \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}% +% \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}% +% \ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both +% \ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}% +% \else\usebox{\pandoc@box}% +% \fi% +% } +% % Set default figure placement to htbp +% % Make use of float-package and set default placement for figures to H. +% % The option H means 'PUT IT HERE' (as opposed to the standard h option which means 'You may put it here if you like'). +% \usepackage{float} +% \floatplacement{figure}{H} +% \makeatother +\setlength{\emergencystretch}{3em} % prevent overfull lines +\providecommand{\tightlist}{% + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} +\setcounter{secnumdepth}{-\maxdimen} % remove section numbering +% Make \paragraph and \subparagraph free-standing +\makeatletter +\ifx\paragraph\undefined\else + \let\oldparagraph\paragraph + \renewcommand{\paragraph}{ + \@ifstar + \xxxParagraphStar + \xxxParagraphNoStar + } + \newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}} + \newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}} +\fi +\ifx\subparagraph\undefined\else + \let\oldsubparagraph\subparagraph + \renewcommand{\subparagraph}{ + \@ifstar + \xxxSubParagraphStar + \xxxSubParagraphNoStar + } + \newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}} + \newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}} +\fi +\makeatother +\ifLuaTeX +\usepackage[bidi=basic]{babel} +\else +\usepackage[bidi=default]{babel} +\fi +\babelprovide[main,import]{english} +% get rid of language-specific shorthands (see #6817): +\let\LanguageShortHands\languageshorthands +\def\languageshorthands#1{} +\ifLuaTeX + \usepackage[english]{selnolig} % disable illegal ligatures +\fi +\makeatletter +\@ifpackageloaded{caption}{}{\usepackage{caption}} +\AtBeginDocument{% +\ifdefined\contentsname + \renewcommand*\contentsname{Table of contents} +\else + \newcommand\contentsname{Table of contents} +\fi +\ifdefined\listfigurename + \renewcommand*\listfigurename{List of Figures} +\else + \newcommand\listfigurename{List of Figures} +\fi +\ifdefined\listtablename + \renewcommand*\listtablename{List of Tables} +\else + \newcommand\listtablename{List of Tables} +\fi +\ifdefined\figurename + \renewcommand*\figurename{Figure} +\else + \newcommand\figurename{Figure} +\fi +\ifdefined\tablename + \renewcommand*\tablename{Table} +\else + \newcommand\tablename{Table} +\fi +} +\@ifpackageloaded{float}{}{\usepackage{float}} +\floatstyle{ruled} +\@ifundefined{c@chapter}{\newfloat{codelisting}{h}{lop}}{\newfloat{codelisting}{h}{lop}[chapter]} +\floatname{codelisting}{Listing} +\newcommand*\listoflistings{\listof{codelisting}{List of Listings}} +\makeatother +\makeatletter +\makeatother +\makeatletter +\@ifpackageloaded{caption}{}{\usepackage{caption}} +\@ifpackageloaded{subcaption}{}{\usepackage{subcaption}} +\makeatother +\usepackage{bookmark} +\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available +\urlstyle{same} +\hypersetup{ + pdftitle={Example PDF}, + pdfauthor={Author}, + pdflang={en}, + pdfsubject={Markdown}, + pdfkeywords={Markdown, Example}, + colorlinks=true, + linkcolor={blue}, + filecolor={default-filecolor}, + citecolor={default-citecolor}, + urlcolor={default-urlcolor}, + breaklinks=true, + pdfcreator={LaTeX via pandoc with the Eisvogel template}} +\title{Example PDF} +\author{Author} +\date{2017-02-20} + + + +%% +%% added +%% + + +% +% for the background color of the title page +% + +% +% break urls +% +\PassOptionsToPackage{hyphens}{url} + +% +% When using babel or polyglossia with biblatex, loading csquotes is recommended +% to ensure that quoted texts are typeset according to the rules of your main language. +% +\usepackage{csquotes} + +% +% captions +% +\definecolor{caption-color}{HTML}{777777} +\usepackage[font={stretch=1.2}, textfont={color=caption-color}, position=top, skip=4mm, labelfont=bf, singlelinecheck=false, justification=raggedright]{caption} +\setcapindent{0em} + +% +% blockquote +% +\definecolor{blockquote-border}{RGB}{221,221,221} +\definecolor{blockquote-text}{RGB}{119,119,119} +\usepackage{mdframed} +\newmdenv[rightline=false,bottomline=false,topline=false,linewidth=3pt,linecolor=blockquote-border,skipabove=\parskip]{customblockquote} +\renewenvironment{quote}{\begin{customblockquote}\list{}{\rightmargin=0em\leftmargin=0em}% +\item\relax\color{blockquote-text}\ignorespaces}{\unskip\unskip\endlist\end{customblockquote}} + +% +% Source Sans Pro as the default font family +% Source Code Pro for monospace text +% +% 'default' option sets the default +% font family to Source Sans Pro, not \sfdefault. +% +\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex + \usepackage[default]{sourcesanspro} + \usepackage{sourcecodepro} + \else % if not pdftex + \usepackage[default]{sourcesanspro} + \usepackage{sourcecodepro} + + % XeLaTeX specific adjustments for straight quotes: https://tex.stackexchange.com/a/354887 + % This issue is already fixed (see https://github.com/silkeh/latex-sourcecodepro/pull/5) but the + % fix is still unreleased. + % TODO: Remove this workaround when the new version of sourcecodepro is released on CTAN. + \ifxetex + \makeatletter + \defaultfontfeatures[\ttfamily] + { Numbers = \sourcecodepro@figurestyle, + Scale = \SourceCodePro@scale, + Extension = .otf } + \setmonofont + [ UprightFont = *-\sourcecodepro@regstyle, + ItalicFont = *-\sourcecodepro@regstyle It, + BoldFont = *-\sourcecodepro@boldstyle, + BoldItalicFont = *-\sourcecodepro@boldstyle It ] + {SourceCodePro} + \makeatother + \fi + \fi + +% +% heading color +% +\definecolor{heading-color}{RGB}{40,40,40} +\addtokomafont{section}{\color{heading-color}} +% When using the classes report, scrreprt, book, +% scrbook or memoir, uncomment the following line. +%\addtokomafont{chapter}{\color{heading-color}} + +% +% variables for title, author and date +% +\usepackage{titling} +\title{Example PDF} +\author{Author} +\date{2017-02-20} + +% +% tables +% + +\definecolor{table-row-color}{HTML}{F5F5F5} +\definecolor{table-rule-color}{HTML}{999999} + +%\arrayrulecolor{black!40} +\arrayrulecolor{table-rule-color} % color of \toprule, \midrule, \bottomrule +\setlength\heavyrulewidth{0.3ex} % thickness of \toprule, \bottomrule +\renewcommand{\arraystretch}{1.3} % spacing (padding) + + +% +% remove paragraph indentation +% +\setlength{\parindent}{0pt} +\setlength{\parskip}{6pt plus 2pt minus 1pt} +\setlength{\emergencystretch}{3em} % prevent overfull lines + +% +% +% Listings +% +% + + +% +% header and footer +% +\usepackage[headsepline,footsepline]{scrlayer-scrpage} + +\newpairofpagestyles{eisvogel-header-footer}{ + \clearpairofpagestyles + \ihead*{Example PDF} + \chead*{} + \ohead*{2017-02-20} + \ifoot*{Author} + \cfoot*{} + \ofoot*{\thepage} + \addtokomafont{pageheadfoot}{\upshape} +} +\pagestyle{eisvogel-header-footer} + + + +%% +%% end added +%% + +\begin{document} + +%% +%% begin titlepage +%% + +%% +%% end titlepage +%% + +% \maketitle + + +\section{Images and Tables}\label{images-and-tables} + +\subsection{LaTeX Table with Caption}\label{latex-table-with-caption} + +At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd +gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem +ipsum dolor sit amet, consetetur sadipscing elitr. + +\begin{longtable*}[]{llllllll} +\caption[tbl-aa]{Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.} \\ +\toprule +Test Nr. & Position & Radius & Rot & Grün & Blau & +beste Fitness & Abweichung\tabularnewline +\midrule +\endhead +1 & 20 \% & 20 \% & 20 \% & 20 \% & 20 \% & 7,5219 & +0,9115\tabularnewline +2 & 0 \% & 25 \% & 25 \% & 25 \% & 25 \% & 8,0566 & +1,4462\tabularnewline +3 & 0 \% & 0 \% & 33 \% & 33 \% & 33 \% & 8,7402 & 2,1298\tabularnewline +4 & 50 \% & 20 \% & 10 \% & 10 \% & 10 \% & 6,6104 & +0,0000\tabularnewline +5 & 70 \% & 0 \% & 10 \% & 10 \% & 10 \% & 7,0696 & +0,4592\tabularnewline +6 & 20 \% & 50 \% & 10 \% & 10 \% & 10 \% & 7,0034 & +0,3930\tabularnewline +\bottomrule +\end{longtable*} + +At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd +gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem +ipsum dolor sit amet, consetetur sadipscing elitr. + +\subsection{Image with Caption}\label{image-with-caption} + +\begin{figure}[H] + +{\centering \pandocbounded{\includegraphics[keepaspectratio]{inst/images-and-tables/image.png}} + +} + +\caption{Nam liber tempor cum soluta nobis eleifend option congue nihil +imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum +dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh +euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.} + +\end{figure}% + +\subsection{Markdown Table without +Caption}\label{markdown-table-without-caption} + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid +Peneosque abesse, obstat gravitate. Obscura atque coniuge, per de +coniunx, sibi medias commentaque virgine anima tamen comitemque petis, +sed. In Amphion vestros hamos ire arceor mandere spicula, in licet +aliquando. + +\begin{longtable}[]{@{} + >{\raggedright\arraybackslash}p{(\linewidth - 14\tabcolsep) * \real{0.1250}} + >{\raggedright\arraybackslash}p{(\linewidth - 14\tabcolsep) * \real{0.1250}} + >{\raggedright\arraybackslash}p{(\linewidth - 14\tabcolsep) * \real{0.1250}} + >{\raggedright\arraybackslash}p{(\linewidth - 14\tabcolsep) * \real{0.1250}} + >{\raggedright\arraybackslash}p{(\linewidth - 14\tabcolsep) * \real{0.1250}} + >{\raggedright\arraybackslash}p{(\linewidth - 14\tabcolsep) * \real{0.1250}} + >{\raggedright\arraybackslash}p{(\linewidth - 14\tabcolsep) * \real{0.1250}} + >{\raggedright\arraybackslash}p{(\linewidth - 14\tabcolsep) * \real{0.1250}}@{}} +\toprule\noalign{} +\begin{minipage}[b]{\linewidth}\raggedright +Test Nr. +\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright +Position +\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright +Radius +\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright +Rot +\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright +Grün +\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright +Blau +\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright +beste Fitness +\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright +Abweichung +\end{minipage} \\ +\midrule\noalign{} +\endhead +\bottomrule\noalign{} +\endlastfoot +1 & 20 \% & 20 \% & 20 \% & 20 \% & 20 \% & 7,5219 & 0,9115 \\ +2 & 0 \% & 25 \% & 25 \% & 25 \% & 25 \% & 8,0566 & 1,4462 \\ +3 & 0 \% & 0 \% & 33 \% & 33 \% & 33 \% & 8,7402 & 2,1298 \\ +4 & 50 \% & 20 \% & 10 \% & 10 \% & 10 \% & 6,6104 & 0,0000 \\ +5 & 70 \% & 0 \% & 10 \% & 10 \% & 10 \% & 7,0696 & 0,4592 \\ +6 & 20 \% & 50 \% & 10 \% & 10 \% & 10 \% & 7,0034 & 0,3930 \\ +7 & 40 \% & 15 \% & 15 \% & 15 \% & 15 \% & 6,9122 & 0,3018 \\ +\end{longtable} + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore +fertur. Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva +virtus! Acrota destruitis vos iubet quo et classis excessere Scyrumve +spiro subitusque mente Pirithoi abstulit, lapides. + +\subsection{Image without Caption}\label{image-without-caption} + +\pandocbounded{\includegraphics[keepaspectratio]{inst/images-and-tables/image.png}} + +\end{document} diff --git a/dwev/inst/basic-example/build.sh b/dwev/inst/basic-example/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/basic-example/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/basic-example/document.md b/dwev/inst/basic-example/document.md new file mode 100644 index 0000000..8997fa6 --- /dev/null +++ b/dwev/inst/basic-example/document.md @@ -0,0 +1,57 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +> Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/inst/basic-example/document.pdf b/dwev/inst/basic-example/document.pdf new file mode 100644 index 0000000..a2799b8 Binary files /dev/null and b/dwev/inst/basic-example/document.pdf differ diff --git a/dwev/inst/basic-example/preview.png b/dwev/inst/basic-example/preview.png new file mode 100644 index 0000000..09b5406 Binary files /dev/null and b/dwev/inst/basic-example/preview.png differ diff --git a/dwev/inst/beamer/build.sh b/dwev/inst/beamer/build.sh new file mode 100644 index 0000000..f3dd669 --- /dev/null +++ b/dwev/inst/beamer/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --to beamer --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/beamer/document.md b/dwev/inst/beamer/document.md new file mode 100644 index 0000000..3c1f569 --- /dev/null +++ b/dwev/inst/beamer/document.md @@ -0,0 +1,52 @@ +--- +title: "Example PDF" +author: [Author] +date: "2019-06-16" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +# Obscura atque coniuge, per de coniunx + +- Vertitur iura tum nepotis causa motus. + +```html + + + + This is the title of the page. + + + This is an image. + + +``` + +# Scyrumve spiro subitusque mente + +```{.sql caption="Pallas nuper longusque cratere habuisse sepulcro pectore fertur."} +CREATE TYPE person_t AS ( + firstName VARCHAR(50) NOT NULL, + lastName VARCHAR(50) NOT NULL +); + +CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS + $$ SELECT 'P: ' || initcap($1.firstName); $$ +LANGUAGE SQL; +``` \ No newline at end of file diff --git a/dwev/inst/beamer/document.pdf b/dwev/inst/beamer/document.pdf new file mode 100644 index 0000000..5792985 Binary files /dev/null and b/dwev/inst/beamer/document.pdf differ diff --git a/dwev/inst/beamer/preview.png b/dwev/inst/beamer/preview.png new file mode 100644 index 0000000..fcd3b60 Binary files /dev/null and b/dwev/inst/beamer/preview.png differ diff --git a/dwev/inst/book/build.sh b/dwev/inst/book/build.sh new file mode 100644 index 0000000..9eaa123 --- /dev/null +++ b/dwev/inst/book/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings --top-level-division="chapter" \ No newline at end of file diff --git a/dwev/inst/book/document.md b/dwev/inst/book/document.md new file mode 100644 index 0000000..3936437 --- /dev/null +++ b/dwev/inst/book/document.md @@ -0,0 +1,104 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +book: true +classoption: [oneside] +... + +# Crinis mixtaque factisque ille + +## Aut nunc furori ad latarumque Philomela + +Lorem markdownum includite volenti monticolae videre vocem hac sparsit puta +gelidis vestros egressus sex. Undis eris per auguris armis. Est saevior pater. +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. + +## Gaudet Silenus iuvenis + +Mulciber denique faces ingratus, in umeros umeri cum, iram ira custos non. +Pariterque admissa nubes, in ait ecce setae summis sacrorum me gaudete tellus. +Ille tu perire ille, artificis caede. + +```scala +def sumLeaves(t: Tree): Int = t match { + case Branch(l, r) => sumLeaves(l) + sumLeaves(r) + case Leaf(x) => x +} +``` + +Cephea rector minorque, quem corpora, +Argus. Superi hoc tenuavit timebant ossibus totque non serpere animo corpore +superas gelidae, comitate deus Iunonigenaeque +pectora. + +- Tuis Cereris armiferae fugiunt suus derepta vel +- Veniam mea cum sollertior arbore flore +- Ceae saecula +- Tamen est + +## Dies tunc in enim + +Gerunt urimur violaeque agricolis iussa locis puppis +simul cognita, vertentia Romana +obprobrium pignora superem est certe nondum suffuderat. Nox Pasiphaeia domo: +**abiit** catenas utro crimine gramina ingemuere mixtae. Quem trabibus etiamnum +orbe addita, eiaculatur videri cervo artus. Nutritur cupidine silentia Maeoniam +aere enim gemuit adgreditur, telasque *annis* nos cum Arctonque ingens lateri +cum iaculoque ferus. + +## Et dextra utque per lenius portus eburnae + +Cui vittas aris ibi putat dicere; factum sedere antiqua? Cognita Lyncides iuste +insuetum lacerum in sinamus arces; aves aevum spatiumque de utrumque moveret in? +Tertia ordine, Epidaurius, *has sed et* et novat: quod superare concubitusque +retia quoque, ne totiens. + +Est paenitet Cerealia sparsit; carne insignia in maris; tibi Nec, que Peleu meum +buxus. Propoetides formae magna auro ad gerat cohibentur facienda partem at +nunc, foret? **Ad stirpe**! Ut latius pararet: vestibus cumque pedibus ficta +prior summas cancer ipsa Marte Buten es +terruit. Opifex dixit oculos Oete quoque, quot silvarum abrepti nutrix concita +obsidis consistere fibula saxum, Antigonen minabitur tota. + +# Vagata eiectatamque sidera satis reducet + +## Talem ex aliquo ingemuit + +Lorem markdownum solus miserabile sitae. Tantum Syron limenque cupidine: litore +modo coniuge: in huc, illo crimen novena, vocisque gratia, quae. Sua manusque +patris nec meritorum pedibus hominis virgine, ruere tamen virtus aliter. Tunc +ego. Solitaque remittant fagus omnia eat. + +$$r_d^i(t+1) = \min\{r_s,\max\{0, r_d^i(t) + \beta(n_t - \lvert N_i(t)\rvert)\}\}$$ + +Obstitit silentia et novi non, huic metitur, coronantur lucos. Bracchia aura; +donis quod volucris illi futurae, ut +*venturorumque tellus* arma: saxumque. + +## Vera tum est putes adspicit noxque + +Hora et vidit figere tangi! Omni bis *prior nunc* capilli, pulsat tuam Pallante, +*suis*. Solae decore ipso armorum coitusque paro audita *viveret tibi* apparuit +flammasque lapides. Cursu anas usus eundo anticipata, intabescere quae concita +fallit. Dea corpore fabrae: nec Neptunus membris, falsa murice; fac Marte quam +in. + +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et. + +## Arachnes deus tum penetralia tempore aurea populante + +Lentae spissisque *carne*. Fixit inquit cautes et iugis novus sim quisquam nisi +haesurum vel deorum fetibus virgo. + +Sub nautae, tegebat clamat. Credas Parrhasio. Commemorat nescio liceatque +excipit! Uris clipeo ego visa amplexas meos ibitis condidit Taenaria, si. Tua +ora tempus patrio revulsos, tellus curru facies, Gange gemit agitata! + +Ruinam ipsaque sibi ovis Teucer Iovis tibi; erat versus neque victa attonitus +doque, quod! Dixit carmina, eo, per capillis quid lina, qua, ille. Siqua +caelestum flammas ferre super et saevissime inmisit quoque suis sic aspergine +vis praerupit. Et puellae summa eventu. +Placeat ut medio *plectrumque inferni* Talia; pertimui opem. diff --git a/dwev/inst/book/document.pdf b/dwev/inst/book/document.pdf new file mode 100644 index 0000000..9ec8efa Binary files /dev/null and b/dwev/inst/book/document.pdf differ diff --git a/dwev/inst/book/preview.png b/dwev/inst/book/preview.png new file mode 100644 index 0000000..b0bee1d Binary files /dev/null and b/dwev/inst/book/preview.png differ diff --git a/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/build.sh b/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/build.sh new file mode 100644 index 0000000..3d461f0 --- /dev/null +++ b/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --filter pandoc-latex-environment --listings \ No newline at end of file diff --git a/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/document.md b/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/document.md new file mode 100644 index 0000000..944196f --- /dev/null +++ b/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/document.md @@ -0,0 +1,130 @@ +--- +title: "Boxes with pandoc-latex-environment and awesomebox" +author: [Author] +date: "2020-01-01" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +colorlinks: true +header-includes: +- | + ```{=latex} + \usepackage{awesomebox} + ``` +pandoc-latex-environment: + noteblock: [note] + tipblock: [tip] + warningblock: [warning] + cautionblock: [caution] + importantblock: [important] +... + +# Boxes with `pandoc-latex-environment` and `awesomebox` + +This example demonstrates the use of the filter [`pandoc-latex-environments`] to create custom boxes with the [`awesomebox`] package. *pandoc-latex-environment* is a pandoc filter for adding LaTeX environment on specific HTML div tags. + + +## Box Types + +For a list of all available boxes and options visit the [`awesomebox` documentation](https://ctan.org/pkg/awesomebox). + +```markdown +::: note +Lorem ipsum dolor ... +::: +``` + +::: note +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. + +Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum +felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl. +::: + +```markdown +::: tip +Lorem ipsum dolor ... +::: +``` + +::: tip +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. + +Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum +felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl. +::: + +```markdown +::: warning +Lorem ipsum dolor ... +::: +``` + +::: warning +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. + +Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum +felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl. +::: + +```markdown +::: caution +Lorem ipsum dolor ... +::: +``` + +::: caution +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. + +Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum +felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl. +::: + +```markdown +::: important +Lorem ipsum dolor ... +::: +``` + +::: important +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. + +Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum +felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl. +::: + +One can also use raw HTML `div` tags to create the custom environments. + +```markdown +
+Lorem ipsum dolor ... +
+``` + +
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. +
+ +Markdown formatting inside the environments is supported. + +::: important +**Lorem ipsum dolor** sit amet, `consectetur adipiscing` elit. + +``` +if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); +} +``` + +*Nam aliquet libero +quis lectus elementum fermentum.* +::: + +[`pandoc-latex-environments`]: https://github.com/chdemko/pandoc-latex-environment/ +[`awesomebox`]: https://ctan.org/pkg/awesomebox \ No newline at end of file diff --git a/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/document.pdf b/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/document.pdf new file mode 100644 index 0000000..49b4de0 Binary files /dev/null and b/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/document.pdf differ diff --git a/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/preview.png b/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/preview.png new file mode 100644 index 0000000..455f855 Binary files /dev/null and b/dwev/inst/boxes-with-pandoc-latex-environment-and-awesomebox/preview.png differ diff --git a/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/build.sh b/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/build.sh new file mode 100644 index 0000000..3d461f0 --- /dev/null +++ b/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --filter pandoc-latex-environment --listings \ No newline at end of file diff --git a/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/document.md b/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/document.md new file mode 100644 index 0000000..89eca98 --- /dev/null +++ b/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/document.md @@ -0,0 +1,78 @@ +--- +title: "Boxes with pandoc-latex-environment and tcolorbox" +author: [Author] +date: "2020-01-01" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +colorlinks: true +header-includes: +- | + ```{=latex} + \usepackage{tcolorbox} + + \newtcolorbox{info-box}{colback=cyan!5!white,arc=0pt,outer arc=0pt,colframe=cyan!60!black} + \newtcolorbox{warning-box}{colback=orange!5!white,arc=0pt,outer arc=0pt,colframe=orange!80!black} + \newtcolorbox{error-box}{colback=red!5!white,arc=0pt,outer arc=0pt,colframe=red!75!black} + ``` +pandoc-latex-environment: + tcolorbox: [box] + info-box: [info] + warning-box: [warning] + error-box: [error] +... + +# Boxes with `pandoc-latex-environment` and `tcolorbox` + +This example demonstrates the use of the filter [`pandoc-latex-environments`] +to create custom boxes with the [`tcolorbox`] package. +*pandoc-latex-environment* is a pandoc filter for adding LaTeX environment on +specific HTML div tags. For a list of all available options visit the +[`tcolorbox` documentation](https://ctan.org/pkg/tcolorbox). + +## Simple Box + +::: box +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero +quis lectus elementum fermentum. +::: + +## Markdown inside the Box + +Markdown formatting inside the environment is supported. + +::: box +Lorem ipsum **dolor** sit amet, `consectetur adipiscing` elit. + +``` +if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); +} +``` + +*Nam aliquet libero +quis lectus elementum fermentum.* +::: + +## Custom Box + +One can define custom boxes in the LaTeX preamble with the variable +`header-includes` at the top of this document. + +::: info +**Info**: This is a custom box that may be used to show info messages in your +document. +::: + +::: warning +**Warning**: This is a custom box that may be used to show warning messages in +your document. +::: + +::: error +**Error**: This is a custom box that may be used to show error messages in your +document. +::: + +[`pandoc-latex-environments`]: https://github.com/chdemko/pandoc-latex-environment/ +[`tcolorbox`]: https://ctan.org/pkg/tcolorbox \ No newline at end of file diff --git a/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/document.pdf b/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/document.pdf new file mode 100644 index 0000000..fe2f6b1 Binary files /dev/null and b/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/document.pdf differ diff --git a/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/preview.png b/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/preview.png new file mode 100644 index 0000000..f93827c Binary files /dev/null and b/dwev/inst/boxes-with-pandoc-latex-environment-and-tcolorbox/preview.png differ diff --git a/dwev/inst/build-examples.sh b/dwev/inst/build-examples.sh new file mode 100644 index 0000000..a1a399c --- /dev/null +++ b/dwev/inst/build-examples.sh @@ -0,0 +1,38 @@ +#!/bin/bash +set -e + +echo "##" +echo "# building examples" +echo "##" +echo "" + +containsElement () { + local e match="$1" + shift + for e; do [[ "$e" == "$match" ]] && return 0; done + return 1 +} + +# these examples are skipped because they don't run in CI builds (for now) +skippedExamples=("language-chinese" "language-japanese") + +# loop all files in the current folder +for f in *; do + # run only for folders + if [ -d "$f" ]; then + + if containsElement "$f" "${skippedExamples[@]}"; then + echo "skipping '$f'" + echo "" + else + echo "building '$f'" + cd "$f" + echo " - running pandoc build script" + bash "$PWD/build.sh" + echo " - generating preview" + pdftoppm -r 150 -png "document.pdf" > "preview.png" + echo "" + cd ".." + fi + fi +done diff --git a/dwev/inst/code-blocks-listings/build.sh b/dwev/inst/code-blocks-listings/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/code-blocks-listings/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/code-blocks-listings/document.md b/dwev/inst/code-blocks-listings/document.md new file mode 100644 index 0000000..63883f7 --- /dev/null +++ b/dwev/inst/code-blocks-listings/document.md @@ -0,0 +1,55 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios -- "figurae flectentem annis aliquid Peneosque" ab +esse, 'obstat' gravitate. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. Obscura atque coniuge, per de coniunx, sibi medias +commentaque virgine anima tamen comitemque petis, sed. + +```{.html caption="Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. Obscura atque coniuge, per de coniunx, sibi medias +commentaque virgine anima tamen comitemque petis, sed."} + + + + This is the title of the page. + + + This is a link. + This is an image. + + +``` + +Vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +```sql +CREATE TYPE person_t AS ( + firstName VARCHAR(50) NOT NULL, + lastName VARCHAR(50) NOT NULL +); +CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS + $$ SELECT 'P: ' || initcap($1.firstName); $$ +LANGUAGE SQL; +``` \ No newline at end of file diff --git a/dwev/inst/code-blocks-listings/document.pdf b/dwev/inst/code-blocks-listings/document.pdf new file mode 100644 index 0000000..ff3ce73 Binary files /dev/null and b/dwev/inst/code-blocks-listings/document.pdf differ diff --git a/dwev/inst/code-blocks-listings/preview.png b/dwev/inst/code-blocks-listings/preview.png new file mode 100644 index 0000000..ec3b4cd Binary files /dev/null and b/dwev/inst/code-blocks-listings/preview.png differ diff --git a/dwev/inst/code-blocks-without-listings/build.sh b/dwev/inst/code-blocks-without-listings/build.sh new file mode 100644 index 0000000..f28e859 --- /dev/null +++ b/dwev/inst/code-blocks-without-listings/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --highlight-style kate \ No newline at end of file diff --git a/dwev/inst/code-blocks-without-listings/document.md b/dwev/inst/code-blocks-without-listings/document.md new file mode 100644 index 0000000..f8848c5 --- /dev/null +++ b/dwev/inst/code-blocks-without-listings/document.md @@ -0,0 +1,52 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque +abesse obstat. + +```java +public class Example implements LoremIpsum { + public static void map(String[] sortedLeft, Long[] sortedRight, int splitIndex) { + if(sortedLeft == null || sortedRight == null) { + System.err.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur +obscura atque coniuge. + +```html + + + + This is the title of the page. + + + This is a link. + This is an image. + + +``` + +Vertitur iura tum nepotis causa; motus. Diva virtus! Acrota destruitis vos +iubet quo et classis excessere. + +```sql +CREATE TYPE person_t AS ( + firstName VARCHAR(50) NOT NULL, +); + +CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS + $$ SELECT 'P: ' || initcap($1.firstName); $$ +LANGUAGE SQL; +``` \ No newline at end of file diff --git a/dwev/inst/code-blocks-without-listings/document.pdf b/dwev/inst/code-blocks-without-listings/document.pdf new file mode 100644 index 0000000..2264b3d Binary files /dev/null and b/dwev/inst/code-blocks-without-listings/document.pdf differ diff --git a/dwev/inst/code-blocks-without-listings/preview.png b/dwev/inst/code-blocks-without-listings/preview.png new file mode 100644 index 0000000..16fad36 Binary files /dev/null and b/dwev/inst/code-blocks-without-listings/preview.png differ diff --git a/dwev/inst/cover1.pdf b/dwev/inst/cover1.pdf new file mode 100644 index 0000000..9111c08 Binary files /dev/null and b/dwev/inst/cover1.pdf differ diff --git a/dwev/inst/cover2.pdf b/dwev/inst/cover2.pdf new file mode 100644 index 0000000..7b8b2a1 Binary files /dev/null and b/dwev/inst/cover2.pdf differ diff --git a/dwev/inst/cover3.pdf b/dwev/inst/cover3.pdf new file mode 100644 index 0000000..4bc55bf Binary files /dev/null and b/dwev/inst/cover3.pdf differ diff --git a/dwev/inst/cover4.pdf b/dwev/inst/cover4.pdf new file mode 100644 index 0000000..2eaf27f Binary files /dev/null and b/dwev/inst/cover4.pdf differ diff --git a/dwev/inst/covers.pdf b/dwev/inst/covers.pdf new file mode 100644 index 0000000..845d1f0 Binary files /dev/null and b/dwev/inst/covers.pdf differ diff --git a/dwev/inst/covers.pptx b/dwev/inst/covers.pptx new file mode 100644 index 0000000..0bcbfab Binary files /dev/null and b/dwev/inst/covers.pptx differ diff --git a/dwev/inst/header-and-footer/build.sh b/dwev/inst/header-and-footer/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/header-and-footer/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/header-and-footer/document.md b/dwev/inst/header-and-footer/document.md new file mode 100644 index 0000000..f9106f6 --- /dev/null +++ b/dwev/inst/header-and-footer/document.md @@ -0,0 +1,62 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +header-left: "\\hspace{1cm}" +header-center: "\\leftmark" +header-right: "Page \\thepage" +footer-left: "\\thetitle" +footer-center: "This is \\LaTeX{}" +footer-right: "\\theauthor" +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +> Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/inst/header-and-footer/document.pdf b/dwev/inst/header-and-footer/document.pdf new file mode 100644 index 0000000..495fe6f Binary files /dev/null and b/dwev/inst/header-and-footer/document.pdf differ diff --git a/dwev/inst/header-and-footer/preview.png b/dwev/inst/header-and-footer/preview.png new file mode 100644 index 0000000..2df4748 Binary files /dev/null and b/dwev/inst/header-and-footer/preview.png differ diff --git a/dwev/inst/images-and-tables/build.sh b/dwev/inst/images-and-tables/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/images-and-tables/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/images-and-tables/document.md b/dwev/inst/images-and-tables/document.md new file mode 100644 index 0000000..395a711 --- /dev/null +++ b/dwev/inst/images-and-tables/document.md @@ -0,0 +1,65 @@ +--- +title: "Example PDF" +author: [Author] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +table-use-row-colors: false +... + +# Images and Tables + +## LaTeX Table with Caption + +At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr. + +\begin{longtable}[]{llllllll} +\caption[Nam liber tempor cum soluta nobis eleifend option congue.]{Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.} \\ +\toprule +Test Nr. & Position & Radius & Rot & Grün & Blau & +beste Fitness & Abweichung\tabularnewline +\midrule +\endhead +1 & 20 \% & 20 \% & 20 \% & 20 \% & 20 \% & 7,5219 & +0,9115\tabularnewline +2 & 0 \% & 25 \% & 25 \% & 25 \% & 25 \% & 8,0566 & +1,4462\tabularnewline +3 & 0 \% & 0 \% & 33 \% & 33 \% & 33 \% & 8,7402 & 2,1298\tabularnewline +4 & 50 \% & 20 \% & 10 \% & 10 \% & 10 \% & 6,6104 & +0,0000\tabularnewline +5 & 70 \% & 0 \% & 10 \% & 10 \% & 10 \% & 7,0696 & +0,4592\tabularnewline +6 & 20 \% & 50 \% & 10 \% & 10 \% & 10 \% & 7,0034 & +0,3930\tabularnewline +\bottomrule +\end{longtable} + +At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr. + +## Image with Caption + +![Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.](image.png) + +## Markdown Table without Caption + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque abesse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi medias +commentaque virgine anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +Test Nr. | Position | Radius | Rot | Grün | Blau | beste Fitness | Abweichung | +|---|---|---|---|---|---|---|---| +1 | 20 % | 20 % | 20 % | 20 % | 20 % | 7,5219 | 0,9115 | +2 | 0 % | 25 % | 25 % | 25 % | 25 % | 8,0566 | 1,4462 | +3 | 0 % | 0 % | 33 % | 33 % | 33 % | 8,7402 | 2,1298 | +4 | 50 % | 20 % | 10 % | 10 % | 10 % | 6,6104 | 0,0000 | +5 | 70 % | 0 % | 10 % | 10 % | 10 % | 7,0696 | 0,4592 | +6 | 20 % | 50 % | 10 % | 10 % | 10 % | 7,0034 | 0,3930 | +7 | 40 % | 15 % | 15 % | 15 % | 15 % | 6,9122 | 0,3018 | + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente Pirithoi abstulit, lapides. + +## Image without Caption + +![](image.png) \ No newline at end of file diff --git a/dwev/inst/images-and-tables/document.pdf b/dwev/inst/images-and-tables/document.pdf new file mode 100644 index 0000000..793e641 Binary files /dev/null and b/dwev/inst/images-and-tables/document.pdf differ diff --git a/dwev/inst/images-and-tables/image.png b/dwev/inst/images-and-tables/image.png new file mode 100644 index 0000000..95a787c Binary files /dev/null and b/dwev/inst/images-and-tables/image.png differ diff --git a/dwev/inst/images-and-tables/preview.png b/dwev/inst/images-and-tables/preview.png new file mode 100644 index 0000000..11ffe55 Binary files /dev/null and b/dwev/inst/images-and-tables/preview.png differ diff --git a/dwev/inst/language-chinese/build.sh b/dwev/inst/language-chinese/build.sh new file mode 100644 index 0000000..52dad0f --- /dev/null +++ b/dwev/inst/language-chinese/build.sh @@ -0,0 +1,2 @@ +# No lang option (-V lang=zh) here because Chinese is unsupported in polyglossia and babel. +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings --pdf-engine "xelatex" -V CJKmainfont="HiraginoSans-W4" \ No newline at end of file diff --git a/dwev/inst/language-chinese/document.md b/dwev/inst/language-chinese/document.md new file mode 100644 index 0000000..99d1079 --- /dev/null +++ b/dwev/inst/language-chinese/document.md @@ -0,0 +1,27 @@ +--- +title: "価備手述改陸夜数木田了転由。" +author: [作者日期] +date: "2019-01-10" +subject: "Markdown" +keywords: [Markdown, Example] +... + +# 陣委百三秋康経重示面合雪減背井足府迷根間。 + +陣委百三秋康経重示面合雪減背井足府迷根間。米式十良提馬紀研園要中募用刊。考稿協中写万捜寄三誠女文惑応担。動忍負陣表要回厳盛質属全任。意渡稿針当京注合在成唱皇月諸感丘売。業暮題武同海変公飯伝習真質期込者。読性聞点社質求庫勢応系飛。読有約求不政球県台却観展明来連使。暗双属場證北日増吉望団私録写日奈惑紙。 + +賞方広選付疑京将主豊祉歳兆。亮行災視民信軒全太当刑際大。設紙校系顔実困講将用求年作。禁査調線無聞銅案性約会有整兄名城敬番棋。催題趣蔵今権全演権専治整。記査調埼毎断読犬石川年実作問情設情経。地面観参軽地多愛提帯瀬面側天側。価備手述改陸夜数木田了転由。上転為護吾載何研防著取足調出声的与歯。 + +## 参街能業南達伊市無百兆無聞手覧常努団他。 + +参街能業南達伊市無百兆無聞手覧常努団他。応臨覧処面板施盛会同交展安期。善無継東約知紙地言展掲世起都幕紙仕。配稿理第心酸知月勝庭上図真全。本顕品毎信稿蓄秀神池課道。空米打資級油週報白受支写住文科権初航逮政。売打込箕長陳雪択選男真庭。改取確育迎田袴者豊尾京毎景終彦思。意試役能五子込宙転知校細。内速排索医林経一応係古測辺水。 + +紋正介市及早拒木霊記済複治中。了岐都援盛手価民選覧必庭温背木済円力治。年生算純投器小市系統出字明稚喫部秘集。背伝歳適虫解無集園意明属賞方社件。公紹情高無主考全度監授掲。三退新田面封一基会功康売詳夜増義芸。特積夫紀北赤子演載識顔産済再測質。新岐張年読原体畑住郎門当合止吹士天意藤。明延立派購新政医士定速農。 + +神図先名当揃存工紙広渡民晩記各面得続告増。将枝素実更造藤胞界投健記室申張講訴。店裁山党手政者校訓会清終定浪案。普大的比将響認経変度与合兄退景意経。歌池京割覧製断訳載割写載女作想用魂覚申。舞夜負亡古特在事準催進不全先自代上業後者。学上育手係真最芋本代定作供下能読分。 + +- 汁酬英性向竹室比著給稿刻学年機稿生写。投面記偏回必写際著危女競林思。対事管現馬打能夜月顧身最恵共谷盟社必出。事退問更理併裏少切写禁権丁金提限最写求。者打記舎作馬研作辞家地子無遠者情島。諸井訓団取転燃大広応毎断略並。力持極業育権者住今展線際玉。集政謙期伝変争一他拉方海話連委下混必。囲渡園早位形量英酒椅食始発児政。 +- 年京船装街論初維器送遂考都連。携訪後細断点洋再説月間必道休光事築河。聞直電原竹銭報発興埼校球米口暮定奨重芸聞。京和使検聞服運加航認著著真技事実。弘断機試勢感金換稼治山谷皇真人肥霧。夜需崎影書属葉総登抜見発養内日現際園。場小行評歳映徹浸力政中募暮日朝金子武東。映申地換方無次記暮動練供事惑部意喜半戦壇。 +- 勝技枝図辞決受温見会図休自意少帰質者栄。務単時幹典盟園先入販江紀聞択色務。逮人覇品努博関復際部給体寛明理。限袖住教催広州係響体回接決治過銀。世提応枝録少説営援紙遠勤災宿。試電重捕切譜練治真戦将東。在最真休治義地杉調掲参親平。必整能怒哲希存雪注気付終表転県横隊早。覧教夕徹八学然害犬米無調億立図平受受位編。 + +昌手挨一主要入削禁図送無高慕収後毎投業。感心台観道際町存更団打目今。生記投報重東点回際護高田独東。球野技検業大芸聞共最集飛禁。無黄手著凱縮産総智幕配示。名旧合提丼畿幅間任問場投悪変団。津地全真罪禁友容崩図新足連問完。域勲市録関写気意傷遣米安極漢。個疑調尾陸能案相浮接格校田新本下能。日銭信茶岡実締繰先分読独娘製商損真情。 \ No newline at end of file diff --git a/dwev/inst/language-chinese/document.pdf b/dwev/inst/language-chinese/document.pdf new file mode 100644 index 0000000..a250906 Binary files /dev/null and b/dwev/inst/language-chinese/document.pdf differ diff --git a/dwev/inst/language-chinese/preview.png b/dwev/inst/language-chinese/preview.png new file mode 100644 index 0000000..89ca6e0 Binary files /dev/null and b/dwev/inst/language-chinese/preview.png differ diff --git a/dwev/inst/language-german/build.sh b/dwev/inst/language-german/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/language-german/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/language-german/document.md b/dwev/inst/language-german/document.md new file mode 100644 index 0000000..c73b5da --- /dev/null +++ b/dwev/inst/language-german/document.md @@ -0,0 +1,57 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "de" +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/inst/language-german/document.pdf b/dwev/inst/language-german/document.pdf new file mode 100644 index 0000000..14e3ff5 Binary files /dev/null and b/dwev/inst/language-german/document.pdf differ diff --git a/dwev/inst/language-german/preview.png b/dwev/inst/language-german/preview.png new file mode 100644 index 0000000..e2e4a85 Binary files /dev/null and b/dwev/inst/language-german/preview.png differ diff --git a/dwev/inst/language-japanese/build.sh b/dwev/inst/language-japanese/build.sh new file mode 100644 index 0000000..5b7f640 --- /dev/null +++ b/dwev/inst/language-japanese/build.sh @@ -0,0 +1,2 @@ +# No lang option (-V lang=jp) here because Japanese unsupported in polyglossia. +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings --pdf-engine "xelatex" -V CJKmainfont="HiraginoSans-W4" \ No newline at end of file diff --git a/dwev/inst/language-japanese/document.md b/dwev/inst/language-japanese/document.md new file mode 100644 index 0000000..942126b --- /dev/null +++ b/dwev/inst/language-japanese/document.md @@ -0,0 +1,32 @@ +--- +title: "よ派にへたひ素ヘムナフュてるあてっはれねね区露。巣擢" +author: [むて絵ヤイヤ手津絵] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +... + +# よ派にへたひ素ヘムナフュてるあてっはれねね区露。巣擢 + + +もに氏留列阿ゃけんリヌョソュろまけやほこまネクフコテユうめね瀬雲舳目ょ舳鵜みやいみま。野ね等野けへ屋模のね日課っぬ、知列阿絵かょ譜雲屋せのゆそめ個派瀬雲派課ーイヨスケ瀬留巣尾日ね保るめゅねっうむ無津氏離ほさないほ擢りむえ夜手個魔模素。 + +よ派にへたひ素ヘムナフュてるあてっはれねね区露。巣擢。むて絵ヤイヤ手津絵舳ふち屋区根っクキオ氏露すムフヘゅ二遊むねれみらなまそ瀬ぬゆたヘクアウはてとしまる知。 + +むゆくら雲津手都あもは日遊れりゅへらっ日保留鵜絵す。の露日無ゆ遊二日りスツ毛留御遊擢御無模無ょやゆ樹毛阿留等、樹ルキテひょとて区列屋。うかるゃええま二擢きかしあんつ擢、っさく遊手名区列手ウヌマ区根以擢模擢素けせのれひんほおはよこふきなろ樹舳野尾尾ゃほふ列擢瀬舳名個区等こに名津、根夜、お。ろやほ保素根列らゆやしえろむっンサハラオ。 + +## とほ知他え目絵樹せ津素舳雲巣魔氏派夜列魔 + +まの課譜都手、やいゆぬてほめてよかおそふおょこ尾夜く阿差課根ぬナヒメケ舳二しけやろこち譜は巣津やれま、ネョセカあきあメシみ根根るあ、ろへ離都課ろうらくぬさにせぬ尾模等せ樹魔いそょ毛もし御名氏知。 + +課瀬毛御都列ヒャマナカフモ絵区区遊譜ほ、ほすゃもキウぬノサクサめろそなる他他津ふまお、譜阿手派夜っ他個かたか舳鵜日魔日雲派二離、にひ巣氏めすおひふめへな区っ鵜名瀬むう。ヨツミメ区素他都めすそか課区なうよ以遊へ。いり他譜けっへつ。保阿模野列魔てえ。以区素。 + +離擢留舳区クツコこつろと魔、ょもさよ尾うとほ知他え目絵樹せ津素舳雲巣魔氏派夜列魔氏絵夜課阿ふ知知区擢魔野さうにりよりうゅ個課列野ゃす毛二絵手ぬえ派尾樹屋夜。夜絵毛毛すりおいし遊手夜毛無とゆ瀬野毛名個ふふえゃ無都名無他氏等ふこたも。 + +以たろきお都ゆし阿列鵜擢おんか、ッロマオゅ露他野列せ譜模ョー鵜尾野手毛素、ひす素野ろ氏御氏屋ほはもらりむふ離個とろいそつむ差手こつけっとへせっ。りぬ目無舳めむや離離ょほんく阿せえのんやや離雲雲魔はゃれひ。りそさ無阿樹さかん屋絵氏、つ区差。しレヨオキホテゆもお尾巣けのすもめきむやひけ。尾御津区列列課都雲り樹めぬやむては、舳名夜ッラチユ列都、保露、魔鵜。 + +1. りぬ目無舳めむや離離ょほんく阿せえのんやや離雲雲魔はゃれひ。りそさ無阿樹さかん屋絵氏、つ区差。しレヨオキホテゆもお +2. へ舳列っに「屋素留御以根」露派差離鵜けきうっ雲目以ナシ。日氏すゅともむ樹留素ふりう氏日夜れと +3. 他根かかぬ、くきれみけおへえほん保派絵くけよ譜モヌッアアウカ留譜絵目課離根以名阿さ樹他クッカクラ無課課瀬めつ列氏課そ目知屋舳手らへ舳列っに「屋素留御以根」露派差離鵜けきうっ雲目以ナシ。日氏すゅともむ樹留素ふりう氏日夜れとせさ鵜知めっゃ瀬露めゅむに遊雲舳野ひひよやめほくさめう舳名都とにてめは無めもはすにちひ遊モシルもねたらやょや。知以ほ以名さきにまむろせちょったか毛御差巣夜氏、きまむこ列模模阿。 + +阿瀬鵜屋さねや、う他列舳ヤマりれえんか、尾瀬カコノヒ名課巣鵜津せやおひく知二保手、そ派毛遊へろへよ。みす派毛はうよ樹二御派派等メノコせ区さ巣屋名のせ野毛。 \ No newline at end of file diff --git a/dwev/inst/language-japanese/document.pdf b/dwev/inst/language-japanese/document.pdf new file mode 100644 index 0000000..5a64daf Binary files /dev/null and b/dwev/inst/language-japanese/document.pdf differ diff --git a/dwev/inst/language-japanese/preview.png b/dwev/inst/language-japanese/preview.png new file mode 100644 index 0000000..6e3a8d4 Binary files /dev/null and b/dwev/inst/language-japanese/preview.png differ diff --git a/dwev/inst/page-background/backgrounds/background1.pdf b/dwev/inst/page-background/backgrounds/background1.pdf new file mode 100644 index 0000000..c0850b1 --- /dev/null +++ b/dwev/inst/page-background/backgrounds/background1.pdf @@ -0,0 +1,70 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xeA@Es +. #.OѤiؐ* cw]B#X;\~JMb}j: {1mB +endstream +endobj +4 0 obj + 162 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000576 00000 n +0000000276 00000 n +0000000015 00000 n +0000000254 00000 n +0000000348 00000 n +0000000641 00000 n +0000000768 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +820 +%%EOF diff --git a/dwev/inst/page-background/backgrounds/background10.pdf b/dwev/inst/page-background/backgrounds/background10.pdf new file mode 100644 index 0000000..709be17 --- /dev/null +++ b/dwev/inst/page-background/backgrounds/background10.pdf @@ -0,0 +1,69 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xeK@@s +. 8GpaE]Od4,=^x wS\=@CeykBsXp1LH*a rլVUb/LP1D +endstream +endobj +4 0 obj + 150 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000564 00000 n +0000000264 00000 n +0000000015 00000 n +0000000242 00000 n +0000000336 00000 n +0000000629 00000 n +0000000756 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +808 +%%EOF diff --git a/dwev/inst/page-background/backgrounds/background11.pdf b/dwev/inst/page-background/backgrounds/background11.pdf new file mode 100644 index 0000000..946cd45 Binary files /dev/null and b/dwev/inst/page-background/backgrounds/background11.pdf differ diff --git a/dwev/inst/page-background/backgrounds/background2.pdf b/dwev/inst/page-background/backgrounds/background2.pdf new file mode 100644 index 0000000..054baf7 Binary files /dev/null and b/dwev/inst/page-background/backgrounds/background2.pdf differ diff --git a/dwev/inst/page-background/backgrounds/background3.pdf b/dwev/inst/page-background/backgrounds/background3.pdf new file mode 100644 index 0000000..b8aef37 Binary files /dev/null and b/dwev/inst/page-background/backgrounds/background3.pdf differ diff --git a/dwev/inst/page-background/backgrounds/background4.pdf b/dwev/inst/page-background/backgrounds/background4.pdf new file mode 100644 index 0000000..604b06e --- /dev/null +++ b/dwev/inst/page-background/backgrounds/background4.pdf @@ -0,0 +1,69 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xeN 0 { +/'v`=eX("== +^]+V(K\g-Ie ^9ufwqqcUHOhl9JSrj]H$O6{ʥ_<_IHa 368;s+Ck +endstream +endobj +4 0 obj + 158 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000572 00000 n +0000000272 00000 n +0000000015 00000 n +0000000250 00000 n +0000000344 00000 n +0000000637 00000 n +0000000764 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +816 +%%EOF diff --git a/dwev/inst/page-background/backgrounds/background5.pdf b/dwev/inst/page-background/backgrounds/background5.pdf new file mode 100644 index 0000000..f7839c3 --- /dev/null +++ b/dwev/inst/page-background/backgrounds/background5.pdf @@ -0,0 +1,70 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xm;@ D=/18 K삢D +rƯ0f|%߅ 1Dg,7 +!ijҔP /chpxr‰1W^Qd%q!9ZDj UѪApr$&]x_ʑȽIW?fr)6EU +endstream +endobj +4 0 obj + 168 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000582 00000 n +0000000282 00000 n +0000000015 00000 n +0000000260 00000 n +0000000354 00000 n +0000000647 00000 n +0000000774 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +826 +%%EOF diff --git a/dwev/inst/page-background/backgrounds/background6.pdf b/dwev/inst/page-background/backgrounds/background6.pdf new file mode 100644 index 0000000..41702d0 Binary files /dev/null and b/dwev/inst/page-background/backgrounds/background6.pdf differ diff --git a/dwev/inst/page-background/backgrounds/background7.pdf b/dwev/inst/page-background/backgrounds/background7.pdf new file mode 100644 index 0000000..c7f3354 --- /dev/null +++ b/dwev/inst/page-background/backgrounds/background7.pdf @@ -0,0 +1,68 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +x1nAE908"qR@+mh==nNp , .φA2 $࠙ҐF1}7\v9Κvf_":eRijҎ*ف}FSVel~-%K{t'khXK"qg6lX +endstream +endobj +4 0 obj + 198 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000612 00000 n +0000000312 00000 n +0000000015 00000 n +0000000290 00000 n +0000000384 00000 n +0000000677 00000 n +0000000804 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +856 +%%EOF diff --git a/dwev/inst/page-background/backgrounds/background8.pdf b/dwev/inst/page-background/backgrounds/background8.pdf new file mode 100644 index 0000000..06efe81 Binary files /dev/null and b/dwev/inst/page-background/backgrounds/background8.pdf differ diff --git a/dwev/inst/page-background/backgrounds/background9.pdf b/dwev/inst/page-background/backgrounds/background9.pdf new file mode 100644 index 0000000..da3a1ef --- /dev/null +++ b/dwev/inst/page-background/backgrounds/background9.pdf @@ -0,0 +1,69 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xPKn1\`(`0p!Lh_QHEwcJp6Pƈ`mb@6bL턃 `!$bM5CFvrGneu;zu&e̿v 9vQFֻZ]e7e)+G' +4?Ivi/XG +endstream +endobj +4 0 obj + 195 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000609 00000 n +0000000309 00000 n +0000000015 00000 n +0000000287 00000 n +0000000381 00000 n +0000000674 00000 n +0000000801 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +853 +%%EOF diff --git a/dwev/inst/page-background/build.sh b/dwev/inst/page-background/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/page-background/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/page-background/document.md b/dwev/inst/page-background/document.md new file mode 100644 index 0000000..ff460e5 --- /dev/null +++ b/dwev/inst/page-background/document.md @@ -0,0 +1,59 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +page-background: "backgrounds/background1.pdf" +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/inst/page-background/document.pdf b/dwev/inst/page-background/document.pdf new file mode 100644 index 0000000..b4f9154 Binary files /dev/null and b/dwev/inst/page-background/document.pdf differ diff --git a/dwev/inst/page-background/preview.png b/dwev/inst/page-background/preview.png new file mode 100644 index 0000000..f9fb9e4 Binary files /dev/null and b/dwev/inst/page-background/preview.png differ diff --git a/dwev/inst/rceeslogo.pdf b/dwev/inst/rceeslogo.pdf new file mode 100644 index 0000000..51d1a45 Binary files /dev/null and b/dwev/inst/rceeslogo.pdf differ diff --git a/dwev/inst/rceeslogo.svg b/dwev/inst/rceeslogo.svg new file mode 100644 index 0000000..44431ff --- /dev/null +++ b/dwev/inst/rceeslogo.svg @@ -0,0 +1,5 @@ + + viewBox="0 0 621 690"> + + + diff --git a/dwev/inst/table-of-contents/build.sh b/dwev/inst/table-of-contents/build.sh new file mode 100644 index 0000000..a2080cf --- /dev/null +++ b/dwev/inst/table-of-contents/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" \ No newline at end of file diff --git a/dwev/inst/table-of-contents/document.md b/dwev/inst/table-of-contents/document.md new file mode 100644 index 0000000..da93460 --- /dev/null +++ b/dwev/inst/table-of-contents/document.md @@ -0,0 +1,59 @@ +--- +title: "Example PDF" +author: [Author] +date: "2022-03-04" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +toc: true +toc-own-page: true +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +> Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/inst/table-of-contents/document.pdf b/dwev/inst/table-of-contents/document.pdf new file mode 100644 index 0000000..bbb78f3 Binary files /dev/null and b/dwev/inst/table-of-contents/document.pdf differ diff --git a/dwev/inst/table-of-contents/preview.png b/dwev/inst/table-of-contents/preview.png new file mode 100644 index 0000000..80a0dbf Binary files /dev/null and b/dwev/inst/table-of-contents/preview.png differ diff --git a/dwev/inst/title-page-background/backgrounds/background1.pdf b/dwev/inst/title-page-background/backgrounds/background1.pdf new file mode 100644 index 0000000..c0850b1 --- /dev/null +++ b/dwev/inst/title-page-background/backgrounds/background1.pdf @@ -0,0 +1,70 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xeA@Es +. #.OѤiؐ* cw]B#X;\~JMb}j: {1mB +endstream +endobj +4 0 obj + 162 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000576 00000 n +0000000276 00000 n +0000000015 00000 n +0000000254 00000 n +0000000348 00000 n +0000000641 00000 n +0000000768 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +820 +%%EOF diff --git a/dwev/inst/title-page-background/backgrounds/background10.pdf b/dwev/inst/title-page-background/backgrounds/background10.pdf new file mode 100644 index 0000000..709be17 --- /dev/null +++ b/dwev/inst/title-page-background/backgrounds/background10.pdf @@ -0,0 +1,69 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xeK@@s +. 8GpaE]Od4,=^x wS\=@CeykBsXp1LH*a rլVUb/LP1D +endstream +endobj +4 0 obj + 150 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000564 00000 n +0000000264 00000 n +0000000015 00000 n +0000000242 00000 n +0000000336 00000 n +0000000629 00000 n +0000000756 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +808 +%%EOF diff --git a/dwev/inst/title-page-background/backgrounds/background11.pdf b/dwev/inst/title-page-background/backgrounds/background11.pdf new file mode 100644 index 0000000..946cd45 Binary files /dev/null and b/dwev/inst/title-page-background/backgrounds/background11.pdf differ diff --git a/dwev/inst/title-page-background/backgrounds/background2.pdf b/dwev/inst/title-page-background/backgrounds/background2.pdf new file mode 100644 index 0000000..054baf7 Binary files /dev/null and b/dwev/inst/title-page-background/backgrounds/background2.pdf differ diff --git a/dwev/inst/title-page-background/backgrounds/background3.pdf b/dwev/inst/title-page-background/backgrounds/background3.pdf new file mode 100644 index 0000000..b8aef37 Binary files /dev/null and b/dwev/inst/title-page-background/backgrounds/background3.pdf differ diff --git a/dwev/inst/title-page-background/backgrounds/background4.pdf b/dwev/inst/title-page-background/backgrounds/background4.pdf new file mode 100644 index 0000000..604b06e --- /dev/null +++ b/dwev/inst/title-page-background/backgrounds/background4.pdf @@ -0,0 +1,69 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xeN 0 { +/'v`=eX("== +^]+V(K\g-Ie ^9ufwqqcUHOhl9JSrj]H$O6{ʥ_<_IHa 368;s+Ck +endstream +endobj +4 0 obj + 158 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000572 00000 n +0000000272 00000 n +0000000015 00000 n +0000000250 00000 n +0000000344 00000 n +0000000637 00000 n +0000000764 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +816 +%%EOF diff --git a/dwev/inst/title-page-background/backgrounds/background5.pdf b/dwev/inst/title-page-background/backgrounds/background5.pdf new file mode 100644 index 0000000..f7839c3 --- /dev/null +++ b/dwev/inst/title-page-background/backgrounds/background5.pdf @@ -0,0 +1,70 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xm;@ D=/18 K삢D +rƯ0f|%߅ 1Dg,7 +!ijҔP /chpxr‰1W^Qd%q!9ZDj UѪApr$&]x_ʑȽIW?fr)6EU +endstream +endobj +4 0 obj + 168 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000582 00000 n +0000000282 00000 n +0000000015 00000 n +0000000260 00000 n +0000000354 00000 n +0000000647 00000 n +0000000774 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +826 +%%EOF diff --git a/dwev/inst/title-page-background/backgrounds/background6.pdf b/dwev/inst/title-page-background/backgrounds/background6.pdf new file mode 100644 index 0000000..41702d0 Binary files /dev/null and b/dwev/inst/title-page-background/backgrounds/background6.pdf differ diff --git a/dwev/inst/title-page-background/backgrounds/background7.pdf b/dwev/inst/title-page-background/backgrounds/background7.pdf new file mode 100644 index 0000000..c7f3354 --- /dev/null +++ b/dwev/inst/title-page-background/backgrounds/background7.pdf @@ -0,0 +1,68 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +x1nAE908"qR@+mh==nNp , .φA2 $࠙ҐF1}7\v9Κvf_":eRijҎ*ف}FSVel~-%K{t'khXK"qg6lX +endstream +endobj +4 0 obj + 198 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000612 00000 n +0000000312 00000 n +0000000015 00000 n +0000000290 00000 n +0000000384 00000 n +0000000677 00000 n +0000000804 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +856 +%%EOF diff --git a/dwev/inst/title-page-background/backgrounds/background8.pdf b/dwev/inst/title-page-background/backgrounds/background8.pdf new file mode 100644 index 0000000..06efe81 Binary files /dev/null and b/dwev/inst/title-page-background/backgrounds/background8.pdf differ diff --git a/dwev/inst/title-page-background/backgrounds/background9.pdf b/dwev/inst/title-page-background/backgrounds/background9.pdf new file mode 100644 index 0000000..da3a1ef --- /dev/null +++ b/dwev/inst/title-page-background/backgrounds/background9.pdf @@ -0,0 +1,69 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xPKn1\`(`0p!Lh_QHEwcJp6Pƈ`mb@6bL턃 `!$bM5CFvrGneu;zu&e̿v 9vQFֻZ]e7e)+G' +4?Ivi/XG +endstream +endobj +4 0 obj + 195 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000609 00000 n +0000000309 00000 n +0000000015 00000 n +0000000287 00000 n +0000000381 00000 n +0000000674 00000 n +0000000801 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +853 +%%EOF diff --git a/dwev/inst/title-page-background/build.sh b/dwev/inst/title-page-background/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/title-page-background/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/title-page-background/document.md b/dwev/inst/title-page-background/document.md new file mode 100644 index 0000000..82647b3 --- /dev/null +++ b/dwev/inst/title-page-background/document.md @@ -0,0 +1,61 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +titlepage: true, +titlepage-rule-color: "360049" +titlepage-background: "backgrounds/background1.pdf" +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/inst/title-page-background/document.pdf b/dwev/inst/title-page-background/document.pdf new file mode 100644 index 0000000..0652c79 Binary files /dev/null and b/dwev/inst/title-page-background/document.pdf differ diff --git a/dwev/inst/title-page-background/preview.png b/dwev/inst/title-page-background/preview.png new file mode 100644 index 0000000..c8d83bd Binary files /dev/null and b/dwev/inst/title-page-background/preview.png differ diff --git a/dwev/inst/title-page-custom/background.pdf b/dwev/inst/title-page-custom/background.pdf new file mode 100644 index 0000000..6c8ed29 --- /dev/null +++ b/dwev/inst/title-page-custom/background.pdf @@ -0,0 +1,70 @@ +%PDF-1.5 +% +4 0 obj +<< /Length 5 0 R + /Filter /FlateDecode +>> +stream +xe 0FJcU$v?QȒ 㙁9q0f %=!W9(pWzُbif1R/YgX֗O0cbl]Kfz] +gd.➾Jw s [C + q0cbHNK2 +endstream +endobj +5 0 obj + 181 +endobj +3 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +2 0 obj +<< /Type /Page % 1 + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 4 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 3 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 2 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Producer (cairo 1.16.0 (https://cairographics.org)) + /CreationDate (D:20190804184551+02'00) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000599 00000 n +0000000367 00000 n +0000000295 00000 n +0000000015 00000 n +0000000273 00000 n +0000000664 00000 n +0000000780 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +832 +%%EOF diff --git a/dwev/inst/title-page-custom/build.sh b/dwev/inst/title-page-custom/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/title-page-custom/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/title-page-custom/document.md b/dwev/inst/title-page-custom/document.md new file mode 100644 index 0000000..cf73e26 --- /dev/null +++ b/dwev/inst/title-page-custom/document.md @@ -0,0 +1,63 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +titlepage: true, +titlepage-text-color: "FFFFFF" +titlepage-rule-color: "360049" +titlepage-rule-height: 0 +titlepage-background: "background.pdf" +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/inst/title-page-custom/document.pdf b/dwev/inst/title-page-custom/document.pdf new file mode 100644 index 0000000..9b56e7d Binary files /dev/null and b/dwev/inst/title-page-custom/document.pdf differ diff --git a/dwev/inst/title-page-custom/logo-inverted.pdf b/dwev/inst/title-page-custom/logo-inverted.pdf new file mode 100644 index 0000000..2a7d392 Binary files /dev/null and b/dwev/inst/title-page-custom/logo-inverted.pdf differ diff --git a/dwev/inst/title-page-custom/logo-inverted.svg b/dwev/inst/title-page-custom/logo-inverted.svg new file mode 100644 index 0000000..ebea227 --- /dev/null +++ b/dwev/inst/title-page-custom/logo-inverted.svg @@ -0,0 +1,60 @@ + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/dwev/inst/title-page-custom/preview.png b/dwev/inst/title-page-custom/preview.png new file mode 100644 index 0000000..41a27ba Binary files /dev/null and b/dwev/inst/title-page-custom/preview.png differ diff --git a/dwev/inst/title-page-default/build.sh b/dwev/inst/title-page-default/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/title-page-default/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/title-page-default/document.md b/dwev/inst/title-page-default/document.md new file mode 100644 index 0000000..83844e2 --- /dev/null +++ b/dwev/inst/title-page-default/document.md @@ -0,0 +1,59 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +titlepage: true +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/inst/title-page-default/document.pdf b/dwev/inst/title-page-default/document.pdf new file mode 100644 index 0000000..3b761cb Binary files /dev/null and b/dwev/inst/title-page-default/document.pdf differ diff --git a/dwev/inst/title-page-default/preview.png b/dwev/inst/title-page-default/preview.png new file mode 100644 index 0000000..ce094ce Binary files /dev/null and b/dwev/inst/title-page-default/preview.png differ diff --git a/dwev/inst/title-page-green/build.sh b/dwev/inst/title-page-green/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/title-page-green/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/title-page-green/document.md b/dwev/inst/title-page-green/document.md new file mode 100644 index 0000000..7b6778b --- /dev/null +++ b/dwev/inst/title-page-green/document.md @@ -0,0 +1,63 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +titlepage: true +titlepage-color: "3C9F53" +titlepage-text-color: "FFFFFF" +titlepage-rule-color: "FFFFFF" +titlepage-rule-height: 2 +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/inst/title-page-green/document.pdf b/dwev/inst/title-page-green/document.pdf new file mode 100644 index 0000000..6f7342c Binary files /dev/null and b/dwev/inst/title-page-green/document.pdf differ diff --git a/dwev/inst/title-page-green/preview.png b/dwev/inst/title-page-green/preview.png new file mode 100644 index 0000000..3ff8e6b Binary files /dev/null and b/dwev/inst/title-page-green/preview.png differ diff --git a/dwev/inst/title-page-logo/build.sh b/dwev/inst/title-page-logo/build.sh new file mode 100644 index 0000000..ee87a78 --- /dev/null +++ b/dwev/inst/title-page-logo/build.sh @@ -0,0 +1 @@ +pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings \ No newline at end of file diff --git a/dwev/inst/title-page-logo/document.md b/dwev/inst/title-page-logo/document.md new file mode 100644 index 0000000..df8dfa5 --- /dev/null +++ b/dwev/inst/title-page-logo/document.md @@ -0,0 +1,64 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +titlepage: true +titlepage-text-color: "7137C8" +titlepage-rule-color: "7137C8" +titlepage-rule-height: 2 +titlepage-logo: "logo.pdf" +logo-width: 30mm +... + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/inst/title-page-logo/document.pdf b/dwev/inst/title-page-logo/document.pdf new file mode 100644 index 0000000..92a55bc Binary files /dev/null and b/dwev/inst/title-page-logo/document.pdf differ diff --git a/dwev/inst/title-page-logo/logo.pdf b/dwev/inst/title-page-logo/logo.pdf new file mode 100644 index 0000000..f6804f3 Binary files /dev/null and b/dwev/inst/title-page-logo/logo.pdf differ diff --git a/dwev/inst/title-page-logo/logo.svg b/dwev/inst/title-page-logo/logo.svg new file mode 100644 index 0000000..6fe84b7 --- /dev/null +++ b/dwev/inst/title-page-logo/logo.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/dwev/inst/title-page-logo/preview.png b/dwev/inst/title-page-logo/preview.png new file mode 100644 index 0000000..1b1d562 Binary files /dev/null and b/dwev/inst/title-page-logo/preview.png differ diff --git a/dwev/language-chinese.pdf b/dwev/language-chinese.pdf new file mode 100644 index 0000000..71a32ce Binary files /dev/null and b/dwev/language-chinese.pdf differ diff --git a/dwev/language-chinese.qmd b/dwev/language-chinese.qmd new file mode 100644 index 0000000..ea6665a --- /dev/null +++ b/dwev/language-chinese.qmd @@ -0,0 +1,52 @@ +--- +title: "価備手述改陸夜数木田了転由。" +author: [作者日期] +date: "2019-01-10" +subject: "Markdown" +keywords: [Markdown, Example] +lang: zh-CN +svg: true +fig-pos: "!t" +colorlinks: true +urlcolor: blue +sansfont: "Gill Sans" +sansfontoptions: + - Color=39729E +mainfont: "Source Sans 3" #| Verdana (fontsize: 11pt) # Source Sans 3 | Times New Roman| Helvetica | PT Sans +monofont: "JetBrains Mono" +mathfont: "Cambria Math" +CJKmainfont: "Noto Serif CJK SC" +CJKsansfont: "Noto Sans CJK SC" +CJKmonofont: "Noto Sans Mono CJK SC" +# 确保中文标点符号正确处理 +CJKoptions: | + AutoFakeBold=true +format: dwev-pdf +--- + +# 陣委百三秋康経重示面合雪減背井足府迷根間。 + +陣委百三秋康経重示面合雪減背井足府迷根間。米式十良提馬紀研園要中募用刊。考稿協中写万捜寄三誠女文惑応担。動忍負陣表要回厳盛質属全任。意渡稿針当京注合在成唱皇月諸感丘売。業暮題武同海変公飯伝習真質期込者。読性聞点社質求庫勢応系飛。読有約求不政球県台却観展明来連使。暗双属場證北日増吉望団私録写日奈惑紙。 + +賞方広選付疑京将主豊祉歳兆。亮行災視民信軒全太当刑際大。設紙校系顔実困講将用求年作。禁査調線無聞銅案性約会有整兄名城敬番棋。催題趣蔵今権全演権専治整。記査調埼毎断読犬石川年実作問情設情経。地面観参軽地多愛提帯瀬面側天側。価備手述改陸夜数木田了転由。上転為護吾載何研防著取足調出声的与歯。 + + +```{r} +"asdfads阿斯顿发斯蒂芬" +``` + + + +## 参街能業南達伊市無百兆無聞手覧常努団他。 + +参街能業南達伊市無百兆無聞手覧常努団他。応臨覧処面板施盛会同交展安期。善無継東約知紙地言展掲世起都幕紙仕。配稿理第心酸知月勝庭上図真全。本顕品毎信稿蓄秀神池課道。空米打資級油週報白受支写住文科権初航逮政。売打込箕長陳雪択選男真庭。改取確育迎田袴者豊尾京毎景終彦思。意試役能五子込宙転知校細。内速排索医林経一応係古測辺水。 + +紋正介市及早拒木霊記済複治中。了岐都援盛手価民選覧必庭温背木済円力治。年生算純投器小市系統出字明稚喫部秘集。背伝歳適虫解無集園意明属賞方社件。公紹情高無主考全度監授掲。三退新田面封一基会功康売詳夜増義芸。特積夫紀北赤子演載識顔産済再測質。新岐張年読原体畑住郎門当合止吹士天意藤。明延立派購新政医士定速農。 + +神図先名当揃存工紙広渡民晩記各面得続告増。将枝素実更造藤胞界投健記室申張講訴。店裁山党手政者校訓会清終定浪案。普大的比将響認経変度与合兄退景意経。歌池京割覧製断訳載割写載女作想用魂覚申。舞夜負亡古特在事準催進不全先自代上業後者。学上育手係真最芋本代定作供下能読分。 + +- 汁酬英性向竹室比著給稿刻学年機稿生写。投面記偏回必写際著危女競林思。対事管現馬打能夜月顧身最恵共谷盟社必出。事退問更理併裏少切写禁権丁金提限最写求。者打記舎作馬研作辞家地子無遠者情島。諸井訓団取転燃大広応毎断略並。力持極業育権者住今展線際玉。集政謙期伝変争一他拉方海話連委下混必。囲渡園早位形量英酒椅食始発児政。 +- 年京船装街論初維器送遂考都連。携訪後細断点洋再説月間必道休光事築河。聞直電原竹銭報発興埼校球米口暮定奨重芸聞。京和使検聞服運加航認著著真技事実。弘断機試勢感金換稼治山谷皇真人肥霧。夜需崎影書属葉総登抜見発養内日現際園。場小行評歳映徹浸力政中募暮日朝金子武東。映申地換方無次記暮動練供事惑部意喜半戦壇。 +- 勝技枝図辞決受温見会図休自意少帰質者栄。務単時幹典盟園先入販江紀聞択色務。逮人覇品努博関復際部給体寛明理。限袖住教催広州係響体回接決治過銀。世提応枝録少説営援紙遠勤災宿。試電重捕切譜練治真戦将東。在最真休治義地杉調掲参親平。必整能怒哲希存雪注気付終表転県横隊早。覧教夕徹八学然害犬米無調億立図平受受位編。 + +昌手挨一主要入削禁図送無高慕収後毎投業。感心台観道際町存更団打目今。生記投報重東点回際護高田独東。球野技検業大芸聞共最集飛禁。無黄手著凱縮産総智幕配示。名旧合提丼畿幅間任問場投悪変団。津地全真罪禁友容崩図新足連問完。域勲市録関写気意傷遣米安極漢。個疑調尾陸能案相浮接格校田新本下能。日銭信茶岡実締繰先分読独娘製商損真情。 diff --git a/dwev/language-german.pdf b/dwev/language-german.pdf new file mode 100644 index 0000000..18b03c2 Binary files /dev/null and b/dwev/language-german.pdf differ diff --git a/dwev/language-german.qmd b/dwev/language-german.qmd new file mode 100644 index 0000000..55ca7d1 --- /dev/null +++ b/dwev/language-german.qmd @@ -0,0 +1,58 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "de" +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/language-japanese.pdf b/dwev/language-japanese.pdf new file mode 100644 index 0000000..3b2d668 Binary files /dev/null and b/dwev/language-japanese.pdf differ diff --git a/dwev/language-japanese.qmd b/dwev/language-japanese.qmd new file mode 100644 index 0000000..7932964 --- /dev/null +++ b/dwev/language-japanese.qmd @@ -0,0 +1,33 @@ +--- +title: "よ派にへたひ素ヘムナフュてるあてっはれねね区露。巣擢" +author: [むて絵ヤイヤ手津絵] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +format: dwev-pdf +--- + +# よ派にへたひ素ヘムナフュてるあてっはれねね区露。巣擢 + + +もに氏留列阿ゃけんリヌョソュろまけやほこまネクフコテユうめね瀬雲舳目ょ舳鵜みやいみま。野ね等野けへ屋模のね日課っぬ、知列阿絵かょ譜雲屋せのゆそめ個派瀬雲派課ーイヨスケ瀬留巣尾日ね保るめゅねっうむ無津氏離ほさないほ擢りむえ夜手個魔模素。 + +よ派にへたひ素ヘムナフュてるあてっはれねね区露。巣擢。むて絵ヤイヤ手津絵舳ふち屋区根っクキオ氏露すムフヘゅ二遊むねれみらなまそ瀬ぬゆたヘクアウはてとしまる知。 + +むゆくら雲津手都あもは日遊れりゅへらっ日保留鵜絵す。の露日無ゆ遊二日りスツ毛留御遊擢御無模無ょやゆ樹毛阿留等、樹ルキテひょとて区列屋。うかるゃええま二擢きかしあんつ擢、っさく遊手名区列手ウヌマ区根以擢模擢素けせのれひんほおはよこふきなろ樹舳野尾尾ゃほふ列擢瀬舳名個区等こに名津、根夜、お。ろやほ保素根列らゆやしえろむっンサハラオ。 + +## とほ知他え目絵樹せ津素舳雲巣魔氏派夜列魔 + +まの課譜都手、やいゆぬてほめてよかおそふおょこ尾夜く阿差課根ぬナヒメケ舳二しけやろこち譜は巣津やれま、ネョセカあきあメシみ根根るあ、ろへ離都課ろうらくぬさにせぬ尾模等せ樹魔いそょ毛もし御名氏知。 + +課瀬毛御都列ヒャマナカフモ絵区区遊譜ほ、ほすゃもキウぬノサクサめろそなる他他津ふまお、譜阿手派夜っ他個かたか舳鵜日魔日雲派二離、にひ巣氏めすおひふめへな区っ鵜名瀬むう。ヨツミメ区素他都めすそか課区なうよ以遊へ。いり他譜けっへつ。保阿模野列魔てえ。以区素。 + +離擢留舳区クツコこつろと魔、ょもさよ尾うとほ知他え目絵樹せ津素舳雲巣魔氏派夜列魔氏絵夜課阿ふ知知区擢魔野さうにりよりうゅ個課列野ゃす毛二絵手ぬえ派尾樹屋夜。夜絵毛毛すりおいし遊手夜毛無とゆ瀬野毛名個ふふえゃ無都名無他氏等ふこたも。 + +以たろきお都ゆし阿列鵜擢おんか、ッロマオゅ露他野列せ譜模ョー鵜尾野手毛素、ひす素野ろ氏御氏屋ほはもらりむふ離個とろいそつむ差手こつけっとへせっ。りぬ目無舳めむや離離ょほんく阿せえのんやや離雲雲魔はゃれひ。りそさ無阿樹さかん屋絵氏、つ区差。しレヨオキホテゆもお尾巣けのすもめきむやひけ。尾御津区列列課都雲り樹めぬやむては、舳名夜ッラチユ列都、保露、魔鵜。 + +1. りぬ目無舳めむや離離ょほんく阿せえのんやや離雲雲魔はゃれひ。りそさ無阿樹さかん屋絵氏、つ区差。しレヨオキホテゆもお +2. へ舳列っに「屋素留御以根」露派差離鵜けきうっ雲目以ナシ。日氏すゅともむ樹留素ふりう氏日夜れと +3. 他根かかぬ、くきれみけおへえほん保派絵くけよ譜モヌッアアウカ留譜絵目課離根以名阿さ樹他クッカクラ無課課瀬めつ列氏課そ目知屋舳手らへ舳列っに「屋素留御以根」露派差離鵜けきうっ雲目以ナシ。日氏すゅともむ樹留素ふりう氏日夜れとせさ鵜知めっゃ瀬露めゅむに遊雲舳野ひひよやめほくさめう舳名都とにてめは無めもはすにちひ遊モシルもねたらやょや。知以ほ以名さきにまむろせちょったか毛御差巣夜氏、きまむこ列模模阿。 + +阿瀬鵜屋さねや、う他列舳ヤマりれえんか、尾瀬カコノヒ名課巣鵜津せやおひく知二保手、そ派毛遊へろへよ。みす派毛はうよ樹二御派派等メノコせ区さ巣屋名のせ野毛。 \ No newline at end of file diff --git a/dwev/page-background.pdf b/dwev/page-background.pdf new file mode 100644 index 0000000..96ba269 Binary files /dev/null and b/dwev/page-background.pdf differ diff --git a/dwev/page-background.qmd b/dwev/page-background.qmd new file mode 100644 index 0000000..8172385 --- /dev/null +++ b/dwev/page-background.qmd @@ -0,0 +1,60 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +page-background: "inst/page-background/backgrounds/background1.pdf" +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. diff --git a/dwev/table-of-contents.pdf b/dwev/table-of-contents.pdf new file mode 100644 index 0000000..2eae105 Binary files /dev/null and b/dwev/table-of-contents.pdf differ diff --git a/dwev/table-of-contents.qmd b/dwev/table-of-contents.qmd new file mode 100644 index 0000000..9ff46e1 --- /dev/null +++ b/dwev/table-of-contents.qmd @@ -0,0 +1,60 @@ +--- +title: "Example PDF" +author: [Author] +date: "2022-03-04" +subject: "Markdown" +keywords: [Markdown, Example] +lang: "en" +toc: true +toc-own-page: true +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +> Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/title-page-background.pdf b/dwev/title-page-background.pdf new file mode 100644 index 0000000..22ce0ac Binary files /dev/null and b/dwev/title-page-background.pdf differ diff --git a/dwev/title-page-background.qmd b/dwev/title-page-background.qmd new file mode 100644 index 0000000..15cc07d --- /dev/null +++ b/dwev/title-page-background.qmd @@ -0,0 +1,62 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +titlepage: true, +titlepage-rule-color: "360049" +titlepage-background: "inst/title-page-background/backgrounds/background1.pdf" +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. diff --git a/dwev/title-page-custom.pdf b/dwev/title-page-custom.pdf new file mode 100644 index 0000000..ed147b4 Binary files /dev/null and b/dwev/title-page-custom.pdf differ diff --git a/dwev/title-page-custom.qmd b/dwev/title-page-custom.qmd new file mode 100644 index 0000000..4cad5ba --- /dev/null +++ b/dwev/title-page-custom.qmd @@ -0,0 +1,64 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +titlepage: true, +titlepage-text-color: "FFFFFF" +titlepage-rule-color: "360049" +titlepage-rule-height: 0 +titlepage-background: "inst/title-page-custom/background.pdf" +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. diff --git a/dwev/title-page-default.pdf b/dwev/title-page-default.pdf new file mode 100644 index 0000000..1655a43 Binary files /dev/null and b/dwev/title-page-default.pdf differ diff --git a/dwev/title-page-default.qmd b/dwev/title-page-default.qmd new file mode 100644 index 0000000..fc33703 --- /dev/null +++ b/dwev/title-page-default.qmd @@ -0,0 +1,60 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +titlepage: true +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/title-page-green.pdf b/dwev/title-page-green.pdf new file mode 100644 index 0000000..98fb3fd Binary files /dev/null and b/dwev/title-page-green.pdf differ diff --git a/dwev/title-page-green.qmd b/dwev/title-page-green.qmd new file mode 100644 index 0000000..2e64412 --- /dev/null +++ b/dwev/title-page-green.qmd @@ -0,0 +1,64 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +titlepage: true +titlepage-color: "3C9F53" +titlepage-text-color: "FFFFFF" +titlepage-rule-color: "FFFFFF" +titlepage-rule-height: 2 +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum. \ No newline at end of file diff --git a/dwev/title-page-logo.pdf b/dwev/title-page-logo.pdf new file mode 100644 index 0000000..1ea1dc1 Binary files /dev/null and b/dwev/title-page-logo.pdf differ diff --git a/dwev/title-page-logo.qmd b/dwev/title-page-logo.qmd new file mode 100644 index 0000000..000cd42 --- /dev/null +++ b/dwev/title-page-logo.qmd @@ -0,0 +1,65 @@ +--- +title: "Vinaque sanguine metuenti cuiquam Alcyone fixus" +author: [Author Name] +date: "2017-02-20" +subject: "Markdown" +keywords: [Markdown, Example] +subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum" +lang: "en" +titlepage: true +titlepage-text-color: "7137C8" +titlepage-rule-color: "7137C8" +titlepage-rule-height: 2 +titlepage-logo: "inst/title-page-logo/logo.pdf" +logo-width: 30mm +format: dwev-pdf +--- + +# Vinaque sanguine metuenti cuiquam Alcyone fixus + +## Aesculeae domus vincemur et Veneris adsuetus lapsum + +Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab +esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias +commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros +hamos ire arceor mandere spicula, in licet aliquando. + +```java +public class Example implements LoremIpsum { + public static void main(String[] args) { + if(args.length < 2) { + System.out.println("Lorem ipsum dolor sit amet"); + } + } // Obscura atque coniuge, per de coniunx +} +``` + +Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. +Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota +destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente +Pirithoi abstulit, lapides. + +## Lydia caelo recenti haerebat lacerum ratae at + +Te concepit pollice fugit vias alumno **oras** quam potest +[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis, +vel pede inter si. + +1. De neque iura aquis +2. Frangitur gaudia mihi eo umor terrae quos +3. Recens diffudit ille tantum + +\begin{equation}\label{eq:neighbor-propability} + p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)} +\end{equation} + +Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae +adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me. + +Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et +[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas +nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque +dura. + +- Permulcens flebile simul +- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum.