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

[circuits lib] units are invisible with luatex #184

Closed
pgf-tikz-bot opened this issue Oct 22, 2011 · 3 comments
Closed

[circuits lib] units are invisible with luatex #184

pgf-tikz-bot opened this issue Oct 22, 2011 · 3 comments

Comments

@pgf-tikz-bot
Copy link

Migrated from SourceForge
Author: cjorssen
Timestamp: 2011-10-22 11:06:57

When compiling the manual with lualatex, the large introductory example (subsubsection First example) won't show the ohm symbol (\Omega) whereas the pdflatex version will.

The culprit seems to be in tikzlibrarycircuits.code.tex
\def\tikz@lib@circ@lab[#1]#2\pgf@stop#3#4{\tikzset{label={[every info/.try,every #4/.try,#1]$\mathrm{#2#3}$}}}
\def\tikz@lib@circ@lab@sloped[#1]#2\pgf@stop#3#4{\tikzset{label={[every info/.try,every #4/.try,transform shape,#1]$\mathrm{#2#3}$}}}
\def\tikz@lib@circ@labp[#1]#2\pgf@stop#3#4{\tikzset{label={[every info/.try,every #4/.try,#1]below:$\mathrm{#2#3}$}}}
\def\tikz@lib@circ@lab@slopedp[#1]#2\pgf@stop#3#4{\tikzset{label={[every info/.try,every #4/.try,transform shape,#1]below:$\mathrm{#2#3}$}}}

The #3 should be inside \mathrm{} *except* for \Omega. I don't know why and I don't have a quick fix idea.

BTW, there seem to be an other issue with units. The volt symbol doesn't show up in both lualatex and pdflatex version.

@pgf-tikz-bot
Copy link
Author

Migrated from SourceForge
Author: cjorssen
Timestamp: 2011-10-23 14:15:35

See a related post

http://tex.stackexchange.com/questions/32337/mathrm-and-omega-in-xelatex

@pgf-tikz-bot
Copy link
Author

Migrated from SourceForge
Author: tantau
Timestamp: 2013-07-18 15:59:24.272000

  • status: open --> closed
  • Group: --> v1.0 (example)

@pgf-tikz-bot
Copy link
Author

Migrated from SourceForge
Author: tantau
Timestamp: 2013-07-18 15:59:24.837000

The culprit is fontspec since it does not display $\mathrm{\Omega}$. I clearly consider this a bug of fontspec. I also do agree with the discussion on stackexchange that $\mathrm{\Omega}$ is somehow "wrong" (actually, I think such a claim is total nonsense...). Fontspec needs to be fixed here.

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

No branches or pull requests

2 participants