On 8/13/2023 6:12 PM, Thomas A. Schmitz wrote:
Hi,
in more recent versions of lmtx, the side-by-side mechanism appears to
be broken; example below. The right-hand paragraph does not respect the
margin and backspace setting. The output looks fine in mkiv and with
older versions of lmtx (the
Patrick et al,
I got around my last problem by defining a new typing environment, so the
idea below is almost working the way I want. I have:
\startbuffer
x=linspace(-2,4);
y=x.^2-2*x-3;
plot(x,y)
xlabel('x')
ylabel('y')
title('y = x^2 -2x -3')
grid on
\stopbuffer
\placesidebyside{%
Hello David,
this is far from perfect, but perhaps worth a tryout:
--
\setupcolors[state=start]
\setuptyping
[before={\startframedtext[width=\localhsize,background=screen,
backgroundscreen=0.8]},
after={\stopframedtext},
color=darkred]