[NTG-context] Re: Number in a circle
Hi Kip, You may try characters with Unicode slots from U+2460 upto U+2469. They mean circled digits and are available in many fonts. Best, Ryszard pon., 27 maj 2024 o 06:39 Kip Warner napisał(a): > Hello list, > > I would like to typeset a number in a circle. Nothing fancy. No special > colours, transforms, or complex metapost magic (which I am not familiar > with). > > I have tried \circled{3} and \textcircled{3}, but ConTeXt does not > appear to recognize these commands. Any help appreciated. > > -- > Kip Warner > OpenPGP signed/encrypted mail preferred > https://www.thevertigo.com > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Number in a circle
Hello list, I would like to typeset a number in a circle. Nothing fancy. No special colours, transforms, or complex metapost magic (which I am not familiar with). I have tried \circled{3} and \textcircled{3}, but ConTeXt does not appear to recognize these commands. Any help appreciated. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: wrong font scaling in LMTX?
On 5/26/24 20:50, Wolfgang Schuster wrote: > [...] > I get the same results with the default font mode in MkIV and LMTX but > when I add > > \enableexperiments[fonts.compact] > > the x and xx sizes are wrong. Many thanks for your reply, Wolfgang. I tend to forget that I have always compact fonts enabled by default. Only enabling or disabling it, compilation with sample goes from 2.6s when enabled to 3.2s when disabled (using --purgeall) Without your help, I would have been never detected this. Many thanks for your help, Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: wrong font scaling in LMTX?
Pablo Rodriguez via ntg-context schrieb am 26.05.2024 um 12:38: Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[mainface][ss][TeX Gyre Heros] [scale=0.125] \setupbodyfont[mainface] \starttext \startTEXpage[pagestate=start, offset=1em] \rm a\ss a\\ {\rm a\ssd a}\\ {\rm a\ssx a}\\ {\rm a\ssxx a} \stopTEXpage \stoptext Scaled \ssx and \ssxx are wrong in LMTX (not scaled at all). All font sizes are scaled fine in MkIV. In both cases, I‘m running latest from 2024.05.17 16:32. Could anyone confirm the issue? I get the same results with the default font mode in MkIV and LMTX but when I add \enableexperiments[fonts.compact] the x and xx sizes are wrong. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: page number
Charles Doherty via ntg-context schrieb am 26.05.2024 um 11:27: Dear Wolfgang, I have a book in preparation with running heads. Pagenumber marking |marking Pagenumber The chapter title page has empty headings. The publisher would like the page number centered on the Chapter title page. I manage to put it there but I don’t want it to run on the following pages. I have made various attempts but can’t manage it. I have \setuplayout[location=doublesided] \setuppagenumbering[location=,alternative=doublesided] \setupheadertexts[chapter][][pagenumber] \setupheadertexts[{\getmarking[chapter]}][pagenumber] Please send a complete working example next time. Can anyone show me code to achieve this? 1. You use \setupheadertexts to set the header for all pages. 2. You use \definetext to create a custom header for the chapter page and apply it with the header-key in \setuphead. begin example \setuppagenumbering [location=, alternative=doublesided] \setupheadertexts [chapter] [pagenumber] [pagenumber] [chapter] \definetext [chapterheader] [header] [pagenumber] \setuphead [chapter] [header=chapterheader] \starttext \dorecurse{10} {\startchapter[title=Chapter \convertnumber{Word}{#1}] \dorecurse{10}{\samplefile{lorem}} \stopchapter} \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] wrong font scaling in LMTX?
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[mainface][ss][TeX Gyre Heros] [scale=0.125] \setupbodyfont[mainface] \starttext \startTEXpage[pagestate=start, offset=1em] \rm a\ss a\\ {\rm a\ssd a}\\ {\rm a\ssx a}\\ {\rm a\ssxx a} \stopTEXpage \stoptext Scaled \ssx and \ssxx are wrong in LMTX (not scaled at all). All font sizes are scaled fine in MkIV. In both cases, I‘m running latest from 2024.05.17 16:32. Could anyone confirm the issue? BTW, this is the first time I indent the sample sent to the list with a single character (one tab) instead of two or four spaces. If the sample is wrong displayed in the medium you use with the mailing list, please tell me and I will go back to spaces instead of tabs. Many thanks for your help, Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: page number
Hi Charles, On Sun, May 26, 2024 at 11:39 AM Charles Doherty via ntg-context wrote: > > Dear Wolfgang, > > I have a book in preparation with running heads. > > > Pagenumber marking |marking Pagenumber > > The chapter title page has empty headings. > > The publisher would like the page number centered on the Chapter title page. > I manage to put it there but I don’t want it to run on the following pages. I > have made various attempts but can’t manage it. > > I have > > \setuplayout[location=doublesided] > \setuppagenumbering[location=,alternative=doublesided] > > \setupheadertexts[chapter][][pagenumber] > \setupheadertexts[{\getmarking[chapter]}][pagenumber] > > Can anyone show me code to achieve this? > > Thanks, > Charlie I notice that you addressed Wolfgang, but you also sent to the list. One way could be to condition on being on a chapter page: \setupheadertexts [\doifelsefirstsectionpage{chapter}{\userpagenumber}{}] \setupheadertexts [\doifelsefirstsectionpage{chapter}{}{\getmarking[chapter]}] [\doifelsefirstsectionpage{chapter}{}{\userpagenumber}] /Mikael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] page number
Dear Wolfgang, I have a book in preparation with running heads. Pagenumber marking |marking Pagenumber The chapter title page has empty headings. The publisher would like the page number centered on the Chapter title page. I manage to put it there but I don’t want it to run on the following pages. I have made various attempts but can’t manage it. I have \setuplayout[location=doublesided] \setuppagenumbering[location=,alternative=doublesided] \setupheadertexts[chapter][][pagenumber] \setupheadertexts[{\getmarking[chapter]}][pagenumber] Can anyone show me code to achieve this? Thanks, Charlie ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___