-
Notifications
You must be signed in to change notification settings - Fork 17
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
kableExtra question (Not a csasdown bug) #225
Comments
Did you try escape = TRUE ? |
Is the output of your table code LaTeX not markdown and so you need LaTeX
formatted cross references? If you can’t get that to work, try making a
small reproducible example of some code we can paste into a csasdown
document with small fake data created with R code and we can troubleshoot.
|
Thank you for the quick responses! I've been tinkering with this, on and off, for a long while, but then thought I might be missing something totally silly and obvious, so started this issue. Also note: this cross-reference column is a "nice to have", not an essential revision of the res doc, so not worth going down any major rabbit holes. Just bugging me that I can't get it to work...
|
Tried this approach and it sort of worked. The trick is to use The resulting table format looks alright, but the subsequent specifications with |
Source file
Markdown
|
The issue
I'm trying to have some cross-references to sections inside a table generated with
csas_table()
. Searching online I found lots of examples of cross-references to a table, but only one short note here re: cross-reference in a table . However, I can't make their instruction re: "escaping the backslash" work.This Vignette on creating tables with kableExtra also states on p 14 in Section Cell/Text Specification that "you have to escape special symbols including % manually by yourself", but doesn't give a working example.
Current Markdown
Source csv
The source file looks like this
For the cross-ref, I've tried:
The text was updated successfully, but these errors were encountered: