Changes

Jump to navigation Jump to search
1,671 bytes added ,  10:56, 14 September 2023
Created page with "Documentation for \defineeffect"
<cd:commandgroup name="defineeffect" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
The command <tt>\defineeffect</tt> is used to define font effects
</cd:shortdesc>
<cd:variants>
<cd:command category="pdf" file="attr-eff.mkiv" interfacedate="2019-11-19T09:54" interfacefile="i-effect.xml" level="style" name="defineeffect" variantnumber="1">
<cd:arguments>
<cd:keywords ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
<cd:keywords optional="yes" ordinal="2">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
<cd:assignments list="yes" optional="yes" ordinal="3">
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:inherit name="setupeffect"></cd:inherit>
</cd:assignments>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description>
A few effects are predefined:

<texcode>
\defineeffect [inner] [alternative=inner, rulethickness=.25pt]
\defineeffect [outer] [alternative=outer, rulethickness=.25pt]
\defineeffect [both] [alternative=both, rulethickness=.25pt]
\defineeffect [normal] [alternative=normal]
\defineeffect [hidden] [alternative=hidden]
\defineeffect [stretch] [alternative=stretch,stretch=1]
</texcode>
</cd:description>
<cd:examples></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:commandref name="setupeffect" originator="system"></cd:commandref>
<cd:source file="attr-eff.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Pdf"></cd:wikipage></cd:seealso>
</cd:commandgroup>

Navigation menu