lmodern + tipa cause first instance of diacritic to break












2















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:



enter image description here



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 getenter image description here,



and if I change it to



'textschwa
'textepsilon
=textepsilon
=textschwa


it produces enter image description here.



How do I change it so the first character gets its diacritic on top where it belongs?





Note that there is this question about lmodernand tipa, but it only tells us that they work fine together and don't produce problems (beyond some warnings.)










share|improve this question

























  • 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
    12 hours ago
















2















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:



enter image description here



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 getenter image description here,



and if I change it to



'textschwa
'textepsilon
=textepsilon
=textschwa


it produces enter image description here.



How do I change it so the first character gets its diacritic on top where it belongs?





Note that there is this question about lmodernand tipa, but it only tells us that they work fine together and don't produce problems (beyond some warnings.)










share|improve this question

























  • 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
    12 hours ago














2












2








2








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:



enter image description here



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 getenter image description here,



and if I change it to



'textschwa
'textepsilon
=textepsilon
=textschwa


it produces enter image description here.



How do I change it so the first character gets its diacritic on top where it belongs?





Note that there is this question about lmodernand tipa, but it only tells us that they work fine together and don't produce problems (beyond some warnings.)










share|improve this question
















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:



enter image description here



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 getenter image description here,



and if I change it to



'textschwa
'textepsilon
=textepsilon
=textschwa


it produces enter image description here.



How do I change it so the first character gets its diacritic on top where it belongs?





Note that there is this question about lmodernand tipa, but it only tells us that they work fine together and don't produce problems (beyond some warnings.)







fonts linguistics tipa lmodern






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 12 hours ago









Alan Munn

162k28432709




162k28432709










asked 13 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
    12 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
    12 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
12 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
12 hours ago










2 Answers
2






active

oldest

votes


















2














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}





share|improve this answer
























  • 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
    12 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 in begin{IPA}...end{IPA}.

    – Alan Munn
    12 hours ago





















7














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}


enter image description here






share|improve this answer

























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    2














    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}





    share|improve this answer
























    • 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
      12 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 in begin{IPA}...end{IPA}.

      – Alan Munn
      12 hours ago


















    2














    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}





    share|improve this answer
























    • 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
      12 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 in begin{IPA}...end{IPA}.

      – Alan Munn
      12 hours ago
















    2












    2








    2







    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}





    share|improve this answer













    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}






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 12 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
      12 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 in begin{IPA}...end{IPA}.

      – Alan Munn
      12 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
      12 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 in begin{IPA}...end{IPA}.

      – Alan Munn
      12 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
    12 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
    12 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
    12 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
    12 hours ago













    7














    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}


    enter image description here






    share|improve this answer






























      7














      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}


      enter image description here






      share|improve this answer




























        7












        7








        7







        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}


        enter image description here






        share|improve this answer















        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}


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 12 hours ago

























        answered 12 hours ago









        Alan MunnAlan Munn

        162k28432709




        162k28432709






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            RAC Tourist Trophy