marquee 1.3.0
Added support for math expressions written with standard markdown math syntax (
$expression$for inline math and$$expression$$for display math). Rendering is done with the new math shaper in textshaping (textshaping::shape_math()) and requires a version of textshaping that provides it; an informative error is raised if the text contains math and the installed textshaping is too oldAdded support for custom block tags using fenced div syntax: a fence of three or more colons followed by a class (
::: {.name}) wraps the enclosed content in a block with the given style tag. Fences of different lengths can be nested, allowing whole blocks to be styled with custom styles (#3)HTML entities now return the correct symbols (@clauswilke, #89)
Fixed a regression where a vector of bullets passed to
classic_style()ormodify_style()was recycled into multiple style sets (#99)Fixed a crash (session abort) when using
guide_marquee()together withmarquefy_theme(), caused by anNAtitle width being used instead of the default width (#95)geom_marquee()now takes its default font family, size, and colour from the theme, like other text geoms do on ggplot2 >= 4.0.0 (#106)Fixed horizontal inline padding being applied twice to background and border rectangles of styled spans, so borders no longer spill into neighbouring words. One-sided padding now also correctly adds spacing (#93)
Multi-line text in
element_marquee()now follows the element’shjustfor line alignment (likeelement_text()), unless the style sets an explicit alignment. Additionally,marquefy_theme()no longer setsstyleandwidthon every element, so atheme()call on a parent element (e.g.axis.text) propagates to its children (e.g.axis.text.x) (#104)element_marquee()now correctly falls back to the base family, colour, size, and lineheight of the provided style when these are not set on the element itselfDocumented that in
element_marquee()the element margin replaces body padding from the style, and that paragraph spacing must be set on the paragraph style (e.g. viamodify_style(style, "p", ...)) rather than through base-level padding (#100)element_marquee()is now an S7 subclass ofggplot2::element_texton ggplot2 >= 4.0.0, so setting it on a parent theme element (e.g.title) correctly propagates to child elements (e.g.plot.title) instead of rendering the raw markdown as plain text (#97)
marquee 1.2.1
CRAN release: 2025-09-15
- Fixed a bug when calculating em() of a relative sized style
- Fixed a bug in outline glyphs
- Fixed a bug in
force_body_margin - Make sure that
widthis properly propagated in ´guide_marquee()`
marquee 1.2.0
CRAN release: 2025-09-05
- Better vectorisation of style_set and classic_style
- Renamed
border_sizetoborder_widthfor consistency - Added
border_typeandoutline_typestyles to control the linetype of borders and outlines - Underline and strikethrough now uses metrics from the font for width and position
marquee 1.1.1
CRAN release: 2025-08-27
- Fixed a bug in
element_marquee()that resulted in wrong width calculation for rotated text (#69) - If image URLs doesn’t indicate image format marquee will attempt to sniff it
- Fixes an S7 compatibility issue with merge_element (#83)
- marquee should no longer open a graphics device if none exists (#75)
-
element_marquee()now works with factor input and will fall back toelement_text()for expressions (#71)
marquee 1.1.0
CRAN release: 2025-08-19
- Size of
element_marquee()is communicated similar toelement_text()(#57) - You can now change the size by using a {.size …} shortcut, e.g. {.30 BIG} to render
BIGwith font size 30 - Added functionality to add outline to text as well as adding the
.outstyle. Outlines can be controlled with theoutline,outline_width,outline_joinandoutline_mitrestyle settings (#60) - Added support for PNG and JPEG files from URLs (#63)
- Fixed a bug in bullet placement when the bullet was the last in the document and contained multiple text spans (#54)
- Fixed a bug in nested unordered bullet lists where the calculated bullet would be wrong (#53)
- Fixed a bug when using ordered list
- Fixed various bugs in
guide_marquee()
marquee 1.0.0
CRAN release: 2025-01-20
- Fixed a bug in bullet placement that affected tight lists with multiple spans (#18)
- code spans gains a slight horizontal padding to let the background breathe a bit. Currently padding around spans doesn’t affect shaping (i.e. it doesn’t move text further from it’s neighbors).
- Better adherence to margin collapsing rules of CSS. Any background or border will now prevent further collapsing
- Add
force_body_marginargument to enforce that the body margin is not influenced by collapsing (allowing you to turn it off completely). This setting is turned on forgeom_marquee()andelement_marquee()(#23) - Add support for rendering on graphics devices that doesn’t support the new
glyphscapabilities - Inline padding now reserves space on the left and right side during shaping if the inline tag has decoration (background or border)
- Added
guide_marquee()to make allow legends with keys mixed into free text descriptions
