-
Notifications
You must be signed in to change notification settings - Fork 19
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
Multiple spaces are trimmed: Leading / trailing spaces are removed, mid-text spaces are converted into a single space #35
Comments
I was intending to use the package to capture and present details of fit objects via cpature.output(summary(fit)). But these rely on spaces to format, and spaces as you not disappear. |
Whitespace trimming is the expected behavior. You might try out the new marquee package to see if it meets your needs https://www.tidyverse.org/blog/2024/05/marquee-0-1-0/ |
Alas it would not work on my setup - not at all. I opened an issue though since nothing happened Imcan't see that it will be much use. It was, in fact, Pedersen's EDIT: The problem was I was using the Default R graphics engine. I switched to Cairo (in RStudio) and is worked. marquee does not force removal of whitespace and permits subscripts. So it will replace gridtext for me. |
Specifically, this allows for using non-breaking space ("\u00A0", " ") in text which is preserved when using SVG output. Connects to: - <wilkelab#35>, - <wilkelab/ggtext#95>.
Specifically, this allows for using non-breaking space ("\u00A0", " ") in text which is preserved when using SVG output. Connects to: - <wilkelab#35>, - <wilkelab/ggtext#95>.
Multiple spaces are all trimmed: Leading / trailing spaces are removed, mid-text spaces are converted into a single space.
This includes markdown tricks, e.g. or "\ua0" , with use_markdown either FALSE or TRUE.
Created on 2024-02-01 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: