* Changing default rule thickness (globally) @ 2020-03-25 8:27 Benjamin Buchmuller 2020-03-25 13:34 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Benjamin Buchmuller @ 2020-03-25 8:27 UTC (permalink / raw) To: ntg-context Hi! I would like to change the rule thickness that is used by default in ConTeXt. However, from the command documentation (http://www.pragma-ade.nl/general/qrcs/setup-en.pdf), I see that I would need to basically change this for \basegrid[rulethickness=...] \setupbar[rulethickness=...] \setupchemical[rulethickness=...] \setupeffect[rulethickness=...] \setupfillinlines[rulethickness=...] \setupfillinrules[rulethickness=...] \setupframed[rulethickness=...] \setuplinefillers[rulethickness=...] \setupmarginrules[rulethickness=...] \setupmixedcolumns[rulethickness=...] \setupnote[rulethickness=...] \setupparagraphs[rulethickness=...] \setupsidebar[rulethickness=...] \setuptables[rulethickness=...] \setuptabulation[rulethickness=...] \setuptextbackground[rulethickness=...] \setuptextrules[rulethickness=...] \setupthinrules[rulethickness=...] \setupxtable[rulethickness=...] (And for \setupbackgrounds for [top header text footer bottom].) I’m sure there is a more elegant way to do this. But how? Cheers Benjamin ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Changing default rule thickness (globally) 2020-03-25 8:27 Changing default rule thickness (globally) Benjamin Buchmuller @ 2020-03-25 13:34 ` Wolfgang Schuster [not found] ` <0B43A82E-7B4D-4B92-A61E-49504B491898@gmail.com> 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2020-03-25 13:34 UTC (permalink / raw) To: mailing list for ConTeXt users, Benjamin Buchmuller Benjamin Buchmuller schrieb am 25.03.2020 um 09:27: > Hi! > > I would like to change the rule thickness that is used by default in ConTeXt. However, from the command documentation (http://www.pragma-ade.nl/general/qrcs/setup-en.pdf), I see that I would need to basically change this for > > [...] > > (And for \setupbackgrounds for [top header text footer bottom].) I’m sure there is a more elegant way to do this. But how? You can use \setuplinewidth[<DIMENSION>] to change the default value for all (there can be lines which have a fixed value) lines. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <0B43A82E-7B4D-4B92-A61E-49504B491898@gmail.com>]
* Re: Changing default rule thickness (globally) [not found] ` <0B43A82E-7B4D-4B92-A61E-49504B491898@gmail.com> @ 2020-03-28 15:27 ` Wolfgang Schuster 0 siblings, 0 replies; 3+ messages in thread From: Wolfgang Schuster @ 2020-03-28 15:27 UTC (permalink / raw) To: Benjamin Buchmuller; +Cc: NTG-Context ConTeXt users Benjamin Buchmuller schrieb am 25.03.2020 um 14:47: > Thanks, perfect! > >> On 25 Mar 2020, at 14:34, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote: >> >> Benjamin Buchmuller schrieb am 25.03.2020 um 09:27: >>> Hi! >>> I would like to change the rule thickness that is used by default in ConTeXt. However, from the command documentation (http://www.pragma-ade.nl/general/qrcs/setup-en.pdf), I see that I would need to basically change this for >>> [...] >>> (And for \setupbackgrounds for [top header text footer bottom].) I’m sure there is a more elegant way to do this. But how? >> >> You can use \setuplinewidth[<DIMENSION>] to change the default value for all (there can be lines which have a fixed value) lines. Just to be clear, the \setuplinewidth command sets only the value of the \linewidth register and not the rulethickness value itself. Most setups apply to the \linewidth value to rulethickness and this is why \setuplinewidth affects all commands which do this. \starttext \starttabulate[|r|l|][EQ={=}] \BC \tex{setuplinewidth[...]} \BC \tex{linewidth} \NC\NR \NC small \EQ \setuplinewidth[small] \the\linewidth \NC\NR \NC medium (default) \EQ \setuplinewidth[medium] \the\linewidth \NC\NR \NC big \EQ \setuplinewidth[big] \the\linewidth \NC\NR \NC 2pt \EQ \setuplinewidth[2pt] \the\linewidth \NC\NR \stoptabulate \stoptext 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-28 15:27 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-03-25 8:27 Changing default rule thickness (globally) Benjamin Buchmuller 2020-03-25 13:34 ` Wolfgang Schuster [not found] ` <0B43A82E-7B4D-4B92-A61E-49504B491898@gmail.com> 2020-03-28 15:27 ` 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).