ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Too much space between the text and the beginning of the paragraph with the command \defineenumeration
@ 2014-02-26  0:02 Fabrice Couvreur
  0 siblings, 0 replies; 6+ messages in thread
From: Fabrice Couvreur @ 2014-02-26  0:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Because I'm really starting with ConteXt, and if I compile with location =
left or not, the result is the same (with minimal ConteXt).
For cons, I understand better the role of the option alternative = left,
right or top.

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

[-- Attachment #2: Type: text/plain, Size: 485 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: Too much space between the text and the beginning of the paragraph with the command \defineenumeration
  2014-02-25 22:48 Fabrice Couvreur
@ 2014-02-25 22:54 ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2014-02-25 22:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 25.02.2014 um 23:48 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:

> Sorry, but my question is unclear. 
> In fact, I created a new environment with the package amsthm in LuaLaTeX like this :
> 
> \newtheoremstyle{exa}
>       {\topsep}{\topsep}
>       {}
>       {0pt}
>       {\strut\bfseries}
>       {}
>       {\newline}
>       {\rule[0pt]{1mm}{1mm} \thmname{#1}\thmnumber{ \textup
>       {#2}}\thmnote{ \textnormal{(#3)}}}
>     \theoremstyle{exa}
>     \newtheorem{ex}{Exercice}
> 
> I try to do the same with ConteXt. 
> 
> 
>  correctiondm7_seconde.pdf
> 
> @Wolfgang The paragraph should find the following line, and not on the same line of text.

And why had you “location=left” in your code snippet.

> @Peter I do not see what changes adding "inbetween = „.

To avoid such problems it is always recommended to make a minimal example which demonstrates the problem.

\defineenumeration
  [ex]
  [text={Exercice},
   headstyle={\bf\feature[+][f:smallcaps]},
   inbetween={\blank[small]},
   stopper={.}]

\setupbodyfont[pagella]

\starttext

\startex
\input knuth
\stopex

\stoptext

Wolfgang


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

[-- Attachment #2: Type: text/plain, Size: 485 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

* Too much space between the text and the beginning of the paragraph with the command \defineenumeration
@ 2014-02-25 22:48 Fabrice Couvreur
  2014-02-25 22:54 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Couvreur @ 2014-02-25 22:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Sorry, but my question is unclear.
In fact, I created a new environment with the package amsthm in LuaLaTeX like
this :

\newtheoremstyle{exa}
      {\topsep}{\topsep}
      {}
      {0pt}
      {\strut\bfseries}
      {}
      {\newline}
      {\rule[0pt]{1mm}{1mm} \thmname{#1}\thmnumber{ \textup
      {#2}}\thmnote{ \textnormal{(#3)}}}
    \theoremstyle{exa}
    \newtheorem{ex}{Exercice}

I try to do the same with ConteXt.


 correctiondm7_seconde.pdf<https://docs.google.com/file/d/0B-mkD83s36jbYTJhVFpUdGw3SjQ/edit?usp=drive_web>

@Wolfgang The paragraph should find the following line, and not on the
same line
of text.

@Peter I do not see what changes adding "inbetween = ".

Thank you.

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

[-- Attachment #2: Type: text/plain, Size: 485 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: Too much space between the text and the beginning of the paragraph with the command \defineenumeration
  2014-02-25 18:41 Fabrice Couvreur
  2014-02-25 21:43 ` Peter Münster
@ 2014-02-25 21:48 ` Wolfgang Schuster
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2014-02-25 21:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 25.02.2014 um 19:41 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:

> Hi, 
> I find that there is too much space between the text and the beginning of the paragraph. 
> 
> \defineenumeration[ex]
> [text={\sc\bf Exercice},
> location=left,
> stopper={\bf.}]

\defineenumeration
  [ex]
  [text={Exercice},
   headstyle={\bf\feature[+][f:smallcaps]},
   width=fit,
  %distance=2em,
   alternative=left,
   stopper={.}]

\setupbodyfont[pagella]

\starttext

\startex
\input knuth
\stopex

\stoptext

> For example, I use the \topset with LuaLaTeX order. 

???

Wolfgang


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

[-- Attachment #2: Type: text/plain, Size: 485 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: Too much space between the text and the beginning of the paragraph with the command \defineenumeration
  2014-02-25 18:41 Fabrice Couvreur
@ 2014-02-25 21:43 ` Peter Münster
  2014-02-25 21:48 ` Wolfgang Schuster
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Münster @ 2014-02-25 21:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Feb 25 2014, Fabrice Couvreur wrote:

> I find that there is too much space between the text and the beginning of the
> paragraph. 
>
> \defineenumeration[ex]
> [text={\sc\bf Exercice},
> location=left,
> stopper={\bf.}]

stopper={\bf.}, inbetween=]


> For example, I use the \topset with LuaLaTeX order.

???

-- 
           Peter
___________________________________________________________________________________
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

* Too much space between the text and the beginning of the paragraph with the command \defineenumeration
@ 2014-02-25 18:41 Fabrice Couvreur
  2014-02-25 21:43 ` Peter Münster
  2014-02-25 21:48 ` Wolfgang Schuster
  0 siblings, 2 replies; 6+ messages in thread
From: Fabrice Couvreur @ 2014-02-25 18:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi,
I find that there is too much space between the text and the beginning of
the paragraph.

\defineenumeration[ex]
[text={\sc\bf Exercice},
location=left,
stopper={\bf.}]

For example, I use the \topset with LuaLaTeX order.
Thank you.

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

[-- Attachment #2: Type: text/plain, Size: 485 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:[~2014-02-26  0:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-26  0:02 Too much space between the text and the beginning of the paragraph with the command \defineenumeration Fabrice Couvreur
  -- strict thread matches above, loose matches on Subject: below --
2014-02-25 22:48 Fabrice Couvreur
2014-02-25 22:54 ` Wolfgang Schuster
2014-02-25 18:41 Fabrice Couvreur
2014-02-25 21:43 ` Peter Münster
2014-02-25 21:48 ` Wolfgang Schuster

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