Uwe Zimmermann
Uwe Zimmermann
``` class roundround(Scene): def construct(self): svg = SVGMobject(r"bilder\outlineround.svg").set_stroke(color=WHITE,width=10).scale_to_fit_height(7) for obj in svg: obj.joint_type=LineJointType.ROUND self.add(svg) ```
I would guess the problem is not so much for Manim to be able to accept *typst*-formatted input, since it is only a string. But is there any similar interface...
> @uwezi The linked source code https://github.com/typst/typst has some installation instructions and terminal compilation to pdf. As I pointed out at the end I finally figured it out. And the...
I don't think that python bindings would be necessary. Running the command line tool on a temporary file just like in the LaTeX case should work perfectly fine. Typst then...
> native support for png output and svg output well, I didn't know that - it would make the whole process even simpler and not much of an implementation would...
Conversion using a xetex-generated .pdf instead of .xdv works: ```py class MyScene3(Scene): def construct(self): template = TexTemplateLibrary.ctex template.output_format=".pdf" tex = Tex(r'Hello 你好 \LaTeX', tex_template=template).scale_to_fit_width(12) self.add(tex) self.wait() ``` 
Manim always creates new 2D objects by default in the xy-plane. And a `Transform` does not move an object around. Only `eq1` in the example is fixed in the frame...
Moving the objects into the camera frame works, but using `.add_fixed_in_frame_objects()` does not... ```python class Test(ThreeDScene): def construct(self): axes = ThreeDAxes() eq1 = MathTex(r'x') eq1.to_corner(UL) eq2 = MathTex(r'x^2') eq2.move_to(eq1.get_corner(DL), aligned_edge=DL).shift(DOWN)...
I don't think you want to mess around with the pixel matrix itself. The Manim renderer should correctly find the pixels in the image matrix and calculate its position on...
ok, some more corrections in templates.py ` class ChemTemplate(TexTemplate): def __init__(self,**kwargs): super().__init__(**kwargs) self.add_to_preamble("\\usepackage{chemfig}") def set_chemfig( self, atom_sep: str = "2em", ## all of these are the defaults in chemfig chemfig_style:str="",...