Advanced customizations #2939
-
I am trying to create a Project Type Thesis with the design of my dissertation. It would generate a pdf but also a site. It resembles Tufte books layout, with some tweaks. For my dissertation, I used memoir and lots of custom commands, but for this Project Type, I wish to change as little as possible from Quarto defaults, while achieving a similar format (I am still unsure if I shouldn't change the documentclass). My work-in-progress can be found at fredguth/thesis:
\marginpar{
\begin{footnotesize}\leavevmode\vadjust
pre{\protect\hypertarget{ref-rahimi:2017}{}}%Rahimi, Ali. 2018. {``Ali Rahimi NIPS 2017 Test-of-Time Award
Presentation Speech.''} \url{https://youtu.be/x7psGHgatGM}; Youtube.
\url{https://youtu.be/x7psGHgatGM}.\vspace{2mm}
\par\end{footnotesize}} How do I customize that? I don't want the full reference in the side (I will keep full citation only in the References chapter, with a link from the margin note to the full reference).
\renewcommand*{\chapterformat}{%
\thechapter\enskip
\textcolor{gray!50}{\rule[-\dp\strutbox]{2pt}{\baselineskip}}\enskip
}
project:
type: thesis
thesis:
frontmatter:
- cover.qmd
- title.qmd
- signatures.qmd
- catalog.qmd
- dedication.qmd
- acknowledges.qmd
matter:
#no index.qmd here
part: one.qmd
chapters:
- intro.qmd
- literature.qmd
part: two.qmd
- hypothesis.qmd
- experiments.qmd
- results.qmd
- conclusion.qmd in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Right now there isn't a way to customize how we place items in the margin (aside from altering the CSL which controls the format of the reference we place in the margin). If you're attempting to create links to the bibliography in the margin, would it be possible to simple place a citation in the margin (e.g. @ref-rahimi:2017 ) rather than the reference information itself?
Does
Right now, project extensions can't generate the book contents themselves (except in a hard coded way). You might be able to accomplish this with a project script (pre-processor): https://quarto.org/docs/projects/scripts.html#pre-and-post-render |
Beta Was this translation helpful? Give feedback.
Right now there isn't a way to customize how we place items in the margin (aside from altering the CSL which controls the format of the reference we place in the margin). If you're attempting to create links to the bibliography in the margin, would it be possible to simple place a citation in the margin (e.g. @ref-rahimi:2017 ) rather than the reference information itself?
Does
number-sections: false
do what you're looking for? Aside from this customization, someone with a bit more LaTeX chops might be able to weight in...Right now, project extensions can't generate the book contents themselves (except in a hard coded way). You might be …