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

* Re: \em in typing environment
  2007-03-20  6:39 \em in typing environment David Arnold
@ 2007-03-21 12:37 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2007-03-21 12:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1095 bytes --]

2007/3/20, David Arnold <dwarnold45@suddenlink.net>:

> 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

[-- Attachment #1.2: Type: text/html, Size: 2260 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

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

^ 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).