Skip to content

Add TikzTex MObject #2293

Open
Open
@christopher-besch

Description

@christopher-besch

As discussed here you need to add fill_opacity=0, stroke_width=3 to the Tex constructor for tikz to look like this:
image
and not like this:
image

This should be put in a new MObject.

Activity

added
new featureEnhancement specifically adding a new feature (feature request should be used for issues instead)
on Nov 13, 2021
icedcoffeeee

icedcoffeeee commented on Nov 13, 2021

@icedcoffeeee
Collaborator

Just to add, there was some discussion of implementing these as plugins rather than in the main library, which allows for further flexibility of the mobject. But I'm not for nor against anyhow.

Darylgolden

Darylgolden commented on Nov 13, 2021

@Darylgolden
Member

Isn't this sort of implementation just a quick fix? It doesn't really solve the underlying problem of Tikz not being rendered properly.

christopher-besch

christopher-besch commented on Nov 13, 2021

@christopher-besch
MemberAuthor

Isn't this sort of implementation just a quick fix? It doesn't really solve the underlying problem of Tikz not being rendered properly.

That is a very good point!
But we should at least add the workaround to the documentation while this hasn't been fixed.

added
documentationImprovements or additions to documentation
and removed
new featureEnhancement specifically adding a new feature (feature request should be used for issues instead)
on Jun 16, 2022
MrDiver

MrDiver commented on Jun 16, 2022

@MrDiver
Collaborator

Isn't this sort of implementation just a quick fix? It doesn't really solve the underlying problem of Tikz not being rendered properly.

That is a very good point! But we should at least add the workaround to the documentation while this hasn't been fixed.

Might be a good idea to add this to the documentation for newcomers

moved this to πŸ†• New in Dev Boardon Jun 18, 2022
LingrenKong

LingrenKong commented on Jul 12, 2022

@LingrenKong
Contributor

As discussed here you need to add fill_opacity=0, stroke_width=3 to the Tex constructor for tikz to look like this: image and not like this: image

This should be put in a new MObject.

It seems that the tex mobject will generate the svg of Tex in \media\Tex file. So I copy the temp file and use SVGMobject to load it. Might not be a good solution, but it works.

8 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    • Status

      πŸ†• New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Add ``TikzTex`` MObject Β· Issue #2293 Β· ManimCommunity/manim