-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from elong0527/pdf-template
Change PDF output template and fix preview images
- Loading branch information
Showing
13 changed files
with
4,024 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,8 @@ | |
|
||
/.quarto/ | ||
/_book/ | ||
/site_libs/ | ||
|
||
r4csr.tex | ||
index.adx | ||
index.thm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
\backmatter | ||
|
||
\let\hyperlink=\oldhyperlink % Restore old hyperlink behaviour | ||
\cleardoublepage | ||
\markboth{Index}{Index} | ||
\addcontentsline{toc}{chapter}{Index} | ||
\printindex | ||
|
||
\addcontentsline{toc}{chapter}{Code index} | ||
\printindex[code] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
\null\vfill | ||
\begin{flushleft} | ||
\thispagestyle{empty} | ||
\textit{R for Clinical Study Reports and Submission} | ||
|
||
© Placeholder Name, Inc. | ||
|
||
ISBN-1234567891234 | ||
|
||
\noindent Lorem ipsum dolor sit amet, consectetur adipiscing elit. | ||
Nulla et elementum libero. In hac habitasse platea dictumst. | ||
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices | ||
posuere cubilia Curae; Donec sed odio dui. Nullam quis risus eget | ||
urna mollis ornare vel eu leo. Pellentesque habitant morbi tristique | ||
senectus et netus et malesuada fames ac turpis egestas. | ||
Curabitur blandit tempus porttitor. | ||
Integer posuere erat a ante venenatis dapibus posuere velit aliquet. | ||
\end{flushleft} | ||
|
||
\frontmatter | ||
|
||
% Dedication | ||
\begin{center} | ||
\thispagestyle{empty} | ||
\vspace*{\fill} | ||
\huge{\textit{Placeholder for dedication text}} | ||
\vspace*{\fill} | ||
\end{center} | ||
|
||
\mainmatter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
\usepackage{booktabs} | ||
|
||
\usepackage{float} | ||
\usepackage{index} | ||
% index functions separately | ||
\newindex{code}{adx}{and}{R code index} | ||
\newcommand{\indexf}[1]{\index[code]{#1@\texttt{#1()}}} | ||
\newcommand{\indexc}[1]{\index[code]{#1@\texttt{#1}}} | ||
|
||
\DeclareGraphicsExtensions{.pdf,.png} | ||
|
||
\usepackage{hyperref} | ||
% Place links in parens | ||
\renewcommand{\href}[2]{#2 (\url{#1})} | ||
% Use auto ref for internal links | ||
\let\oldhyperlink=\hyperlink | ||
\renewcommand{\hyperlink}[2]{\autoref{#1}} | ||
\def\chapterautorefname{Chapter} | ||
\def\sectionautorefname{Section} | ||
\def\subsectionautorefname{Section} | ||
\def\subsubsectionautorefname{Section} | ||
|
||
\setlength{\emergencystretch}{3em} % prevent overfull lines | ||
\vbadness=10000 % suppress underfull \vbox | ||
\hbadness=10000 % suppress underfull \vbox | ||
\hfuzz=10pt | ||
|
||
\makeindex |
Oops, something went wrong.