[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
Hello list I've been working on a little project of mine. I give calligraphy workshops and I have been using a nice tool created by Josselin Cuette, available at http://ductus.josselincuette.com/ to generate practice templates for interested people. However, I would prefer to have an offline

[NTG-context] Re: learning about the grid

2023-11-20 Thread Wolfgang Schuster
madiazm.eo...@gmail.com schrieb am 19.11.2023 um 23:17: Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with

[NTG-context] Re: learning about the grid

2023-11-20 Thread Pablo Rodriguez via ntg-context
On 11/19/23 23:17, madiazm.eo...@gmail.com wrote: > Thanks, Pablo and Henning > > I suppose I am making a mistake with my setupinterlinearspace. My > school asks for Times New Roman (I use termes) 12pt and > onehalfspacing. In latex I used linespread{1.3} and so I supposed > setting ConTeXt with

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
Am 19.11.23 um 23:17 schrieb madiazm.eo...@gmail.com: Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with

[NTG-context] Re: learning about the grid

2023-11-19 Thread madiazm . eoicc
Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with setupinterlinearspace[1.3ex] was the right way (I read

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
Am 19.11.23 um 13:27 schrieb Miguel Diaz: 1. Why are the lines printed one over the other when grid=no? how do profis then use context without grid? That usually only happens in one of the column modes that requires the grid. It doesn’t happen in usual one-column typesetting. There must

[NTG-context] Re: learning about the grid

2023-11-19 Thread Pablo Rodriguez via ntg-context
On 11/19/23 13:27, Miguel Diaz wrote: > [...] Hi Miguel, I don’t use the grid. This is also the default in ConTeXt. I’m not sure whether I’m getting your point here. See what the difference between not enabling the grid and enabling it: \showframe\showgrid \setupwhitespace[med

[NTG-context] learning about the grid

2023-11-19 Thread Miguel Diaz
Hi everyone, being a newbie I just discovered how different setups for the grid may affect my (very simple) document. In the Details manual (which of course I don't understand because of my unexperience) I read that many people don't use the grid, but when I configure grid=no the whole lines

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
 : On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

[NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
Hello again, I'm having another issue: I'd like Chapter/Section number and titles in separate lines but with grid alignement. I followed that advice: https://wiki.contextgarden.net/Titles#Chapter_number_and_titles_in_separate_lines I'm having an issue though: I can't get rid of the space

Re: [NTG-context] floats disturb grid setting

2022-10-03 Thread Max Chernoff via ntg-context
Hi Hraban, > > As soon as I use floats, text isn’t typeset on the grid any more: > > > > > > \setuppaper[A5] > > \setuplayout[grid=yes] > > \showframe\showgrid > > Oops, my bad: It must be "grid=on". > But didn’t work "yes"

Re: [NTG-context] floats disturb grid setting

2022-10-03 Thread Henning Hraban Ramm via ntg-context
Am 03.10.22 um 14:02 schrieb Henning Hraban Ramm via ntg-context: As soon as I use floats, text isn’t typeset on the grid any more: \setuppaper[A5] \setuplayout[grid=yes] \showframe\showgrid Oops, my bad: It must be "grid=on". But didn’t work "yes" in earli

[NTG-context] floats disturb grid setting

2022-10-03 Thread Henning Hraban Ramm via ntg-context
As soon as I use floats, text isn’t typeset on the grid any more: \setuppaper[A5] \setuplayout[grid=yes] \showframe\showgrid \setupexternalfigure[ location={local,global,default}, ] \starttext \samplefile{lorem} \startplacefigure[location=left,title=left]% \externalfigure[mill][width=.25

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
So as I understand there are two grids: The baseline grid, and the main grid. The baseline grid is shifted upward by an amount called depth in order to accommodate descenders. I want to be able to control that parameter. That is the space between the last red line (no 16) and the bottom

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Aditya Mahajan via ntg-context
On Fri, 27 May 2022, Stefan Nedeljkovic via ntg-context wrote: > Thanks Rik, that fixed the issue with at which line the text begins, but I > still get the grid offset. What do you mean by grid offset?

[NTG-context] How to adjust depth (height) when using grid layout

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
Dear list, I would like to know if there is a way to adjust the depth and height exactly when typesetting in grid layout (LMTX)? Sincerely, Stefan ___ If your question is of interest to others as well, please add

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
Thanks Rik, that fixed the issue with at which line the text begins, but I still get the grid offset. On Fri, May 27, 2022 at 6:33 PM Rik Kabel via ntg-context < ntg-context@ntg.nl> wrote: > You left out the comma after the backspace setting. WIth that in, all is > well. > On 2

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Rik Kabel via ntg-context
You left out the comma after the backspace setting. WIth that in, all is well. On 2022-05-27 12:03, Stefan Nedeljkovic via ntg-context wrote: Thank you very much Aditya for looking into this. But I still have the same baseline grid offset problem. Interestingly, when I remove the columns

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
Thank you very much Aditya for looking into this. But I still have the same baseline grid offset problem. Interestingly, when I remove the columns, the text shifts downwards by two lines. My code: \definemeasure[xheight][0.1in] \definemeasure[base][3\measured{xheight}] % Since all distances

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Aditya Mahajan via ntg-context
On Wed, 25 May 2022, Stefan Nedeljkovic via ntg-context wrote: > Dear list, > > My adventures into the world of grids continue. In the linked file > (slide_grid_overlay.pdf) there are two things I cannot yet achieve: > > 1. I want the baseline grid to evenly (verticall

[NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Dear list, My adventures into the world of grids continue. In the linked file (slide_grid_overlay.pdf) there are two things I cannot yet achieve: 1. I want the baseline grid to evenly (vertically) divide the text area, but my code produces a smaller height of the first line and an additional

Re: [NTG-context] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
I have problems setting up the grid in question. I cannot seem to configure the grid spacing properly, despite combing through the "details" manual. Could you help me configure the grid? On Wed, May 25, 2022 at 6:24 PM Stefan Nedeljkovic wrote: > Thank you very much Wolfgang

Re: [NTG-context] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
ion on my previous question about Jean-Luc > > Doumont and his grid layouts. This time I have concrete questions. I > > reverse engineered his slide (slide_grid_overlay.pdf). All his units are > > based on inches, because the inch is an integer multiple (72) of the TeX > >

Re: [NTG-context] Help needed with slide grid layout

2022-05-25 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic via ntg-context schrieb am 25.05.2022 um 13:35: Dear list, This is a follow-up question on my previous question about Jean-Luc Doumont and his grid layouts. This time I have concrete questions. I reverse engineered his slide (slide_grid_overlay.pdf). All his units

[NTG-context] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Dear list, This is a follow-up question on my previous question about Jean-Luc Doumont and his grid layouts. This time I have concrete questions. I reverse engineered his slide (slide_grid_overlay.pdf). All his units are based on inches, because the inch is an integer multiple (72) of the TeX

[NTG-context] space before section titles sometimes disappears in grid mode

2021-08-12 Thread Henning Hraban Ramm via ntg-context
E.g. in CG journal, there are usually 3 blank lines before a section title. Most of it is single column and without grid, no problem there. But some articles use columnsets and are therefore in grid mode. Sometimes the space before the section title disappears completely, so that it is glued

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-28 Thread denis.maier
nis %- \setuplayout[grid=yes] \showgrid \showstruts \definefont [BigFont] [Bold at 20pt] [28pt] \definefontsize[e] % < added \definebodyfontenvironment [12pt] [e=20pt] % < added \definebodyfontenvironment [10pt

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-27 Thread denis.maier
the underlying issue? Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Garulfo > Gesendet: Samstag, 26. Juni 2021 12:37 > An: ntg-context@ntg.nl > Betreff: Re: [NTG-context] First line of larger font paragraph on grid > > To have

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
To have the two pages similar There is something linked with the use of \definefont. Don't know if it properly impacts the interlinespace for example. %-- \setuplayout[grid=yes] \showgrid \definefont [BigFont] [Bold at 20pt] [28pt

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
A proposal === \setuplayout[grid=yes] \showgrid \definefont [BigFont] [Bold at 20pt] [28pt] \unprotect \unexpanded\def\section_command#1#2{% \framed [ width=\textwidth, frame=off, rulethickness=0pt

[NTG-context] First line of larger font paragraph on grid

2021-06-25 Thread denis.maier
Hi, I have some text in a larger font where the first line should be on the grid. Therefore, I've tried to adapt the solution from the wiki: https://wiki.contextgarden.net/Grid_typesetting#Placing_titles_on_the_grid The interesting thing is that the section command indeed places the first line

Re: [NTG-context] Adjust Grid to last line textheight

2021-06-23 Thread denis.maier
=0, %bottom=0.4, %bottom=0, %bottom=1, %bottom=5, line=2.8ex, ] \setuplayout[grid=yes] \showgrid \starttext \dorecurse{5}{\input knuth\par} \stoptext == Even extreme values

[NTG-context] WG: Adjust Grid to last line textheight

2021-06-23 Thread denis.maier
Hi, I have to use grid typesetting and the grid has to be aligned to the last line of textheight. I have to replicate a layout made with Indesign where there seems to be a bit of additional spacing before the first line, whereas in ConTeXt that happens to be after the last line of the page

[NTG-context] Grid typesetting, blockquotes in smaller font across pagebreaks

2021-03-25 Thread denis.maier
Hi, I'm playing around with grid typesetting. Consider the following example: -- \setuppapersize[A5][A5] \setupbodyfont[10pt] \setuplayout[grid=yes] \showgrid \setupdelimitedtext[blockquote

Re: [NTG-context] RE : RE : RE : RE : Issue with grid

2020-11-25 Thread Hans Hagen
On 11/25/2020 6:10 PM, Joseph wrote: \setupindenting[yes, next, 1em] \starttext \input knuth \stoptext hm, maybe i did somethign wrong. i'll check it, but indeed for now you can just use the patch Hans -

[NTG-context] RE : RE : RE : RE : Issue with grid

2020-11-25 Thread Joseph
the correction code Hans given earlier to workaround this ?Best De : JosephEnvoyé le :lundi 23 novembre 2020 16:29À : Hans Hagen; mailing list for ConTeXt usersObjet :[NTG-context] RE : RE : RE : Issue with grid Could reproduce this problem with ‘default’ font and even seeing it cumulating in same page. BTW

Re: [NTG-context] RE : RE : RE : Issue with grid

2020-11-23 Thread Pablo Rodriguez
setups[*lessstrict] \widowpenalty=1000 \clubpenalty=1000 \brokenpenalty=1000 \stopsetups \setuplayout[setups={*lessstrict}, grid=both] \showgrid \setupwhitespace[line] \starttext \dorecurse{8} {\blank[line]Fin des psalmes.\par \blank[line]\input knu

[NTG-context] RE : RE : RE : Issue with grid

2020-11-23 Thread Joseph
Could reproduce this problem with ‘default’ font and even seeing it cumulating in same page. BTW, Perhaps you already fixed it locally. \showgrid\setuplayout[grid=both] \starttext\dorecurse{8}{\blank[line]Fin des psalmes.\blank[line]\input knuth }\stoptext De : Hans HagenEnvoyé le :lundi 23

Re: [NTG-context] RE : RE : Issue with grid

2020-11-23 Thread Hans Hagen
On 11/23/2020 11:13 AM, Joseph wrote: Yes, I refer to text not being aligned on the grid. This only happens if \blank is used it seems, and text sits above where it’s supposed to (ie amount of space being skipped vertically is smaller, ie \blank[line] skips less than 1 line). I attach pdf I

[NTG-context] RE : RE : Issue with grid

2020-11-23 Thread Joseph
Yes, I refer to text not being aligned on the grid. This only happens if \blank is used it seems, and text sits above where it’s supposed to (ie amount of space being skipped vertically is smaller, ie \blank[line] skips less than 1 line). I attach pdf I get. Could reduce MWE a bit. \showgrid

Re: [NTG-context] RE : Issue with grid

2020-11-23 Thread Hans Hagen
On 11/23/2020 9:31 AM, Joseph wrote: I don’t understand the answer I am afraid, I’ve never seen any issue with grid alignment before (I don’t use columns either, and I changed nothing at all). you talk about grid alignment i.e. text not sitting on the grid ... this is something that relates

[NTG-context] RE : Issue with grid

2020-11-23 Thread Joseph
I don’t understand the answer I am afraid, I’ve never seen any issue with grid alignment before (I don’t use columns either, and I changed nothing at all). De : Hans HagenEnvoyé le :lundi 23 novembre 2020 00:05À : mailing list for ConTeXt users; JosephObjet :Re: [NTG-context] Issue with grid On 11

Re: [NTG-context] Issue with grid

2020-11-22 Thread Hans Hagen
On 11/22/2020 5:03 PM, Joseph wrote: \definefontfeature[base][mode=node] \definefontfamily[mainfont][serif][EBGaramond][features=base] Really? No features enabled at all? EBGaramond is quite loaded with features. Just use 'default'. Hans

Re: [NTG-context] Issue with grid

2020-11-22 Thread Hans Hagen
On 11/22/2020 5:03 PM, Joseph wrote: Dear list, In some cases with latest LMTX I see text not aligned to grid. MWE reproduces the problem (could not reproduce with default font). Typesetting MWE using online ConTeXt page shows correctly aligned text on grid. \showgrid \setuplayout[grid

[NTG-context] RE : Issue with grid

2020-11-22 Thread Joseph
Hi Pablo,Thanks for the heads up. Good to know issue is known already, of course I’ll wait for eventual fix.Best regardsJoseph De : Pablo RodriguezEnvoyé le :dimanche 22 novembre 2020 18:54À : ntg-context@ntg.nlObjet :Re: [NTG-context] Issue with grid On 11/22/20 5:03 PM, Joseph wrote:> Dear l

Re: [NTG-context] Issue with grid

2020-11-22 Thread Pablo Rodriguez
On 11/22/20 5:03 PM, Joseph wrote: > Dear list, > > In some cases with latest LMTX I see text not aligned to grid. MWE > reproduces the problem (could not reproduce with default font). Hi Joseph, I think this is related to the fact that your paragraphs are hard to break between

[NTG-context] Issue with grid

2020-11-22 Thread Joseph
Dear list, In some cases with latest LMTX I see text not aligned to grid. MWE reproduces the problem (could not reproduce with default font).Typesetting MWE using online ConTeXt page shows correctly aligned text on grid. \showgrid\setuplayout[grid=both] \definefontfeature[base][mode=node

Re: [NTG-context] grid+formulas: bug or expected behavior?

2019-07-26 Thread Luca Donetti
Thank you Wolfgang. LD On Fri, Jul 26, 2019 at 1:08 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Luca Donetti schrieb am 31.05.2019 um 20:46: > > Dear all, > > I'm typesetting a document with grid layout and some formulas, like in > >

Re: [NTG-context] grid+formulas: bug or expected behavior?

2019-07-26 Thread Wolfgang Schuster
Luca Donetti schrieb am 31.05.2019 um 20:46: Dear all, I'm typesetting a document with grid layout and some formulas, like in the minimal example below: \setuplayout[grid=yes] \setupformulas[option=depth] \showgrid \starttext \input knuth %\blank \startformula

Re: [NTG-context] grid+formulas: bug or expected behavior?

2019-07-26 Thread luigi scarso
Hi Luca, the size of your message was a bit over the 100KByte limit of the mailing list, but I have made an exception and approved it . But (everybody) please stay under 100KByte, space is a precious resource. -- luigi

Re: [NTG-context] grid+formulas: bug or expected behavior?

2019-07-26 Thread Luca Donetti
> > I don't have any specific need for the alignment of the formula with > > respect to the grid, but I expect the text below the formula to be on the > > grid. However, I've not been able to achieve that with any of the layout > > options described in the latest "deta

Re: [NTG-context] grid+formulas: bug or expected behavior?

2019-07-24 Thread Henning Hraban Ramm
Zitat von Luca Donetti : I don't have any specific need for the alignment of the formula with respect to the grid, but I expect the text below the formula to be on the grid. However, I've not been able to achieve that with any of the layout options described in the latest "details.pdf&qu

[NTG-context] grid+formulas: bug or expected behavior?

2019-05-31 Thread Luca Donetti
Dear all, I'm typesetting a document with grid layout and some formulas, like in the minimal example below: \setuplayout[grid=yes] \showgrid \starttext \input knuth %\blank \startformula a = b + c \stopformula \input knuth \stoptext I

[NTG-context] Question to floating figure and grid

2019-03-22 Thread Tomas Hala
but it makes nothing. What am I doing wrong? Best wishes, Tomáš %%% \setuplayout[grid=yes] \starttext \def\myfig#1#2#3#4{ \startplacefigure[location={right,none}] \setupfloat[roffset=0cc] % leftmargindistance=2cm \startfloatcombination[1*1] \setupfloatcaption[align=middle

Re: [NTG-context] Problem with grid alignment and paragraph

2019-01-19 Thread Luca Donetti
> Luca Donetti schrieb am 14.12.18 um 22:14: > > > Dear list, > > > > > > I am facing a problem with grid alignment when using paragraphs. I > > > think it could be a bug because the MWE below produces lines > > which are > &g

Re: [NTG-context] Problem with grid alignment and paragraph

2019-01-07 Thread Wolfgang Schuster
Luca Donetti schrieb am 07.01.19 um 21:21: On Sun, Jan 6, 2019 at 2:53 PM Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>> wrote: Luca Donetti schrieb am 14.12.18 um 22:14: > Dear list, > > I am facing a problem with grid alignment when u

Re: [NTG-context] Problem with grid alignment and paragraph

2019-01-07 Thread Luca Donetti
On Sun, Jan 6, 2019 at 2:53 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Luca Donetti schrieb am 14.12.18 um 22:14: > > Dear list, > > > > I am facing a problem with grid alignment when using paragraphs. I > > think it could be a bug bec

Re: [NTG-context] Problem with grid alignment and paragraph

2019-01-06 Thread Wolfgang Schuster
Luca Donetti schrieb am 14.12.18 um 22:14: Dear list, I am facing a problem with grid alignment when using paragraphs. I think it could be a bug because the MWE below produces lines which are correctly aligned to the grid with the context version included in texlive 2017, but it does

Re: [NTG-context] Problem with grid alignment and paragraph

2018-12-14 Thread Rik
On 12/14/2018 16:14, Luca Donetti wrote: Dear list, I am facing a problem with grid alignment when using paragraphs. I think it could be a bug because the MWE below produces lines which are correctly aligned to the grid with the context version included in texlive 2017, but it does not seem

[NTG-context] Problem with grid alignment and paragraph

2018-12-14 Thread Luca Donetti
Dear list, I am facing a problem with grid alignment when using paragraphs. I think it could be a bug because the MWE below produces lines which are correctly aligned to the grid with the context version included in texlive 2017, but it does not seem to work with the context in texlive 2018

Re: [NTG-context] mathalignment and grid

2017-07-03 Thread Hans Hagen
On 7/3/2017 8:37 AM, Henri Menke wrote: Dear Hans, In a previous email I complained that with mathalignment large formulas crash into the paragraph below when using grid typesetting. This has been fixed in the latest beta but now the space above and below is asymmetric. For this particular

[NTG-context] mathalignment and grid

2017-07-03 Thread Henri Menke
Dear Hans, In a previous email I complained that with mathalignment large formulas crash into the paragraph below when using grid typesetting.  This has been fixed in the latest beta but now the space above and below is asymmetric.  For this particular case I could fix it by setting the gird

Re: [NTG-context] mathmatrix and grid: followup

2017-06-01 Thread Henri Menke
t; > > > > > On 12/10/2016 10:37 AM, Henri Menke wrote: > > > > > > > > > > > > > > > Bump > > > > > > > > > > On 11/27/2016 07:45 PM, Henri Menke wrote: > > > > > > > > >

Re: [NTG-context] mathmatrix and grid: followup

2017-06-01 Thread Henri Menke
t; > > > > > > > > Bump > > > > > > > > > > On 11/22/2016 02:18 PM, Henri Menke wrote: > > > > > > > > > > > > Dear list, > > > > > > > > > > > > some time ago I asked about the interp

Re: [NTG-context] side caption top aligned on grid -- not implemented?

2017-04-08 Thread Florian Grammel
> There’s still one catch: When I change the caption key „location“ to „bottom“ > together with „inbetween={\blank[-\strutdepth]}“ the picture is aligned with > the black line (top of the first text line). > This would actually be the preferred solution also for „{left,high}“. Yet I >

Re: [NTG-context] side caption top aligned on grid -- not implemented?

2017-04-08 Thread Florian Grammel
[dum] \setuplayout [grid=yes] \setupinterlinespace [line=20pt] \setupcaption [figure] [ location={left,high}, %% location={bottom}, %different alignment

[NTG-context] side caption top aligned on grid -- not implemented?

2017-04-06 Thread Florian Grammel
At http://tex.stackexchange.com/q/362215/6819 I asked: How can I place the top line of the caption (location={left, high}) on the grid and have it align with the figure at same height. I hoped this to be solvable by some simple instructions that I just haven’t been able to figure out

Re: [NTG-context] mathmatrix and grid: followup

2017-04-01 Thread Henri Menke
; On 11/27/2016 07:45 PM, Henri Menke wrote: >>>> Bump >>>> >>>> On 11/22/2016 02:18 PM, Henri Menke wrote: >>>>> Dear list, >>>>> >>>>> some time ago I asked about the interplay of mathmatix with grid >>&

[NTG-context] controlling title head distances when grid is enabled

2017-02-23 Thread Csikos Bela
Dear context users: I would like to typeset my documents to gridlines. If grid is enabled, the distances between titles (section, subsection,subsubsection heads) and text are too big. Here's an example: \setuplayout[grid=yes] \showgrid \starttext \section{Section One} \input tufte \subsection

Re: [NTG-context] mathmatrix and grid: followup

2017-01-24 Thread Henri Menke
wrote: >>>> Dear list, >>>> >>>> some time ago I asked about the interplay of mathmatix with grid >>>> typesetting: https://mailman.ntg.nl/pipermail/ntg-context/2016/087018.html >>>> >>>> I noticed that when the grid is e

Re: [NTG-context] mathmatrix and grid: followup

2017-01-06 Thread Henri Menke
Bump and (belated) Happy New Year! On 12/10/2016 10:37 AM, Henri Menke wrote: > Bump > > On 11/27/2016 07:45 PM, Henri Menke wrote: >> Bump >> >> On 11/22/2016 02:18 PM, Henri Menke wrote: >>> Dear list, >>> >>> some time ago I asked about

Re: [NTG-context] Back on grid after displayed math

2016-12-26 Thread Mikael P. Sundqvist
On Sun, Aug 21, 2016 at 10:15 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > Hi! > > Im curious how to get back to the grid after a displayed formula? I try > > \setuplayout[grid=yes] > \showgrid > > \setupformulas[align=middle] > > \starttext > \inpu

Re: [NTG-context] mathmatrix and grid: followup

2016-12-10 Thread Henri Menke
Bump On 11/27/2016 07:45 PM, Henri Menke wrote: > Bump > > On 11/22/2016 02:18 PM, Henri Menke wrote: >> Dear list, >> >> some time ago I asked about the interplay of mathmatix with grid >> typesetting: https://mailman.ntg.nl/pipermail/ntg-context/2016/0870

Re: [NTG-context] grid snapping problem

2016-12-07 Thread Csikos Bela
Henri Menke írta: >The following should do the trick. Thank you very much. Your code indeed fixes the snap to grid problem but it also pushes the second subsection after the float and leaves a big empty space in the lower part of the first page, which is not desirable. The text should f

Re: [NTG-context] grid snapping problem

2016-12-06 Thread Henri Menke
The following should do the trick. However, you have to keep \setnostrut and \setstrut around the figure because the before and after keys for captions are not (yet) implemented. \setuplayout[grid=yes] \showgrid \starttexdefinition caption:text #1 \setuplocalinterlinespace[line=2.2ex] #1

Re: [NTG-context] grid snapping problem

2016-12-06 Thread Csikos Bela
>I would like to use grid snapping in my document: main text lines >should be aligned to grid lines but figure caption text should not. > >I have this code: > >\setuplayout[grid=yes] >\showgrid > >\setupcaptions[width=fit,align=last,headstyle={\ss\bfx},style={\ss\tfx}]

[NTG-context] grid snapping problem

2016-12-02 Thread Csikos Bela
Dear context users: I would like to use grid snapping in my document: main text lines should be aligned to grid lines but figure caption text should not. I have this code: \setuplayout[grid=yes] \showgrid \setupcaptions[width=fit,align=last,headstyle={\ss\bfx},style={\ss\tfx}] \starttext

Re: [NTG-context] mathmatrix and grid: followup

2016-11-27 Thread Henri Menke
Bump On 11/22/2016 02:18 PM, Henri Menke wrote: > Dear list, > > some time ago I asked about the interplay of mathmatix with grid typesetting: > https://mailman.ntg.nl/pipermail/ntg-context/2016/087018.html > > I noticed that when the grid is enabled, the height of a mathma

[NTG-context] mathmatrix and grid: followup

2016-11-22 Thread Henri Menke
Dear list, some time ago I asked about the interplay of mathmatix with grid typesetting: https://mailman.ntg.nl/pipermail/ntg-context/2016/087018.html I noticed that when the grid is enabled, the height of a mathmatrix is rounded down which leaves less space above than below. In my opinion

[NTG-context] grid, interlinespace

2016-11-02 Thread Michael Eidenbenz
Hello I want my text on a grid and there should be no gap between the top and the capital letters of the first line. I managed to get this by changing the height parameter of \setupinterlinespace with a factor I calculated for the font with this formula: CapHeight/exheight / line = height

Re: [NTG-context] mathmatrix and grid

2016-10-10 Thread Henri Menke
mber 2016 um 23:01 >>>> Dear list, >>>> >>>> I noticed that when using grid=both then the height of a mathmatrix is >>>> rounded down for no apparent reason whereas the depth is rounded up >>>> correctly. Visually it appears to me that the height

Re: [NTG-context] mathmatrix and grid

2016-10-10 Thread Wolfgang Schuster
Henri Menke <mailto:henrime...@gmail.com> 10. Oktober 2016 um 11:44 On 10/10/2016 11:24 AM, Wolfgang Schuster wrote: Henri Menke<mailto:henrime...@gmail.com> 30. September 2016 um 23:01 Dear list, I noticed that when using grid=both then the height of a mathmatrix is r

Re: [NTG-context] mathmatrix and grid

2016-10-10 Thread Henri Menke
On 10/10/2016 11:24 AM, Wolfgang Schuster wrote: >> Henri Menke <mailto:henrime...@gmail.com> >> 30. September 2016 um 23:01 >> Dear list, >> >> I noticed that when using grid=both then the height of a mathmatrix is >> rounded down for no appar

Re: [NTG-context] mathmatrix and grid

2016-10-10 Thread Wolfgang Schuster
Henri Menke <mailto:henrime...@gmail.com> 30. September 2016 um 23:01 Dear list, I noticed that when using grid=both then the height of a mathmatrix is rounded down for no apparent reason whereas the depth is rounded up correctly. Visually it appears to me that the height should be round

Re: [NTG-context] mathmatrix and grid

2016-10-08 Thread Henri Menke
Bump On 09/30/2016 11:01 PM, Henri Menke wrote: > Dear list, > > I noticed that when using grid=both then the height of a mathmatrix is > rounded down for no apparent reason whereas the depth is rounded up > correctly. Visually it appears to me that the height should be rou

[NTG-context] mathmatrix and grid

2016-09-30 Thread Henri Menke
Dear list, I noticed that when using grid=both then the height of a mathmatrix is rounded down for no apparent reason whereas the depth is rounded up correctly. Visually it appears to me that the height should be rounded up here. In the MWE I added a \vrule to show that the determined height

Re: [NTG-context] Help with grid typesetting

2016-09-26 Thread Marcus Vinicius Mesquita
Thank you very much. Regards​ Marcus Vinicius ___ 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

Re: [NTG-context] Help with grid typesetting

2016-09-26 Thread Wolfgang Schuster
Marcus Vinicius Mesquita <mailto:marcusvinicius.mesqu...@gmail.com> 26. September 2016 um 00:07 Dear list, In the MWE below, the line with \setuphead[chapter][before={\blank[3*line,force]}] disrupts the grid typesetting in the first page. What am I missing? \setuplayout[grid=yes] \sh

Re: [NTG-context] Help with grid typesetting

2016-09-26 Thread Henri Menke
On 09/26/2016 12:07 AM, Marcus Vinicius Mesquita wrote: > Dear list, > > In the MWE below, the line with > \setuphead[chapter][before={\blank[3*line,force]}] disrupts the grid > typesetting in the first page. What am I missing? > > > \setuplayout[grid=yes] > \sh

[NTG-context] Help with grid typesetting

2016-09-25 Thread Marcus Vinicius Mesquita
Dear list, In the MWE below, the line with \setuphead[chapter][before={\blank[3*line,force]}] disrupts the grid typesetting in the first page. What am I missing? \setuplayout[grid=yes] \showgrid \setuphead[chapter][before={\blank[3*line,force]}] \starttext \startchapter[title={Chapter

Re: [NTG-context] \vfill shifts content off grid

2016-09-04 Thread Wolfgang Schuster
Henri Menke <mailto:henrime...@gmail.com> 31. August 2016 um 19:45 Dear list, when I use a body font size other than the standard, issuing \vfill will move the content off the grid. MWE is below. How do I fix this? Cheers, Henri --- \setupbodyfont[9pt] \setuplayout[grid=yes] \sh

Re: [NTG-context] \vfill shifts content off grid

2016-09-01 Thread Hans Hagen
will move the content off the grid. MWE is below. How do I fix this? that's how vfill works, you can try \vskip30\lineheight with a value you like Hm. Then I'd like to reformulate my question: How do I flush content to the bottom of the page when grid is enabled without having to specific how

Re: [NTG-context] \vfill shifts content off grid

2016-09-01 Thread Henri Menke
e standard, issuing \vfill will >>>> move the content off the grid. MWE is below. How do I fix this? >>> >>> that's how vfill works, you can try \vskip30\lineheight with a value you >>> like >> >> Hm. Then I'd like to reformulate my question:

Re: [NTG-context] \vfill shifts content off grid

2016-09-01 Thread Hans Hagen
On 9/1/2016 1:22 PM, Henri Menke wrote: On 09/01/2016 09:33 AM, Hans Hagen wrote: On 8/31/2016 7:45 PM, Henri Menke wrote: Dear list, when I use a body font size other than the standard, issuing \vfill will move the content off the grid. MWE is below. How do I fix this? that's how vfill

Re: [NTG-context] \vfill shifts content off grid

2016-09-01 Thread Henri Menke
On 09/01/2016 09:33 AM, Hans Hagen wrote: > On 8/31/2016 7:45 PM, Henri Menke wrote: >> Dear list, >> >> when I use a body font size other than the standard, issuing \vfill will >> move the content off the grid. MWE is below. How do I fix this? > > that's how

Re: [NTG-context] \vfill shifts content off grid

2016-09-01 Thread Hans Hagen
On 8/31/2016 7:45 PM, Henri Menke wrote: Dear list, when I use a body font size other than the standard, issuing \vfill will move the content off the grid. MWE is below. How do I fix this? that's how vfill works, you can try \vskip30\lineheight with a value you like Cheers, Henri

[NTG-context] \vfill shifts content off grid

2016-08-31 Thread Henri Menke
Dear list, when I use a body font size other than the standard, issuing \vfill will move the content off the grid. MWE is below. How do I fix this? Cheers, Henri --- \setupbodyfont[9pt] \setuplayout[grid=yes] \showgrid \starttext Hello \vfill World \stoptext

Re: [NTG-context] mathalignment and grid

2016-08-28 Thread Henri Menke
Dear list, I did some research in math-ali.mkiv and found that when grid is enabled, the whole alignment is simply put in a vbox and snapped to the grid using \def\math_alignment_snap_start {\ifgridsnapping \snaptogrid[\v!both]\vbox\bgroup \fi} Unfortunately, the `both` option rounds

  1   2   3   4   >