Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-17 Thread Jeong Dal
Dear Hans, It is very interesting example. Thank you for a new method. Best regards, Dalyoung > > \def\determinednoflines#1% > {\localcontrolled{\determinenoflines{#1}}\noflines} > > \startbuffer >\input tufte > \stopbuffer > > \fillinrules[n=\determinednoflines{\getbuffer}, >

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-17 Thread Hans Hagen
{\doifmode{hideSolution}{\starteffect[hidden]}} \def\StopHide{\doifmode{hideSolution}{\stopeffect\blank[\the\noflines*line + \the\noflines*halfline]}} \enablemode[hideSolution] \starttext The first line. \hrule \StartHide \samplefile{knuth} \determinenoflines{\samplefile{knuth}} \StopHide \hrule

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-16 Thread Jeong Dal
Dear Hans, I found a command \determinenoflines by googling. I made a MWE as following. It is working well. But I have to write the paragraph twice for couning. Is there a better way? Thank you again. Best regards, Dalyoung %%% \def\StartHide{\doifmode{hideSolution}{\starteffect[hidden

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-14 Thread Jeong Dal
Dear Hans, Thank you for your answer. > > \framedtext[empty=yes] > Yes, it clears everything in the frame. But the frame is also clean when I disable \hideSolution. In that case, texts should be appeared. What I want is the following: If \hideSolution then hide text and add more

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-13 Thread Hans Hagen
On 3/12/2021 10:08 PM, Jeong Dal wrote: Hi, Sometimes, I need to hide the solution of a problem. So I use \doifmode{} and \starteffect[hidden] as in the following sample file. Since I want to set more blank space if it is hidden, I add \blank[5cm] when it is in the \enablemode[hideSolution

[NTG-context] add more blank space when using \starteffect[hidden]

2021-03-12 Thread Jeong Dal
Hi, Sometimes, I need to hide the solution of a problem. So I use \doifmode{} and \starteffect[hidden] as in the following sample file. Since I want to set more blank space if it is hidden, I add \blank[5cm] when it is in the \enablemode[hideSolution]. It works well except the figures and bars

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Hans Hagen
(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

[NTG-context] two different outputs.

2018-12-31 Thread Jeong Dal
[BigColorOne][r=.86,g=.850,b=.54] \definecolor[BigColorTwo][r=.43,g=.425,b=.27] \define[1]\TitlePage {\begingroup \defineoverlay[back][{\BigFontOne \blue \starteffect[outer]#1\stopeffect}]% \framed[frame=off,background=back,align={hilo}] {\kern-3pt{\BigFontOne\BigColorOne \starteffect[inner

Re: [NTG-context] embolden a font

2018-05-12 Thread Pablo Rodriguez
; the intended look > >> I guess this gives a similar effect: >>\starteffect[both]abc\stopeffect > > Sorry I wasn't completly clear: starteffect seems to work with > attributes on nodes but I'm looking for an *font* option (so that I > can create a faked bold font). Ulr

Re: [NTG-context] (fake) bold as font feature

2018-03-28 Thread Hans Hagen
embold feature (similar to the slanted font feature) that fakes the bold font with \starteffect[both]...\stopeffect and it doesn’t strecht the font? much is possible if i can motivate myself Good to know in order to propose new features :-). Hm. Fake bold / slanted / small caps / of a bas

Re: [NTG-context] (fake) bold as font feature

2018-03-28 Thread luigi scarso
be possible to add a embold feature (similar to the slanted >>>> font feature) that fakes the bold font with >>>> \starteffect[both]...\stopeffect and it doesn’t strecht the font? >>> >>> much is possible if i can motivate myself > > Good to kn

Re: [NTG-context] (fake) bold as font feature

2018-03-27 Thread Hans Hagen
with \starteffect[both]...\stopeffect and it doesn’t strecht the font? much is possible if i can motivate myself Good to know in order to propose new features :-). This was already requested by Ulrike Fischer (https://mailman.ntg.nl/pipermail/ntg-context/2017/090094.html). hm, i don't like

Re: [NTG-context] (fake) bold as font feature

2018-03-26 Thread Pablo Rodriguez
On 03/26/2018 07:24 PM, Hans Hagen wrote: > On 3/26/2018 4:55 PM, Hans Hagen wrote: >> On 3/26/2018 1:40 PM, Pablo Rodriguez wrote: >>> Hans, >>> >>> would it be possible to add a embold feature (similar to the slanted >>> font feature) that f

Re: [NTG-context] (fake) bold as font feature

2018-03-26 Thread Hans Hagen
On 3/26/2018 4:55 PM, Hans Hagen wrote: On 3/26/2018 1:40 PM, Pablo Rodriguez wrote: Hans, would it be possible to add a embold feature (similar to the slanted font feature) that fakes the bold font with \starteffect[both]...\stopeffect and it doesn’t strecht the font? much is possible if i

Re: [NTG-context] (fake) bold as font feature

2018-03-26 Thread Hans Hagen
On 3/26/2018 1:40 PM, Pablo Rodriguez wrote: Hans, would it be possible to add a embold feature (similar to the slanted font feature) that fakes the bold font with \starteffect[both]...\stopeffect and it doesn’t strecht the font? much is possible if i can motivate myself This was already

[NTG-context] (fake) bold as font feature

2018-03-26 Thread Pablo Rodriguez
Hans, would it be possible to add a embold feature (similar to the slanted font feature) that fakes the bold font with \starteffect[both]...\stopeffect and it doesn’t strecht the font? This was already requested by Ulrike Fischer (https://mailman.ntg.nl/pipermail/ntg-context/2017/090094.html

Re: [NTG-context] embolden a font

2017-10-22 Thread Pablo Rodriguez
On 10/22/2017 07:31 PM, Ulrike Fischer wrote: > Am Sun, 22 Oct 2017 18:50:39 +0200 schrieb Pablo Rodriguez: >> I guess this gives a similar effect: >> \starteffect[both]abc\stopeffect > > Sorry I wasn't completly clear: starteffect seems to work with > attributes

Re: [NTG-context] embolden a font

2017-10-22 Thread Ulrike Fischer
Am Sun, 22 Oct 2017 18:50:39 +0200 schrieb Pablo Rodriguez: >> Is there anywhere an option to get an embolden effect as with the >> following pdf literal? I found the extend option but it doesn't give >> the intended look > I guess this gives a similar effect: >

Re: [NTG-context] embolden a font

2017-10-22 Thread Pablo Rodriguez
On 10/22/2017 05:58 PM, Ulrike Fischer wrote: > Is there anywhere an option to get an embolden effect as with the > following pdf literal? I found the extend option but it doesn't give > the intended look Hi Ulrike, I guess this gives a similar effect: \starteffect[both]abc\stopef

Re: [NTG-context] Initials and short paragraph

2017-06-24 Thread Martin Oppegaard
ial takes so that can be put in manually in > > front of the next paragraph? > > Martin, > > how about making the initial transparent? > > \definecolor[transparentblue][t=0, a=1] > \setupwhitespace[medium] > \starttext > \placeinitial > Knuth write

Re: [NTG-context] Initials and short paragraph

2017-06-20 Thread Pablo Rodriguez
finecolor[transparentblue][t=0, a=1] \setupwhitespace[medium] \starttext \placeinitial Knuth writes: \placeinitial \starteffect[hidden]K\stopeffect\input knuth \setupinitial[color=transparentblue] \placeinitial K\input knuth \stoptext The sample contains two methods. Jus

Re: [NTG-context] A better \definesymbol sought

2017-01-25 Thread Hans Hagen
=yellow] \starttext \startcolor[blue]\starteffect[outer]PQR\stopeffect\stopcolor \stoptext Still not there. Is there a way to define the ? characters to remove their coloring in the output of the following so that the background yellow appears through the outline even within the portions

Re: [NTG-context] A better \definesymbol sought

2017-01-24 Thread Rik Kabel
]\starteffect[outer]PQR\stopeffect\stopcolor \stoptext Still not there. Is there a way to define the ? characters to remove their coloring in the output of the following so that the background yellow appears through the outline even within the portions of the ?s placed on the blue heart? I

Re: [NTG-context] A better \definesymbol sought

2017-01-24 Thread Hans Hagen
verted to paths and that it will only work when \setupbackgrounds [page] [background=color, backgroundcolor=yellow] \starttext \startcolor[blue]\starteffect[outer]PQR\stopeffect\stopcolor \stoptext -

Re: [NTG-context] question about the \starteffect[hidden]

2015-11-23 Thread Jeong Dal
Dear Hans, Thank you for the comment. > > \startcolor[white] \stopcolor > It works fine. It is really good feature for me to prepare the class materials. Best regards, Dalyoung ___ If your question is of

Re: [NTG-context] question about the \starteffect[hidden]

2015-11-22 Thread Hans Hagen
On 11/22/2015 11:24 AM, Jeong Dal wrote: Dear all, I need to hide some part of the text while keep the space for them . I found a very nice command “ \starteffct[hidden]” It works well in most cases. But it couldn’t hide horizontal bars in math mode. Is there a way to hide horizontal bars

[NTG-context] question about the \starteffect[hidden]

2015-11-22 Thread Jeong Dal
. Dalyoung %%% \def\StartHide{\doifmode{nodetails}{\starteffect[hidden]}} \def\StopHide{\doifmode{nodetails}{\stopeffect}} \enablemode[nodetails] \starttext Here is the test file for hiding something. Below, the same sentence is hiding. Here is the test file for hiding

[NTG-context] Combining outer effect with filled glyphs

2014-09-30 Thread Mojca Miklavec
Hi, I would like to get red text with black outlines. The magic in ConTeXt that does the outline is \starteffect[outer] Something \stopeffect but I would like to combine normal filled glyphs with an outline. While I'm able to come up with some magic to do this for single lines (creating

Re: [NTG-context] Combining outer effect with filled glyphs

2014-09-30 Thread Hans Hagen
On 9/30/2014 11:45 AM, Mojca Miklavec wrote: Hi, I would like to get red text with black outlines. The magic in ConTeXt that does the outline is \starteffect[outer] Something \stopeffect but I would like to combine normal filled glyphs with an outline. While I'm able to come up with some

Re: [NTG-context] Different size points in ellipsis

2014-03-28 Thread Stéphane Goujet
\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

Re: [NTG-context] Different size points in ellipsis

2014-03-28 Thread Hans Hagen
: \defineeffect [ellipses] [alternative=both,rulethickness=.5pt] test \starteffect[ellipses]\textellipsis\stopeffect . - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] Converting normal font into bold

2013-11-26 Thread Hans Hagen
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

[NTG-context] \startmathcases ... \stopmathcases

2013-10-31 Thread Rudolf Bahr
\NC Bahr, Franz\NR \NC \starteffect[hidden]1800\stopeffect\NR \noalign{\vskip4mm} \NC *1833\NR \NC Diwald, Katharina\NR \stopmathcases \stopformula \vskip11.5mm } } \stoptext

Re: [NTG-context] Problem with hidden text

2013-05-29 Thread Wolfgang Schuster
\stoptext Hans changed the name of the command. \starttext Visible text: \input tufte \starteffect[hidden] Hidden text: \input tufte \stopeffect \stoptext Wolfgang ___ If your question is of interest to others

Re: [NTG-context] Problem with hidden text

2013-05-29 Thread Jaroslav Hajtmar
Thanx Wolfgang. Now is working. I fixed the problem on http://wiki.contextgarden.net/Hiding_Content. I noticed, that is in MkIV Thanx. Jaroslav Hajtmar Dne 29.5.2013 8:15, Wolfgang Schuster napsal(a): \starttext Visible text: \input tufte \starteffect[hidden] Hidden text: \input tufte

Re: [NTG-context] glyph outlines

2012-07-18 Thread Jan Kula
at 50pt] \starteffect[outline] And here is the magic. \stopeffect \stopcolor \stoptext In this case CutContour is the name of the spot color, which is usually used in the industry. Anyway, the plotter can require different spot color name, or sometimes you can assign the color to be cut off

Re: [NTG-context] glyph outlines

2012-07-18 Thread Marco
=.25pt] \starttext \startcolor[Contour] \definedfont[Serif at 50pt] \starteffect[outline] And here is the magic. \stopeffect \stopcolor \stoptext Feel free to add this information to the wiki, since it remains silent about this command until now. Marco

Re: [NTG-context] \phantom{\item ... }

2012-04-29 Thread Hans Hagen
On 27-4-2012 22:04, Troy Henderson wrote: \starttext \startitemize \item Foo \phantom{\item Bar} \item Boo \stopitemize \stoptext \starttext \startitemize \item Foo \starteffect[hidden] \item Bar \stopeffect \item Boo

Re: [NTG-context] beta

2010-11-13 Thread Erik Margraf
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

[NTG-context] beta

2010-11-12 Thread Hans Hagen
]\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

Re: [NTG-context] beta

2010-11-12 Thread views63
\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

Re: [NTG-context] bold small caps with latin modern

2008-11-19 Thread Mojca Miklavec
with some displacement. Would this be possible? Not by displacement, but you can use \starteffect[outer] in both mkii and mkiv or some embolden option in XeTeX. Mojca ___ If your question is of interest to others

Re: [NTG-context] [metapost] shading text

2007-05-06 Thread Mojca Miklavec
be possible to do it inside PDF, but it's not implemented (yet?). Thanks. Would be a nice feature for, e.g., invitation cards. PDF uses 8 different kinds of text: filled, stroked (already implemented with \starteffect[outline]...\stopeffect), ... and some others. See Chapter 5.2 of PDF reference