Open GillianKat opened 2 years ago
I am not the maintainer of this project but I just had to figure this out today. It appears you can use some basic HTML tags in the text. For instance to insert a line break in box labels "<br>
" where you want a line break seems to work. It appears bold, italics, superscripts, and subscripts are also supported via HTML.
Since the box text is a wrapper for a geom_richtext function you can find some examples of text formatting here: https://wilkelab.org/ggtext/reference/geom_richtext.html
Hey, I'm having a difficult time adjusting the font size within the boxes. I've tried making the plot area itself bigger, because my consort diagram is fairly large/wide. Is there a way to format the text that's within the boxes? I've also tried inserting a newline into the box labels, but no luck.
Thank you for any help!