Text Formatting ⇒ Umlauts and accents with LaTeX, such as Gömböc
Umlauts and accents with LaTeX, such as Gömböc
Ive got an essay to do on Gömböc but i cant seem to get the word Gömböc to appear in this way on Latex,ive tried copying and pasting this word into Latex but all that seems to happen is that it appears like Gomboc without the accents,do i need to install any packages to get these symbols to be inserted
NEW: TikZ book now 40% off at Amazon.com for a short time.

Umlauts and accents with LaTeX, such as Gömböc
Of course, use the right input encoding (see the inputenc package) to be able to directly input umlauts. Another option:
Code: Select all
\documentclass{article}
\begin{document}
G\"omb\"oc
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Umlauts and accents with LaTeX, such as Gömböc
I think in this case you first should clarify in which language you are writing. I as a German can of course very simple produce such umlauts like »ö«. But obviously you are also able to type them as your post shows. According to the Wikipedia article you are allowed to simplify that term to »Gomboc« [1]. If you don't want to do that, you can use the usual commands to produce accents. In case of upcoming problems, feel free to ask.
[1] Gömböc - Wikipedia, the free encyclopedia
Best regards and welcome to the board
Thorsten
[1] Gömböc - Wikipedia, the free encyclopedia
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Umlauts and accents with LaTeX, such as Gömböc
You must declare the encoding used by your file if you want to use non-ASCII characters. Furthermore you should use a T1-encoded font to allow hyphenation inside of words with non-ASCII characters. Here is an example that uses the UTF8 encoding (other encodings like Latin-1 are also possible):
Code: Select all
\documentclass{minimal}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
Gömböc
\end{document}