Gt: Unable to apply font to source_notes

Created on 18 May 2020  Â·  3Comments  Â·  Source: rstudio/gt

As far as I can tell, there is no locations helper function to select cells or text in the source notes. This means that we are unable to apply certain styles to source notes.

We can apply styling to the source notes through tab_options; however this is much more limited than tab_style and does not include the ability to set a specific font.

[3] Advanced [3] High [3] High ★ Enhancement

Most helpful comment

No problem! Thanks for developing such a nice package!

All 3 comments

Agreed that there should be location helper functions for the source notes and for the footnotes. Thanks for reporting as this was a major oversight.

No problem! Thanks for developing such a nice package!

I didn't link this issue but a recent PR (https://github.com/rstudio/gt/pull/737) added the cells_source_notes() (and cells_footnotes()) functions. So those locations can now be styled.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vikram-rawat picture vikram-rawat  Â·  3Comments

thisisnickb picture thisisnickb  Â·  5Comments

rich-iannone picture rich-iannone  Â·  5Comments

tbradley1013 picture tbradley1013  Â·  3Comments

vincentarelbundock picture vincentarelbundock  Â·  4Comments