Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latex Output #9

Open
Arash1381-y opened this issue Oct 21, 2023 · 1 comment
Open

Latex Output #9

Arash1381-y opened this issue Oct 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Arash1381-y
Copy link
Owner

The latex output do not work properly. probably need some changes on nodes radius and font size.

@Arash1381-y Arash1381-y added the bug Something isn't working label Oct 21, 2023
@Arash1381-y
Copy link
Owner Author

I checked some codes.

The first problem is the default value of strokestyle which must be set in Latex instantiation. Other adjustments must be
done by using this syntax

\node (test) [circle, draw] {this node \\ has \\ four \\lines};

instead of

\draw [black] (41.6,-36.5) circle (4.5);
\draw (41.6,-36.5) node {$this node can't have multi line$};

This replacement can fix the issue of multiline notes on node. other setup like center alignment can easily be employed in begin setup of tikzpicture. example:

\begin{tikzpicture}[every text node part/.style={align=center}]
...

Also the fontsize must be variable which must be done via scaling and other props.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant