## LaTeX forum ⇒ General ⇒ Upright Greek characters Topic is solved

General information and discussion about TeXnicCenter
thedrivingpete
Posts: 2
Joined: Wed Sep 07, 2016 1:45 pm

### Upright Greek characters

Hello everyone,

I am using Texniccenter 2.02 and use some greek letters in my text. Because they should not be italic like in math mode, I used for example $\upmu$.

But this is not set in the normal font the rest of the plain text is set in, but in the math font (I guess?). The font I use is libertine and that font has the greek letters, I just cant get Texniccenter to use them

I use:
\usepackage[latin1]{inputenc}\usepackage{libertine}\usepackage{libertinust1math}\usepackage[T1]{fontenc}

an I would like to write for example
\char"03BC
to use the unicode character for mu. Is that possible somehow?
Thank you for your time, help is very much apprechiated!
Last edited by cgnieder on Tue Sep 13, 2016 8:45 pm, edited 2 times in total.
Reason: code marked, title edited

Tags:

cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm
Welcome to the forum!

Your problem is not completely clear to me. However, here are a few examples of how to use upright Greek letters:

Single letters or short sentences in text:
\documentclass{article}\usepackage{textgreek}\begin{document} \textmu {\textgreekfont P'ater} \end{document}

Single upright letters in math:

\documentclass{article}\usepackage{upgreek}\begin{document} $\upmu$ \end{document}

Longer passages in text:

\documentclass{article}\usepackage[polutonikogreek,english]{babel}\begin{document} \foreignlanguage{polutonikogreek}{P'ater} \end{document}

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

thedrivingpete
Posts: 2
Joined: Wed Sep 07, 2016 1:45 pm
Hi Clemens,

thank you for this hint! I did not know about the \textgreek package and using that solved my problems.

Greeting from Freiburg,
Peter

cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm
thedrivingpete wrote:Greeting from Freiburg

You also might be interested in TeXwelt and in the context of this thread in this particular question and its answers: Wie schreibe ich griechische Buchstaben aufrecht?

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim