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

[NTG-context] Moving hairline in itemize environment

2014-11-21 Thread Jaroslav Hajtmar
Hello ConTeXist. Is there possibility move hairline in itemize environment to the leftto start from the beginning of the line independently indentation environment? Thanx Jaroslav Hajtmar Here is minimal example: \starttext \startitemize[n] \item \input ward \hairline %this line move

[NTG-context] Use of \hairline in the header

2011-07-19 Thread Cecil Westerhof
I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt]}, ] \setuplayout[ footer=0mm, header=10mm, ] \setupheadertexts[] \setupheadertexts[Documentation for product XYZ –concept–] [version: 2001

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Christian
Hi, I was also experiencing unexpected results when using a hairline in the header. I found this solution for a line (I think it's somewhere in the wiki): \setupbackgrounds[header][text][frame=off, bottomframe=on,rulethickness=.5pt] The drawback is, that you'll have to use \setuphead[chapter

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Wolfgang Schuster
Am 19.07.2011 um 12:21 schrieb Cecil Westerhof: I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt]}, ] \setupheader[text][after=\hairline,...] Wolfgang

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Cecil Westerhof
2011/7/19 Wolfgang Schuster schuster.wolfg...@googlemail.com I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt]}, ] \setupheader[text][after=\hairline,...] Works. Thanks. -- Cecil Westerhof

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Christian
\setupheader[text][after=\hairline,...] Works. Thanks. Works, but does penetrate the text area. See the attached image (I have \showframe on, so don’t be confused by that many lines. The hairline is the one partially highlighted, running just above the lowercase letters). How can

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Wolfgang Schuster
Am 19.07.2011 um 18:27 schrieb Christian: \setupheader[text][after=\hairline,...] Works. Thanks. Works, but does penetrate the text area. See the attached image (I have \showframe on, so don’t be confused by that many lines. The hairline is the one partially highlighted

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Christian
\setupheader[text][after=\hairline,...] Works. Thanks. Works, but does penetrate the text area. See the attached image (I have \showframe on, so don’t be confused by that many lines. The hairline is the one partially highlighted, running just above the lowercase letters). How

Re: [NTG-context] Hairline in header

2011-03-03 Thread Wolfgang Schuster
Am 02.03.2011 um 22:12 schrieb Dr. David Endler: Hi Wolfgang, Is there also a possibility to have 2 lines below the header with different color and different thickness? You can use TeX’s own mechanism to draw the rules or use MetaPost. % solution 1: %\startsetups headerrules %

Re: [NTG-context] Hairline in header

2011-03-03 Thread Willi Egger
Hi, Of course this is a very elaborate solution which comes in handy, if you want special effects. however for the simple case of a rule you could also use just: \setupbackgrounds[header][text][frame=off, bottomframe=on,rulethickness=1pt] Willi On 3 Mar 2011, at 16:39, Wolfgang Schuster

Re: [NTG-context] Hairline in header

2011-01-11 Thread Florian Wobbe
how can I move the thinrule further up in this example? I'd like to use \thinrule but still want the position like this: \setupheader[text][after=\hrule] Hi Florian, Maybe this can help you. \setuplayout[header=1cm,headerdistance=1cm]

Re: [NTG-context] Hairline in header

2011-01-11 Thread 李延瑞
2011/1/11 Florian Wobbe florian.wo...@awi.de: how can I move the thinrule further up in this example? I'd like to use \thinrule but still want the position like this: \setupheader[text][after=\hrule] Hi Florian, Maybe this can help you. \setuplayout[header=1cm,headerdistance=1cm]

Re: [NTG-context] Hairline in header

2011-01-11 Thread Florian Wobbe
Thanks, that works. I wonder if you can configure this with \setupthinrules. \setupthinrules[before=\vskip-0.8em] does no work. Hm, if you use: \setupthinrules[n=1, before=\vskip-0.8em] \setupheader[text][after=\thinrules] it can work. However ConTeXt advises to use \blank instead

Re: [NTG-context] Hairline in header

2011-01-10 Thread 李延瑞
2011/1/11 Florian Wobbe florian.wo...@awi.de: \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext Hi, how can I move the thinrule further up in this example? I'd like to use \thinrule but still want the

[NTG-context] Hairline in header

2010-11-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to add the hairline (or a kind of the horizontal rule) under the header area? I'd like to achieve something like in the 1.pdf (attached; created by LaTeX). My code till now: --- \setuppagenumbering[location=footer,middle] \setupheader[][style=small] \setupheadertexts[LLL][RRR

Re: [NTG-context] Hairline in header

2010-11-04 Thread Wolfgang Schuster
Am 04.11.2010 um 09:07 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, how to add the hairline (or a kind of the horizontal rule) under the header area? \setupbackgrounds[header][text][bottomframe=on] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input

Re: [NTG-context] Hairline in header

2010-11-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thanks, that's it. Cheers, Lukas On Thu, 04 Nov 2010 10:01:18 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext

[NTG-context] hairline in a matrix

2007-09-04 Thread Peter Schorsch
Hi, I could not figure out how to add a hairline between two rows of a matrix. Following example is compiling but only results in a bigger vertical space. Infos/Hints are welcome... \startformula \startmatrix    \NC {a_1 } \NC {a_2 } \NC {a_3 }  \NC  \ldots      \NC {a_X }  \NR    \NC {b_1

Re: [NTG-context] hairline in a matrix

2007-09-04 Thread Aditya Mahajan
On Wed, 5 Sep 2007, Peter Schorsch wrote: Hi, I could not figure out how to add a hairline between two rows of a matrix. Following example is compiling but only results in a bigger vertical space. Infos/Hints are welcome... \startformula \startmatrix    \NC {a_1 } \NC {a_2 } \NC {a_3 } Â

Re: [NTG-context] \hairline in the header and column rule

2006-12-22 Thread Jeong Dalyoung
Dear Aditya Thank you for your tip. After adding the line \setupbackgrounds[header][text] [bottomframe=on,topframe=on], I got lines of whole length. However, [rule=on] option only draw vertical line as long as the paragraph not to the bottom. Please test once more using a short paragraph(3-4

Re: [NTG-context] \hairline in the header and column rule

2006-12-22 Thread Aditya Mahajan
On Sat, 23 Dec 2006, Jeong Dalyoung wrote: However, [rule=on] option only draw vertical line as long as the paragraph not to the bottom. Do you mean you want a line in the middle of the columns for the entire page, even if the text does not fill the whole page? I do not think \startcolumns

Re: [NTG-context] \hairline in the header and column rule

2006-12-22 Thread Taco Hoekwater
Aditya Mahajan wrote: On Sat, 23 Dec 2006, Jeong Dalyoung wrote: However, [rule=on] option only draw vertical line as long as the paragraph not to the bottom. Do you mean you want a line in the middle of the columns for the entire page, even if the text does not fill the whole page? I

[NTG-context] \hairline in the header and column rule

2006-12-20 Thread Dalyoung Jeong
is the code and output. *** \setupheader[][before=\hairline, after=\hairline] \setupheadertexts[][text for the header] \setuppagenumbering[location=footer] \starttext \startcolumns[rule=on, n=2] attachment: sample.jpg ___ ntg

Re: [NTG-context] \hairline in the header and column rule

2006-12-20 Thread Aditya Mahajan
On Thu, 21 Dec 2006, Dalyoung Jeong wrote: Dear all, I'd like to ask about drawing a line in the header and a line between columns. 1)I'd like to add hairlines in the header using before and after in \setupheader, but the lines was drawn from the leftend of the leftmargin with the