[NTG-context] Re: Underbar

2024-03-28 Thread Willi Egger
Thank you Wolfgang! This is what I needed. Willi > On 28 Mar 2024, at 17:56, Wolfgang Schuster > wrote: > > Willi Egger schrieb am 28.03.2024 um 17:23: >> Hello everybody, >> >> I have a text, where a couple of lines are typeset with \underbar. — To me

[NTG-context] Re: Underbar

2024-03-28 Thread Wolfgang Schuster
Willi Egger schrieb am 28.03.2024 um 17:23: Hello everybody, I have a text, where a couple of lines are typeset with \underbar. — To me this underbar is a fraction to near the text. So I wanted to use \setupbar[…] to change the offset. Unfortunately nothing happens whatever I try. MWE

[NTG-context] Underbar

2024-03-28 Thread Willi Egger
Hello everybody, I have a text, where a couple of lines are typeset with \underbar. — To me this underbar is a fraction to near the text. So I wanted to use \setupbar[…] to change the offset. Unfortunately nothing happens whatever I try. MWE: \setupbar[offset=-.5,dy=-.5] \starttext Hello

[NTG-context] Re: colors for links

2023-10-14 Thread Hans Hagen via ntg-context
] [color=darkgreen,style=\underbar] \defineinteraction[two] [color=darkred, style=\underbar] \defineinteraction[three][color=darkblue, style=\underbar] \def\inone#1{% \start\setinteraction[one]% \goto{#1}[url(#1)]\stop} \def\intwo#1{% \start\setinteraction[two]% \goto{#1}[url(#1)]\stop

[NTG-context] Re: \underbar in head

2023-09-21 Thread jbf
So clearly I would need to upgrade my version. It does not work with what I have at the moment. Thank you. Julian On 22/9/23 02:04, Wolfgang Schuster wrote: I get a line below the chapter title with LMTX and LuaTeX with the current ConTeXt version.

[NTG-context] Re: \underbar in head

2023-09-21 Thread Wolfgang Schuster
jbf schrieb am 21.09.2023 um 07:01: However, Wolfgang, if I do, e.g. \setuphead[chapter][textcommand={\setbar[underbar]}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext Then I do not get My Title with underline, which is what I want, and nor is anything

[NTG-context] Re: \underbar in head

2023-09-20 Thread jbf
However, Wolfgang, if I do, e.g. \setuphead[chapter][textcommand={\setbar[underbar]}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext Then I do not get My Title with underline, which is what I want, and nor is anything else underlined in 'Ward'. Could

[NTG-context] Re: \underbar in head

2023-09-20 Thread Wolfgang Schuster
jbf schrieb am 21.09.2023 um 05:03: Am attempting to get an underlined head style (chapter) with: \setuphead[chapter][textcommand=\underbar] But I get no underline. Am I doing something wrong? I can, of course, achieve the result at each chapter level with \startchapter[title={\underbar

[NTG-context] \underbar in head

2023-09-20 Thread jbf
Am attempting to get an underlined head style (chapter) with: \setuphead[chapter][textcommand=\underbar] But I get no underline. Am I doing something wrong? I can, of course, achieve the result at each chapter level with \startchapter[title={\underbar{text}}] but would prefer to achieve

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Mikael Sundqvist
(and different linebreaking). > > > > \showglyphs > > > > \startTEXpage[offset=1ex] > > \ruledhbox{$\overline{OA} = \overbar {OA} = 4.2$} > > \par > > \ruledhbox{$\underline {OA} = \underbar {OA} = 4.2$} > > \par >

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Hans Hagen via ntg-context
at tug meetings on YT. The output with Luametatex is correct but Luatex creates a raised bar (and different linebreaking). \showglyphs \startTEXpage[offset=1ex] \ruledhbox{$\overline{OA} = \overbar {OA} = 4.2$} \par \ruledhbox{$\underline {OA} = \underbar

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Xavier B.
box{$\overline{OA} = \overbar {OA} = 4.2$} > \par > \ruledhbox{$\underline {OA} = \underbar {OA} = 4.2$} > \par > \ruledhbox{$\widetilde {OA} = \widebar {OA} = 4.2$} > \par > \ruledhbox{$\overbracket {OA} = \underbracket {OA} = 4.2$

[NTG-context] Re: Why overbar is so big

2023-08-12 Thread Hans Hagen via ntg-context
a raised bar (and different linebreaking). \showglyphs \startTEXpage[offset=1ex] \ruledhbox{$\overline{OA} = \overbar {OA} = 4.2$} \par \ruledhbox{$\underline {OA} = \underbar {OA} = 4.2$} \par \ruledhbox{$\widetilde {OA} = \widebar {OA} = 4.2$} \par

Re: [NTG-context] underbar aligns badly

2022-08-31 Thread Mikael Sundqvist via ntg-context
On Wed, Aug 31, 2022 at 9:45 AM Jan Ulrich Hasecke via ntg-context wrote: > > Am Wed, Aug 31, 2022 at 09:30:33AM +0200 schrieb juh+ntg-context--- via > ntg-context: > > Now in node-rul.mkxl I have this: > > > > \protected\def\node_rules_direct#1% > > {\groupedcommand > > {\dontleavehmode %

Re: [NTG-context] underbar aligns badly

2022-08-31 Thread Jan Ulrich Hasecke via ntg-context
Am Wed, Aug 31, 2022 at 09:30:33AM +0200 schrieb juh+ntg-context--- via ntg-context: > Now in node-rul.mkxl I have this: > > \protected\def\node_rules_direct#1% > {\groupedcommand > {\dontleavehmode % this should not be needed but it is in \bTD > {\node_rules_set{#1}% >

Re: [NTG-context] underbar aligns badly

2022-08-31 Thread juh+ntg-context--- via ntg-context
Am 31.08.22 um 08:54 schrieb Mikael Sundqvist via ntg-context: Hi, On Wed, Aug 31, 2022 at 8:32 AM juh+ntg-context--- via ntg-context wrote: Dear Hans, thanks a lot, but... Am 27.08.22 um 08:54 schrieb Hans Hagen via ntg-context: On 8/27/2022 8:46 AM, Jan Ulrich Hasecke via ntg-context

Re: [NTG-context] underbar aligns badly

2022-08-31 Thread Mikael Sundqvist via ntg-context
Hi, On Wed, Aug 31, 2022 at 8:32 AM juh+ntg-context--- via ntg-context wrote: > > Dear Hans, > > thanks a lot, but... > > Am 27.08.22 um 08:54 schrieb Hans Hagen via ntg-context: > > On 8/27/2022 8:46 AM, Jan Ulrich Hasecke via ntg-context wrote: > >> Hi all, > >> > >> can nobody confirm this

Re: [NTG-context] underbar aligns badly

2022-08-31 Thread juh+ntg-context--- via ntg-context
Dear Hans, thanks a lot, but... Am 27.08.22 um 08:54 schrieb Hans Hagen via ntg-context: On 8/27/2022 8:46 AM, Jan Ulrich Hasecke via ntg-context wrote: Hi all, can nobody confirm this bug? in: \protected\def\node_rules_direct#1%   {\groupedcommand {\dontleavehmode % this should not

Re: [NTG-context] underbar aligns badly

2022-08-27 Thread Hans Hagen via ntg-context
On 8/27/2022 8:46 AM, Jan Ulrich Hasecke via ntg-context wrote: Hi all, can nobody confirm this bug? in: \protected\def\node_rules_direct#1% {\groupedcommand {\dontleavehmode % this should not be needed but it is in \bTD \node_rules_set{#1}% add a % after that line and remake

Re: [NTG-context] underbar aligns badly

2022-08-27 Thread Jan Ulrich Hasecke via ntg-context
Hi all, can nobody confirm this bug? juh Am Thu, Aug 25, 2022 at 09:19:40AM +0200 schrieb juh+ntg-context--- via ntg-context: > > Dear all, > > I fear I hit a bug or missed a change. > > \starttext > \underbar{First line}\\ > Second line. > \stoptext >

[NTG-context] underbar aligns badly

2022-08-25 Thread juh+ntg-context--- via ntg-context
Dear all, I fear I hit a bug or missed a change. \starttext \underbar{First line}\\ Second line. \stoptext With lmtx from 2022.07.24 the lines align fine. With current lmtx the first line has a small indent. Ciao! juh

Re: [NTG-context] update

2022-08-05 Thread Henning Hraban Ramm via ntg-context
Am 05.08.22 um 11:52 schrieb Hans Hagen via ntg-context: Hi, I uploaded a new lmtx that fixes a few math issues reported. Thank you! I could also remove the workaround for \underbar etc., still checking other areas... Hraban

[NTG-context] barring changes

2022-07-28 Thread Henning Hraban Ramm via ntg-context
Please consider the attached example – some of the “barring” macros are defunct already for a while, some more within a TABLE: \underbar works, but not in TABLE \underbarsworks \underdot doesn’t work \underdotsdoesn’t work \underdashdoesn’t work \underdashes doesn’t work

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
tion \starttext Bla \RemovePreceding{Bla} Bla Bla \RemoveFollowing{Bla} Bla \stoptext \starttexdefinition Italic #1 \emphasized{#1} \autoinsertnextspace \stoptexdefinition \starttexdefinition Underbar #1 \underbar{#1} \stoptexdefinition \starttext Bla Bla Bla \Underb

Re: [NTG-context] Suggestions for more math classes?

2022-01-27 Thread Hans Hagen via ntg-context
, and thus being able to configure them according to taste/need). Q2: Do you have any real examples of constructions with \overbar, \underbar, \overbrace, ... or if you have any strong opinion, please raise your voice! Here is a teaser: \starttext % in context we put digits in their own class, the next

[NTG-context] Suggestions for more math classes?

2022-01-27 Thread Mikael Sundqvist via ntg-context
: Do you have any real examples of constructions with \overbar, \underbar, \overbrace, ... or if you have any strong opinion, please raise your voice! /Mikael ___ If your question is of interest to others as well, please

Re: [NTG-context] XML, dealing with whitespace

2022-01-17 Thread Denis Maier via ntg-context
token which ensures there is space when the next character is punctuation. begin example \starttexdefinition Italic #1 \emphasized{#1} \autoinsertnextspace \stoptexdefinition \starttexdefinition Underbar #1 \underbar{#1} \stoptexdefinition \starttext Bla Bla Bla \Underbar{\Italic

Re: [NTG-context] XML, dealing with whitespace

2022-01-15 Thread Wolfgang Schuster via ntg-context
\starttexdefinition Underbar #1     \underbar{#1} \stoptexdefinition \starttext Bla Bla Bla \Underbar{\Italic{Bla} , Bla Bla.} \stoptext end example Wolfgang ___ If your question is of interest to others

[NTG-context] XML, dealing with whitespace

2022-01-15 Thread Denis Maier via ntg-context
xml:italic \emph{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:underline \underbar{\xmlflush{#1}} \stopxmlsetups \startbuffer[test] Bla Bla Bla Bla , Bla Bla. \stopbuffer \xmlprocessbuffer{test}{test}{} % How can I get rid off spurious

Re: [NTG-context] double underbars

2021-12-09 Thread Henning Hraban Ramm via ntg-context
added that so one can nest the mp driven ones but still within the same category ... i'll look into a mix (more complex management wise so typically a rainy weekend thing; i know how to do it but ...) If I use \overbar within \underbar, the same dy is used, i.e. in the example, the first \overbar

Re: [NTG-context] new upload

2021-12-01 Thread Hans Hagen via ntg-context
] \placeRussian \stoptitle \stoptext Regarding the implementation: I've just tried it, and I wondered whether the stacking of bars should not happen the other way round. As in \underbar{\underdot{asdf}} I would have expected the bar to be below the dot. But maybe that's wrong expectations

Re: [NTG-context] new upload

2021-12-01 Thread Denis Maier via ntg-context
round. As in \underbar{\underdot{asdf}} I would have expected the bar to be below the dot. But maybe that's wrong expectations... Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Dienstag, 30. November 2021 19:56 &

Re: [NTG-context] double underbars

2021-11-30 Thread Hans Hagen via ntg-context
On 11/30/2021 2:52 PM, Taco Hoekwater via ntg-context wrote: But the problem is that you have to create an “underbardot" that contains both the bar and the dots, to fix the non-nesting problem. It is then quite hard to get that definition to align properly with any enclosing “underba

Re: [NTG-context] double underbars

2021-11-30 Thread Hans Hagen via ntg-context
" that contains both the bar and the dots, to fix the non-nesting problem. It is then quite hard to get that definition to align properly with any enclosing “underbar” (I tried something like that a while ago and basically gave up. I did not want to spend a whole of time on it so I just told the c

Re: [NTG-context] double underbars

2021-11-30 Thread Denis Maier via ntg-context
les:under:bardots] > > and play with the mp until you are happy with the output. > > But the problem is that you have to create an “underbardot" that contains > both the bar and the dots, to fix the non-nesting problem. It is then quite > hard to get that definition to

Re: [NTG-context] double underbars

2021-11-30 Thread Taco Hoekwater via ntg-context
ntains both the bar and the dots, to fix the non-nesting problem. It is then quite hard to get that definition to align properly with any enclosing “underbar” (I tried something like that a while ago and basically gave up. I did not want to spend a whole of time on it so I just told the client

Re: [NTG-context] double underbars

2021-11-30 Thread Denis Maier via ntg-context
’ll need different variants of underbars. > > > > - A normal underbar > > - A dotted underbar > > - A combination of both > > > > Is there a way to combine them? I was hoping to have the dotted variant > above the normal bar. > > I would like to have

Re: [NTG-context] double underbars

2021-11-30 Thread Taco Hoekwater via ntg-context
> On 30 Nov 2021, at 12:06, Denis Maier via ntg-context > wrote: > > Hi, > > for a current project I’ll need different variants of underbars. > > - A normal underbar > - A dotted underbar > - A combination of both > > Is there a way to combine t

[NTG-context] double underbars

2021-11-30 Thread Denis Maier via ntg-context
Hi, for a current project I'll need different variants of underbars. - A normal underbar - A dotted underbar - A combination of both Is there a way to combine them? I was hoping to have the dotted variant above the normal bar. This is not working

Re: [NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
number, but neither achieve what I want. \underbar is too close to the number \setupbar[underbar][offset=-0.8] % play around with the number and \crlf\blackrule too far below. So basically my question is: is there a way of adjusting the position of a brief rule beneath the number? \defineframed

Re: [NTG-context] rule beneath chapter number

2021-11-11 Thread Aditya Mahajan via ntg-context
On Fri, 12 Nov 2021, jbf via ntg-context wrote: > The following MWE deliberately shows two ways of getting a short rule > beneath a chapter number, but neither achieve what I want. \underbar is > too close to the number \setupbar[underbar][offset=-0.8] % play around with t

[NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
The following MWE deliberately shows two ways of getting a short rule beneath a chapter number, but neither achieve what I want. \underbar is too close to the number and \crlf\blackrule too far below. So basically my question is: is there a way of adjusting the position of a brief rule beneath

Re: [NTG-context] \underbar and co. not working properly in MkIV

2021-03-10 Thread Hans Hagen
On 3/10/2021 2:06 PM, Jairo A. del Rio wrote: Hi, list. The following works well in LMTX, but it applies underlining to the next dash sign when compiled with MkIV: \starttext %\overbar{foo}-bar \underbar{foo}-bar \stoptext I've found a workaround for it, but I want to know about

[NTG-context] \underbar and co. not working properly in MkIV

2021-03-10 Thread Jairo A. del Rio
Hi, list. The following works well in LMTX, but it applies underlining to the next dash sign when compiled with MkIV: \starttext %\overbar{foo}-bar \underbar{foo}-bar \stoptext I've found a workaround for it, but I want to know about the reason for such a strange behavior. Thanks beforehand

Re: [NTG-context] \setupcolors and \underbar bug?

2021-01-14 Thread Henning Hraban Ramm
> Am 14.01.2021 um 21:48 schrieb Henning Hraban Ramm : > > > >> Am 14.01.2021 um 16:58 schrieb Alan Bowen : >> >> The mwe >> >> \starttext >> \setupcolors[state=stop] >> {\darkred Test} >> >> \underbar{Here} >> \sto

Re: [NTG-context] \setupcolors and \underbar bug?

2021-01-14 Thread Henning Hraban Ramm
> Am 14.01.2021 um 16:58 schrieb Alan Bowen : > > The mwe > > \starttext > \setupcolors[state=stop] > {\darkred Test} > > \underbar{Here} > \stoptext > > fails: “Here” does not appear above the underbar (which has the correct > length). > > W

[NTG-context] \setupcolors and \underbar bug?

2021-01-14 Thread Alan Bowen
The mwe \starttext \setupcolors[state=stop] {\darkred Test} \underbar{Here} \stoptext fails: “Here” does not appear above the underbar (which has the correct length). When \setupcolors[state=stop] is commented out, the file runs as it should. Alan

Re: [NTG-context] Unexpected underbar behaviour in sections

2020-11-24 Thread Bruce Horrocks
> On 24 Nov 2020, at 22:26, Aditya Mahajan wrote: > > On Tue, 24 Nov 2020, Bruce Horrocks wrote: > >> The following is giving me a section title with triple underbars instead of >> single. >> >> \definehead [Heading] [section] >> \setuphead

Re: [NTG-context] Unexpected underbar behaviour in sections

2020-11-24 Thread Aditya Mahajan
On Tue, 24 Nov 2020, Bruce Horrocks wrote: > The following is giving me a section title with triple underbars instead of > single. > > \definehead [Heading] [section] > \setuphead [Heading] [style={\underbar}] Change this to: \setuphead [Heading] [textcommand={\underbar}

[NTG-context] Unexpected underbar behaviour in sections

2020-11-24 Thread Bruce Horrocks
The following is giving me a section title with triple underbars instead of single. \definehead [Heading] [section] \setuphead [Heading] [style={\underbar}] \starttext \Heading{First level section heading} \underbar{This is single underlined as expected} \stoptext (Same with \startHeading

Re: [NTG-context] [overstrike] with different color?

2020-06-05 Thread Henning Hraban Ramm
> > \setupbar[color=red,rulethickness=.3,offset=0.5] According to https://wiki.contextgarden.net/Command/underbar, offset should work. Maybe \definebar behaves different to \setupbar Hraban ___ If your question is

Re: [NTG-context] Works and Doesn't Work

2019-01-18 Thread Wolfgang Schuster
string works as advertised. Regards dh start of contxt source \definesymbol[5][$\diamond$] \starttext \setupitemgroup[itemize][each][packed][before=\underbar{mae-da },after=\underbar{ato-da}] % WORKS \setupitemgroup[itemize][each][ ][symbol=5

[NTG-context] Works and Doesn't Work

2019-01-17 Thread jdh
dh start of contxt source \definesymbol[5][$\diamond$] \starttext \setupitemgroup[itemize][each][packed][before=\underbar{mae-da },after=\underbar{ato-da}] % WORKS \setupitemgroup[itemize][each][ ][symbol=5]% WORKS

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-16 Thread Aditya Mahajan
=yes] Here is the start of the paragraph {\tacobar hello! ({\tacoover this} looks fine)} and some extra text running on to the next line %%% Because the \tacoover makes the \tacobar disappear :( If the text has constant interline spacing, you can try to mimick the old (mkii) underbar mechanism

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Aditya Mahajan
underlining and uppercasing :( Have you tried \underbar{\input ward\endgraf}? Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

[NTG-context] Macro to write a vector with Metafun (again)

2018-12-04 Thread Fabrice Couvreur
c+d} \quad \underbrace {a+b+c+d} \quad \doublebrace {a+b+c+d}$ \blank $\overbar {a+b+c+d} \quad \underbar{a+b+c+d} \quad \doublebar{a+b+c+d}$ \blank $\overleftarrow {a+b+c+d} \quad \overrightarrow {a+b+c+d} $ \blank $\underleftarrow {a+b+c+d} \quad \underrightarrow {a+b+c+d

Re: [NTG-context] style=underbar output in export

2018-10-03 Thread Wolfgang Schuster
Rik Kabel schrieb am 04.10.18 um 00:01: List, With recent betas, since a fix for tagged elements in tables, underbar processing seems to have changed (or perhaps I just noticed it after that fix). Previously, the following highlight definition worked for both pdf and export outputs

[NTG-context] style=underbar output in export

2018-10-03 Thread Rik Kabel
List, With recent betas, since a fix for tagged elements in tables, underbar processing seems to have changed (or perhaps I just noticed it after that fix). Previously, the following highlight definition worked for both pdf and export outputs: \definehighlight [Term][style={{\underbar

Re: [NTG-context] Fwd: Macro to write a vector (Metafun) is broken

2018-03-22 Thread Fabrice Couvreur
{a+b+c+d} \quad 53 \doublebracket{a+b+c+d}$ \blank 54 $\overparent{a+b+c+d} \quad \underparent {a+b+c+d} \quad 55 \doubleparent {a+b+c+d}$ \blank 56 $\overbrace {a+b+c+d} \quad \underbrace {a+b+c+d} \quad 57 \doublebrace {a+b+c+d}$ \blank 58 $\overbar

Re: [NTG-context] Fwd: Macro to write a vector (Metafun) is broken

2018-03-22 Thread Hans Hagen
k $\overparent{a+b+c+d} \quad \underparent {a+b+c+d} \quad \doubleparent {a+b+c+d}$ \blank $\overbrace {a+b+c+d} \quad \underbrace {a+b+c+d} \quad \doublebrace {a+b+c+d}$ \blank $\overbar {a+b+c+d} \quad \underbar{a+b+c+d} \quad \doublebar{a+b+c+d}$ \blank $\o

[NTG-context] Macro to write a vector (Metafun) is broken

2018-03-20 Thread Fabrice Couvreur
underbrace {a+b+c+d} \quad \doublebrace {a+b+c+d}$ \blank $\overbar {a+b+c+d} \quad \underbar{a+b+c+d} \quad \doublebar{a+b+c+d}$ \blank $\overleftarrow {a+b+c+d} \quad \overrightarrow {a+b+c+d} $ \blank $\underleftarrow {a+b+c+d} \quad \underrightarrow {a+b+c+d} $ \blank

Re: [NTG-context] underbar and overbar

2017-04-04 Thread Henning Hraban Ramm
Bump. Even a simple yes/no answer would be nice. Is this behaviour intended? Am 2017-03-29 um 17:03 schrieb Henning Hraban Ramm <te...@fiee.net>: > Ahoi, > > I played with the "bar" commands: > > \underbar{underlined \underbar{more and \underbar{more} > \ov

[NTG-context] underbar and overbar

2017-03-29 Thread Henning Hraban Ramm
Ahoi, I played with the "bar" commands: \underbar{underlined \underbar{more and \underbar{more} \overbar{\underbar{and} \overbar{over}} and back}} While stacking bars is nice, overbar and underbar exclude each other, while underbar takes precedence. Is this intended? I expected

Re: [NTG-context] How to clone \underbar?

2016-10-19 Thread Wolfgang Schuster
Florian Leupold <mailto:fleup...@posteo.net> 19. Oktober 2016 um 14:51 Dear list, how can I clone \underbar (for the purpose of changing settings for the clone afterwards)? Just using \definebar to inherit \underbar’s properties does not entirely work, see MWE: \definebar[myBar][un

[NTG-context] How to clone \underbar?

2016-10-19 Thread Florian Leupold
Dear list, how can I clone \underbar (for the purpose of changing settings for the clone afterwards)? Just using \definebar to inherit \underbar’s properties does not entirely work, see MWE: \definebar[myBar][underbar] \starttext underbar text mode: \underbar{$a^b$}\crlf underbar

Re: [NTG-context] Underlining formulas and units

2016-10-06 Thread Otared Kavian
Hi, Maybe you should use rather $\underbar{F_C=\unit{1e2 newton}}$ or \underbar{\unit{1e2 newton}} since otherwise \underbar considers each character in the math formula as a word, which should be underlined separately. Best regards: OK > On 5 Oct 2016, at 22:01, Florian Leup

[NTG-context] Underlining formulas and units

2016-10-05 Thread Florian Leupold
Dear list, underbar behaves weirdly when it comes to indexes, exponents, and units: \starttext \underbar{$F_C=\unit{1e2 newton}$} or \underbar{\unit{1e2 newton}} \stoptext Am I doing something wrong? Is there maybe a setting to correct for this? Thanks, Florian signature.asc Description

Re: [NTG-context] Nonbreaking, non-vanishing horizontal spaces above underbar

2016-09-14 Thread Hans Hagen
On 9/14/2016 4:57 PM, Hans Hagen wrote: On 9/14/2016 2:33 PM, Florian Leupold wrote: Dear all, I would like to create cloze texts with solutions, but I have problems with horizontal spaces above the underbar, namely: 1) After a linebreak, horizontal space is cut off despite the \zwj. 2) I

Re: [NTG-context] Nonbreaking, non-vanishing horizontal spaces above underbar

2016-09-14 Thread Hans Hagen
On 9/14/2016 2:33 PM, Florian Leupold wrote: Dear all, I would like to create cloze texts with solutions, but I have problems with horizontal spaces above the underbar, namely: 1) After a linebreak, horizontal space is cut off despite the \zwj. 2) I cannot find a way of scaling the leading

[NTG-context] Nonbreaking, non-vanishing horizontal spaces above underbar

2016-09-14 Thread Florian Leupold
Dear all, I would like to create cloze texts with solutions, but I have problems with horizontal spaces above the underbar, namely: 1) After a linebreak, horizontal space is cut off despite the \zwj. 2) I cannot find a way of scaling the leading and trailing space to equal 0.2 times the width

Re: [NTG-context] Bug with \underbar and \placefigure[right]

2016-09-08 Thread Wolfgang Schuster
Florian Leupold <mailto:fleup...@posteo.net> 8. September 2016 um 13:49 Dear list, I would like to report a bug: When \underbar is used for the first word of a paragraph in conjunction with \placefigure[right], the text overwrites the figure. MNWE: \setupexternalfigures[order={pdf,p

[NTG-context] Bug with \underbar and \placefigure[right]

2016-09-08 Thread Florian Leupold
Dear list, I would like to report a bug: When \underbar is used for the first word of a paragraph in conjunction with \placefigure[right], the text overwrites the figure. MNWE: \setupexternalfigures[order={pdf,png,jpg}, location={local,global,default}] \starttext \placefigure[right, none

Re: [NTG-context] Creating cloze texts

2016-09-04 Thread Florian Leupold
> On 04.09.16, at 16:28, Florian Leupold <fleup...@posteo.net> wrote: > > >> On 04.09.16, at 14:14, Hans Hagen <pra...@wxs.nl> wrote: >> >> On 9/4/2016 12:03 PM, Hans Hagen wrote: >> >>> \definebar[ClozedBar][underbar][continue=yes] &

Re: [NTG-context] Creating cloze texts

2016-09-04 Thread Florian Leupold
> On 04.09.16, at 14:14, Hans Hagen <pra...@wxs.nl> wrote: > > On 9/4/2016 12:03 PM, Hans Hagen wrote: > >> \definebar[ClozedBar][underbar][continue=yes] >> >> \unexpanded\def\Clozed#1{\ClozedBar{\zwj#1\zwj}} >> >> \starttext >> >>

Re: [NTG-context] Creating cloze texts

2016-09-04 Thread Hans Hagen
On 9/4/2016 12:03 PM, Hans Hagen wrote: \definebar[ClozedBar][underbar][continue=yes] \unexpanded\def\Clozed#1{\ClozedBar{\zwj#1\zwj}} \starttext \input ward \Clozed{\color[red]{CLOZE 1}} \input ward \Clozed{\quad\color[red]{CLOZE 2}\quad} \input ward \Clozed{\color[white]{x}\quad\color[red

Re: [NTG-context] Creating cloze texts

2016-09-04 Thread Hans Hagen
in the teacher’s version. The macro \underbar does a good job in terms of line breaks and hyphenation. But it is "too smart" in the sense that it does not underline horizontal spaces. The MNWE below showcases problems with my naive attempts to achieve underlining: - CLOZE 1 does no

[NTG-context] Creating cloze texts

2016-09-02 Thread Florian Leupold
\underbar does a good job in terms of line breaks and hyphenation. But it is "too smart" in the sense that it does not underline horizontal spaces. The MNWE below showcases problems with my naive attempts to achieve underlining: - CLOZE 1 does not have any extra space. - CLOZE 2 does not

Re: [NTG-context] Package esvect and Context

2016-06-15 Thread Fabrice Couvreur
{a+b+c+d}$ \blank > $\overparent{a+b+c+d} \quad \underparent {a+b+c+d} \quad > \doubleparent {a+b+c+d}$ \blank > $\overbrace {a+b+c+d} \quad \underbrace {a+b+c+d} \quad > \doublebrace {a+b+c+d}$ \blank > $\overbar {a+b+c+d} \quad \underbar{a

Re: [NTG-context] Package esvect and Context

2016-06-15 Thread Wolfgang Schuster
\quad \underbar{a+b+c+d} \quad \doublebar{a+b+c+d}$ \blank $\overleftarrow {a+b+c+d} \quad \overrightarrow {a+b+c+d} $ \blank $\underleftarrow {a+b+c+d} \quad \underrightarrow {a+b+c+d} $ \blank \stoptext Wo

Re: [NTG-context] Package esvect and Context

2016-06-07 Thread Fabrice Couvreur
> \setupmathstackers > [top] > [color=darkred, >alternative=mp] > > \setupmathstackers > [bottom] > [color=darkred, >alternative=mp] > > \starttext > > $\overbracket {a+b+c+d} \quad \underb

Re: [NTG-context] Package esvect and Context

2016-06-06 Thread Hans Hagen
d}$ \blank $\overbrace {a+b+c+d} \quad \underbrace {a+b+c+d} \quad \doublebrace {a+b+c+d}$ \blank $\overbar {a+b+c+d} \quad \underbar{a+b+c+d} \quad \doublebar{a+b+c+d}$ \blank $\overleftarrow {a+b+c+d} \quad \overrightarrow {a+b+c+d} $ \blank $\underleftarrow {a+b+

Re: [NTG-context] Underbar offset

2016-05-26 Thread Mojca Miklavec
On 26 May 2016 at 18:17, Hans Hagen wrote: > On 5/26/2016 2:48 PM, Mojca Miklavec wrote: >> >> Nevertheless this doesn't entirely solve the problem. I now have a >> problem with the following: >> >> \catcode`č=\active >> \defč{\buildtextaccent\textcaron c} > > > doesn't the compose=yes

Re: [NTG-context] Underbar offset

2016-05-26 Thread Hans Hagen
On 5/26/2016 2:48 PM, Mojca Miklavec wrote: On 25 May 2016 at 17:35, Wolfgang Schuster wrote: With \shiftup the line under the raised text stays at the same position. \starttext \underbar{Test this \shiftup{®}} \stoptext When has \shiftup been implemented? It doesn't work in TeX Live

Re: [NTG-context] Underbar offset

2016-05-26 Thread Aditya Mahajan
On Thu, 26 May 2016, Mojca Miklavec wrote: \catcode`č=\active \defč{\buildtextaccent\textcaron c} Instead of creating an active character, does this work: \definefontfeature [default] [default] [compose=yes]

Re: [NTG-context] Underbar offset

2016-05-26 Thread Marco Patzer
On Thu, 26 May 2016 14:48:00 +0200 Mojca Miklavec <mojca.miklavec.li...@gmail.com> wrote: > On 25 May 2016 at 17:35, Wolfgang Schuster wrote: > > > > With \shiftup the line under the raised text stays at the same > > position. > > > > \starttext > > \

Re: [NTG-context] Underbar offset

2016-05-26 Thread Mojca Miklavec
On 25 May 2016 at 17:35, Wolfgang Schuster wrote: > > With \shiftup the line under the raised text stays at the same position. > > \starttext > \underbar{Test this \shiftup{®}} > \stoptext When has \shiftup been implemented? It doesn't work in TeX Live (or maybe I f

Re: [NTG-context] Underbar offset

2016-05-25 Thread Wolfgang Schuster
Hans Hagen <mailto:pra...@wxs.nl> 24. Mai 2016 um 14:19 On 5/24/2016 1:54 AM, Mojca Miklavec wrote: Hi, I would like to add a continuous underbar under a paragraph or a title as in: \setupbar [color=red,offset=10pt] \starttext \underbar{Test this \high{\tfxx ®}} \stoptext ... b

Re: [NTG-context] Underbar offset

2016-05-24 Thread Hans Hagen
On 5/24/2016 1:54 AM, Mojca Miklavec wrote: Hi, I would like to add a continuous underbar under a paragraph or a title as in: \setupbar [color=red,offset=10pt] \starttext \underbar{Test this \high{\tfxx ®}} \stoptext ... but I'm confused about two aspects: - How can I prevent \high

[NTG-context] Underbar offset

2016-05-23 Thread Mojca Miklavec
Hi, I would like to add a continuous underbar under a paragraph or a title as in: \setupbar [color=red,offset=10pt] \starttext \underbar{Test this \high{\tfxx ®}} \stoptext ... but I'm confused about two aspects: - How can I prevent \high{} from shifting the underbar? - How can I add more

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Hans Hagen
On 2/15/2016 10:29 PM, Aditya Mahajan wrote: On Mon, 15 Feb 2016, Hans Hagen wrote: On 2/10/2016 10:14 PM, Laurent d'Airsy wrote: I would like to create a dotted underbar in ConTeXt with the | \defineunderbar|mechanism. Is that possible? i uploaded a beta where you can test: test {\red

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Hans Hagen
On 2/15/2016 10:31 PM, Aditya Mahajan wrote: On Mon, 15 Feb 2016, Hans Hagen wrote: On 2/10/2016 10:14 PM, Laurent d'Airsy wrote: I would like to create a dotted underbar in ConTeXt with the | \defineunderbar|mechanism. Is that possible? i uploaded a beta where you can test: test {\red

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Aditya Mahajan
On Mon, 15 Feb 2016, Hans Hagen wrote: On 2/10/2016 10:14 PM, Laurent d'Airsy wrote: I would like to create a dotted underbar in ConTeXt with the | \defineunderbar|mechanism. Is that possible? i uploaded a beta where you can test: test {\red\underrandoms{test me}} and \underrandom{test

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Aditya Mahajan
On Mon, 15 Feb 2016, Hans Hagen wrote: On 2/10/2016 10:14 PM, Laurent d'Airsy wrote: I would like to create a dotted underbar in ConTeXt with the | \defineunderbar|mechanism. Is that possible? i uploaded a beta where you can test: test {\red\underrandoms{test me}} and \underrandom{test

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Hans Hagen
needed a name and it's kind of random Best regards: OK On 15 Feb 2016, at 10:39, Hans Hagen <pra...@wxs.nl> wrote: On 2/10/2016 10:14 PM, Laurent d'Airsy wrote: I would like to create a dotted underbar in ConTeXt with the |\defineunderbar|mechanism. Is that possible? i uploaded

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Otared Kavian
gt; wrote: > > On 2/10/2016 10:14 PM, Laurent d'Airsy wrote: >> I would like to create a dotted underbar in ConTeXt with the >> |\defineunderbar|mechanism. Is that possible? > > i uploaded a beta where you can test: > > test {\red\underrandoms{test me}} and \underrando

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Hans Hagen
On 2/10/2016 10:14 PM, Laurent d'Airsy wrote: I would like to create a dotted underbar in ConTeXt with the |\defineunderbar|mechanism. Is that possible? i uploaded a beta where you can test: test {\red\underrandoms{test me}} and \underrandom{test} or \underrandom{grep} \blank test {\red

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-13 Thread Hans Hagen
On 2/10/2016 10:14 PM, Laurent d'Airsy wrote: I would like to create a dotted underbar in ConTeXt with the |\defineunderbar|mechanism. Is that possible? not yet (but one can use inline text backgrounds to achieve this) i'm playing with some extensions to the underbar code but it might take

[NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-11 Thread Laurent d'Airsy
I would like to create a dotted underbar in ConTeXt with the \defineunderbarmechanism. Is that possible? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] meaning of error message?

2015-11-29 Thread Alan Bowen
s > of the assumed correspondence between notes and numbers. Compare the more > precise statement occurring on the second line of the first paragraph: > «{τοὺϲ φθόγγουϲ ἀναγκαῖον ἐν ἀριθμοῦ λόγῳ λέγεϲθαι πρὸϲ ἀλλήλουϲ}».} > % > \Lmt{M160.1}φθόγγουϲ, ἐπειδὴ μίαν τὴν ἐξ ἀμφοῖν

Re: [NTG-context] meaning of error message?

2015-11-28 Thread Wolfgang Schuster
ρὸϲ ἀλλήλουϲ}».} % \Lmt{M160.1}φθόγγουϲ, ἐπειδὴ μίαν τὴν ἐξ ἀμφοῖν ποιοῦνται κρᾶϲιν τῆϲ φωνῆϲ, εἶναι \underbar{τῶν ἐν ἑνὶ ὀνόματι πρὸϲ ἀλλήλουϲ λεγομένων ἀριθμῶν},\note[04] ἤτοι πολλαπλαϲίουϲ ὄνταϲ ἢ ἐπι{-} % \footnotetext[04]{The {\emph variatio} «({ἐν}) {ἑνὶ ὀνόματι}» is very likely a scribal {

  1   2   3   >