Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font size for citations #59

Closed
dhicks opened this issue Mar 10, 2021 · 1 comment
Closed

Font size for citations #59

dhicks opened this issue Mar 10, 2021 · 1 comment

Comments

@dhicks
Copy link

dhicks commented Mar 10, 2021

I'm transitioning from LaTeX to R Markdown (and so Pandoc and so citeproc) to write Beamer slides. I'm the kind of academic who uses lots of citations, including as in-line author-date citations on my slides. To reduce visual clutter, I then set the font of the in-line citations as small as possible, eg, \tiny. I'm trying to figure out whether this is possible in my new workflow.

I've looked into whether a custom CSL style would work. However, in this Zotero thread from 2008, a CSL developer indicates that CSL doesn't support font size styling, arguing that it should be handled downstream so that it matches the surrounding document. I haven't been able to find any more recent discussions of font size and CSL.

My next idea was to check out how citations are represented in the TeX file; if they're getting turned into \cite commands or some such, then maybe I could put a wrapper around that command in the preamble. (This is basically what I did with the biblatex commands when I wrote the LaTeX directly.) But it appears the citations just become plain text strings.

So is there any way I can intervene between the CSL styling and the generated TeX file to get something whose font size I can control?

@badumont
Copy link

badumont commented Mar 10, 2021 via email

@jgm jgm closed this as completed Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants