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] 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