Dear list,
I’m facing some strange spacing with inline maths. Sometimes the space is ok
(like around the first two fractions), but sometimes it is way too little. Do I
miss to configure something?
Thanks in advance,
A. Christe
Hi,
I was using \setupalign[verytolerant,stretch] so that the mono font does
not go inside the right inline image but after using that command the
inline math seems to spread.
Here is a Minimal Working Example:
ConTeXt ver: 2023.09.26 18:19 LMTX
\setupbodyfont[10pt, mono]
This is how it
On Fri, 19 May 2023, Jeroen via ntg-context wrote:
> Many thanks. Is there a proper way to add some space (a couple of pt or em)
> to the left and the right of the text itself so the frame does not get so
> close to the text?
\framed[loffset=0.2ex, roffset=0.2ex]{...}
Also see:
Many thanks. Is there a proper way to add some space (a couple of pt or em)
to the left and the right of the text itself so the frame does not get so
close to the text?
Op vr 19 mei 2023 om 14:10 schreef Wolfgang Schuster via ntg-context <
ntg-context@ntg.nl>:
> Jeroen via ntg-context schrieb am
Jeroen via ntg-context schrieb am 19.05.2023 um 14:22:
In order to get some inline framed verbatim text, I have in the past
always used the following:
\starttext
This is an
\inframed
[frame=on,
corner=00,
radius=2mm,offset=-1.5pt]
{\ttx \bf example}
\stoptext
Since this has come-up
In order to get some inline framed verbatim text, I have in the past always
used the following:
\starttext
This is an
\inframed
[frame=on,
corner=00,
radius=2mm,offset=-1.5pt]
{\ttx \bf example}
\stoptext
Since this has come-up more and more often, I created the following:
On 1/25/2021 1:58 PM, Johann Birnick wrote:
Recently inline fractions stopped working correctly.
For example symbol spacing, sub-/superscripts, the line is too short,...
You can see the 3 named problems and how they sometimes appear and sometimes not
in this two fractions:
\starttext
Recently inline fractions stopped working correctly.
For example symbol spacing, sub-/superscripts, the line is too short,...
You can see the 3 named problems and how they sometimes appear and sometimes not
in this two fractions:
\starttext
$\frac{\sin(x)}{16 \pi \epsilon_0 c^2 m_e^2}
The following mwe
\definefontfeature[fraction][frac=yes]
\definehighlight[textfraction][style={\feature[+][fraction]}]
\starttext
a fraction \m{\frac{1}{n}}, \textfraction{1/n}, \vulgarfraction{1}{n} in
the text
\stoptext
works for all but \textfraction in the latest beta (luatex, luametatex).
Since it's purely a font issue I did some research on fonts. I found out that \enablemode[lmmath] does the trick (https://www.contextgarden.net/Math_fonts is useful resource). Oh well, everything is fine again and I can keep contexing stuff :) Thank you!
-Eric
On 16/05/19 7:46 AM, Eric Scmidt wrote:
> Thank for your efforts to help me. This time I used the exact code snippet
> you
> wrote, but the results for inline math is still not what I would like to have
> since I do see a clear difference in the limits placement. Please see this
> image
>
Thank for your efforts to help me. This time I used the exact code snippet you wrote, but the results for inline math is still not what I would like to have since I do see a clear difference in the limits placement. Please see this image where I have tried to make more clear what I really want to
To me the following two MWEs look pretty much the same:
\setupbodyfont[10pt] % same font size as LaTeX
\starttext
$\sum_{k=1}^{n} a_k$
\startformula
\sum\nolimits_{k=1}^{n} a_k
\stopformula
\stoptext
\documentclass{article}
\begin{document}
$\sum_{k=1}^{n} a_k$
\[
\sum\nolimits_{k=1}^{n} a_k
\]
Hello everyone!
So, I have some inline math in my document,and it's looking too big or "airy"; a bit like when \nolimits is specified in display mode but smaller. The limits are placed next to the symbol when using for example pdflatex, and I prefer this tight way for inline math. Is the
On Tue, 15 Jan 2019, Taco Hoekwater wrote:
On 15 Jan 2019, at 15:08, Mohammad Hossein Bateni wrote:
I guess it works fine for me on beta 2019.01.07 16:10.
Thanks for testing. Sorry, I should have checked myself.
On 15 Jan 2019, at 15:22, Hans Hagen wrote:
works her ebut better is
On Tue, 15 Jan 2019, Taco Hoekwater wrote:
Hi,
Quick explanation: I am trying to implement the concept of the HTML tag,
which is supposed to be like a font switch, but doing underlining. I have a
bunch of french clients, and this is a requirement I cannot get around. French
officials _love_
> On 15 Jan 2019, at 15:08, Mohammad Hossein Bateni wrote:
>
> I guess it works fine for me on beta 2019.01.07 16:10.
Thanks for testing. Sorry, I should have checked myself.
> On 15 Jan 2019, at 15:22, Hans Hagen wrote:
> works her ebut better is probably:
>
> \definebar[tacobar]
On 1/15/2019 2:36 PM, Taco Hoekwater wrote:
Hi,
Quick explanation: I am trying to implement the concept of the HTML tag,
which is supposed to be like a font switch, but doing underlining. I have a
bunch of french clients, and this is a requirement I cannot get around. French
officials _love_
I guess it works fine for me on beta 2019.01.07 16:10.
On Tue, Jan 15, 2019 at 8:37 AM Taco Hoekwater wrote:
> Hi,
>
> Quick explanation: I am trying to implement the concept of the HTML
> tag,
> which is supposed to be like a font switch, but doing underlining. I have
> a
> bunch of french
Hi,
Quick explanation: I am trying to implement the concept of the HTML tag,
which is supposed to be like a font switch, but doing underlining. I have a
bunch of french clients, and this is a requirement I cannot get around. French
officials _love_ underlining and uppercasing :(
Because of its
Hans,
many thanks for having added \xmlprettyprinttext to ConTeXt.
I have now another problem with inline code:
\definetype[TeX][option=TEX, lines=hyphenated]
\starttext
\startTEXpage[offset=1em]
This is inline code: \TeX{\command[option=value]{final text}}
\startXML
Inline code:
The following was in answer to 3/11/2017 4:52 PM, Pavneet Arora:
On 13 Mar 2017, at 00:27, Hans Hagen >
wrote:
\starttext
\start
\definefont[whatever][Sans at 50pt]
\dontleavehmode\inframed
[foregroundstyle=whatever,
On 3/11/2017 4:52 PM, Pavneet Arora wrote:
Really simple problem that has had me bashing my head for a while, so I
thought that I would reach out and ask for help:
I need to create large type title/sub-title combinations in-line. I
need the sub-titles to be stacked so that they share the same
Really simple problem that has had me bashing my head for a while, so I
thought that I would reach out and ask for help:
I need to create large type title/sub-title combinations in-line. I
need the sub-titles to be stacked so that they share the same baseline
as the title. Unfortunately, I
Hi Massi,
Could you possibly provide a small pdf sample that illustrates exactly
what you are looking for? Thanks and
Best wishes
Idris
Thanks for your reply, Idris. Here's an example:
*** traditional (stacked) footnotes ***
***
1. This is the text
Am 30.01.2015 um 22:44 schrieb mf mass...@fastwebnet.it:
Hi Massi,
Could you possibly provide a small pdf sample that illustrates exactly
what you are looking for? Thanks and
Best wishes
Idris
Thanks for your reply, Idris. Here's an example:
*** traditional (stacked) footnotes
@ntg.nl
Reply To: mass...@fastwebnet.it
Subject: [NTG-context] inline footnotes
Hello,
I'd like to know how to get inline footnotes with ConTeXt.
There are some packages in LaTeX (option para in footmisc, manyfoot, bigfoot)
providing that feature.
How can I do that in ConTeXt?
Thanks,
Massi
Hello,
I'd like to know how to get inline footnotes with ConTeXt.
There are some packages in LaTeX (option para in footmisc, manyfoot, bigfoot)
providing that feature.
How can I do that in ConTeXt?
Thanks,
Massi
___
On 9/19/2013 1:27 AM, Marco Patzer wrote:
Hi,
The following example results in the error “You can't assign a
glue_spec node to a prev field”
\starttext
\startcombination [2*1]
{\starttable [|c|]
\NC \math{1} \VL\NR\HL
\stoptable}{}
{\starttable [|c|]
\NC \math{2}
Hi,
The following example results in the error “You can't assign a
glue_spec node to a prev field”
\starttext
\startcombination [2*1]
{\starttable [|c|]
\NC \math{1} \VL\NR\HL
\stoptable}{}
{\starttable [|c|]
\NC \math{2} \VL\NR
\stoptable}{}
\stopcombination
On 6-1-2012 00:25, Wolfgang Schuster wrote:
Am 06.01.2012 um 00:06 schrieb Wagner Macedo:
As I know, yes, this is the intended behavior. You should be thinking in a
WYSIWYG way, but TeX, as most languages (except Python, that I know) works
apart you write every code in one line or write
On Fri, Jan 6, 2012 at 00:25, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
No, this is a bug because with the “text” keyword you can create a inline
item which doesn’t start a new paragraph.
Wolfgang
Thanks for the confirmation. I hope it will be fixed soon.
Vianney
Hello,
If I type
Blabla. \startitemize[a,text] \item one \item two \stopitemize Blabla.
I get a linebreak before and after the itemize. Is this the intended
behaviour? How can I get a fully inline enumeration?
Thanks,
Vianney
As I know, yes, this is the intended behavior. You should be thinking in a
WYSIWYG way, but TeX, as most languages (except Python, that I know) works
apart you write every code in one line or write pretty indented.
I hope you understood.
--
Wagner Macedo
2012/1/5 Vianney le Clément
Am 06.01.2012 um 00:06 schrieb Wagner Macedo:
As I know, yes, this is the intended behavior. You should be thinking in a
WYSIWYG way, but TeX, as most languages (except Python, that I know) works
apart you write every code in one line or write pretty indented.
No, this is a bug because
Ah... sorry. I read the manual but I didn't remember this feature.
--
Wagner Macedo
On 5 January 2012 20:25, Wolfgang Schuster schuster.wolfg...@googlemail.com
wrote:
No, this is a bug because with the “text” keyword you can create a inline
item which doesn’t start a new paragraph.
Is there a ConTeXt version of the LaTeX \verb command, for inline typsetting
of code fragments?
Thanks,
Alasdair
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
On Thu, 28 Apr 2011, Alasdair McAndrew wrote:
Is there a ConTeXt version of the LaTeX \verb command, for inline typsetting
of code fragments?
\type{...} or \type|...| (or any other character, just like \verb)
Aditya
Thanks very much!
-Alasdair
On Thu, Apr 28, 2011 at 1:53 PM, Aditya Mahajan adit...@umich.edu wrote:
On Thu, 28 Apr 2011, Alasdair McAndrew wrote:
Is there a ConTeXt version of the LaTeX \verb command, for inline
typsetting
of code fragments?
\type{...} or \type|...| (or any other
Hi,
is there an easy way to adapt ConTeXt's enumerations not to start
another paragraph? Something like (a) this (b) is (c) a short
enumeration.
In fact, I'd like to be able to something even more tricky: I would like
to be able to prepare a teacher's version and a student's version of
a
Am 09.10.2010 um 11:52 schrieb Marcin Borkowski:
Hi,
is there an easy way to adapt ConTeXt's enumerations not to start
another paragraph? Something like (a) this (b) is (c) a short
enumeration.
\starttext
text
\startitemize[n,text][textdistance=medium,stopper=]%
\item one
\item two
Dnia Sat, Oct 09, 2010 at 04:51:17PM +0200, Wolfgang Schuster napisa#322;(a):
Am 09.10.2010 um 11:52 schrieb Marcin Borkowski:
Hi,
is there an easy way to adapt ConTeXt's enumerations not to start
another paragraph? Something like (a) this (b) is (c) a short
enumeration.
On Sun, 10 Oct 2010, Marcin Borkowski wrote:
Dnia Sat, Oct 09, 2010 at 04:51:17PM +0200, Wolfgang Schuster napisa#322;(a):
Am 09.10.2010 um 11:52 schrieb Marcin Borkowski:
Hi,
is there an easy way to adapt ConTeXt's enumerations not to start
another paragraph? Something like (a) this (b)
Andreas Harder wrote:
Hello Hans!
If referencing to the same line, the line will be displayed twice. I
tried Wolfgangs
patch: http://archive.contextgarden.net/message/20091018.091419.18877aa9..en.html
http://archive.contextgarden.net/message/20091018.091419.18877aa9.en.html but
it did not
Hi,
I have a small metapost graphic I like to use inline. But the arragement
behaves a little bit unpractically. As soon there is no character in front
of the graphic context will break the line after the graphic - but as soon
there is a character in front of the graphic, context does not
2007/11/29, luigi scarso [EMAIL PROTECTED]:
write \dontleavehmode\hbox{...}, this is normal TeX bahaviour and has
nothing
special to do with ConTeXt.
also
\hskip1sp\hbox{...}
the invisible touch effect :))
\hskip\zeropoint\hbox{} ;-)
Wolfgang
write \dontleavehmode\hbox{...}, this is normal TeX bahaviour and has nothing
special to do with ConTeXt.
also
\hskip1sp\hbox{...}
the invisible touch effect :))
--
luigi
...
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
\dontleavehmode
is
\dontleavehmode=\quitvmode.
and \quitvmode is a primitive
stricly speacking we don't see a space, but a command that switch to a
mode to another.
And it's also sound good: you have put a command to change status.
\hskip\zeropoint\hbox{} ;-)
here we see a space of 0pt.
Can be a
2007/8/16, Wolfgang Schuster [EMAIL PROTECTED]:
sparklines?
Thank you, that's what I meant.
I had in mind there was some TeX solution? But never mind, I need them
in an InDesign layout anyway.
there was a pgf solution on Tuftes page:
sparklines?
http://en.wikipedia.org/wiki/Sparkline
Thank you, that's what I meant.
I had in mind there was some TeX solution? But never mind, I need them
in an InDesign layout anyway.
Greetlings from Lake Constance!
Hraban
2007/8/16, Henning Hraban Ramm [EMAIL PROTECTED]:
sparklines?
http://en.wikipedia.org/wiki/Sparkline
Thank you, that's what I meant.
I had in mind there was some TeX solution? But never mind, I need them
in an InDesign layout anyway.
Greetlings from Lake Constance!
Hraban
Hi Hraban,
On 8/16/07, Adam Lindsay [EMAIL PROTECTED] wrote:
sparklines?
http://en.wikipedia.org/wiki/Sparkline
Welcome back ?
--
luigi
If your question is of interest to others as well, please add an entry
to the Wiki!
maillist :
Hi there!
A long time ago there was a discussion about some kind of tiny block
charts that run within the text. Now I would need such for the
summary of a poll.
But I can't remember the name, and thus I can't find the thread and
website.
Can you help me?
Greetlings from Lake Constance!
sparklines?
http://en.wikipedia.org/wiki/Sparkline
Henning Hraban Ramm wrote:
Hi there!
A long time ago there was a discussion about some kind of tiny block
charts that run within the text. Now I would need such for the
summary of a poll.
But I can't remember the name, and thus I can't
It still doesn't work here. There have been complaints about arguments
not numeric on line 1889, but changing == to eq had no influence on the
final result. Still need an additional run.
As you said, the problem does not occur when you use runtime MP
processing, and would have gone unnoticed if
On Mon, 25 Jul 2005 at 23:56:53+0200, Hans Hagen wrote:
how do you define the graphic?
\startreusableMPgraphic{kreis}
fill fullcircle scaled 1cm withcolor red;
\stopreusableMPgraphic
\starttext
\reuseMPgraphic{kreis}
\stoptext
When I remove 'withcolor red', nothing changes
Hi all,
when I change inline MP graphics, these are not recreated during the
subsequent texexec run. I need to call texexec once again to have them
refreshed.
I have just installed a new box, but I think I have thought of the usual
stuff in texmf.cnf and cont-sys.tex, and I am a little clueless
On Mon, 25 Jul 2005 at 17:21:56+0200, Hans Hagen wrote:
when I change inline MP graphics, these are not recreated during the
subsequent texexec run. I need to call texexec once again to have them
refreshed.
I have just installed a new box, but I think I have thought of the usual
stuff in
Eckhart Guthöhrlein wrote:
On Mon, 25 Jul 2005 at 17:21:56+0200, Hans Hagen wrote:
when I change inline MP graphics, these are not recreated during the
subsequent texexec run. I need to call texexec once again to have them
refreshed.
I have just installed a new box, but I think I have
59 matches
Mail list logo