Comments (2)
I also ran into this. The issue pops up when there is no space between the <
and the number. For example, < .01
renders fine, <.01
does not. Here was my work around chapter 6 if it's helpful:
We might just have to update the fmt_small
functionality to add a space if the output is html.
from ratlas.
@wjakethompson That's interesting that the space (or lack thereof) is throwing everything off. If we don't want to add a space after the <
symbol to have as similar as possible format across the pdf and html versions, it appears that replacing <
with $\\lt$
for the html output will insert a <
in the rendered html output.
I've been trying out some code for doing this in fmt_prop
and fmt_prop_pct
: https://github.com/atlas-aai/ratlas/blob/fmt-prop-bug/R/formatting.R#L184-L185
from ratlas.
Related Issues (20)
- theme_atlas_ms
- set theme functions HOT 1
- plotting vignette
- report writing vignette HOT 1
- package hex logo
- Release ratlas 1.0.0
- cover sheet for pdf topic guide
- data checks
- Update set_theme() to use new ggplot2 options
- Installation issue HOT 1
- research synopsis template
- resolve common conflicts
- table formatting
- n (%) columns
- images not rendering without fig.alt
- Update deprecated `dplyr::across()` functionality
- figure accessibility
- render tech reports
- ratlas pkgdown site HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ratlas.