\documentclass{article}
, it works, but still with the tipa default font, which is exactly what I don't need.LyX ⇒ tipa | Fonts for phonetic Symbols
tipa | Fonts for phonetic Symbols
That's the error I get when typing your example. When I remove the
- Attachments
-
- newfile3.log
- (7.83 KiB) Downloaded 424 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

tipa | Fonts for phonetic Symbols
That's quite impossible! The error reads
My example has only one
I haven't used
I haven't loaded geometry in my example.
This log file is from another file you compiled but not from my example code. For reference: it looked like this (8 lines, no
Please try this exact code and/or post a
minimal working example of what you're actually trying to compile.
Regards
Code: Select all
Code, edit and compile here:
! LaTeX Error: Two \documentclass or \documentstyle commands.See the LaTeX manual or LaTeX Companion for explanation.Type H <return> for immediate help....l.15 \documentclass{article}The document may only declare one class.
\documentclass
and consists of only 8 lines. This error refers to line 15.Code: Select all
LaTeX Warning: Unused global option(s):[english].
english
as global option (or at all) in my example.
Code: Select all
Package geometry Warning: The marginal notes overrun the paper.Add 19.0945pt and more to the right margin.
This log file is from another file you compiled but not from my example code. For reference: it looked like this (8 lines, no
english
, no geometry):Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage[T1]{fontenc}\usepackage{tipa}\begin{document}\textipa{f@"nEtIks}\end{document}

Regards
site moderator & package author
tipa | Fonts for phonetic Symbols
I copy-pasted your code into the preamble, and I definitely didn't call the geometry package. This is the file I compiled, and its errorlog.
I think the
I think the
\documentclass[english]{article}
is sort of default in my LyX, and for some reason declaring \documentclass
doesn't override it.- Attachments
-
- newfile1.log
- (8.81 KiB) Downloaded 409 times
-
- newfile1.lyx
- (1.51 KiB) Downloaded 463 times
tipa | Fonts for phonetic Symbols
Ah, you didn't mention you were using LyX! In this case only add
to the preamble and insert
as ERT. Then the result should be the same as in the picture I posted earlier.
Regards
Code: Select all
\usepackage{tipa}
Code: Select all
\textipa{f@"nEtIks}
Regards
site moderator & package author
tipa | Fonts for phonetic Symbols
OK. It works excellent now. Thanks soooo much!
And say I want to change font? Should I simply insert
to the preamble? And where do I find a list of all font?
And say I want to change font? Should I simply insert
Code: Select all
\usepackage[<some font>]{fontenc}
tipa | Fonts for phonetic Symbols
No, fontenc is for font encoding and not for font selection. I believe LyX already includes that package so you don't need to worry about that.
You can choose fonts via.
Regards
You can choose fonts via
Code: Select all
Document > Settings > Fonts
Regards
site moderator & package author
tipa | Fonts for phonetic Symbols
No, I know how to choose fonts. What I don't know is how to change the output font of tipa. Do you really do it through ?
Code: Select all
Document > Settings > Fonts
tipa | Fonts for phonetic Symbols
It's not clear to me what you want to achieve.
\textipa
will choose characters matching to the surrounding font. Do you want to display the IPA text in a different font than the rest of the document?site moderator & package author
tipa | Fonts for phonetic Symbols
Well, it doesn't for me. I use the
options and my tipa output is in some other font.
options and my tipa output is in some other font.
Re: tipa | Fonts for phonetic Symbols
You're right... that's probably because the Bera Sans font doesn't have the glyphs. You should choose a font that has them. Are you bound to Bera Sans as document font?
site moderator & package author