ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \em in typing environment
@ 2007-03-20  6:39 David Arnold
  2007-03-21 12:37 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2007-03-20  6:39 UTC (permalink / raw)
  To: Context Mailing List List

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-21 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-20  6:39 \em in typing environment David Arnold
2007-03-21 12:37 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).