In the documentation I read that I can draw Greek letters in chemfig like this.
Code: Select all
\scriptstyle\color{red}\delta+)
\chemfig
, inside I get "ffi +" instead of the Greek letter delta. Why?Thanks
Code: Select all
\scriptstyle\color{red}\delta+)
\chemfig
, inside I get "ffi +" instead of the Greek letter delta. Why?Code: Select all
\documentclass{article}\usepackage{chemfig}\begin{document}\chemfig{\delta} % this would be enough\chemfig{\scriptstyle\color{red}\delta+}\end{document}
Code: Select all
\documentclass{article}\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\usepackage[french]{babel}\usepackage{chemfig}\usepackage{mathpazo}\begin{document}\chemfig{\delta} % this would be enough\chemfig{\scriptstyle\color{red}\delta+}\end{document}
Code: Select all
\documentclass{article}\usepackage{tgpagella}%\usepackage{mathpazo}\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}\usepackage[french]{babel}\usepackage{chemfig}\begin{document}\chemfig{\delta} % this would be enough\chemfig{\scriptstyle\color{red}\delta+}\end{document}
Sure it works, but not with chemfig ! , here :Johannes_B wrote:mathpazo actually loads URW palladio (as far as I know, it does not include a greek text font), an extended version of this font is TeX Gyre Pagella.
Code: Select all
\documentclass{article}\usepackage{mathpazo}\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\usepackage[french]{babel}\usepackage{chemfig}\begin{document}\chemfig{\delta} % this would be enough\chemfig{\scriptstyle\color{red}\delta+}$$\stackrel{\delta^+}{H}-\stackrel{\delta^-}{Cl}$$\end{document}
Je vais parler français puisque je parle à une française, tant pis pour les modos (Clemens, à l'affut de questions sur chemfig notamment) qui vont peut être pas trop apprécier cette démarche sur ce forum anglophone.huberte wrote:It's OK outside\chemfig
, inside I get "ffi +" instead of the Greek letter delta. Why?
\mathrm
pour tout ce qui est affiché et que la fonte correpondante ne dispose pas de ce glyphe. Essaie $\mathrm{\delta}$
pour te rendre compte du problème.Code: Select all
\documentclass{article}\usepackage{mathpazo}\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\usepackage[french]{babel}\let\deltasaved\delta\def\delta{\mathnormal\deltasaved}\usepackage{chemfig}\begin{document}\chemfig{\delta}\qquad\chemfig{\chemabove{H}{\scriptstyle\delta+}-\chemabove{Cl}{\scriptstyle\delta{-}}}\end{document}
I'm not looking especially for chemfig questions... I only happen to hang around on TeX forums a lot and don't seem to have another private lifeunbonpetit wrote:Je vais parler français puisque je parle à une française, tant pis pour les modos (Clemens, à l'affut de questions sur chemfig notamment) qui vont peut être pas trop apprécier cette démarche sur ce forum anglophone.
I'll translate, I quite a newbie and don't want to have words with some modocgnieder wrote:
The problem I have with non-English questions and answers here....
Ha, ok, butunbonpetit wrote:It does not work here because chemfig use \mathrm for all that is displayed and selected font does not have this glyph. Try $\mathrm{\delta}$ to make you aware of the problem.huberte wrote:It's OK outside\chemfig
, inside I get "ffi +" instead of the Greek letter delta. Why?
Code: Select all
\documentclass{article}%\usepackage{mathpazo}\usepackage{tgpagella}\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\usepackage[french]{babel}\usepackage{chemfig}\begin{document}$\mathrm{\delta}$\chemfig{\delta} % this would be enough\chemfig{\scriptstyle\color{red}\delta+}$$\stackrel{\delta^+}{H}-\stackrel{\delta^-}{Cl}$$\end{document}
Ok, it works ! Merciunbonpetit wrote: There are many ways to get a workaround, here's one that redefines \delta to always be displayed in normal font (it's a bit messy but never mind).
Have you lost your mind ?unbonpetit wrote: Final note, you can directly ask the author of chemfig (ie me) per email rather than with forum.
Thankshuberte wrote:I'll translate
Don't worry -- we're all nice people herehuberte wrote:I quite a newbie and don't want to have words with some modo
[...]
even with my bad english