I understand that my issue may be closed if I don't fulfill my promises. I have learned the Github Markdown syntax, and formatted my issue correctly. If I have posted the same issue elsewhere, I have also mentioned it in this issue. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: `remotes::install_github('yihui/knitr')`. If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included `xfun::session_info('knitr')`. If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there. I have provided the necessary information about my issue. But I do not know of a way to have Latex print this short caption outside of the list of figures.īy filing an issue to this repo, I promise that It makes possible to insert list of tables. All table captions are supposed to have the same identifier. For latex specifically, I was thinking that perhaps the existing chunk option `fig.scap` could be used because I assume in most cases the short title of a figure would also be used in the list of figures (抛砖引玉而已). topcaption: caption will appear before (on top of) the table, tab.lp: caption table sequence identifier. So in my opinion, a chunk option for this purpose would be a welcome addition although I do not know how and whether this could be implemented and whether you like the idea at all. Modelsummary::modelsummary(mods, title = ".", notes = ".")īut I am not aware of a package that allows producing figures with captions that are not baked into the actual image file. Many packages for producing tables have an option to provide both a title and notes, for example However, the markup in the Rmarkdown file is verbose and other output formats won't accept the code. Is there any way to accomplish this with Rmarkdown/knitr or would it make sense to add a chunk option specifically for this purpose? Stack Overflow offers () for latex documents that works and surprisingly does not even result in ugly latex code. In my field it seems customary to separate the title/short description of a figu … re from its notes (containing lengthy details), similar to
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |