Latex Double subscript with $ with text and equation in the same line












0















enter image description hereI want to print text and equation like this in the image in latex but I am getting double script error with $.



1: How to combine text and equation in a paragraph in latex?










share|improve this question


















  • 3





    $i$ can be equal to $j$. ... textit{Domino tiles} ${P_{8(i-1)+1}, P_{8(i-1+2}, ldots, P_{8i}}$ [2] from the permutation, ...

    – Werner
    Feb 11 at 22:34






  • 3





    Consider reading some starter documentation on (La)TeX. Your question is fundamental to using (La)TeX, so you need some foundation...

    – Werner
    Feb 11 at 22:35
















0















enter image description hereI want to print text and equation like this in the image in latex but I am getting double script error with $.



1: How to combine text and equation in a paragraph in latex?










share|improve this question


















  • 3





    $i$ can be equal to $j$. ... textit{Domino tiles} ${P_{8(i-1)+1}, P_{8(i-1+2}, ldots, P_{8i}}$ [2] from the permutation, ...

    – Werner
    Feb 11 at 22:34






  • 3





    Consider reading some starter documentation on (La)TeX. Your question is fundamental to using (La)TeX, so you need some foundation...

    – Werner
    Feb 11 at 22:35














0












0








0








enter image description hereI want to print text and equation like this in the image in latex but I am getting double script error with $.



1: How to combine text and equation in a paragraph in latex?










share|improve this question














enter image description hereI want to print text and equation like this in the image in latex but I am getting double script error with $.



1: How to combine text and equation in a paragraph in latex?







equations text






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 11 at 22:31









Neelofar JavaidNeelofar Javaid

1




1








  • 3





    $i$ can be equal to $j$. ... textit{Domino tiles} ${P_{8(i-1)+1}, P_{8(i-1+2}, ldots, P_{8i}}$ [2] from the permutation, ...

    – Werner
    Feb 11 at 22:34






  • 3





    Consider reading some starter documentation on (La)TeX. Your question is fundamental to using (La)TeX, so you need some foundation...

    – Werner
    Feb 11 at 22:35














  • 3





    $i$ can be equal to $j$. ... textit{Domino tiles} ${P_{8(i-1)+1}, P_{8(i-1+2}, ldots, P_{8i}}$ [2] from the permutation, ...

    – Werner
    Feb 11 at 22:34






  • 3





    Consider reading some starter documentation on (La)TeX. Your question is fundamental to using (La)TeX, so you need some foundation...

    – Werner
    Feb 11 at 22:35








3




3





$i$ can be equal to $j$. ... textit{Domino tiles} ${P_{8(i-1)+1}, P_{8(i-1+2}, ldots, P_{8i}}$ [2] from the permutation, ...

– Werner
Feb 11 at 22:34





$i$ can be equal to $j$. ... textit{Domino tiles} ${P_{8(i-1)+1}, P_{8(i-1+2}, ldots, P_{8i}}$ [2] from the permutation, ...

– Werner
Feb 11 at 22:34




3




3





Consider reading some starter documentation on (La)TeX. Your question is fundamental to using (La)TeX, so you need some foundation...

– Werner
Feb 11 at 22:35





Consider reading some starter documentation on (La)TeX. Your question is fundamental to using (La)TeX, so you need some foundation...

– Werner
Feb 11 at 22:35










1 Answer
1






active

oldest

votes


















1














You can use $...$ or (...) to set inline math as part of paragraph text. I prefer the former:



enter image description here



documentclass{article}

begin{document}

noindent
$i$ can be equal to~$j$. The total number of pips~$p$ of a emph{Domino
tile} is defined as $p(S_{ij}) = i + j$ cite{domino}. The emph{game} begins by setting
a constant permutation of the emph{Domino tiles} ($P_{ij} = pi(S_{ij})$)
that permits player~$i$ to take seven random emph{Domino tiles}
${ P_{8(i-1)+1}, P_{8(i-1)+2}, ldots, P_{8i} }$ cite{domino} from the permutation, at

begin{thebibliography}{x}
bibitem{abc} First reference.
bibitem{domino} Second reference.
end{thebibliography}

end{document}





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%2f474426%2flatex-double-subscript-with-with-text-and-equation-in-the-same-line%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    You can use $...$ or (...) to set inline math as part of paragraph text. I prefer the former:



    enter image description here



    documentclass{article}

    begin{document}

    noindent
    $i$ can be equal to~$j$. The total number of pips~$p$ of a emph{Domino
    tile} is defined as $p(S_{ij}) = i + j$ cite{domino}. The emph{game} begins by setting
    a constant permutation of the emph{Domino tiles} ($P_{ij} = pi(S_{ij})$)
    that permits player~$i$ to take seven random emph{Domino tiles}
    ${ P_{8(i-1)+1}, P_{8(i-1)+2}, ldots, P_{8i} }$ cite{domino} from the permutation, at

    begin{thebibliography}{x}
    bibitem{abc} First reference.
    bibitem{domino} Second reference.
    end{thebibliography}

    end{document}





    share|improve this answer




























      1














      You can use $...$ or (...) to set inline math as part of paragraph text. I prefer the former:



      enter image description here



      documentclass{article}

      begin{document}

      noindent
      $i$ can be equal to~$j$. The total number of pips~$p$ of a emph{Domino
      tile} is defined as $p(S_{ij}) = i + j$ cite{domino}. The emph{game} begins by setting
      a constant permutation of the emph{Domino tiles} ($P_{ij} = pi(S_{ij})$)
      that permits player~$i$ to take seven random emph{Domino tiles}
      ${ P_{8(i-1)+1}, P_{8(i-1)+2}, ldots, P_{8i} }$ cite{domino} from the permutation, at

      begin{thebibliography}{x}
      bibitem{abc} First reference.
      bibitem{domino} Second reference.
      end{thebibliography}

      end{document}





      share|improve this answer


























        1












        1








        1







        You can use $...$ or (...) to set inline math as part of paragraph text. I prefer the former:



        enter image description here



        documentclass{article}

        begin{document}

        noindent
        $i$ can be equal to~$j$. The total number of pips~$p$ of a emph{Domino
        tile} is defined as $p(S_{ij}) = i + j$ cite{domino}. The emph{game} begins by setting
        a constant permutation of the emph{Domino tiles} ($P_{ij} = pi(S_{ij})$)
        that permits player~$i$ to take seven random emph{Domino tiles}
        ${ P_{8(i-1)+1}, P_{8(i-1)+2}, ldots, P_{8i} }$ cite{domino} from the permutation, at

        begin{thebibliography}{x}
        bibitem{abc} First reference.
        bibitem{domino} Second reference.
        end{thebibliography}

        end{document}





        share|improve this answer













        You can use $...$ or (...) to set inline math as part of paragraph text. I prefer the former:



        enter image description here



        documentclass{article}

        begin{document}

        noindent
        $i$ can be equal to~$j$. The total number of pips~$p$ of a emph{Domino
        tile} is defined as $p(S_{ij}) = i + j$ cite{domino}. The emph{game} begins by setting
        a constant permutation of the emph{Domino tiles} ($P_{ij} = pi(S_{ij})$)
        that permits player~$i$ to take seven random emph{Domino tiles}
        ${ P_{8(i-1)+1}, P_{8(i-1)+2}, ldots, P_{8i} }$ cite{domino} from the permutation, at

        begin{thebibliography}{x}
        bibitem{abc} First reference.
        bibitem{domino} Second reference.
        end{thebibliography}

        end{document}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 14 at 1:28









        WernerWerner

        444k699791682




        444k699791682






























            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%2f474426%2flatex-double-subscript-with-with-text-and-equation-in-the-same-line%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

            mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?