kable() in LaTeX mode to typeset numeric columns in math mode.#1850
Open
krivit wants to merge 3 commits intoyihui:masterfrom
Open
kable() in LaTeX mode to typeset numeric columns in math mode.#1850krivit wants to merge 3 commits intoyihui:masterfrom
krivit wants to merge 3 commits intoyihui:masterfrom
Conversation
Contributor
Author
|
Looks like the I don't think it's anything in the PR. |
f6f96a0 to
139253a
Compare
139253a to
73ebdde
Compare
Contributor
Author
|
It no looks like the problem is with |
b98f3dc to
73ebdde
Compare
krivit
added a commit
to krivit/knitr-examples
that referenced
this pull request
Jun 25, 2020
…lumns in math mode (PR yihui/knitr#1850).
Contributor
Author
|
I've now updated the |
73ebdde to
9247b54
Compare
9247b54 to
9cc3097
Compare
9cc3097 to
644e593
Compare
644e593 to
b320135
Compare
bc82afc to
5ecdc1a
Compare
krivit
added a commit
to krivit/knitr-examples
that referenced
this pull request
Feb 4, 2021
…lumns in math mode (PR yihui/knitr#1850).
5ecdc1a to
6c77ffc
Compare
krivit
added a commit
to krivit/knitr-examples
that referenced
this pull request
Feb 4, 2021
…lumns in math mode (PR yihui/knitr#1850).
6c77ffc to
225e901
Compare
88dba01 to
aed7640
Compare
aed7640 to
0cba8f2
Compare
…looking minus signs. Commas, if present (as decimal or thousands separator), are wrapped in braces to prevent additional space being added after. Improves yihui#1709.
…n math mode. Improves yihui#1709.
… typesetting change. Improves yihui#1709.
0cba8f2 to
f3b6739
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a partial fix for #1709, addressing the
LaTeXcase by typesetting numeric columns in math mode and wrapping commas (as decimal or thousands separators) in braces ({}) for correct spacing. This is, in my opinion, the cleanest option that does not require additionalLaTeXpackages.I've looked into the other output types (
pandoc,html,md, etc.), but I am not quite sure what should be their output.I've updated
NEWS.mdandDESCRIPTIONto save time, and apologise for the presumption of adding myself as a contributor and adding "thanks" to myself. If this PR doesn't merit a line in theDESCRIPTION, I'll be happy to remove it.