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

Larger asterisks in HTML #182

Open
jay-sf opened this issue Jun 30, 2021 · 0 comments
Open

Larger asterisks in HTML #182

jay-sf opened this issue Jun 30, 2021 · 0 comments

Comments

@jay-sf
Copy link

jay-sf commented Jun 30, 2021

Hi there,

first of all thanks for keeping this invaluable package up to date!

So far I have worked with LaTeX, and now with HTML tables I noticed that the asterisks are quite tiny and I already confused them with dust on my screen, which might become dangerous.

While examining the code, I noticed that the asterisks are encoded with <sup>*</sup>. In an own HTML table I coded myself I didn't use sup and it looks much better. May I therefore suggest that you just delete the sup?

But judge for yourself, the first figure shows original htmlreg result, in the second image I edited the HTML code and deleted the sup. I also changed the font size of the note slightly from .8 to .85 <td style="font-size: 0.85em;" colspan="2">***p &lt; 0.001; **p &lt; 0.01; *p &lt; 0.05</td>.

enter image description here

enter image description here

It would be great if you could have a look at this, thanks!

Cheers!


MWE:

---  
output: html_document
---

```{r cars, results='asis'}
library(texreg)
fit <- lm(Sepal.Width ~ ., iris)
htmlreg(fit, star.symbol='&#42;')
``` `

  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant