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

How do i change midarrow to rightarrow #111

Open
JackEnzo opened this issue May 9, 2021 · 1 comment
Open

How do i change midarrow to rightarrow #111

JackEnzo opened this issue May 9, 2021 · 1 comment

Comments

@JackEnzo
Copy link

JackEnzo commented May 9, 2021

Hello dear Mr. Haris Iqbal ,i want change '\midarrow' to '\rightarrow' as follows,but look it doesn't work.

def to_connection( of, to):
return r"""
\draw [connection] ("""+of+"""-east) -- node {\rightarrow} ("""+to+"""-west);
"""

@LauraChow
Copy link

def to_connection( of, to):
return r"""
\draw [connection] ("""+of+"""-east) -- ("""+to+"""-west) node {\midarrow};
"""
It worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants