reducing the space after the enumeration heading
Hello All, I have defined the following enumeration: \defineenumeration [Problem] [location=top, text=Problem, between=\blank, before=\blank, after=\blank] Now for one of the problems, I want the heading "Problem 13" to appear not on the top, but on the left. So before this particular problem I entered \setupenumerations[Problem][location=left,stopper=:] \Problem (From book XYZ) The issue is that there is a big space between words "Problem 13:" and "(From book XYZ)". How can I reduce this space so that it is equal to the standard spacing? Thank you.
No one wants to help on this? I would appreciate any help. Am I missing
something too obvious? I tried some other options but they do not help.
Thanks.
On Wed, Nov 11, 2009 at 5:16 PM, Curiouslearn
Hello All,
I have defined the following enumeration: \defineenumeration [Problem] [location=top, text=Problem, between=\blank, before=\blank, after=\blank]
Now for one of the problems, I want the heading "Problem 13" to appear not on the top, but on the left. So before this particular problem I entered
\setupenumerations[Problem][location=left,stopper=:] \Problem (From book XYZ)
The issue is that there is a big space between words "Problem 13:" and "(From book XYZ)". How can I reduce this space so that it is equal to the standard spacing?
Thank you.
Am 12.11.2009 um 22:18 schrieb Curiouslearn:
No one wants to help on this? I would appreciate any help. Am I missing something too obvious? I tried some other options but they do not help.
Since there is no complete working example I can't test it but you can add 'distance=\spaceamount' to your enumeration setup. Wolfgang
Thanks Wolfgang. Here is a working example. The use of distance reduces the space if I put a negative number. But is there an option that gives a regular space as between any two words, or do I have to play with the negative distance number until I get the right value (which is fine, but just want to make sure that, that is the best way). Thanks very much for your help. % Defining Problem enumeration \defineenumeration [Problem] [location=top, text=Problem, between=\blank, before=\blank, after=\blank] % Changing the location of the page numbers so that they appear in the footer. \setuppagenumbering[location=footer] \setupcolors[state=start] \setupcolor[xwi] \starttext \Problem The problem heading is at the top. \setupenumerations[Problem][location=left] \Problem See the space between the heading and the first word. \setupenumerations[Problem][location=left,distance=-0.15in] \Problem The addition of distance option reduces the space. Do I have to play around with this? \stoptext On Thu, Nov 12, 2009 at 4:28 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Am 12.11.2009 um 22:18 schrieb Curiouslearn:
No one wants to help on this? I would appreciate any help. Am I missing something too obvious? I tried some other options but they do not help.
Since there is no complete working example I can't test it but you can add 'distance=\spaceamount' to your enumeration setup.
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
___________________________________________________________________________________
Am 12.11.2009 um 22:56 schrieb Curiouslearn:
Thanks Wolfgang. Here is a working example. The use of distance reduces the space if I put a negative number. But is there an option that gives a regular space as between any two words, or do I have to play with the negative distance number until I get the right value (which is fine, but just want to make sure that, that is the best way).
add either 'width=broad' or 'width=fit,distance=...' to your setup while in the second case it's sometimes better to use a font related value like 1ex or 0.5em. Wolfgang
Thanks Wolfgang. 'width=fit,distance=...' option does the trick. On Thu, Nov 12, 2009 at 5:03 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Am 12.11.2009 um 22:56 schrieb Curiouslearn:
Thanks Wolfgang. Here is a working example. The use of distance reduces the space if I put a negative number. But is there an option that gives a regular space as between any two words, or do I have to play with the negative distance number until I get the right value (which is fine, but just want to make sure that, that is the best way).
add either 'width=broad' or 'width=fit,distance=...' to your setup while in the second case it's sometimes better to use a font related value like 1ex or 0.5em.
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
___________________________________________________________________________________
participants (2)
-
Curiouslearn
-
Wolfgang Schuster