Hi there!
The following document contains SVG. Save the SVG as "problem.svg" and
run the document through LMTX version 2023.05.08 17:39:
% SOF
\startbuffer[csvg]
\stopbuffer
\starttext
% honours viewbox
\placefigure[none]{}{\includesvgbuffer[csvg]}
\page
% dishonours viewbox
\e
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: https://wiki.cont
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 mor
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:
\define[1]\i
\def\relationsFontSize{8pt}\starttextHello World!\crlf\switchtobodyfont[\relationsFontSize]Hello, world!\stoptext
Untitled.pdf
Description: Adobe PDF document
dr. Hans van der MeerOn 19 May 2023, at 11:43, Gerben Wierda via ntg-context wrote:I want to use a variable for a font size so I can set i
Gerben Wierda via ntg-context schrieb am 19.05.2023 um 11:43:
I want to use a variable for a font size so I can set it based on
language (as some translated texts have widely different sizes)
This fails:
%===
\newdimen\relationsFontSize
\relationsFontSize=8pt
\starttext
I want to use a variable for a font size so I can set it based on language (as
some translated texts have widely different sizes)
This fails:
%===
\newdimen\relationsFontSize
\relationsFontSize=8pt
\starttext
\switchtobodyfont[\relationsFontSize]
Hello, world!
\stoptext
%