[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
it in a better way. Finally instead of \blackrule[color=black, height=0.10ex, width=13.50cm] you can use just \hairline, and the thickness and color of such a \hairline can be adjusted by \setupthinrules[rulethickness=4pt,color=darkgreen] (for instance), which should be put before

[NTG-context] thinrules width

2020-12-14 Thread Rik Kabel
Hello list, and developers in particular, I note that thinrules (and its setup, setupthinrules, and relatives thinrule and hairline) does not have a width setting, and always sets a rule (or rules) the full width of the text area (less any text set on the same line. No problem, but I do see

Re: [NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Sylvain Hubert
; prefix=no, > align={flushleft,nothyphenated}, > way=bytext] > \setupcaption[table][location=top] > > \setupthinrules[width=15em] % width of horizontal rules > > \setupxtable[frame=off,option=stretch,bodyfont=small,foregroundstyle=

[NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
~}] \setupcaptions[style={\sans\small}, width=max, prefix=no, align={flushleft,nothyphenated}, way=bytext] \setupcaption[table][location=top] \setupthinrules[width=15em] % width of horizontal rules \setupxtable[frame=off,option=stretch,bodyfont=small

[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] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
il.fm tala...@fastmail.fm wrote:Thank you very much for this, Idris. It works nicely in the sample file you sent. But it goes off again once you add \setupdirections[bidi=global]. Consider the following:==snip\setupdirections[bidi=global]\setupthinrules[color=white]\setupwhitespace[big]\section

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread tala...@fastmail.fm
, ] \setupbodyfont [mainface] \starttext \showframe \setupdirections[bidi=global] \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير. هذه رسالة جامعة مانعة ألفها الشيخ الفاضل

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
\showframe \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque molestie dictum quam non congue. Integer ut dolor vel mi vestibulum molestie vel et nulla.\thinrule

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
: == snip \setupdirections[bidi=global] \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير. هذه رسالة جامعة مانعة ألفها الشيخ الفاضل... \thinrule === You're right

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread tala...@fastmail.fm
[bidi=global] \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير. هذه رسالة جامعة مانعة ألفها الشيخ الفاضل... \thinrule === You're right. \thinrule has LR unicode

Re: [NTG-context] setupthinrules

2015-04-16 Thread Aditya Mahajan
On Wed, 15 Apr 2015, Thangalin wrote: Pandoc uses thinrule (probably because it spans the page by default) when generating ConTeXt documents. Using only thinrule, how would you go about making a totally sweet (ornamental) horizontal rule, such as those shown at:

Re: [NTG-context] setupthinrules

2015-04-16 Thread Thangalin
Thank you. Here is an example that changes the \thinrule to something fancier: \usemodule[fancybreak] \setupfancybreak[symbol=star] \define\thinrule\fancybreak ___ If your question is of interest to others as well,

Re: [NTG-context] setupthinrules

2015-04-16 Thread Thangalin
Wikified. http://wiki.contextgarden.net/Command/setupfancybreak http://wiki.contextgarden.net/Modules/fancybreak Might need some corrections and additions. ___ If your question is of interest to others as well,

Re: [NTG-context] setupthinrules

2015-04-16 Thread Aditya Mahajan
On Thu, 16 Apr 2015, Thangalin wrote: \define\thinrule\fancybreak Or \definefancybreak[thinrule][symbol=star] I wish there was a custom context-writer for pandoc, where markdown elements were mapped to semantic commands rather than visual commands (pandoc maps **text** to {\bf text},

[NTG-context] setupthinrules

2015-04-15 Thread Thangalin
Hi, From http://wiki.contextgarden.net/Command/setupthinrules : \define\BeforeCommand{Before} \define\AfterCommand{After} \define\BetweenCommand{Between} \setupthinrules[ before=\BeforeCommand, after=\AfterCommand, inbetween=\BetweenCommand, color=gray, height=1em, ] \starttext

Re: [NTG-context] A thinner hrule for headers

2013-03-24 Thread Otared Kavian
Hi, Maybe you need something like \hairline: \setupthinrules[height=.1pt,depth=.1pt] \setupheader[after=\hairline] You can also enclose your header in a \framed commande, such as \framed[frame=off,bottomframe=on] Best regards: OK On 24 mars 2013, at 13:32, Thomas Kreuzer thomas.kreu

Re: [NTG-context] Hairline in header

2011-01-11 Thread Florian Wobbe
\thinrule] \starttext \dorecurse{12}{\input knuth\par} \stoptext Thanks, that works. I wonder if you can configure this with \setupthinrules. \setupthinrules[before=\vskip-0.8em] does no work. Florian ___ If your question

Re: [NTG-context] Hairline in header

2011-01-11 Thread 李延瑞
] \setupheader[text][after=\vskip-0.8em\thinrule] \starttext \dorecurse{12}{\input knuth\par} \stoptext 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

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] dorecurse in table

2010-09-06 Thread Aditya Mahajan
is essentially a fancy wrapper around \thinrules. I don't know if \thinrules are documented in a manual, but pack-rul.mkiv gives a few examples: \starttext A couple of examples are given below. \startbuffer \setupthinrules[n=3,inbetween=,color=gray] test test \thinrules\ test test \par test test

[NTG-context] Limited with rule?

2009-06-10 Thread Matthijs Kooijman
, \hairline and \thinrule (which seem to do the same from looking at their definition in pack-rul.mkiv, though \hairline does not seem to respond to \setupthinrules for some reason I cannot discern...). However, \setupthinrules accepts a lot of options (including height and depth, which get passed

Re: [NTG-context] re-posting example of header at page bottom

2009-05-20 Thread Jos van Gisbergen
, subsubsectionFont=SansBold at 18pt, titleFont=SansBold at 36pt] % The following setup defines the attributes for drawing horizontal lines % across the page. These lines are drawn with macros \thinline and \hairline. %\setupthinrules[color=black,rulethickness=0.5mm

Re: [NTG-context] header at page bottom example

2009-05-19 Thread Jos van Gisbergen
the attributes for drawing horizontal lines % across the page. These lines are drawn with macros \thinline and \hairline. %\setupthinrules[color=black,rulethickness=0.5mm] \setupthinrules[color=black] \setuphead[title][style=\titleFont, color=black] \setuphead

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

Re: [NTG-context] Some questions about context

2007-03-06 Thread Oliver Buerschaper
\setupheadertexts ... Instead of the \hrule command above you could also resort to \thinrule. The global behaviour of \thinrule can then be customized via \setupthinrules ... However, this comes at the cost of introducing additional vertical space between your header text and the rule

Re: [NTG-context] Some questions about context

2007-03-06 Thread Aditya Mahajan
change the actual content of your headers via \setupheadertexts ... Instead of the \hrule command above you could also resort to \thinrule. The global behaviour of \thinrule can then be customized via \setupthinrules ... However, this comes at the cost of introducing additional vertical space

Re: [NTG-context] Some questions about context

2007-03-06 Thread Oliver Buerschaper
behaviour of \thinrule can then be customized via \setupthinrules ... However, this comes at the cost of introducing additional vertical space between your header text and the rule. On the contrary \hrule sticks to the text. Choose whatever suits you best. (To the experts: is this \thinrule

Re: [NTG-context] making posters with ContexT

2006-05-24 Thread David Antos
, frameradius=2cm, framecolor=darkblue] \setupthinrules [rulethickness=2mm, color=darkblue] % Other style settings \setupwhitespace[big] \setupbodyfont[sans,21pt] \setupitemize [each] [packed,joinedup] \setuphead [chapter] [number=no, style=\tfa\bf, page=no, after=, color

[NTG-context] setupthinrules

2006-01-23 Thread Hans van der Meer
to one another I tried \setupthinrules[height=2pt,depth=0pt,interlinespace=medium] \thinrule\godown[1pt]\thinrule But the natural height of the lines then interfers. Setting \godown [negative amount] will work, of course, but seems unnatural to me. At least I feel it condems me

[NTG-context] Header design

2005-10-05 Thread Alexander Lazic
: --- \setuppapersize [A4][A4] \setupcolors[state=start] \setuppagenumbering[location={footer,right}] \setupheadertexts[][section] % Solution from http://archive.contextgarden.net/message/20050515.201803.67299570.html \setupthinrules[color=red,height=1mm] \setupheader[text][after=\thinrule