-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
229 additions
and
480 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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
title: Customizing | ||
--- | ||
|
||
You can customize your book by changing `_quarto.yml` and the files it referendes. This project organize files in 4 basic folders: | ||
|
||
- 01-Front: for frontmatter content; | ||
- 02-Main: for mainmatter content; | ||
- 03-Back: for backmatter content; | ||
|
||
### Book Structure | ||
|
||
- Cover | ||
- Front Matter | ||
- Title Page | ||
- Copyright | ||
- Dedication | ||
- Epigraph/dictum | ||
- Table of Contents | ||
- Main Matter | ||
- chapters | ||
- Back Matter | ||
- references | ||
- appendices | ||
- acknowledgements | ||
- colophon | ||
|
||
### File Structure | ||
|
||
| Book Part | File | How to customize | | ||
|-----------|:-------------------------|:-------------------| | ||
| Cover | images/bookcover.pdf | Replace the file. If no file, no cover. | | ||
| Titlepage | _quarto.yml | Built from metadata. For further customization use [partials](https://quarto.org/docs/journals/templates.html). | | ||
| Copyright | 01-Front/dedication.tex | Replace or exclude/rename file. | | ||
| Dedication| 01-Front/dedication.tex | Replace or exclude/rename file. | | ||
| Epigraph | 01-Front/epigraph.tex | Replace or exclude/rename file. | | ||
| ToC | _quarto.yml | Built from metadata. For further customization use [partials](https://quarto.org/docs/journals/templates.html). | | ||
| Chapters | _quarto.yml | You can reference [chapters, parts and apendices](https://quarto.org/docs/books/book-structure.html). | ||
| Acknolegements | 03-Back/ack.qmd | Replace or exclude/rename file. | | ||
| Colophon | 03-Back/colophon.qmd | Replace or exclude/rename file. | | ||
|
||
### Advanced Cutomization | ||
|
||
In `_extensions/tufte/_extension.yml` you can check the default settings of the Tufte-Quarto Book type. All these settings can be overwritten in _quarto.yml. | ||
|
||
The project uses [tufte-book](https://tufte-latex.github.io/tufte-latex/) Latex class. | ||
|
||
### Customizing the Website | ||
|
||
Besides the settings from `_extensions/tufte/_extension.yml > format > html` that can be overwritten in `_quarto.yml > format > html`, you can further customize the website by creating a `style.css` file and referencing it in `_quarto.yml`. Check `_extensions/tufte/style.css` as an example, but avoid changing directly there as Tufte-Quarto updates may break your 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 |
---|---|---|
@@ -1,13 +1,11 @@ | ||
--- | ||
title: Colophon | ||
--- | ||
:::{.content-hidden when-format="html"} | ||
\vspace*{\fill} | ||
|
||
# Colophon {.unlisted .unnumbered} | ||
|
||
Composed in ET Book, a free and open-sopurce typeface designed by Dmitry Krasny, Bonnie Scranton, and Edward Tufte; and \TeX Gyre Heros, a fontbased on the URW Nimbus Sans L kindly released by URW++ Design and Development Inc. under GFL. | ||
Based on [Tufte-Latex](https://tufte-latex.github.io/tufte-latex/) and [Quarto](https://quarto.org). | ||
|
||
|
||
![](/images/gutemberg_press){.column-margin} | ||
|
||
|
||
|
||
\vspace*{1cm} | ||
|
||
![](/Images/gutemberg_press.pdf){.column-margin} | ||
::: |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# References {.unnumbered} | ||
# References {.unnumbered .unlisted} | ||
|
||
::: {#refs} | ||
::: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,16 +1,22 @@ | ||
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
% Why can't I access metadata here? | ||
% \includepdf{$tufte.cover$} | ||
% \includepdf{$tufte.coversheet$} | ||
% TODO: remove comment | ||
% \includepdf{Images/cover.pdf} | ||
% \includepdf{Images/coversheet.pdf} | ||
% TODO: remove/change maketitle if cover present | ||
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
\IfFileExists{01-Front/copyright.tex}{\input{01-Front/copyright.tex}\clearpage}{} | ||
\IfFileExists{Images/bookcover.pdf}{\includepdf{Images/bookcover.pdf}\clearpage}{} | ||
|
||
$if(has-frontmatter)$ | ||
\frontmatter | ||
$endif$ | ||
$if(title)$ | ||
$if(beamer)$ | ||
\frame{\titlepage} | ||
$else$ | ||
\maketitle | ||
\pagenumbering{gobble} | ||
\IfFileExists{01-Front/copyright.tex}{\input{01-Front/copyright.tex}\clearpage}{} | ||
\IfFileExists{01-Front/dedication.tex}{\input{01-Front/dedication.tex}\clearpage}{} | ||
\IfFileExists{01-Front/epigraph.tex}{\input{01-Front/epigraph.tex}\clearpage}{} | ||
\pagenumbering{arabic} | ||
\mainmatter | ||
$endif$ | ||
$if(abstract)$ | ||
\begin{abstract} | ||
$abstract$ | ||
\end{abstract} | ||
$endif$ | ||
$endif$ | ||
\pagenumbering{arabic} |
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 @@ | ||
# About {.unnumbered .unlisted} |
Oops, something went wrong.