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

kable -- added a label argument that allows specifying a LaTeX refe… #1655

Merged
merged 2 commits into from
Jan 11, 2019

Conversation

Inferrator
Copy link
Contributor

kable -- added a label argument that allows specifying a tex reference label for standalone use. Argument is ignored if used within RMarkdown.

Inferrator and others added 2 commits January 11, 2019 14:11
…rence label for standaloen use. The argument is ignored if `kable` is used from within a RMarkdown snippet.
@yihui
Copy link
Owner

yihui commented Jan 11, 2019

Sorry, I screwed up a git command and deleted your commit by accident. If you add me as a collaborator of your fork (https://github.com/Inferrator/knitr/settings/collaboration), I can correct my mistake. Thank you!


Note to myself: this would solve the problem https://stackoverflow.com/questions/53880195/rmarkdown-numbering-multiple-figures-tables-in-one-chunk#comment94823043_53989615

@yihui yihui added this to the v1.21 milestone Jan 11, 2019
@Inferrator
Copy link
Contributor Author

Inferrator commented Jan 11, 2019

added you
re: note to yourself -- the way I wrote it, the chunk name (i.e. pressure2) would override the label. It's trivial to change that and always use the explicitly provided label. I did not do so because I wanted to be careful. In fact, one can discuss if one output per chunk is tidier than multiple outputs.

@yihui yihui reopened this Jan 11, 2019
Copy link
Owner

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@yihui yihui merged commit 2814058 into yihui:master Jan 11, 2019
yihui added a commit that referenced this pull request Jan 24, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants