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
allow caption in Rmd #72
Comments
I use the very nice packag Should you be interested to hear it, I can gladly elaborate on how exactly I use the package. Cheers |
Dear Jan, Just to let you know, the subject is not dead but I am not able to work on it for the moment. I will later :) David |
Hi Jan, Could you please let me know, how did you add caption to flextable using captioner. Thanks in advance, |
Hi Wazir, in Captioner you define a function, that creates a caption string according to your needs including the table number when you call it. https://cran.r-project.org/web/packages/captioner/vignettes/using_captioner.html
When calling the captioner function, you give the table a unique identifer so later you can call your captioner function again, giving that name, to cite the respective table, with the correct number. What I simply did, is to write this caption string into the header of a flextable. Works a charm.
Cannot test the code right now. But something like this should work. Cheers, Jan |
Above link is mal-formatted. https://cran.r-project.org/web/packages/captioner/vignettes/using_captioner.html |
There is now a For PowerPoint output, there is no such concept available. For Word output, you can add captions but not in the table - a Word document is expecting the caption to be a paragraph located not in the table but just before or after the table. |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
Find a solution to add caption to flextable/regulartable
The text was updated successfully, but these errors were encountered: