Re: [NTG-context] What is a better way to do this macro?

2015-07-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 17 Jul 2015 12:07:29 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد 17. Juli 2015 19:56 On Thu, 16 Jul 2015 22:35:45 -0600, Wolfgang Schuster wrote: Works like a charm. Question: Should the wiki page be edited: http://wiki.co

Re: [NTG-context] What is a better way to do this macro?

2015-07-17 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 17. Juli 2015 19:56 On Thu, 16 Jul 2015 22:35:45 -0600, Wolfgang Schuster wrote: Works like a charm. Question: Should the wiki page be edited: http://wiki.contextgarden.net/Command/setupframed It has the equivalent of f

Re: [NTG-context] What is a better way to do this macro?

2015-07-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 16 Jul 2015 22:35:45 -0600, Wolfgang Schuster wrote: Use the foregroundstyle key to change the interlinespace. Works like a charm. Question: Should the wiki page be edited: http://wiki.contextgarden.net/Command/setupframed It has the equivalent of foregroundstyle = Shouldn't th

Re: [NTG-context] What is a better way to do this macro?

2015-07-16 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 16. Juli 2015 22:09 Hi Wolfgang, all, Here is a new test file. Objective: To control the interlinespacing of the \\ command inside of \framed while keeping the bottom argument y of {x\\y} on the same baseline as the rest of

Re: [NTG-context] What is a better way to do this macro?

2015-07-16 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Wolfgang, all, Here is a new test file. Objective: To control the interlinespacing of the \\ command inside of \framed while keeping the bottom argument y of {x\\y} on the same baseline as the rest of the sentence. Look carefully at the examples in the attached pdf and see how the baseli

Re: [NTG-context] What is a better way to do this macro?

2015-07-16 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Wolfgang, On Thu, 16 Jul 2015 13:03:15 -0600, Wolfgang Schuster wrote: You can use the \framed command. \define[2]\ChoiceOne {\dontleavehmode\framed[frame=off,location=bottom,align=middle,offset=0pt]{#1\\#2}} \defineframed[ChoiceTwo][frame=off,location=bottom,align=middle,offset=0pt]

Re: [NTG-context] What is a better way to do this macro?

2015-07-16 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 16. Juli 2015 20:49 Dear gang, Consider the following (also attached): =choice-cs.tex \def\CHOICE#1#2{\leavevmode\vbox{\tabskip=0pt\everycr={} \halign{\strut\hfil##\hfil\cr#1\cr#2\cr}}} \setuppagenumb

[NTG-context] What is a better way to do this macro?

2015-07-16 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following (also attached): =choice-cs.tex \def\CHOICE#1#2{\leavevmode\vbox{\tabskip=0pt\everycr={} \halign{\strut\hfil##\hfil\cr#1\cr#2\cr}}} \setuppagenumber[state=stop] \setupwhitespace[big] \starttext (One~* Two~* Three~* Four) is even. (\CHO