ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* general syntax for startparagraph command
@ 2019-09-29 18:30 Jeroen
  2019-09-29 18:47 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Jeroen @ 2019-09-29 18:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Dear list members,

I am trying to get the following with the 1 elevated and 2 above the =
character. The square brackets and all in between I would like italic and
OPT below both terms.

*\startparagraph [.1..] [..,..2=..,..] ..**.\stopparagraph*
Would anybody be able to help. Would Metapost be needed here?
Thanks
Jeroen

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: general syntax for startparagraph command
  2019-09-29 18:30 general syntax for startparagraph command Jeroen
@ 2019-09-29 18:47 ` Wolfgang Schuster
  2019-09-30  0:18   ` Jeroen
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2019-09-29 18:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jeroen

Jeroen schrieb am 29.09.2019 um 20:30:
> Dear list members,
> 
> I am trying to get the following with the 1 elevated and 2 above the = 
> character. The square brackets and all in between I would like italic 
> and OPT below both terms.
> 
> *\startparagraph [.1..] [..,..2=..,..] ..**.\stopparagraph*
> 
> Would anybody be able to help. Would Metapost be needed here?

When you look at the command definition in setup-en.pdf you can two 
lines below the command which refer to the two arguments.


                   1         2
\startparagraph [...] [..,..=..,..] ... \stopparagraph
                  OPT       OPT

1 NAME
2 inherits: \setupparagraph


The NAME for the first arguments means you can the pass of a named
instance, such a instance can be created with the \defineparagraph
command, e.g. \defineparagraph [bold] [style=bold].

The inherits: ... means you can pass options from the \setupparaph
command, e.g. \startparagraph [color=blue]. For get a list of all
possible options for this argument take a look at \setupparagraph.

Wolfgang
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: general syntax for startparagraph command
  2019-09-29 18:47 ` Wolfgang Schuster
@ 2019-09-30  0:18   ` Jeroen
  2019-09-30 17:37     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Jeroen @ 2019-09-30  0:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Many thanks. Is there also a simple way to place a 2 above the = character
as the definition does.

Thanks
Jeroen

Op zo 29 sep. 2019 om 18:47 schreef Wolfgang Schuster <
wolfgang.schuster.lists@gmail.com>:

> Jeroen schrieb am 29.09.2019 um 20:30:
> > Dear list members,
> >
> > I am trying to get the following with the 1 elevated and 2 above the =
> > character. The square brackets and all in between I would like italic
> > and OPT below both terms.
> >
> > *\startparagraph [.1..] [..,..2=..,..] ..**.\stopparagraph*
> >
> > Would anybody be able to help. Would Metapost be needed here?
>
> When you look at the command definition in setup-en.pdf you can two
> lines below the command which refer to the two arguments.
>
>
>                    1         2
> \startparagraph [...] [..,..=..,..] ... \stopparagraph
>                   OPT       OPT
>
> 1 NAME
> 2 inherits: \setupparagraph
>
>
> The NAME for the first arguments means you can the pass of a named
> instance, such a instance can be created with the \defineparagraph
> command, e.g. \defineparagraph [bold] [style=bold].
>
> The inherits: ... means you can pass options from the \setupparaph
> command, e.g. \startparagraph [color=blue]. For get a list of all
> possible options for this argument take a look at \setupparagraph.
>
> Wolfgang
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: general syntax for startparagraph command
  2019-09-30  0:18   ` Jeroen
@ 2019-09-30 17:37     ` Wolfgang Schuster
  2019-09-30 20:43       ` Henning Hraban Ramm
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2019-09-30 17:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jeroen

Jeroen schrieb am 30.09.2019 um 02:18:
> Many thanks. Is there also a simple way to place a 2 above the = 
> character as the definition does.
The sample ways are:

\starttext

\setupruby[style=]

= \ruby{=}{*}

\blank

= \framed[location=bottom,align=middle,frame=off,offset=0pt]{*\\=}

\stoptext


The numbers in the command reference are positioned with a different
low level TeX method where you use a box to change the vertical and
horizontal position of the box.

You can find more information about this method (search for raise/lower)
on books about plain TeX [1,2] or Hans new manual about low level box
command [3].

[1] https://ctan.org/pkg/texbytopic
[2] https://ctan.org/pkg/impatient
[3] lowlevel-boxes.pdf (included in the context minimals)

Wolfgang

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: general syntax for startparagraph command
  2019-09-30 17:37     ` Wolfgang Schuster
@ 2019-09-30 20:43       ` Henning Hraban Ramm
  0 siblings, 0 replies; 5+ messages in thread
From: Henning Hraban Ramm @ 2019-09-30 20:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 2019-09-30 um 19:37 schrieb Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:
> 
> Jeroen schrieb am 30.09.2019 um 02:18:
>> Many thanks. Is there also a simple way to place a 2 above the = character as the definition does.
> The sample ways are:
> 
> \starttext
> 
> \setupruby[style=]
> 
> = \ruby{=}{*}

In case you’re wondering about the macro name:
https://en.wikipedia.org/wiki/Ruby_character



Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2019-09-30 20:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-29 18:30 general syntax for startparagraph command Jeroen
2019-09-29 18:47 ` Wolfgang Schuster
2019-09-30  0:18   ` Jeroen
2019-09-30 17:37     ` Wolfgang Schuster
2019-09-30 20:43       ` Henning Hraban Ramm

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