Open main menu

Changes

1,281 bytes added ,  19:32, 12 September 2023
new
<cd:commandgroup name="slanted" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
The command <tt>\slanted</tt> switches the font to slanted.
</cd:shortdesc>
<cd:variants>
<cd:command category="fonts" file="font-pre.mkiv" interfacedate="2020-07-14T09:24" interfacefile="i-fonts.xml" level="document" name="slanted" variantnumber="1"></cd:command>
</cd:variants>
<cd:description><!-- the long description of the command goes here -->
Beware: Most fonts don’t have a slanted variant, but Latin Modern has.

The default for {{cmd|emph}} is also to use slanted. You can change this default like

<texcode>
\definehighlight[emph][style=italicface]
</texcode>

</cd:description>
<cd:examples><cd:example title="plain use"><context source="yes">
Is there a difference between {\sl sl} and {\slanted slanted}?

It works also as \slanted{slanted}.
</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:source file="font-pre.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Fonts"></cd:wikipage>
<cd:commandref name="sl"></cd:commandref>
<cd:commandref name="emph"></cd:commandref>
<cd:commandref name="italic"></cd:commandref></cd:seealso>
</cd:commandgroup>