* reducing the space after the enumeration heading
@ 2009-11-11 22:16 Curiouslearn
2009-11-12 21:18 ` Curiouslearn
0 siblings, 1 reply; 6+ messages in thread
From: Curiouslearn @ 2009-11-11 22:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 562 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 655 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: reducing the space after the enumeration heading
2009-11-11 22:16 reducing the space after the enumeration heading Curiouslearn
@ 2009-11-12 21:18 ` Curiouslearn
2009-11-12 21:28 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Curiouslearn @ 2009-11-12 21:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 836 bytes --]
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 <curiouslearn@gmail.com>wrote:
> 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.
>
[-- Attachment #1.2: Type: text/html, Size: 1163 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: reducing the space after the enumeration heading
2009-11-12 21:18 ` Curiouslearn
@ 2009-11-12 21:28 ` Wolfgang Schuster
2009-11-12 21:56 ` Curiouslearn
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2009-11-12 21:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: reducing the space after the enumeration heading
2009-11-12 21:28 ` Wolfgang Schuster
@ 2009-11-12 21:56 ` Curiouslearn
2009-11-12 22:03 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Curiouslearn @ 2009-11-12 21:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1959 bytes --]
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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2812 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: reducing the space after the enumeration heading
2009-11-12 21:56 ` Curiouslearn
@ 2009-11-12 22:03 ` Wolfgang Schuster
2009-11-13 2:17 ` Curiouslearn
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2009-11-12 22:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: reducing the space after the enumeration heading
2009-11-12 22:03 ` Wolfgang Schuster
@ 2009-11-13 2:17 ` Curiouslearn
0 siblings, 0 replies; 6+ messages in thread
From: Curiouslearn @ 2009-11-13 2:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1260 bytes --]
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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2027 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-11-13 2:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-11 22:16 reducing the space after the enumeration heading Curiouslearn
2009-11-12 21:18 ` Curiouslearn
2009-11-12 21:28 ` Wolfgang Schuster
2009-11-12 21:56 ` Curiouslearn
2009-11-12 22:03 ` Wolfgang Schuster
2009-11-13 2:17 ` Curiouslearn
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).