Appendix G — Professional Quarto Templates
G.1 Choosing a template
A template is a starting point, not a finished publication. Copy one folder outside the parent textbook project so its own configuration governs rendering. Preserve the original as a clean baseline. Replace illustrative content, confirm institutional requirements, and review all generated output. Use HTML first to isolate content errors before testing PDF or Word.
G.2 Common workflow
Run quarto check, open the copied folder, install its documented dependencies, and run quarto render. For standalone documents use quarto render index.qmd. Keep source files and approved data under version control; do not commit identifiable patient data or credentials.
G.3 Template catalog
G.3.1 Scientific research article
Copy examples/appendix-g/research-article/. Use the IMRaD structure to separate prespecified methods from results. Replace the descriptive example with a design-appropriate analysis and report uncertainty.
G.3.2 Biostatistical report
Copy examples/appendix-g/biostat-report/. Review the headings and replace the illustrative material with course- or study-specific content.
G.3.3 Systematic review and meta-analysis
Copy examples/appendix-g/meta-analysis/. Replace fictional effects only after completing extraction and checking effect direction. Do not treat the example as evidence or a substitute for a systematic search.
G.3.4 Lecture notes: exponential decay
Copy examples/appendix-g/lecture-notes/. Review the headings and replace the illustrative material with course- or study-specific content.
G.3.5 Course syllabus
Copy examples/appendix-g/syllabus/. Review the headings and replace the illustrative material with course- or study-specific content.
G.3.6 Student worksheet
Copy examples/appendix-g/worksheet/. Review the headings and replace the illustrative material with course- or study-specific content.
G.3.7 Instructor solutions
Copy examples/appendix-g/solutions/. Publish instructor solutions separately; hiding navigation is not access control.
G.3.8 Academic presentation
Copy examples/appendix-g/reveal/. Review the headings and replace the illustrative material with course- or study-specific content.
G.3.9 Classroom presentation
Copy examples/appendix-g/beamer/. The header removes navigation symbols and uses a minimal frame-number footer to preserve annotation space. Requires a TeX installation.
G.3.10 Interactive exponential decay
Copy examples/appendix-g/interactive-lesson/. The Observable JavaScript example requires HTML and browser execution. Provide a static alternative for print.
G.3.11 Clinic dashboard
Copy examples/appendix-g/dashboard/. Use dashboard layout for exploratory summaries, not as a substitute for a complete scientific report.
G.4 Multi-file projects
The academic website, mathematical textbook and book portal each contain their own _quarto.yml. The portal is a link directory, not a reverse proxy. Add only verified published URLs. The textbook includes a chapter list and a shared stylesheet.
G.5 Styling and accessibility
Use meaningful heading order, descriptive link text, captions and alternative text. Keep plots readable in grayscale and avoid color as the only distinction. Test narrow screens and keyboard navigation. For PDF and Word, inspect page breaks and equations separately.
G.6 Guided practice
- Adapt the worksheet to a different dataset.
- Verify that the solution is not included in the student build.
- Add a chapter to the book configuration.
- Compare the HTML lesson with a static alternative.
- Explain why a portal link directory does not implement URL rewriting.
G.7 Applied project
Create a coordinated teaching package: lecture notes, worksheet, private solutions, presentation and website. Use consistent notation and a shared dataset. Render each output and document the software versions and any limitations. Award five points each for organization, accuracy, accessibility, reproducibility and publication review.
G.8 Further reading
See the Quarto documentation for format-specific options.