A variation on the subset relation with an underlying squiggle

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
1












I'm looking for a variation on the subseteq relation, but with an underlying squiggle instead of a line. In other words, I'm looking for the symbol to substitute for the square in the last printed line of following example.



documentclassamsart
usepackageamssymb
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= square
endalign*
enddocument


A variation on the subset symbol with an underlying squiggle



I couldn't find any matching symbol using detexify.










share|improve this question



















  • 1




    stix has subsetapprox but with 2 squiggles.
    – CarLaTeX
    2 hours ago










  • @CarLaTeX: This would work, except I get a LaTeX Error: Too many symbol fonts declared. when I try to use the package stix in my actual document (not the sample one listed in my post above).
    – Evan Aad
    2 hours ago











  • @CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash with stix, namely mathrsfs, stmaryrd, and unicode-math (I should note that I use the lualatex format with the scrbook document class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error message Command 'mathbfit' already defined. Is there a way to resolve these errors, so I can use stix's subsetapprox command?
    – Evan Aad
    2 hours ago















up vote
2
down vote

favorite
1












I'm looking for a variation on the subseteq relation, but with an underlying squiggle instead of a line. In other words, I'm looking for the symbol to substitute for the square in the last printed line of following example.



documentclassamsart
usepackageamssymb
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= square
endalign*
enddocument


A variation on the subset symbol with an underlying squiggle



I couldn't find any matching symbol using detexify.










share|improve this question



















  • 1




    stix has subsetapprox but with 2 squiggles.
    – CarLaTeX
    2 hours ago










  • @CarLaTeX: This would work, except I get a LaTeX Error: Too many symbol fonts declared. when I try to use the package stix in my actual document (not the sample one listed in my post above).
    – Evan Aad
    2 hours ago











  • @CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash with stix, namely mathrsfs, stmaryrd, and unicode-math (I should note that I use the lualatex format with the scrbook document class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error message Command 'mathbfit' already defined. Is there a way to resolve these errors, so I can use stix's subsetapprox command?
    – Evan Aad
    2 hours ago













up vote
2
down vote

favorite
1









up vote
2
down vote

favorite
1






1





I'm looking for a variation on the subseteq relation, but with an underlying squiggle instead of a line. In other words, I'm looking for the symbol to substitute for the square in the last printed line of following example.



documentclassamsart
usepackageamssymb
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= square
endalign*
enddocument


A variation on the subset symbol with an underlying squiggle



I couldn't find any matching symbol using detexify.










share|improve this question















I'm looking for a variation on the subseteq relation, but with an underlying squiggle instead of a line. In other words, I'm looking for the symbol to substitute for the square in the last printed line of following example.



documentclassamsart
usepackageamssymb
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= square
endalign*
enddocument


A variation on the subset symbol with an underlying squiggle



I couldn't find any matching symbol using detexify.







symbols






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 3 hours ago

























asked 3 hours ago









Evan Aad

3,50211227




3,50211227







  • 1




    stix has subsetapprox but with 2 squiggles.
    – CarLaTeX
    2 hours ago










  • @CarLaTeX: This would work, except I get a LaTeX Error: Too many symbol fonts declared. when I try to use the package stix in my actual document (not the sample one listed in my post above).
    – Evan Aad
    2 hours ago











  • @CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash with stix, namely mathrsfs, stmaryrd, and unicode-math (I should note that I use the lualatex format with the scrbook document class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error message Command 'mathbfit' already defined. Is there a way to resolve these errors, so I can use stix's subsetapprox command?
    – Evan Aad
    2 hours ago













  • 1




    stix has subsetapprox but with 2 squiggles.
    – CarLaTeX
    2 hours ago










  • @CarLaTeX: This would work, except I get a LaTeX Error: Too many symbol fonts declared. when I try to use the package stix in my actual document (not the sample one listed in my post above).
    – Evan Aad
    2 hours ago











  • @CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash with stix, namely mathrsfs, stmaryrd, and unicode-math (I should note that I use the lualatex format with the scrbook document class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error message Command 'mathbfit' already defined. Is there a way to resolve these errors, so I can use stix's subsetapprox command?
    – Evan Aad
    2 hours ago








1




1




stix has subsetapprox but with 2 squiggles.
– CarLaTeX
2 hours ago




stix has subsetapprox but with 2 squiggles.
– CarLaTeX
2 hours ago












@CarLaTeX: This would work, except I get a LaTeX Error: Too many symbol fonts declared. when I try to use the package stix in my actual document (not the sample one listed in my post above).
– Evan Aad
2 hours ago





@CarLaTeX: This would work, except I get a LaTeX Error: Too many symbol fonts declared. when I try to use the package stix in my actual document (not the sample one listed in my post above).
– Evan Aad
2 hours ago













@CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash with stix, namely mathrsfs, stmaryrd, and unicode-math (I should note that I use the lualatex format with the scrbook document class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error message Command 'mathbfit' already defined. Is there a way to resolve these errors, so I can use stix's subsetapprox command?
– Evan Aad
2 hours ago





@CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash with stix, namely mathrsfs, stmaryrd, and unicode-math (I should note that I use the lualatex format with the scrbook document class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error message Command 'mathbfit' already defined. Is there a way to resolve these errors, so I can use stix's subsetapprox command?
– Evan Aad
2 hours ago











3 Answers
3






active

oldest

votes

















up vote
2
down vote



accepted










If stix package gives you some incompatibilities, you can define your own symbol, without any additional package:



documentclassamsart
usepackageamssymb

newcommandsubsetsimmathrelooalignraise.4exhbox$subset$cr$raise-.9exhbox$sim$$

begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= subsetsim
endalign*
[ precsim lesssim subsetsim ]
enddocument


enter image description here






share|improve this answer






















  • Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used in precsim and lesssim?
    – Evan Aad
    15 mins ago






  • 1




    @EvanAad Of course, instead of raise-.8ex you can put a bigger value. I'm modifying.
    – CarLaTeX
    13 mins ago











  • @EvanAad See my renewed answer. You can also furtherly refine...
    – CarLaTeX
    9 mins ago










  • @EvanAad See campa's answer, it's better than mine.
    – CarLaTeX
    7 mins ago

















up vote
2
down vote













You can do that with the accents package:



documentclass[border=2pt]standalone

usepackageamssymb, accents %
newcommandsubsetsimmathrelunderaccentmkern6musimsubset
newcommandsupsetsimmathrelunderaccentbacksimmkern2musupset%stackMathmathrelstackinsetc0exc-1exsimsubset

begindocument

$ E subsetsim F iff F supsetsim E$

enddocument


enter image description here






share|improve this answer



























    up vote
    2
    down vote













    A slight improvement of CarLaTeX's answer which scales correctly in scriptstyle and scriptscriptstyle.



    documentclassarticle

    usepackageamssymb

    newcommand*subsetsimmathrelmathpalettesubsetsimauxrelax
    newcommand*subsetsimaux[2]%
    setbox0=hboxmathsurround=0pt$#1sim$%
    ooalignraise.5ht0hbox$#1subset$crlowerht0box0


    begindocument
    $precsim lesssim subsetsim_precsim lesssim subsetsim_precsim lesssim subsetsim$
    enddocument


    enter image description here



    The difference with the built-in symbols is visible in scriptstyle and obvious in scriptscriptstyle but I think one can live with it.






    share|improve this answer




















    • I was just replying that I didn't know mathpalette :)
      – CarLaTeX
      8 mins ago










    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    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%2f456848%2fa-variation-on-the-subset-relation-with-an-underlying-squiggle%23new-answer', 'question_page');

    );

    Post as a guest






























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote



    accepted










    If stix package gives you some incompatibilities, you can define your own symbol, without any additional package:



    documentclassamsart
    usepackageamssymb

    newcommandsubsetsimmathrelooalignraise.4exhbox$subset$cr$raise-.9exhbox$sim$$

    begindocument
    beginalign*
    prec + sim &= precsim\
    < + sim &= lesssim\
    subset + sim &= subsetsim
    endalign*
    [ precsim lesssim subsetsim ]
    enddocument


    enter image description here






    share|improve this answer






















    • Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used in precsim and lesssim?
      – Evan Aad
      15 mins ago






    • 1




      @EvanAad Of course, instead of raise-.8ex you can put a bigger value. I'm modifying.
      – CarLaTeX
      13 mins ago











    • @EvanAad See my renewed answer. You can also furtherly refine...
      – CarLaTeX
      9 mins ago










    • @EvanAad See campa's answer, it's better than mine.
      – CarLaTeX
      7 mins ago














    up vote
    2
    down vote



    accepted










    If stix package gives you some incompatibilities, you can define your own symbol, without any additional package:



    documentclassamsart
    usepackageamssymb

    newcommandsubsetsimmathrelooalignraise.4exhbox$subset$cr$raise-.9exhbox$sim$$

    begindocument
    beginalign*
    prec + sim &= precsim\
    < + sim &= lesssim\
    subset + sim &= subsetsim
    endalign*
    [ precsim lesssim subsetsim ]
    enddocument


    enter image description here






    share|improve this answer






















    • Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used in precsim and lesssim?
      – Evan Aad
      15 mins ago






    • 1




      @EvanAad Of course, instead of raise-.8ex you can put a bigger value. I'm modifying.
      – CarLaTeX
      13 mins ago











    • @EvanAad See my renewed answer. You can also furtherly refine...
      – CarLaTeX
      9 mins ago










    • @EvanAad See campa's answer, it's better than mine.
      – CarLaTeX
      7 mins ago












    up vote
    2
    down vote



    accepted







    up vote
    2
    down vote



    accepted






    If stix package gives you some incompatibilities, you can define your own symbol, without any additional package:



    documentclassamsart
    usepackageamssymb

    newcommandsubsetsimmathrelooalignraise.4exhbox$subset$cr$raise-.9exhbox$sim$$

    begindocument
    beginalign*
    prec + sim &= precsim\
    < + sim &= lesssim\
    subset + sim &= subsetsim
    endalign*
    [ precsim lesssim subsetsim ]
    enddocument


    enter image description here






    share|improve this answer














    If stix package gives you some incompatibilities, you can define your own symbol, without any additional package:



    documentclassamsart
    usepackageamssymb

    newcommandsubsetsimmathrelooalignraise.4exhbox$subset$cr$raise-.9exhbox$sim$$

    begindocument
    beginalign*
    prec + sim &= precsim\
    < + sim &= lesssim\
    subset + sim &= subsetsim
    endalign*
    [ precsim lesssim subsetsim ]
    enddocument


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 9 mins ago

























    answered 1 hour ago









    CarLaTeX

    26.2k444116




    26.2k444116











    • Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used in precsim and lesssim?
      – Evan Aad
      15 mins ago






    • 1




      @EvanAad Of course, instead of raise-.8ex you can put a bigger value. I'm modifying.
      – CarLaTeX
      13 mins ago











    • @EvanAad See my renewed answer. You can also furtherly refine...
      – CarLaTeX
      9 mins ago










    • @EvanAad See campa's answer, it's better than mine.
      – CarLaTeX
      7 mins ago
















    • Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used in precsim and lesssim?
      – Evan Aad
      15 mins ago






    • 1




      @EvanAad Of course, instead of raise-.8ex you can put a bigger value. I'm modifying.
      – CarLaTeX
      13 mins ago











    • @EvanAad See my renewed answer. You can also furtherly refine...
      – CarLaTeX
      9 mins ago










    • @EvanAad See campa's answer, it's better than mine.
      – CarLaTeX
      7 mins ago















    Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used in precsim and lesssim?
    – Evan Aad
    15 mins ago




    Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used in precsim and lesssim?
    – Evan Aad
    15 mins ago




    1




    1




    @EvanAad Of course, instead of raise-.8ex you can put a bigger value. I'm modifying.
    – CarLaTeX
    13 mins ago





    @EvanAad Of course, instead of raise-.8ex you can put a bigger value. I'm modifying.
    – CarLaTeX
    13 mins ago













    @EvanAad See my renewed answer. You can also furtherly refine...
    – CarLaTeX
    9 mins ago




    @EvanAad See my renewed answer. You can also furtherly refine...
    – CarLaTeX
    9 mins ago












    @EvanAad See campa's answer, it's better than mine.
    – CarLaTeX
    7 mins ago




    @EvanAad See campa's answer, it's better than mine.
    – CarLaTeX
    7 mins ago










    up vote
    2
    down vote













    You can do that with the accents package:



    documentclass[border=2pt]standalone

    usepackageamssymb, accents %
    newcommandsubsetsimmathrelunderaccentmkern6musimsubset
    newcommandsupsetsimmathrelunderaccentbacksimmkern2musupset%stackMathmathrelstackinsetc0exc-1exsimsubset

    begindocument

    $ E subsetsim F iff F supsetsim E$

    enddocument


    enter image description here






    share|improve this answer
























      up vote
      2
      down vote













      You can do that with the accents package:



      documentclass[border=2pt]standalone

      usepackageamssymb, accents %
      newcommandsubsetsimmathrelunderaccentmkern6musimsubset
      newcommandsupsetsimmathrelunderaccentbacksimmkern2musupset%stackMathmathrelstackinsetc0exc-1exsimsubset

      begindocument

      $ E subsetsim F iff F supsetsim E$

      enddocument


      enter image description here






      share|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        You can do that with the accents package:



        documentclass[border=2pt]standalone

        usepackageamssymb, accents %
        newcommandsubsetsimmathrelunderaccentmkern6musimsubset
        newcommandsupsetsimmathrelunderaccentbacksimmkern2musupset%stackMathmathrelstackinsetc0exc-1exsimsubset

        begindocument

        $ E subsetsim F iff F supsetsim E$

        enddocument


        enter image description here






        share|improve this answer












        You can do that with the accents package:



        documentclass[border=2pt]standalone

        usepackageamssymb, accents %
        newcommandsubsetsimmathrelunderaccentmkern6musimsubset
        newcommandsupsetsimmathrelunderaccentbacksimmkern2musupset%stackMathmathrelstackinsetc0exc-1exsimsubset

        begindocument

        $ E subsetsim F iff F supsetsim E$

        enddocument


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        Bernard

        159k765192




        159k765192




















            up vote
            2
            down vote













            A slight improvement of CarLaTeX's answer which scales correctly in scriptstyle and scriptscriptstyle.



            documentclassarticle

            usepackageamssymb

            newcommand*subsetsimmathrelmathpalettesubsetsimauxrelax
            newcommand*subsetsimaux[2]%
            setbox0=hboxmathsurround=0pt$#1sim$%
            ooalignraise.5ht0hbox$#1subset$crlowerht0box0


            begindocument
            $precsim lesssim subsetsim_precsim lesssim subsetsim_precsim lesssim subsetsim$
            enddocument


            enter image description here



            The difference with the built-in symbols is visible in scriptstyle and obvious in scriptscriptstyle but I think one can live with it.






            share|improve this answer




















            • I was just replying that I didn't know mathpalette :)
              – CarLaTeX
              8 mins ago














            up vote
            2
            down vote













            A slight improvement of CarLaTeX's answer which scales correctly in scriptstyle and scriptscriptstyle.



            documentclassarticle

            usepackageamssymb

            newcommand*subsetsimmathrelmathpalettesubsetsimauxrelax
            newcommand*subsetsimaux[2]%
            setbox0=hboxmathsurround=0pt$#1sim$%
            ooalignraise.5ht0hbox$#1subset$crlowerht0box0


            begindocument
            $precsim lesssim subsetsim_precsim lesssim subsetsim_precsim lesssim subsetsim$
            enddocument


            enter image description here



            The difference with the built-in symbols is visible in scriptstyle and obvious in scriptscriptstyle but I think one can live with it.






            share|improve this answer




















            • I was just replying that I didn't know mathpalette :)
              – CarLaTeX
              8 mins ago












            up vote
            2
            down vote










            up vote
            2
            down vote









            A slight improvement of CarLaTeX's answer which scales correctly in scriptstyle and scriptscriptstyle.



            documentclassarticle

            usepackageamssymb

            newcommand*subsetsimmathrelmathpalettesubsetsimauxrelax
            newcommand*subsetsimaux[2]%
            setbox0=hboxmathsurround=0pt$#1sim$%
            ooalignraise.5ht0hbox$#1subset$crlowerht0box0


            begindocument
            $precsim lesssim subsetsim_precsim lesssim subsetsim_precsim lesssim subsetsim$
            enddocument


            enter image description here



            The difference with the built-in symbols is visible in scriptstyle and obvious in scriptscriptstyle but I think one can live with it.






            share|improve this answer












            A slight improvement of CarLaTeX's answer which scales correctly in scriptstyle and scriptscriptstyle.



            documentclassarticle

            usepackageamssymb

            newcommand*subsetsimmathrelmathpalettesubsetsimauxrelax
            newcommand*subsetsimaux[2]%
            setbox0=hboxmathsurround=0pt$#1sim$%
            ooalignraise.5ht0hbox$#1subset$crlowerht0box0


            begindocument
            $precsim lesssim subsetsim_precsim lesssim subsetsim_precsim lesssim subsetsim$
            enddocument


            enter image description here



            The difference with the built-in symbols is visible in scriptstyle and obvious in scriptscriptstyle but I think one can live with it.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 14 mins ago









            campa

            6,10221437




            6,10221437











            • I was just replying that I didn't know mathpalette :)
              – CarLaTeX
              8 mins ago
















            • I was just replying that I didn't know mathpalette :)
              – CarLaTeX
              8 mins ago















            I was just replying that I didn't know mathpalette :)
            – CarLaTeX
            8 mins ago




            I was just replying that I didn't know mathpalette :)
            – CarLaTeX
            8 mins ago

















             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f456848%2fa-variation-on-the-subset-relation-with-an-underlying-squiggle%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            List of Gilmore Girls characters

            Confectionery