Theses, Books, Title pagesHow do I add special characters?

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

How do I add special characters?

Post by templateuser »

Hello, in the flowing text I want to bring in special characters like \delta and \gamma. Unfortunately, the following error message appears:

Code: Select all

! Missing $ inserted.

<inserted text>

$
...
?
Do you have any solution for this?

ajburk

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: How do I add special characters?

Post by templateuser »

By the way: \mu is working...

ajburk
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: How do I add special characters?

Post by Vel »

Hi,

You need to put those commands in the math environment by surrounding them with dollar signs like: $\gamma$. I just tried them and $\delta$, $\gamma$ and $\mu$ work just fine.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: How do I add special characters?

Post by templateuser »

Thanks a lot, Vel - that solved the problem!

ajburk
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: How do I add special characters?

Post by Vel »

No problem, good luck with your thesis!
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

How do I add special characters?

Post by cgnieder »

templateuser wrote:Unfortunately, the following error message appears:

Code: Select all

! Missing $ inserted.

<inserted text>

$
...
?
For future problems: the error message actually tells you what's wrong. That is, if you take a look at the log file and read the complete error message:

Code: Select all

! Missing $ inserted.
<inserted text> 
                $
l.5 \alpha
          
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
It tells you that you've tried to typeset something in text-mode that only works in math-mode. Greek variables or _ and often are candidates for this…

Regards
site moderator & package author
Post Reply