\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
- Attachments
-
- newfile3.log
- (7.83 KiB) Downloaded 422 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
tipa | Fonts for phonetic Symbols
Code: Select all
! 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
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{tipa}
\begin{document}
\textipa{f@"nEtIks}
\end{document}

Regards
tipa | Fonts for phonetic Symbols
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 407 times
-
- newfile1.lyx
- (1.51 KiB) Downloaded 462 times
tipa | Fonts for phonetic Symbols
Code: Select all
\usepackage{tipa}
Code: Select all
\textipa{f@"nEtIks}
Regards
tipa | Fonts for phonetic Symbols
And say I want to change font? Should I simply insert
Code: Select all
\usepackage[<some font>]{fontenc}
tipa | Fonts for phonetic Symbols
You can choose fonts via
Code: Select all
Document > Settings > Fonts
Regards
tipa | Fonts for phonetic Symbols
Code: Select all
Document > Settings > Fonts
tipa | Fonts for phonetic Symbols
\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?tipa | Fonts for phonetic Symbols
Code: Select all
\usepackage[T1]{fontenc}
\usepackage[scaled]{berasans}
options and my tipa output is in some other font.