Skip to content

Larger asterisks in HTML #182

@jay-sf

Description

@jay-sf

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;')
``` `

  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions