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 schuster.wolfg...@gmail.com 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

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

2015-07-17 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد mailto:idris.ha...@colostate.edu 17. Juli 2015 19:56 On Thu, 16 Jul 2015 22:35:45 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Works like a charm. Question: Should the wiki page be edited: http://wiki.contextgarden.net/Command/setupframed

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 schuster.wolfg...@gmail.com wrote: Idris Samawi Hamid ادريس سماوي حامد mailto:idris.ha...@colostate.edu 17. Juli 2015 19:56 On Thu, 16 Jul 2015 22:35:45 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Works like a charm.

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

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

2015-07-16 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد mailto:idris.ha...@colostate.edu 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}}}

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 schuster.wolfg...@gmail.com wrote: You can use the \framed command. \define[2]\ChoiceOne {\dontleavehmode\framed[frame=off,location=bottom,align=middle,offset=0pt]{#1\\#2}}

[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.

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

2015-07-16 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد mailto:idris.ha...@colostate.edu 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