* Using verbatim text with combinations
@ 2009-08-11 18:46 Črt Gorup
2009-08-11 19:12 ` Thomas A. Schmitz
0 siblings, 1 reply; 3+ messages in thread
From: Črt Gorup @ 2009-08-11 18:46 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 715 bytes --]
Hi,
I am having some problems using two (side by side) frames containing
verbatim text. Can anybody suggest the right approach to this problem?
As long as indents are at the right position, I can also survive
without the frame around the text.
Thanks, Crt.
\definetyping[ontology][tab=1,style=small,option=commands]
\starttext
\startcombination[2]{
% first frame goes here
}{kemijska klasifikacija}{
% second frame goes here
}{farmakoloska klasifikacija}
\stopcombination
% frame example
\startframedtext[width=5cm]
\startontology
Organic Chemicals
Carboxylic Acids
Acids, Carbocyclic
Benzoic Acids
Hydroxybenzoic Acids
Salicylic Acids
Aspirin
\stopontology
\stopframedtext
\stoptext
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2039 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using verbatim text with combinations
2009-08-11 18:46 Using verbatim text with combinations Črt Gorup
@ 2009-08-11 19:12 ` Thomas A. Schmitz
2009-08-11 20:10 ` Črt Gorup
0 siblings, 1 reply; 3+ messages in thread
From: Thomas A. Schmitz @ 2009-08-11 19:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Aug 11, 2009, at 8:46 PM, Črt Gorup wrote:
> Hi,
>
> I am having some problems using two (side by side) frames containing
> verbatim text. Can anybody suggest the right approach to this
> problem? As long as indents are at the right position, I can also
> survive without the frame around the text.
>
> Thanks, Crt.
I'm not sure I understand what you're trying to achieve. Something
like this maybe?
\definetyping[ontology][tab=1,style=small,option=commands]
\starttext
\startcombination[2]
{\framed[width=.45\textwidth,height=fit,frame=on,align=right]
{\startontology
Organic Chemicals
Carboxylic Acids
Acids, Carbocyclic
Benzoic Acids
Hydroxybenzoic Acids
Salicylic Acids
Aspirin
\stopontology}}{}
{\framed[width=.45\textwidth,height=fit,frame=on,align=right]
{\startontology
Organic Chemicals
Carboxylic Acids
Acids, Carbocyclic
Benzoic Acids
Hydroxybenzoic Acids
Salicylic Acids
Aspirin
\stopontology}}{}
\stopcombination
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using verbatim text with combinations
2009-08-11 19:12 ` Thomas A. Schmitz
@ 2009-08-11 20:10 ` Črt Gorup
0 siblings, 0 replies; 3+ messages in thread
From: Črt Gorup @ 2009-08-11 20:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1701 bytes --]
Exactly. Thank you.
Crt
On Aug 11, 2009, at 9:12 PM, Thomas A. Schmitz wrote:
>
> On Aug 11, 2009, at 8:46 PM, Črt Gorup wrote:
>
>> Hi,
>>
>> I am having some problems using two (side by side) frames
>> containing verbatim text. Can anybody suggest the right approach to
>> this problem? As long as indents are at the right position, I can
>> also survive without the frame around the text.
>>
>> Thanks, Crt.
>
> I'm not sure I understand what you're trying to achieve. Something
> like this maybe?
>
> \definetyping[ontology][tab=1,style=small,option=commands]
> \starttext
> \startcombination[2]
> {\framed[width=.45\textwidth,height=fit,frame=on,align=right]
> {\startontology
> Organic Chemicals
> Carboxylic Acids
> Acids, Carbocyclic
> Benzoic Acids
> Hydroxybenzoic Acids
> Salicylic Acids
> Aspirin
> \stopontology}}{}
> {\framed[width=.45\textwidth,height=fit,frame=on,align=right]
> {\startontology
> Organic Chemicals
> Carboxylic Acids
> Acids, Carbocyclic
> Benzoic Acids
> Hydroxybenzoic Acids
> Salicylic Acids
> Aspirin
> \stopontology}}{}
> \stopcombination
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2039 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-11 20:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-11 18:46 Using verbatim text with combinations Črt Gorup
2009-08-11 19:12 ` Thomas A. Schmitz
2009-08-11 20:10 ` Črt Gorup
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).