{white}{black}{#3}%
\fi\fi
}
\defineeffect[OuterEffect][alternative=outer,rulethickness=0.1pt]
\defineeffect[InnerEffect][alternative=inner,rulethickness=0.1pt]
\def\makeOutlinedText#1#2#3%
{%
\hbox%
{%
\rlap{\color[#1]{\effect[InnerEffect]{#3}}}%
\color[#2]{\effect
%
Any feedback or suggestions would be appreciated.
\defineeffect[MyEffect][alternative=outer,rulethickness=.1pt]
\starttext
start
{\effect[MyEffect]{aaa}} \OutlinedText{aaa}
and {\red \effect[MyEffect]{Bbb}} \OutlinedText{Bbb}
and
\dp\uBox=\dp\tBox
% \unbox\uBox
% \autoinsertnextspace
}
Any feedback or suggestions would be appreciated.
\defineeffect[MyEffect][alternative=outer,rulethickness=.1pt]
\starttext
start
{\effect[MyEffect]{aaa}} \OutlinedTex
(0,1)
withshadecolors (red, blue) ;
\stopuseMPgraphic
\defineoverlay[MyShade][\useMPgraphic{MyShade}]
\setupbackgrounds[page][background=MyShade]
\startmakeup
\definedfont[SerifBold*default @ 50pt] \setupinterlinespace
\defineeffect[MyOutline][alternative=outer,rulethickness
Dear List,
I'm using a weirdfont that does not have a pre-defined bold variant but
still want to emboldening short extracts of text occasionally, so I've
defined
\defineeffect[thicker][alternative=both,rulethickness=0.3pt]
\define\fakebf{\effect[thicker]}
but in situations like
\ell{{\def\periodswidth{.4em}\periods[5]}}
i'd keep the period constant and mess with the ellipses:
\defineeffect [ellipses] [alternative=both,rulethickness=.5pt]
test \starteffect[ellipses]\textellipsis\stopeffect .
Thanks, I did not know about \starteffect.
But this make *bigger
:
\defineeffect [ellipses] [alternative=both,rulethickness=.5pt]
test \starteffect[ellipses]\textellipsis\stopeffect .
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH
and
the result still needs a manual clean-up.
% macros=mkvi
\definefont[RatherBig][Mono at 60pt]
\defineeffect [justone] [alternative=outer,rulethickness=1pt]
\defineeffect [justtwo] [alternative=inner]
\starttexdefinition example #font#line#text
\hbox {
\framed [offset=\dimexpr#line/2
to finally get a MP path. Time consuming and
the result still needs a manual clean-up.
% macros=mkvi
\definefont[RatherBig][Mono at 60pt]
\defineeffect [justone] [alternative=outer,rulethickness=1pt]
\defineeffect [justtwo] [alternative=inner]
\starttexdefinition example #font#line#text
out well with for
instance cursive features)
anyhow, as it's probably uses for a rare cases you can try
\setupbodyfont[dejavu]
\defineeffect [thicker] [alternative=both,rulethickness=0.3pt]
\starttext
test \starteffect[thicker]test\stopeffect
\stoptext
these pseudo slant and bold
to behave like that, by the way.
Oh, and off the topic, can I use effect to assign the fonts? Like if I
have defined
=
\defineeffect[mybold][alternative=both,rulethickness=\dimexpr\bodyfontsize/10\relax
=
\defineeffect[mybold][alternative=both,rulethickness=\dimexpr\bodyfontsize/10\relax]
=
I would like to use this effect to apply to my bold fonts, maybe:
=
\setupfontfamily [serif] [DejaVu Serif
.
Here is the mkiv answer:
% define the spot color for the plotter
\definecolor[CutContour][c=0,m=1,y=0,k=0]
\definespotcolor[Contour][CutContour][p=1]
% here is the outline feature
\defineeffect[outline][alternative=outer,rulethickness=.25pt]
\starttext
\startcolor[Contour]
\definedfont[Serif
On 2012-07-18 Jan Kula jano.k...@gmail.com wrote:
Here is the mkiv answer:
% define the spot color for the plotter
\definecolor[CutContour][c=0,m=1,y=0,k=0]
\definespotcolor[Contour][CutContour][p=1]
% here is the outline feature
\defineeffect[outline][alternative=outer,rulethickness
important ones are
\defineviewerlayer[name][options]
\startviewerlayer[name]\stopviewerlayer
\viewerlayer[name]{...}
and
\defineeffect[name][options]
\starteffect[name]\stopviewerlayer
\effect[name]{...}
where we have predefined (as with former properties):
\defineeffect [inner
]\stopviewerlayer
\viewerlayer[name]{...}
and
\defineeffect[name][options]
\starteffect[name]\stopviewerlayer
\effect[name]{...}
where we have predefined (as with former properties):
\defineeffect [inner] [alternative=inner,rulethickness=.25pt]
\defineeffect [outer] [alternative
\viewerlayer[name]{...}
and
\defineeffect[name][options]
\starteffect[name]\stopviewerlayer
\effect[name]{...}
where we have predefined (as with former properties):
\defineeffect [inner] [alternative=inner,rulethickness=.25pt]
\defineeffect [outer] [alternative=outer,rulethickness=.25pt
17 matches
Mail list logo