Re: [NTG-context] \em in typing environment

2007-03-21 Thread Wolfgang Schuster

2007/3/20, David Arnold [EMAIL PROTECTED]:


All,



Hi David,




I have:

\startMatlab
function output=primary(input)
statements---including subfunction calls

% first subfunction
function out=one(in)
statements

% second subfunction
function out=two(in)
statments
\stopMatlab

Where:

\definetyping[Matlab]

\setuptyping
[Matlab]
[before={\startframedtext[width=\textwidth,
   background=screen,
   backgroundscreen=0.9]},
  after={\stopframedtext},
  indentnext=no,



   option=commands,




  color=darkred]


I'd like to override the monotype and make one line emphasized, as in:

\startMatlab
function output=primary(input)
{\em statements---including subfunction calls}



/BTEX\em statements---including subfunction calls/ETEX




% first subfunction
function out=one(in)
statements

% second subfunction
function out=two(in)
statments
\stopMatlab

Which of course doesn't work but it does give an idea of what I want
to try.

Any ideas?



Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \em in typing environment

2007-03-19 Thread David Arnold
All,

I have:

\startMatlab
function output=primary(input)
statements---including subfunction calls

% first subfunction
function out=one(in)
statements

% second subfunction
function out=two(in)
statments
\stopMatlab

Where:

\definetyping[Matlab]

\setuptyping
[Matlab]
[before={\startframedtext[width=\textwidth,
background=screen,
backgroundscreen=0.9]},
   after={\stopframedtext},
   indentnext=no,
   color=darkred]


I'd like to override the monotype and make one line emphasized, as in:

\startMatlab
function output=primary(input)
{\em statements---including subfunction calls}

% first subfunction
function out=one(in)
statements

% second subfunction
function out=two(in)
statments
\stopMatlab

Which of course doesn't work but it does give an idea of what I want  
to try.

Any ideas?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context