Skip to content

Commit

Permalink
update cover page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
stoughty111 committed Sep 15, 2024
1 parent c132422 commit f50482b
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions inst/templates/base_quarto_report_template.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -182,28 +182,21 @@ requires_landscape_page <- function(table){

\newgeometry{top = 1in, bottom = 1in, left = 0.5in, right = 0.5in}

\setlength{\parskip}{0.5em}

::: {.content-visible when-format="pdf"}
```{=tex}
\begin{titlepage}
\begin{flushleft}
\thispagestyle{nopagenumbers}
\setlength{\parskip}{0.2em}
\vspace*{\fill}
\Huge
\textbf{`r params$report_title`}
\LARGE
`r params$report_subtitle`
`r if(!is.null(params$data_time_period)) params$data_time_period`
\end{flushleft}
\begin{flushright}
\large
`r if(!is.null(params$project_id)) sprintf("PHRPC \\#: %s", as.character(params$project_id))`
`r if(!is.null(params$data_time_period)) params$data_time_period` \hfill \large `r if(!is.null(params$project_id)) sprintf("PHRPC \\#: %s", as.character(params$project_id))`
Prepared on `r params$report_generation_date`
\end{flushright}
\hfill Prepared on `r params$report_generation_date`
\end{titlepage}
```
\newgeometry{top = 1in, bottom = 1in, left = 1in, right = 1in}
Expand Down

0 comments on commit f50482b

Please sign in to comment.