[NTG-context] Re: setuphead in connection with the command argument

2024-06-06 Thread Gerion Entrup
Am Montag, 3. Juni 2024, 15:13:20 MESZ schrieb Hans Hagen via ntg-context: > On 6/3/2024 1:36 PM, Gerion Entrup wrote: > > Thank you. I think that I understand command vs alternative now. > > With try and error, I experienced, that the font/style of the `style` > > parameter interleave in a strange

[NTG-context] Re: setuphead in connection with the command argument

2024-06-03 Thread Hans Hagen via ntg-context
On 6/3/2024 1:36 PM, Gerion Entrup wrote: Thank you. I think that I understand command vs alternative now. With try and error, I experienced, that the font/style of the `style` parameter interleave in a strange way. Therefore I see it as related. What i mean is: style: outer level, also sets inte

[NTG-context] Re: setuphead in connection with the command argument

2024-06-03 Thread Gerion Entrup
Am Montag, 3. Juni 2024, 00:05:22 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 01.06.2024 um 16:34: > > Am Samstag, 1. Juni 2024, 09:53:46 MESZ schrieb Wolfgang Schuster: > >> Gerion Entrup schrieb am 31.05.2024 um 00:37: > >>> What, if I define multiple of them? Is the system not mad

[NTG-context] Re: setuphead in connection with the command argument

2024-06-02 Thread Wolfgang Schuster
Gerion Entrup schrieb am 01.06.2024 um 16:34: Am Samstag, 1. Juni 2024, 09:53:46 MESZ schrieb Wolfgang Schuster: Gerion Entrup schrieb am 31.05.2024 um 00:37: What, if I define multiple of them? Is the system not made for this? Multiple of what? When I define `alternative=` _and_ `command=`

[NTG-context] Re: setuphead in connection with the command argument

2024-06-01 Thread Gerion Entrup
Am Samstag, 1. Juni 2024, 09:53:46 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 31.05.2024 um 00:37: > > What, if I define multiple of them? Is the system not made for this? > > Multiple of what? When I define `alternative=` _and_ `command=` in the same `\setuphead`. Or `alternative

[NTG-context] Re: setuphead in connection with the command argument

2024-06-01 Thread Wolfgang Schuster
Gerion Entrup schrieb am 31.05.2024 um 00:37: Am Donnerstag, 30. Mai 2024, 22:54:47 MESZ schrieb Wolfgang Schuster: Gerion Entrup schrieb am 30.05.2024 um 16:25: The chapter format that I want to achieve in the end is nearly the one in the attachment (excerpt of Christian Dietrich's PhD thesis

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Bruce Horrocks
> On 30 May 2024, at 23:25, Gerion Entrup wrote: > > Am Donnerstag, 30. Mai 2024, 18:49:08 MESZ schrieb Bruce Horrocks: >> >>> On 30 May 2024, at 15:15, Gerion Entrup wrote: >>> >>> Let's begin with a minimal example: >>> ``` >>> \define[2]\MyChapter{% >>> #1 #2: \structureuservariable{subti

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
Am Donnerstag, 30. Mai 2024, 22:54:47 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 30.05.2024 um 16:25: > > The chapter format that I want to achieve in the end is nearly the one in > > the attachment (excerpt of Christian Dietrich's PhD thesis). > > When you have a complex layout i

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
Am Donnerstag, 30. Mai 2024, 18:49:08 MESZ schrieb Bruce Horrocks: > > > On 30 May 2024, at 15:15, Gerion Entrup wrote: > > > > Let's begin with a minimal example: > > ``` > > \define[2]\MyChapter{% > > #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro}) > > } > > Stop there

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Wolfgang Schuster
Gerion Entrup schrieb am 30.05.2024 um 16:25: The chapter format that I want to achieve in the end is nearly the one in the attachment (excerpt of Christian Dietrich's PhD thesis). When you have a complex layout it is easier to use the \defineheadalternative command to create it. To change

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Bruce Horrocks
> On 30 May 2024, at 15:15, Gerion Entrup wrote: > > Let's begin with a minimal example: > ``` > \define[2]\MyChapter{% > #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro}) > } Stop there! Use \definehead to create your own variation of a heading - much more robust. Some

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
Hi Tomáš, first, thank you for the answer. Am Donnerstag, 30. Mai 2024, 16:47:36 MESZ schrieb Tomáš Hála: > Hi Gebrion, > > > ## Font size + ## Bold text > > for font size etc., you can use > \setuphead [chapter] [style={\setupbodyfont[11pt]}] or > \setuphead [chapter] [style=\tf] > >

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Tomáš Hála
Hi Gebrion, > ## Font size + ## Bold text for font size etc., you can use \setuphead [chapter] [style={\setupbodyfont[11pt]}] or \setuphead [chapter] [style=\tf] \setuphead [chapter] [style=\bf] > ## Line breaks + ## Framed > How can I achieve line breaks? \define[2]\MyChapter{% \fra

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
The chapter format that I want to achieve in the end is nearly the one in the attachment (excerpt of Christian Dietrich's PhD thesis). Best Gerion Am Donnerstag, 30. Mai 2024, 16:15:01 MESZ schrieb Gerion Entrup: > Hi, > > I'm trying to adapt the format of chapters in my document and have a fe