More levels of subsubsection?
![](https://secure.gravatar.com/avatar/c83fb4134167a11422c23048fb8a85e3.jpg?s=120&d=mm&r=g)
I am reproducing another document in an appendix. This document has a numbered structure and an appendix. A. My Appendix My appendix text introduction 1. Foo foo text 1.1 Foo foo text 2. Foo Appendix 1. FooBar FooBar text 1.1 FooBar FooBar text 1.1.1 FooBar FooBar text When I use \chapter for My and \subsection and \subsubsection for Foo, how do I solve the FooBar appendix? I have now \chapter My Appendix My appendix text introduction \subsection Foo foo text \subsubsection Foo foo text \subsection Foo Appendix But then, how do I solve: 1. FooBar FooBar text 1.1 FooBar FooBar text 1.1.1 FooBar FooBar text And to matters more complixated, Id like to reproduce the original's indentation, that is 1.1 is a bit more indented than 1 and 1.1.1 is a bit more than 1.1. G
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 15.08.2014 um 17:33 schrieb Gerben Wierda
I am reproducing another document in an appendix. This document has a numbered structure and an appendix.
A. My Appendix
My appendix text introduction
1. Foo foo text
1.1 Foo foo text
2. Foo Appendix
1. FooBar FooBar text
1.1 FooBar FooBar text
1.1.1 FooBar FooBar text
When I use \chapter for My and \subsection and \subsubsection for Foo, how do I solve the FooBar appendix? I have now
\chapter My Appendix
My appendix text introduction
\subsection Foo foo text
\subsubsection Foo foo text
\subsection Foo Appendix
But then, how do I solve:
1. FooBar FooBar text
1.1 FooBar FooBar text
1.1.1 FooBar FooBar text
And to matters more complixated, Id like to reproduce the original's indentation, that is 1.1 is a bit more indented than 1 and 1.1.1 is a bit more than 1.1.
Can you make a *working* minimal example with the code you’re currently using? Wolfgang
![](https://secure.gravatar.com/avatar/c83fb4134167a11422c23048fb8a85e3.jpg?s=120&d=mm&r=g)
On 15 Aug 2014, at 18:11, Wolfgang Schuster
Am 15.08.2014 um 17:33 schrieb Gerben Wierda
: I am reproducing another document in an appendix. This document has a numbered structure and an appendix.
A. My Appendix
My appendix text introduction
1. Foo foo text
1.1 Foo foo text
2. Foo Appendix
1. FooBar FooBar text
1.1 FooBar FooBar text
1.1.1 FooBar FooBar text
When I use \chapter for My and \subsection and \subsubsection for Foo, how do I solve the FooBar appendix? I have now
\chapter My Appendix
My appendix text introduction
\subsection Foo foo text
\subsubsection Foo foo text
\subsection Foo Appendix
But then, how do I solve:
1. FooBar FooBar text
1.1 FooBar FooBar text
1.1.1 FooBar FooBar text
And to matters more complixated, Id like to reproduce the original's indentation, that is 1.1 is a bit more indented than 1 and 1.1.1 is a bit more than 1.1.
Can you make a *working* minimal example with the code you’re currently using?
I have tried but a separate test file behaves differently. Probably I'll have to rebuild the whole producs/chapters/evironment setup. I've been studying the (2001) manual a bit more and I might need to define my own headers. If I do a \definhead between \start\stop pairs, can I isolate these definitions from what comes after? G
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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 16.08.2014 um 14:48 schrieb Gerben Wierda
On 15 Aug 2014, at 18:11, Wolfgang Schuster
wrote: Am 15.08.2014 um 17:33 schrieb Gerben Wierda
: I am reproducing another document in an appendix. This document has a numbered structure and an appendix.
A. My Appendix
My appendix text introduction
1. Foo foo text
1.1 Foo foo text
2. Foo Appendix
1. FooBar FooBar text
1.1 FooBar FooBar text
1.1.1 FooBar FooBar text
When I use \chapter for My and \subsection and \subsubsection for Foo, how do I solve the FooBar appendix? I have now
\chapter My Appendix
My appendix text introduction
\subsection Foo foo text
\subsubsection Foo foo text
\subsection Foo Appendix
But then, how do I solve:
1. FooBar FooBar text
1.1 FooBar FooBar text
1.1.1 FooBar FooBar text
And to matters more complixated, Id like to reproduce the original's indentation, that is 1.1 is a bit more indented than 1 and 1.1.1 is a bit more than 1.1.
Can you make a *working* minimal example with the code you’re currently using?
I have tried but a separate test file behaves differently. Probably I'll have to rebuild the whole producs/chapters/evironment setup.
I've been studying the (2001) manual a bit more and I might need to define my own headers. If I do a \definhead between \start\stop pairs, can I isolate these definitions from what comes after?
Can you first explain what you try to achieve, you’re talking about indenting something but I don’t know what you want to indent, only the header or the complete content of the section/subsection. Wolfgang
![](https://secure.gravatar.com/avatar/c83fb4134167a11422c23048fb8a85e3.jpg?s=120&d=mm&r=g)
On 16 Aug 2014, at 15:08, Wolfgang Schuster
Can you first explain what you try to achieve, you’re talking about indenting something but I don’t know what you want to indent, only the header or the complete content of the section/subsection.
I've been able to create a lot of what I want by using \definehead and \setuphead. I am using ownnumber. \definehead[PSAappsection][subsection] \definehead[PSAappsubsection][subsubsection] \definehead[PSAappsubsubsection][subsubsubsection] \setuphead[PSAappsection][continue=no,ownnumber=yes,after=] \setuphead[PSAappsubsection][continue=no,ownnumber=yes,before=,after=] \setuphead[PSAappsubsubsection][continue=no,ownnumber=yes,before=,after=] What is left is to figure out the style where each sub (sub sub) section is indented more including teh paragraphs that belong to that setion. I robably need to do something with after (to set the indenting) and before (to end the indenting). In fixed width font like this: 1. SECTION text text text 1.1 Sub Section text text text text text text 1.1.1 Sub Sub Section text text text G
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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 17.08.2014 um 18:08 schrieb Gerben Wierda
On 16 Aug 2014, at 15:08, Wolfgang Schuster
wrote: Can you first explain what you try to achieve, you’re talking about indenting something but I don’t know what you want to indent, only the header or the complete content of the section/subsection.
I've been able to create a lot of what I want by using \definehead and \setuphead. I am using ownnumber.
\definehead[PSAappsection][subsection] \definehead[PSAappsubsection][subsubsection] \definehead[PSAappsubsubsection][subsubsubsection] \setuphead[PSAappsection][continue=no,ownnumber=yes,after=] \setuphead[PSAappsubsection][continue=no,ownnumber=yes,before=,after=] \setuphead[PSAappsubsubsection][continue=no,ownnumber=yes,before=,after=]
What is left is to figure out the style where each sub (sub sub) section is indented more including teh paragraphs that belong to that setion. I robably need to do something with after (to set the indenting) and before (to end the indenting).
It would be simple with MkIV because it provides start/stop command for each heading which can be used to apply narrower command at the begin and end os each section but since you use MkII you have to write your own commands for this. Wolfgang
participants (2)
-
Gerben Wierda
-
Wolfgang Schuster