Open salbeira opened 7 months ago
In the nwburg template this is already included like this (see wburg.css
:
/* Calculate all font size variables depending on the base font size accessible
via yaml config */
--font-size-medium: calc(var(--font-size-base) * 1);
--font-size-normal: calc(var(--font-size-base) * 1);
--font-size-xx-small: calc(var(--font-size-base) * 0.4);
--font-size-x-small: calc(var(--font-size-base) * 0.6);
--font-size-small: calc(var(--font-size-base) * 0.8);
--font-size-large: calc(var(--font-size-base) * 1.2);
--font-size-x-large: calc(var(--font-size-base) * 1.4);
--font-size-xx-large: calc(var(--font-size-base) * 1.6);
It was requested that we add font-size modifiers akin to the usual LaTeX font-size altering environments and makros.
I also found that some rare document classes also have:
and
Check out the
text-and-scale
branch for the test decktext-styling-deck
to review. Sadly, the LaTeX references I found specify the sizes of each of these modifications in directpt
values and not % values relative tonormalsize
but if you have any feedback please feel free to comment.