There is something wrong with this paragraph.

Dear List, There is a problem with this paragraph, because the has not the right height? \starttext \switchtobodyfont[termes, 7.70pt] \definetextbackground[MyBackground][ location=paragraph, background=color, backgroundcolor=greenyellow, x=F1E788, leftoffset=.8\bodyfontsize, rightoffset=.8\bodyfontsize, topoffset=.8\bodyfontsize, bottomoffset=.8\bodyfontsize, frame=off, width=.8\textwidth] \startMyBackground \usemodule[amsl] \startnarrow[left=2.90mm, right=2.90mm][left, right] {\bf Lebesque-integrierbare Funktionen}\par \definehspace[ein 1,2][0.25em] Wenn ($ a$,$ b$) $\subseteq$ $\reals$ ein Intervall bezeichnet, dann ist die Menge $L$$^\uparrow$(($a$,$b$)) die Menge der Funktionen, die fast über- all Grenzwert einer monoton wachsenden Folge von Trep penfunktionen ($\varphi_k$) sind für die die Folge ($\int^b_a$ $\varphi_k$ ($x$) $dx$) konvergiert. Für $f$ $\in$ \startformula \quad \int[method=auto] {f(x) \dd x}_{a}^{b}=\lim_{k\to\infty}\int[method=auto]_{a}^{b}\varphi_k (x) dx). \stopformula \stopMyBackground \stoptext Many Thanks Uschi

Am 08.04.2025 um 16:55 schrieb Ursula Hermann:
Dear List,
There is a problem with this paragraph, because the has not the right height?
What has the wrong height?
\starttext
\switchtobodyfont[termes, 7.70pt]
\definetextbackground[MyBackground][ location=paragraph, background=color, backgroundcolor=greenyellow, x=F1E788,
1. The color setting doesn't work because greenyellow isn't defined by default. 2. The setting x=F1E788 isn't recognized by \definetextbackground.
leftoffset=.8\bodyfontsize, rightoffset=.8\bodyfontsize, topoffset=.8\bodyfontsize, bottomoffset=.8\bodyfontsize, frame=off, width=.8\textwidth]
\startMyBackground
\usemodule[amsl]
1. The module shouldn't be necessary because ConTeXt provides the functionality of the module out of the box. 2. The module isn't part of ConTeXt itself and unless you installed it yourself, nothing is loaded.
\startnarrow[left=2.90mm, right=2.90mm][left, right] {\bf Lebesque-integrierbare Funktionen}\par \definehspace[ein 1,2][0.25em] Wenn ($ a$,$ b$) $\subseteq$ $\reals$ ein Intervall bezeichnet, dann ist die Menge $L$$^\uparrow$(($a$,$b$)) die Menge der Funktionen, die fast über- all Grenzwert einer monoton wachsenden Folge von Trep penfunktionen ($\varphi_k$) sind für die die Folge ($\int^b_a$ $ \varphi_k$ ($x$) $dx$) konvergiert. Für $f$ $\in$ \startformula \quad \int[method=auto] {f(x) \dd x}_{a}^{b} =\lim_{k\to\infty}\int[method=auto]_{a}^{b}\varphi_k (x) dx). \stopformula \stopMyBackground
\stoptext
You're missing \stopnarrow before \stopMyBackground. Wolfgang

On Tue, 8 Apr 2025, Ursula Hermann wrote:
Dear List, There is a problem with this paragraph, because the has not the right height?
\starttext \switchtobodyfont[termes, 7.70pt] \definetextbackground[MyBackground][ location=paragraph, background=color, backgroundcolor=greenyellow, x=F1E788, leftoffset=.8\bodyfontsize, rightoffset=.8\bodyfontsize, topoffset=.8\bodyfontsize, bottomoffset=.8\bodyfontsize, frame=off, width=.8\textwidth] \startMyBackground \usemodule[amsl] \startnarrow[left=2.90mm, right=2.90mm][left, right] {\bf Lebesque-integrierbare Funktionen}\par \definehspace[ein 1,2][0.25em] Wenn ($ a$,$ b$) $\subseteq$ $\reals$ ein Intervall bezeichnet, dann ist die Menge $L$$^\uparrow$(($a$,$b$)) die Menge der Funktionen, die fast über- all Grenzwert einer monoton wachsenden Folge von Trep penfunktionen ($\varphi_k$) sind für die die Folge ($\int^b_a$ $\varphi_k$ ($x$) $dx$) konvergiert. Für $f$ $\in$ \startformula \quad \int[method=auto] {f(x) \dd x}_{a}^{b}=\lim_{k\to\infty}\int[method=auto]_{a}^{b}\varphi_k (x) dx). \stopformula \stopMyBackground \stoptext
Wolfgang has already answered your main question but I would like to point out that the way you are writing math will give wrong horizontal spacing. The standard method is to use $ to start math mode and then $ again to stop math mode: so one would write Wenn $(a,b) \subseteq \reals$ ein .... Menge $L^{\uparrow}((a,b))$ .... Folge ($\int^b_a \varphi_k(x) \dd x$) .... etc. Aditya
participants (3)
-
Aditya Mahajan
-
Ursula Hermann
-
Wolfgang Schuster