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

Can't use superscript characters with LaTeX output #61

Closed
krlmlr opened this issue Nov 1, 2017 · 2 comments
Closed

Can't use superscript characters with LaTeX output #61

krlmlr opened this issue Nov 1, 2017 · 2 comments

Comments

@krlmlr
Copy link
Member

krlmlr commented Nov 1, 2017

https://github.com/tidyverse/tibble/blob/e17970597fe63132c42229c22a6c06d653637351/revdep/problems.md#newly-broken-4

@yihui: Is there a way to detect that we're running in knitr session that targets LaTeX? We're using superscripted Unicode characters (like in 1.00e⁻⁵) that seem to confuse the LaTeX inputenc package.

@yihui
Copy link

yihui commented Nov 2, 2017

knitr:::is_latex_output(). This function was exported recently in the devel version of knitr.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2020

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.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 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

No branches or pull requests

2 participants