lmodern + tipa cause first instance of diacritic to break
When I load both lmodern
and tipa
, the first instance of an IPA symbol with a diacritic breaks. For example, this code
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
begin{document}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{document}
produces this:
It's always the first character that's split, regardless of which diacritic and what body you use. E.g., if I change it to
=textepsilon
=textschwa
'textschwa
'textepsilon
I get,
and if I change it to
'textschwa
'textepsilon
=textepsilon
=textschwa
it produces .
How do I change it so the first character gets its diacritic on top where it belongs?
Note that there is this question about lmodern
and tipa
, but it only tells us that they work fine together and don't produce problems (beyond some warnings.)
fonts linguistics tipa lmodern
add a comment |
When I load both lmodern
and tipa
, the first instance of an IPA symbol with a diacritic breaks. For example, this code
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
begin{document}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{document}
produces this:
It's always the first character that's split, regardless of which diacritic and what body you use. E.g., if I change it to
=textepsilon
=textschwa
'textschwa
'textepsilon
I get,
and if I change it to
'textschwa
'textepsilon
=textepsilon
=textschwa
it produces .
How do I change it so the first character gets its diacritic on top where it belongs?
Note that there is this question about lmodern
and tipa
, but it only tells us that they work fine together and don't produce problems (beyond some warnings.)
fonts linguistics tipa lmodern
As a workaround you can also put a schwa in a box that you don't render at the start, then this schwa receives the T3 warning and clears the way for the following diacritics, i.e.,newsavebox{schwabox}savebox{schwabox}{textschwa}%
. But @egreg's answer below is more robust, of course.
– Marijn
9 hours ago
add a comment |
When I load both lmodern
and tipa
, the first instance of an IPA symbol with a diacritic breaks. For example, this code
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
begin{document}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{document}
produces this:
It's always the first character that's split, regardless of which diacritic and what body you use. E.g., if I change it to
=textepsilon
=textschwa
'textschwa
'textepsilon
I get,
and if I change it to
'textschwa
'textepsilon
=textepsilon
=textschwa
it produces .
How do I change it so the first character gets its diacritic on top where it belongs?
Note that there is this question about lmodern
and tipa
, but it only tells us that they work fine together and don't produce problems (beyond some warnings.)
fonts linguistics tipa lmodern
When I load both lmodern
and tipa
, the first instance of an IPA symbol with a diacritic breaks. For example, this code
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
begin{document}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{document}
produces this:
It's always the first character that's split, regardless of which diacritic and what body you use. E.g., if I change it to
=textepsilon
=textschwa
'textschwa
'textepsilon
I get,
and if I change it to
'textschwa
'textepsilon
=textepsilon
=textschwa
it produces .
How do I change it so the first character gets its diacritic on top where it belongs?
Note that there is this question about lmodern
and tipa
, but it only tells us that they work fine together and don't produce problems (beyond some warnings.)
fonts linguistics tipa lmodern
fonts linguistics tipa lmodern
edited 8 hours ago
Alan Munn
162k28432709
162k28432709
asked 9 hours ago
sgfsgf
30717
30717
As a workaround you can also put a schwa in a box that you don't render at the start, then this schwa receives the T3 warning and clears the way for the following diacritics, i.e.,newsavebox{schwabox}savebox{schwabox}{textschwa}%
. But @egreg's answer below is more robust, of course.
– Marijn
9 hours ago
add a comment |
As a workaround you can also put a schwa in a box that you don't render at the start, then this schwa receives the T3 warning and clears the way for the following diacritics, i.e.,newsavebox{schwabox}savebox{schwabox}{textschwa}%
. But @egreg's answer below is more robust, of course.
– Marijn
9 hours ago
As a workaround you can also put a schwa in a box that you don't render at the start, then this schwa receives the T3 warning and clears the way for the following diacritics, i.e.,
newsavebox{schwabox}savebox{schwabox}{textschwa}%
. But @egreg's answer below is more robust, of course.– Marijn
9 hours ago
As a workaround you can also put a schwa in a box that you don't render at the start, then this schwa receives the T3 warning and clears the way for the following diacritics, i.e.,
newsavebox{schwabox}savebox{schwabox}{textschwa}%
. But @egreg's answer below is more robust, of course.– Marijn
9 hours ago
add a comment |
2 Answers
2
active
oldest
votes
You get warnings, don't you? Precisely
LaTeX Font Warning: Font shape `T3/lmr/m/n' undefined
(Font) using `T3/cmr/m/n' instead
(Font) for symbol `textschwa' on input line 8.
You avoid them (and the wrong accent), with substitutefont
.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
usepackage{substitutefont}
substitutefont{T3}{lmr}{cmr}
begin{document}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{document}
In fact, I don't get any warnings. I'm using overleaf, with precisely what I have written. The only thing it's complaining about is: "BibTeX No data sources defined!" I'm still wondering why I don't get warnings about the font.
– sgf
9 hours ago
1
@sgf If you look at the Raw Log in Overleaf the warning is there. Overleaf hides this from you. Alternatively, just wrap the code inbegin{IPA}...end{IPA}
.
– Alan Munn
9 hours ago
add a comment |
You are using tipa
macros without being inside textipa{}
or the {IPA}
environment which is not how they were designed to be used. To get your example to work properly you should simply wrap the examples in the correct environment.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
begin{document}
begin{IPA}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{IPA}
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479275%2flmodern-tipa-cause-first-instance-of-diacritic-to-break%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You get warnings, don't you? Precisely
LaTeX Font Warning: Font shape `T3/lmr/m/n' undefined
(Font) using `T3/cmr/m/n' instead
(Font) for symbol `textschwa' on input line 8.
You avoid them (and the wrong accent), with substitutefont
.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
usepackage{substitutefont}
substitutefont{T3}{lmr}{cmr}
begin{document}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{document}
In fact, I don't get any warnings. I'm using overleaf, with precisely what I have written. The only thing it's complaining about is: "BibTeX No data sources defined!" I'm still wondering why I don't get warnings about the font.
– sgf
9 hours ago
1
@sgf If you look at the Raw Log in Overleaf the warning is there. Overleaf hides this from you. Alternatively, just wrap the code inbegin{IPA}...end{IPA}
.
– Alan Munn
9 hours ago
add a comment |
You get warnings, don't you? Precisely
LaTeX Font Warning: Font shape `T3/lmr/m/n' undefined
(Font) using `T3/cmr/m/n' instead
(Font) for symbol `textschwa' on input line 8.
You avoid them (and the wrong accent), with substitutefont
.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
usepackage{substitutefont}
substitutefont{T3}{lmr}{cmr}
begin{document}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{document}
In fact, I don't get any warnings. I'm using overleaf, with precisely what I have written. The only thing it's complaining about is: "BibTeX No data sources defined!" I'm still wondering why I don't get warnings about the font.
– sgf
9 hours ago
1
@sgf If you look at the Raw Log in Overleaf the warning is there. Overleaf hides this from you. Alternatively, just wrap the code inbegin{IPA}...end{IPA}
.
– Alan Munn
9 hours ago
add a comment |
You get warnings, don't you? Precisely
LaTeX Font Warning: Font shape `T3/lmr/m/n' undefined
(Font) using `T3/cmr/m/n' instead
(Font) for symbol `textschwa' on input line 8.
You avoid them (and the wrong accent), with substitutefont
.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
usepackage{substitutefont}
substitutefont{T3}{lmr}{cmr}
begin{document}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{document}
You get warnings, don't you? Precisely
LaTeX Font Warning: Font shape `T3/lmr/m/n' undefined
(Font) using `T3/cmr/m/n' instead
(Font) for symbol `textschwa' on input line 8.
You avoid them (and the wrong accent), with substitutefont
.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
usepackage{substitutefont}
substitutefont{T3}{lmr}{cmr}
begin{document}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{document}
answered 9 hours ago
egregegreg
726k8819213228
726k8819213228
In fact, I don't get any warnings. I'm using overleaf, with precisely what I have written. The only thing it's complaining about is: "BibTeX No data sources defined!" I'm still wondering why I don't get warnings about the font.
– sgf
9 hours ago
1
@sgf If you look at the Raw Log in Overleaf the warning is there. Overleaf hides this from you. Alternatively, just wrap the code inbegin{IPA}...end{IPA}
.
– Alan Munn
9 hours ago
add a comment |
In fact, I don't get any warnings. I'm using overleaf, with precisely what I have written. The only thing it's complaining about is: "BibTeX No data sources defined!" I'm still wondering why I don't get warnings about the font.
– sgf
9 hours ago
1
@sgf If you look at the Raw Log in Overleaf the warning is there. Overleaf hides this from you. Alternatively, just wrap the code inbegin{IPA}...end{IPA}
.
– Alan Munn
9 hours ago
In fact, I don't get any warnings. I'm using overleaf, with precisely what I have written. The only thing it's complaining about is: "BibTeX No data sources defined!" I'm still wondering why I don't get warnings about the font.
– sgf
9 hours ago
In fact, I don't get any warnings. I'm using overleaf, with precisely what I have written. The only thing it's complaining about is: "BibTeX No data sources defined!" I'm still wondering why I don't get warnings about the font.
– sgf
9 hours ago
1
1
@sgf If you look at the Raw Log in Overleaf the warning is there. Overleaf hides this from you. Alternatively, just wrap the code in
begin{IPA}...end{IPA}
.– Alan Munn
9 hours ago
@sgf If you look at the Raw Log in Overleaf the warning is there. Overleaf hides this from you. Alternatively, just wrap the code in
begin{IPA}...end{IPA}
.– Alan Munn
9 hours ago
add a comment |
You are using tipa
macros without being inside textipa{}
or the {IPA}
environment which is not how they were designed to be used. To get your example to work properly you should simply wrap the examples in the correct environment.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
begin{document}
begin{IPA}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{IPA}
end{document}
add a comment |
You are using tipa
macros without being inside textipa{}
or the {IPA}
environment which is not how they were designed to be used. To get your example to work properly you should simply wrap the examples in the correct environment.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
begin{document}
begin{IPA}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{IPA}
end{document}
add a comment |
You are using tipa
macros without being inside textipa{}
or the {IPA}
environment which is not how they were designed to be used. To get your example to work properly you should simply wrap the examples in the correct environment.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
begin{document}
begin{IPA}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{IPA}
end{document}
You are using tipa
macros without being inside textipa{}
or the {IPA}
environment which is not how they were designed to be used. To get your example to work properly you should simply wrap the examples in the correct environment.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage{tipa}
begin{document}
begin{IPA}
=textschwa
=textepsilon
'textschwa
'textepsilon
end{IPA}
end{document}
edited 8 hours ago
answered 9 hours ago
Alan MunnAlan Munn
162k28432709
162k28432709
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479275%2flmodern-tipa-cause-first-instance-of-diacritic-to-break%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
As a workaround you can also put a schwa in a box that you don't render at the start, then this schwa receives the T3 warning and clears the way for the following diacritics, i.e.,
newsavebox{schwabox}savebox{schwabox}{textschwa}%
. But @egreg's answer below is more robust, of course.– Marijn
9 hours ago