[NTG-context] Changing default rule thickness (globally)

2020-03-25 Thread Benjamin Buchmuller
[rulethickness=...] \setupparagraphs[rulethickness=...] \setupsidebar[rulethickness=...] \setuptables[rulethickness=...] \setuptabulation[rulethickness=...] \setuptextbackground[rulethickness=...] \setuptextrules[rulethickness=...] \setupthinrules[rulethickness=...] \setupxtable[rulethickness

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
ried, > inbetween=, > > Best wishes, > Taco > > > Thank you. > > Fabrice > > > > \setuptextrules[width=0.5cm] > > > > \define[1]\ProprieteHeadcommand > > {\textrule[top]{#1}} > > > > \defineenumeration > > [propriete]

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Taco Hoekwater
> On 1 Oct 2019, at 11:09, Fabrice Couvreur wrote: > > Hello, > The top line is in the text, how to fix this problem ? % alternative=serried, inbetween=, Best wishes, Taco > Thank you. > Fabrice > > \setuptextrules[width=0.5cm] > > \define[1]\Propriete

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Otared Kavian
Hi Fabrice, Is this what you are looking for? Best regards: OK \setuptextrules[width=.5cm] \define[1]\ProprieteHeadcommand {\textrule[top]{Propriété}} \defineenumeration[propriete] [headstyle={bold}, style=italic, number=no, headcommand

[NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
Hello, The top line is in the text, how to fix this problem ? Thank you. Fabrice \setuptextrules[width=0.5cm] \define[1]\ProprieteHeadcommand {\textrule[top]{#1}} \defineenumeration [propriete] [text=Propriété, title=yes, headstyle={bold}, alternative=serried, style=italic

Re: [NTG-context] hairline & rules

2018-06-16 Thread Marco Patzer
On Fri, 15 Jun 2018 00:20:23 -0700 "jdh" wrote: > I want to use a colored hairline, but can't get it working and can't > find anything to explain any options or parameters. > > I've tried > > \setuptextrules[rulecolor=red,color=red] > \hairline >

[NTG-context] hairline & rules

2018-06-16 Thread jdh
I want to use a colored hairline, but can't get it working and can't find anything to explain any options or parameters. I've tried \setuptextrules[rulecolor=red,color=red] \hairline or \hairline[color=red] Doesn't work this is a test \thinrule[color

Re: [NTG-context] referencing the customized enumeration with framed title

2018-01-12 Thread Jeong Dal
before=\startFunnyText, after=\stopFunnyText] Definition style \definenumber[DefNumber][way=bychapter,sectionumber=yes] \setuptextrules[rulecolor=dBlue] \define\DefCommand{\incrementnumber[DefNumber] \textrule[top]{\translate[en=Definition, kr=정 의] \getnumber

Re: [NTG-context] referencing the customized enumeration with framed title

2018-01-12 Thread Hans Hagen
yes, prefixsegments=chapter, way=bychapter, alternative=command, headcommand=\gobbleoneargument, Don't do this ^^ before=\startFunnyText, after=\stopFunnyText] Definition style \definenumber[DefNumber][way=bychapter,sectionumber=yes] \setuptextrules[rulecolor=dBl

[NTG-context] referencing the customized enumeration with framed title

2018-01-11 Thread Jeong Dal
pFunnyText] Definition style \definenumber[DefNumber][way=bychapter,sectionumber=yes] \setuptextrules[rulecolor=dBlue] \define\DefCommand{\incrementnumber[DefNumber] \textrule[top]{\translate[en=Definition, kr=정 의] \getnumber[DefNumber]} } \defineenumeration[

Re: [NTG-context] Setting \textrules

2016-07-20 Thread Fabrice Couvreur
schuster.wolfg...@gmail.com>: > >> Fabrice Couvreur <fabrice1.couvr...@gmail.com> >> 13. Juli 2016 um 01:02 >> Hello, >> I would like the text of the property is in italic without using the >> environment {\it}. >> >> Use the enumeration environment. >

Re: [NTG-context] Setting \textrules

2016-07-14 Thread Fabrice Couvreur
using the > environment {\it}. > > Use the enumeration environment. > > Is this the best way when I use \setuptextrules[width=-1ex] ? > > You can set the width and distance values to 0pt and put a space after the > counter. > > begin example > \setupbodyfont[pagella,11p

Re: [NTG-context] Setting \textrules

2016-07-13 Thread Wolfgang Schuster
Fabrice Couvreur <mailto:fabrice1.couvr...@gmail.com> 13. Juli 2016 um 01:02 Hello, I would like the text of the property is in italic without using the environment {\it}. Use the enumeration environment. Is this the best way when I use\setuptextrules[width=-1ex] ? You can set the

[NTG-context] Setting \textrules

2016-07-12 Thread Fabrice Couvreur
Hello, I would like the text of the property is in italic without using the environment {\it}. Is this the best way when I use \setuptextrules[width=-1ex] ? thank you, Fabrice ### \definetypeface [mainface] [rm] [serif] [palatino] [default

Re: [NTG-context] Move textrule closer to head

2016-04-13 Thread Pablo Rodriguez
ound a way to move it closer to the heading either with \setuphead or > \setuptextrules. Hi Tom, how about another rule? (From http://wiki.contextgarden.net/Titles#Titling_Style.) \setuphead[subsubsection] [after=\hrule\blank] I hope it helps, Pablo --

[NTG-context] Move textrule closer to head

2016-04-13 Thread Tom Harrop
or \setuptextrules. Here is an example: \setuphead[subsubsection] [after=\textrule] \starttext \subsubsection{I would like less space between this heading and its textrule} Here is some text. \stoptext I realise that the spacing looks pretty good in the PDF produced

Re: [NTG-context] problem between textrule and setupindenting ?

2014-05-06 Thread Hans Hagen
On 5/3/2014 9:34 AM, Bertrand Masson wrote: Hello, In the following code, the second ruleis indented. How to remove this indentation ? %code% \setuppapersize[A5] \setupindenting[small,yes] \setuptextrules[inbetween=\noindentation] \starttext \starttextrule{introduction} Once upon a time

[NTG-context] problem between textrule and setupindenting ?

2014-05-03 Thread Bertrand Masson
Hello, In the following code, the second ruleis indented. How to remove this indentation ? %code% \setuppapersize[A5] \setupindenting[small,yes] \setuptextrules[inbetween=\noindentation] \starttext \starttextrule{introduction} Once upon a time \unknown \stoptextrule \stoptext %code% Many thanks

Re: [NTG-context] New header

2014-01-20 Thread Hans Hagen
} \makeatother I want to gradually move to ConTeXt and I tried to create the same header. But I do not yet know all the commands to do with ConTeXt. \setuptextrules [style=\it,location=top] \define[6]\MyHeader{% \textrule[top]{#1\space--\space\date[d=#2,m=#3,y=#4

[NTG-context] New header

2014-01-18 Thread Fabrice Couvreur
\bfseries\filcenter} \makeatother I want to gradually move to ConTeXt and I tried to create the same header. But I do not yet know all the commands to do with ConTeXt. \setuptextrules [style=\it,location=top] \define[6]\MyHeader{% \textrule[top]{#1\space--\space\date[d=#2,m=#3,y=#4

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
[MyExoNumber][way=bysection,sectionumber=yes] \setuptextrules[rulecolor=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on,backgroundcolor=white, framecolor=darkred

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
\definenumber[MyExoNumber][way=bysection,sectionumber=yes] \setuptextrules[rulecolor=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on,backgroundcolor=white, framecolor=darkred

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
=bysection,sectionumber=yes] \setuptextrules[rulecolor=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on,backgroundcolor=white, framecolor=darkred]} \defineenumeration[exo

[NTG-context] \startitemize[columns] broken with backgrounds?

2012-01-22 Thread Otared Kavian
-background-exo.pdf I am not sure whether this behaviour began with a recent beta or not. The version I am using is: ConTeXt ver: 2012.01.16 18:33 MKIV. Best regards: OK %%% begin enumeration-background-exo.pdf \definenumber[MyExoNumber][way=bysection,sectionumber=yes] \setuptextrules[rulecolor

[NTG-context] textrule customization

2011-07-08 Thread Hans van der Meer
The \texrule is typeset as: --- _TEXT_ - this I would like to change to: - _TEXT_ --- \setuptextrules has location=left|inmargin but regrettably not location=right or location=middle (or center) (neither in the wiki nor by experiment

Re: [NTG-context] Title in textrule

2011-04-12 Thread Aditya Mahajan
\startbuffer %D \setuptextrules %D [width=90pt,distance=12pt,rulecolor=blue, %Dbodyfont=small,style=\sc,color=red] %D %D \starttextrule{Ship Building Tools} %D \nl \setuptolerance[tolerant] \input materie %D \stoptextrule %D \stopbuffer %D %D \bgroup \typebuffer \getbuffer \egroup %D %D

Re: [NTG-context] Title in textrule

2011-04-12 Thread Flavien Lambert
\kap{cd} \quote {Passion}. \textrule From pack-rul,mkiv %D \startbuffer %D \setuptextrules %D [width=90pt,distance=12pt,rulecolor=blue, %Dbodyfont=small,style=\sc,color=red] %D %D \starttextrule{Ship Building Tools} %D \nl \setuptolerance[tolerant] \input materie %D

Re: [NTG-context] Blank lines and \noindent

2010-08-05 Thread Wolfgang Schuster
... Not pretty, I know, but currently they are my indicator, that a page in the original book, from which the text comes, has changed. \setuptextrules[inbetween=\noindentation] Thanks again, Martin \setupindenting[yes,small] \indenting[next] \indenting is just a synonym for \setupindenting

[NTG-context] descriptions failing in mkiv

2010-03-22 Thread Hans van der Meer
...\nextoptionalcommandyes { #1}\def \nextoptionalcomma... \setuptextrules ...odoubleargument \getparameters [\??tl ] \placeannotationstart ...aloffset \setuptextrules

Re: [NTG-context] bib things broken in mkiv?

2010-03-22 Thread Hans van der Meer
...\nextoptionalcommandyes { #1}\def \nextoptionalcomma... \setuptextrules ...odoubleargument \getparameters [\??tl ] Back to bib: From inserted code from bibl-tra.mkiv: \writestatus{HVDM-TESTING

Re: [NTG-context] bib things broken in mkiv?

2010-03-22 Thread Hans van der Meer
{ #1}\def \nextoptionalcomma... \setuptextrules ...odoubleargument \getparameters [\??tl ] Back to bib: From inserted code from bibl-tra.mkiv: \writestatus{HVDM-TESTING =}{\string \setuppublicationlist[numbering=short,refcommand

Re: [NTG-context] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread Hans Hagen
\showmathmodern\zerocount \fi \gdef\showmathcharacters% nearly \showcharacters {\par \bgroup \ifcase\showmathmodern\or\ifx\modern\undefined\chardef\showmathmodern\zerocount\fi\fi \setuptextrules[\c!bodyfont=,\c!style=] \starttextrule{math characters -- \currentmathcollection} \whitespace

[NTG-context] \setupspacing[...] and the last line of a paragraph

2008-10-10 Thread Bernd Kosubek
,strict] \setupspacing[packed] \definestartstop[Ausgabe][% before={% \setuptextrules[location=left]% \textrule[top]{Ausgabe}% },% after={\textrule},% commands={\indenting[no]}% ] \starttext \startAusgabe Kurze Sätze. Das A und O der Tagespresse!\space{} Dem Leser nur nichts zumuten. Es

Re: [NTG-context] \setupspacing[...] and the last line of a paragraph

2008-10-10 Thread Wolfgang Schuster
] \setupbodyfont[10pt] \setupindenting[none] \setupwhitespace[small] \setuptolerance[horizontal,strict] \setupspacing[packed] \definestartstop[Ausgabe][% before={% \setuptextrules[location=left]% \textrule[top]{Ausgabe}% },% after={\textrule},% commands={\indenting[no]}% ] \starttext

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
] # \setuptextbackground \setuptextposition[name][settings] \setuptextrules[options] \setuptexttexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber] \setuptextvariable[name][options] \setupthinrules[options] \setuptolerance[options] \setuptop[text|margin|edge][options

[NTG-context] white around descriptions

2007-06-30 Thread Hans van der Meer
}}% %... % placing the annotation indicator in the annotationblock description \def\placeannotationstart{% no white above and below rule \vboxinsideframedtext{% \setuptextrules[style=\@@exmintrostyle]% \textrule{\WWord{\Note Hans van der Meer

Re: [NTG-context] textrules

2006-10-21 Thread Thomas A. Schmitz
} \setuptextrules[inbetween={\blank[big]}] And midtextrule will use inbetween on both side. Hans, does it make sense to add this to core-rul? \def\complextextrule[#1]% {\processaction [#1] [ \v!top=\let\next\dotoptextrule, \v!bottom=\let\next\dobottomtextrule, middle

Re: [NTG-context] textrules

2006-10-20 Thread Hans Hagen
with \textrule. It only becomes active inside a \starttextrule. \starttextrule{whatever} \input knuth \textrule \input knuth \stoptextrule To use this, you can define your own rule as \def\midtextrule{\dosinglegroupempty\domiddletextrule} \setuptextrules[inbetween={\blank[big

[NTG-context] textrules

2006-10-19 Thread Thomas A. Schmitz
Hi all, I want two paragraphs separated by a rule which has the same distance to the preceding and the following line (yes, I know that this is fuzzy, it's just the optical impression that counts). I can't get my head around the \setuptextrules command, which should allow to do this. I tried

Re: [NTG-context] textrules

2006-10-19 Thread Peter Rolf
Hi Thomas, Thomas A. Schmitz wrote: Hi all, I want two paragraphs separated by a rule which has the same distance to the preceding and the following line (yes, I know that this is fuzzy, it's just the optical impression that counts). I can't get my head around the \setuptextrules command

Re: [NTG-context] textrules

2006-10-19 Thread Aditya Mahajan
. \starttextrule{whatever} \input knuth \textrule \input knuth \stoptextrule To use this, you can define your own rule as \def\midtextrule{\dosinglegroupempty\domiddletextrule} \setuptextrules[inbetween={\blank[big]}] And midtextrule will use inbetween on both side. Hans, does it make sense

[NTG-context] setupthinrules

2006-01-23 Thread Hans van der Meer
]. By the way, doesn't that give thinrules then the same option as in setuptextrules[distance=dimension]? yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

RE: [NTG-context] How can I minimize the vertical space taken bya \textrule

2005-10-31 Thread Nicolas Grilly
2005 00:06 À : mailing list for ConTeXt users Objet : Re: [NTG-context] How can I minimize the vertical space taken bya \textrule On Oct 27, 2005, at 21:00, Peter Rolf wrote: I already had \setuptextrules [before=,after=,inbetween=] but that does not work. It seems that inside my

Re: [NTG-context] How can I minimize the vertical space taken by a \textrule

2005-10-27 Thread Peter Rolf
Gerben Wierda wrote: I have a after={\textrule} in my \setupparagraphs but it takes too much space for my purpose. What can I do about that? \setuptextrules[ before=, after=, % {\blank[small]} ] Peter Thanks, G ___ ntg-context mailing

Re: [NTG-context] How can I minimize the vertical space taken by a \textrule

2005-10-27 Thread Gerben Wierda
On 27 Oct 2005, at 16:02, Peter Rolf wrote: Gerben Wierda wrote: I have a after={\textrule} in my \setupparagraphs but it takes too much space for my purpose. What can I do about that? \setuptextrules[ before=, after=, % {\blank[small]} ] I already had \setuptextrules

Re: [NTG-context] How can I minimize the vertical space taken by a \textrule

2005-10-27 Thread Peter Rolf
Gerben Wierda wrote: On 27 Oct 2005, at 16:02, Peter Rolf wrote: Gerben Wierda wrote: I have a after={\textrule} in my \setupparagraphs but it takes too much space for my purpose. What can I do about that? \setuptextrules[ before=, after=, % {\blank[small]} ] I already had

Re: [NTG-context] How can I minimize the vertical space taken by a \textrule

2005-10-27 Thread Gerben Wierda
On Oct 27, 2005, at 21:00, Peter Rolf wrote: I already had \setuptextrules [before=,after=,inbetween=] but that does not work. It seems that inside my paragraph environment, the settings made outside it are ignored. I also do not have my \setupinterlinespace[medium] there (see

Re: [NTG-context] line break

2005-07-20 Thread Jörg Hagmann
] \useexternalfigure[fig:di_cascade][di_cascade][width=0.5\textwidth] \useexternalfigure[fig:di_proteins][di_proteins] \useexternalfigure[fig:di_carbo][di_carbo][width=\textwidth] \useexternalfigure[fig:di_lipids][di_lipids] \setuptextrules[style=\ss] \showframe \starttext \placevignette

Re: [NTG-context] line break

2005-07-14 Thread Jörg Hagmann
/] \useexternalfigure[fig:acidsecr][di_acidsecr] \useexternalfigure[fig:di_cascade][di_cascade][width=0.5\textwidth] \useexternalfigure[fig:di_proteins][di_proteins] \useexternalfigure[fig:di_carbo][di_carbo][width=\textwidth] \useexternalfigure[fig:di_lipids][di_lipids] \setuptextrules[style=\ss