Is there an equal sign with wider gap?

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












6















I am trying to make a large unary operator from an equal sign =, namely, mathlargerboldsymbol=, but the bars are too close together to distinguish from the general binary case. Is there some package with = having a wider gap that I can use?










share|improve this question






















  • I go with @campa 's answer because it seems most simple

    – updraft
    Mar 12 at 11:20






  • 3





    I'm not sure what unary equality is supposed to denote but, if you're having trouble distinguishing your symbol for it from ordinary equality, that suggests you might want to look at a completely different symbol.

    – David Richerby
    Mar 12 at 11:49











  • @DavidRicherby thanks for the suggestion, I use unary equal to refer to the set that is the isovalue contour of point p, so it can be intuitive.

    – updraft
    Mar 13 at 6:41















6















I am trying to make a large unary operator from an equal sign =, namely, mathlargerboldsymbol=, but the bars are too close together to distinguish from the general binary case. Is there some package with = having a wider gap that I can use?










share|improve this question






















  • I go with @campa 's answer because it seems most simple

    – updraft
    Mar 12 at 11:20






  • 3





    I'm not sure what unary equality is supposed to denote but, if you're having trouble distinguishing your symbol for it from ordinary equality, that suggests you might want to look at a completely different symbol.

    – David Richerby
    Mar 12 at 11:49











  • @DavidRicherby thanks for the suggestion, I use unary equal to refer to the set that is the isovalue contour of point p, so it can be intuitive.

    – updraft
    Mar 13 at 6:41













6












6








6


0






I am trying to make a large unary operator from an equal sign =, namely, mathlargerboldsymbol=, but the bars are too close together to distinguish from the general binary case. Is there some package with = having a wider gap that I can use?










share|improve this question














I am trying to make a large unary operator from an equal sign =, namely, mathlargerboldsymbol=, but the bars are too close together to distinguish from the general binary case. Is there some package with = having a wider gap that I can use?







symbols






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 12 at 9:03









updraftupdraft

455




455












  • I go with @campa 's answer because it seems most simple

    – updraft
    Mar 12 at 11:20






  • 3





    I'm not sure what unary equality is supposed to denote but, if you're having trouble distinguishing your symbol for it from ordinary equality, that suggests you might want to look at a completely different symbol.

    – David Richerby
    Mar 12 at 11:49











  • @DavidRicherby thanks for the suggestion, I use unary equal to refer to the set that is the isovalue contour of point p, so it can be intuitive.

    – updraft
    Mar 13 at 6:41

















  • I go with @campa 's answer because it seems most simple

    – updraft
    Mar 12 at 11:20






  • 3





    I'm not sure what unary equality is supposed to denote but, if you're having trouble distinguishing your symbol for it from ordinary equality, that suggests you might want to look at a completely different symbol.

    – David Richerby
    Mar 12 at 11:49











  • @DavidRicherby thanks for the suggestion, I use unary equal to refer to the set that is the isovalue contour of point p, so it can be intuitive.

    – updraft
    Mar 13 at 6:41
















I go with @campa 's answer because it seems most simple

– updraft
Mar 12 at 11:20





I go with @campa 's answer because it seems most simple

– updraft
Mar 12 at 11:20




3




3





I'm not sure what unary equality is supposed to denote but, if you're having trouble distinguishing your symbol for it from ordinary equality, that suggests you might want to look at a completely different symbol.

– David Richerby
Mar 12 at 11:49





I'm not sure what unary equality is supposed to denote but, if you're having trouble distinguishing your symbol for it from ordinary equality, that suggests you might want to look at a completely different symbol.

– David Richerby
Mar 12 at 11:49













@DavidRicherby thanks for the suggestion, I use unary equal to refer to the set that is the isovalue contour of point p, so it can be intuitive.

– updraft
Mar 13 at 6:41





@DavidRicherby thanks for the suggestion, I use unary equal to refer to the set that is the isovalue contour of point p, so it can be intuitive.

– updraft
Mar 13 at 6:41










2 Answers
2






active

oldest

votes


















9














Here's a proposal:



documentclassarticle
usepackageamsmath,xparse

ExplSyntaxOn
NewDocumentCommanduneq

mathbinmathpaletteupdraft_uneq:nn


dim_new:N l__updraft_width_dim
dim_new:N l__updraft_height_dim

cs_new_protected:Nn updraft_uneq:nn

vcenter

mathsurround=0pt
hbox:n

% measure the width of the equals sign in the current style
hbox_set:Nn l_tmpa_box $#1=$
dim_set:Nn l__updraft_width_dim box_wd:N l_tmpa_box
% measure the width of 1mu in the current style
hbox_set:Nn l_tmpa_box $#1mkern1mu$
dim_set:Nn l__updraft_height_dim box_wd:N l_tmpa_box
% start drawing
driver_draw_begin:
% round caps on lines
driver_draw_cap_round:
% set the line width (change 1.2 to your liking)
driver_draw_linewidth:n 1.2l__updraft_height_dim
% 1. cm fonts use width/10 of side bearings
% 2. the gap between lines is 5 times the line width
% bottom line
driver_draw_moveto:nn
0.1 l__updraft_width_dim
-2.5 l__updraft_height_dim
driver_draw_lineto:nn
0.9 l__updraft_width_dim
-2.5 l__updraft_height_dim
driver_draw_stroke:
% top line
driver_draw_moveto:nn
0.1 l__updraft_width_dim
2.5 l__updraft_height_dim
driver_draw_lineto:nn
0.9 l__updraft_width_dim
2.5 l__updraft_height_dim
driver_draw_stroke:
driver_draw_end:
% occupy the space
hspace l__updraft_width_dim



ExplSyntaxOff

begindocument

$mathbin=A$

$uneq A$ $scriptstyleuneq A$ $scriptscriptstyleuneq A$

$A=B$

enddocument


There is no “unary operator” class, one has to use mathbin and TeX will act according to the context. You could also decide to simply use mathord.



enter image description here






share|improve this answer

























  • thank you:), your proposal is a little hard I don't quite understand, haha

    – updraft
    Mar 12 at 11:02











  • @updraft I added some comments

    – egreg
    Mar 12 at 12:04











  • your method is actually very thorough and illuminating I go with yours instead!

    – updraft
    Mar 13 at 6:37


















5














The gap can be tweaked by changing the 4LMpt.



documentclassarticle
usepackagescalerel,stackengine,bm
newcommandbineqmathbinThisStyleensurestackMathvcenterhboxstackengine%
4LMptSavedStylebm-SavedStylebm-OcFFL
begindocument
$bm= Aquadscriptstylebm= Aquadscriptscriptstylebm= A$ bold =

$bineq Aquadscriptstylebineq Aquadscriptscriptstylebineq A$ verb|bineq|
enddocument


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%2f479037%2fis-there-an-equal-sign-with-wider-gap%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









    9














    Here's a proposal:



    documentclassarticle
    usepackageamsmath,xparse

    ExplSyntaxOn
    NewDocumentCommanduneq

    mathbinmathpaletteupdraft_uneq:nn


    dim_new:N l__updraft_width_dim
    dim_new:N l__updraft_height_dim

    cs_new_protected:Nn updraft_uneq:nn

    vcenter

    mathsurround=0pt
    hbox:n

    % measure the width of the equals sign in the current style
    hbox_set:Nn l_tmpa_box $#1=$
    dim_set:Nn l__updraft_width_dim box_wd:N l_tmpa_box
    % measure the width of 1mu in the current style
    hbox_set:Nn l_tmpa_box $#1mkern1mu$
    dim_set:Nn l__updraft_height_dim box_wd:N l_tmpa_box
    % start drawing
    driver_draw_begin:
    % round caps on lines
    driver_draw_cap_round:
    % set the line width (change 1.2 to your liking)
    driver_draw_linewidth:n 1.2l__updraft_height_dim
    % 1. cm fonts use width/10 of side bearings
    % 2. the gap between lines is 5 times the line width
    % bottom line
    driver_draw_moveto:nn
    0.1 l__updraft_width_dim
    -2.5 l__updraft_height_dim
    driver_draw_lineto:nn
    0.9 l__updraft_width_dim
    -2.5 l__updraft_height_dim
    driver_draw_stroke:
    % top line
    driver_draw_moveto:nn
    0.1 l__updraft_width_dim
    2.5 l__updraft_height_dim
    driver_draw_lineto:nn
    0.9 l__updraft_width_dim
    2.5 l__updraft_height_dim
    driver_draw_stroke:
    driver_draw_end:
    % occupy the space
    hspace l__updraft_width_dim



    ExplSyntaxOff

    begindocument

    $mathbin=A$

    $uneq A$ $scriptstyleuneq A$ $scriptscriptstyleuneq A$

    $A=B$

    enddocument


    There is no “unary operator” class, one has to use mathbin and TeX will act according to the context. You could also decide to simply use mathord.



    enter image description here






    share|improve this answer

























    • thank you:), your proposal is a little hard I don't quite understand, haha

      – updraft
      Mar 12 at 11:02











    • @updraft I added some comments

      – egreg
      Mar 12 at 12:04











    • your method is actually very thorough and illuminating I go with yours instead!

      – updraft
      Mar 13 at 6:37















    9














    Here's a proposal:



    documentclassarticle
    usepackageamsmath,xparse

    ExplSyntaxOn
    NewDocumentCommanduneq

    mathbinmathpaletteupdraft_uneq:nn


    dim_new:N l__updraft_width_dim
    dim_new:N l__updraft_height_dim

    cs_new_protected:Nn updraft_uneq:nn

    vcenter

    mathsurround=0pt
    hbox:n

    % measure the width of the equals sign in the current style
    hbox_set:Nn l_tmpa_box $#1=$
    dim_set:Nn l__updraft_width_dim box_wd:N l_tmpa_box
    % measure the width of 1mu in the current style
    hbox_set:Nn l_tmpa_box $#1mkern1mu$
    dim_set:Nn l__updraft_height_dim box_wd:N l_tmpa_box
    % start drawing
    driver_draw_begin:
    % round caps on lines
    driver_draw_cap_round:
    % set the line width (change 1.2 to your liking)
    driver_draw_linewidth:n 1.2l__updraft_height_dim
    % 1. cm fonts use width/10 of side bearings
    % 2. the gap between lines is 5 times the line width
    % bottom line
    driver_draw_moveto:nn
    0.1 l__updraft_width_dim
    -2.5 l__updraft_height_dim
    driver_draw_lineto:nn
    0.9 l__updraft_width_dim
    -2.5 l__updraft_height_dim
    driver_draw_stroke:
    % top line
    driver_draw_moveto:nn
    0.1 l__updraft_width_dim
    2.5 l__updraft_height_dim
    driver_draw_lineto:nn
    0.9 l__updraft_width_dim
    2.5 l__updraft_height_dim
    driver_draw_stroke:
    driver_draw_end:
    % occupy the space
    hspace l__updraft_width_dim



    ExplSyntaxOff

    begindocument

    $mathbin=A$

    $uneq A$ $scriptstyleuneq A$ $scriptscriptstyleuneq A$

    $A=B$

    enddocument


    There is no “unary operator” class, one has to use mathbin and TeX will act according to the context. You could also decide to simply use mathord.



    enter image description here






    share|improve this answer

























    • thank you:), your proposal is a little hard I don't quite understand, haha

      – updraft
      Mar 12 at 11:02











    • @updraft I added some comments

      – egreg
      Mar 12 at 12:04











    • your method is actually very thorough and illuminating I go with yours instead!

      – updraft
      Mar 13 at 6:37













    9












    9








    9







    Here's a proposal:



    documentclassarticle
    usepackageamsmath,xparse

    ExplSyntaxOn
    NewDocumentCommanduneq

    mathbinmathpaletteupdraft_uneq:nn


    dim_new:N l__updraft_width_dim
    dim_new:N l__updraft_height_dim

    cs_new_protected:Nn updraft_uneq:nn

    vcenter

    mathsurround=0pt
    hbox:n

    % measure the width of the equals sign in the current style
    hbox_set:Nn l_tmpa_box $#1=$
    dim_set:Nn l__updraft_width_dim box_wd:N l_tmpa_box
    % measure the width of 1mu in the current style
    hbox_set:Nn l_tmpa_box $#1mkern1mu$
    dim_set:Nn l__updraft_height_dim box_wd:N l_tmpa_box
    % start drawing
    driver_draw_begin:
    % round caps on lines
    driver_draw_cap_round:
    % set the line width (change 1.2 to your liking)
    driver_draw_linewidth:n 1.2l__updraft_height_dim
    % 1. cm fonts use width/10 of side bearings
    % 2. the gap between lines is 5 times the line width
    % bottom line
    driver_draw_moveto:nn
    0.1 l__updraft_width_dim
    -2.5 l__updraft_height_dim
    driver_draw_lineto:nn
    0.9 l__updraft_width_dim
    -2.5 l__updraft_height_dim
    driver_draw_stroke:
    % top line
    driver_draw_moveto:nn
    0.1 l__updraft_width_dim
    2.5 l__updraft_height_dim
    driver_draw_lineto:nn
    0.9 l__updraft_width_dim
    2.5 l__updraft_height_dim
    driver_draw_stroke:
    driver_draw_end:
    % occupy the space
    hspace l__updraft_width_dim



    ExplSyntaxOff

    begindocument

    $mathbin=A$

    $uneq A$ $scriptstyleuneq A$ $scriptscriptstyleuneq A$

    $A=B$

    enddocument


    There is no “unary operator” class, one has to use mathbin and TeX will act according to the context. You could also decide to simply use mathord.



    enter image description here






    share|improve this answer















    Here's a proposal:



    documentclassarticle
    usepackageamsmath,xparse

    ExplSyntaxOn
    NewDocumentCommanduneq

    mathbinmathpaletteupdraft_uneq:nn


    dim_new:N l__updraft_width_dim
    dim_new:N l__updraft_height_dim

    cs_new_protected:Nn updraft_uneq:nn

    vcenter

    mathsurround=0pt
    hbox:n

    % measure the width of the equals sign in the current style
    hbox_set:Nn l_tmpa_box $#1=$
    dim_set:Nn l__updraft_width_dim box_wd:N l_tmpa_box
    % measure the width of 1mu in the current style
    hbox_set:Nn l_tmpa_box $#1mkern1mu$
    dim_set:Nn l__updraft_height_dim box_wd:N l_tmpa_box
    % start drawing
    driver_draw_begin:
    % round caps on lines
    driver_draw_cap_round:
    % set the line width (change 1.2 to your liking)
    driver_draw_linewidth:n 1.2l__updraft_height_dim
    % 1. cm fonts use width/10 of side bearings
    % 2. the gap between lines is 5 times the line width
    % bottom line
    driver_draw_moveto:nn
    0.1 l__updraft_width_dim
    -2.5 l__updraft_height_dim
    driver_draw_lineto:nn
    0.9 l__updraft_width_dim
    -2.5 l__updraft_height_dim
    driver_draw_stroke:
    % top line
    driver_draw_moveto:nn
    0.1 l__updraft_width_dim
    2.5 l__updraft_height_dim
    driver_draw_lineto:nn
    0.9 l__updraft_width_dim
    2.5 l__updraft_height_dim
    driver_draw_stroke:
    driver_draw_end:
    % occupy the space
    hspace l__updraft_width_dim



    ExplSyntaxOff

    begindocument

    $mathbin=A$

    $uneq A$ $scriptstyleuneq A$ $scriptscriptstyleuneq A$

    $A=B$

    enddocument


    There is no “unary operator” class, one has to use mathbin and TeX will act according to the context. You could also decide to simply use mathord.



    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Mar 12 at 12:04

























    answered Mar 12 at 10:33









    egregegreg

    733k8919313254




    733k8919313254












    • thank you:), your proposal is a little hard I don't quite understand, haha

      – updraft
      Mar 12 at 11:02











    • @updraft I added some comments

      – egreg
      Mar 12 at 12:04











    • your method is actually very thorough and illuminating I go with yours instead!

      – updraft
      Mar 13 at 6:37

















    • thank you:), your proposal is a little hard I don't quite understand, haha

      – updraft
      Mar 12 at 11:02











    • @updraft I added some comments

      – egreg
      Mar 12 at 12:04











    • your method is actually very thorough and illuminating I go with yours instead!

      – updraft
      Mar 13 at 6:37
















    thank you:), your proposal is a little hard I don't quite understand, haha

    – updraft
    Mar 12 at 11:02





    thank you:), your proposal is a little hard I don't quite understand, haha

    – updraft
    Mar 12 at 11:02













    @updraft I added some comments

    – egreg
    Mar 12 at 12:04





    @updraft I added some comments

    – egreg
    Mar 12 at 12:04













    your method is actually very thorough and illuminating I go with yours instead!

    – updraft
    Mar 13 at 6:37





    your method is actually very thorough and illuminating I go with yours instead!

    – updraft
    Mar 13 at 6:37











    5














    The gap can be tweaked by changing the 4LMpt.



    documentclassarticle
    usepackagescalerel,stackengine,bm
    newcommandbineqmathbinThisStyleensurestackMathvcenterhboxstackengine%
    4LMptSavedStylebm-SavedStylebm-OcFFL
    begindocument
    $bm= Aquadscriptstylebm= Aquadscriptscriptstylebm= A$ bold =

    $bineq Aquadscriptstylebineq Aquadscriptscriptstylebineq A$ verb|bineq|
    enddocument


    enter image description here






    share|improve this answer



























      5














      The gap can be tweaked by changing the 4LMpt.



      documentclassarticle
      usepackagescalerel,stackengine,bm
      newcommandbineqmathbinThisStyleensurestackMathvcenterhboxstackengine%
      4LMptSavedStylebm-SavedStylebm-OcFFL
      begindocument
      $bm= Aquadscriptstylebm= Aquadscriptscriptstylebm= A$ bold =

      $bineq Aquadscriptstylebineq Aquadscriptscriptstylebineq A$ verb|bineq|
      enddocument


      enter image description here






      share|improve this answer

























        5












        5








        5







        The gap can be tweaked by changing the 4LMpt.



        documentclassarticle
        usepackagescalerel,stackengine,bm
        newcommandbineqmathbinThisStyleensurestackMathvcenterhboxstackengine%
        4LMptSavedStylebm-SavedStylebm-OcFFL
        begindocument
        $bm= Aquadscriptstylebm= Aquadscriptscriptstylebm= A$ bold =

        $bineq Aquadscriptstylebineq Aquadscriptscriptstylebineq A$ verb|bineq|
        enddocument


        enter image description here






        share|improve this answer













        The gap can be tweaked by changing the 4LMpt.



        documentclassarticle
        usepackagescalerel,stackengine,bm
        newcommandbineqmathbinThisStyleensurestackMathvcenterhboxstackengine%
        4LMptSavedStylebm-SavedStylebm-OcFFL
        begindocument
        $bm= Aquadscriptstylebm= Aquadscriptscriptstylebm= A$ bold =

        $bineq Aquadscriptstylebineq Aquadscriptscriptstylebineq A$ verb|bineq|
        enddocument


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 12 at 11:08









        Steven B. SegletesSteven B. Segletes

        161k9205416




        161k9205416



























            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%2f479037%2fis-there-an-equal-sign-with-wider-gap%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

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay