Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using the gfsneohellenic for my paper (which is in English). I load it using:

\usepackage[LGR,T1]{fontenc}
\usepackage[default]{gfsneohellenic}

Everything works fine except for capital greek letters! In other words when I use $\Lambda$ instead of using the corresponding lambda in the neohellenic package LaTeX uses Lambda from computer modern!

This is really annoying since computer modern looks quite different from neohellenic and the inconsistency makes my paper look very ugly.

share|improve this question
    
This does not really seem to be a question. If you want to report a bug, I'd suggest e-mailing the package maintainer directly. You might also want to post to the usenet group 'comp.text.tex' (accessible via Google Groups), as a lot of package bugs get reported there. I'm suggesting this 'question' is closed. –  Joseph Wright Aug 15 '10 at 9:26
    
@Joseph Wright: I think it's just the way he's phrased it. @Hesam: You might want to rephrase this, something like "How do I get a proper mathematical \Lambda when using gfsneohellenic" –  Brent.Longborough Aug 15 '10 at 10:22
    
@Brent: Thank you I changed the question accordingly. @Joseph: As Brent said I did not phrase it correctly. It is not a bug since nothing really goes wrong I just want to tweak the output. –  Hesam Aug 15 '10 at 11:40
    
Please ignore my 'close' vote: the rephrased question is fine. (See discussion on 'meta' about inability to reverse closing votes!) –  Joseph Wright Aug 15 '10 at 20:24
add comment

2 Answers 2

up vote 5 down vote accepted

You could redefine \Lambda to use gfsneohellenic:

\documentclass{article}
\usepackage[default]{gfsneohellenic}
\usepackage[greek,english]{babel}
\usepackage{amsmath}
\let\CMLambda\Lambda
\newcommand*{\gfs}[2]{\renewcommand*{#1}{\mathalpha{\text{%
  \selectlanguage{greek}\textneohellenic{#2}}}}}
\gfs{\Lambda}{L}
\begin{document}
\begin{tabular}{ll}
  Neohellenic text: & {\selectlanguage{greek}\textneohellenic{L}} \\
  Neohellenic math: & $\Lambda$ \\
  Computer Modern:  & $\CMLambda$
\end{tabular}
\end{document}

I saved the original Computer Modern \Lambda in \CMLambda. This way it's still accessible for comparing. Here's the output:

alt text

For convenience, here's the an example font table of gfshellenic:

alt text

I created it using this code:

\documentclass{article}
\usepackage{fonttable}
\begin{document}
\fonttable{gneohellenicrg6r}
\end{document}

Replace gneohellenicrg6r by cmr9 to see a Roman table. This might help you to get the correspondence that you asked for in your comments.

share|improve this answer
    
Is there anyway of doing this for all capital greek letters at the same time? PS: It does not work, t turns my English text into greek. I want the capital greek letters in the math mode be neohellenic. I am happy with my English text! –  Hesam Aug 15 '10 at 12:30
    
I've modified the example. The macro \gfs should make it easy: just write \gfs{\Delta}{D} etc. The text has been greek before because it was just a demo example without switching between English and Greek. –  Stefan Kottwitz Aug 15 '10 at 12:47
    
Now the question is 'why isn't this done by the package itself?'! –  Joseph Wright Aug 15 '10 at 12:55
    
@Stefan that does work in fact I just should find a place to get all the correspondence between the Greek alphabet and English alphabet (I guessed X --> \Xi but the other ones I don't know). @Joseph yes you would think that should be done by the package itself but it does not which is why I initially termed it a 'bug'. –  Hesam Aug 15 '10 at 13:11
    
@Hesam have a look here: kfish.org/tech/latex/greek-alphabet.html –  Stefan Kottwitz Aug 15 '10 at 13:37
show 4 more comments

According to the package documentation you should load cmbright as well as gfsneohellenic. Did you try something like

\documentclass{article}
\usepackage{cmbright}
\usepackage[default]{gfsneohellenic}
\begin{document}
\[ \Lambda = \lambda \]
\end{document}
share|improve this answer
    
Yes I did. After that LaTeX will use $\Lambda$ from cmbright rather than computer modern. The neohellenic package has a very nice looking capital lambda, I want LaTeX to use that one for math. –  Hesam Aug 15 '10 at 11:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.