Long bar over an ordered pair












2















I'd like to typeset a long bar symbol over an ordered pair like (g,epsilon). The best I could do so far is naif and really poor:



enter image description here



Is there a standard command for that?










share|improve this question


















  • 1





    overline is an option.

    – manooooh
    Feb 10 at 13:45
















2















I'd like to typeset a long bar symbol over an ordered pair like (g,epsilon). The best I could do so far is naif and really poor:



enter image description here



Is there a standard command for that?










share|improve this question


















  • 1





    overline is an option.

    – manooooh
    Feb 10 at 13:45














2












2








2








I'd like to typeset a long bar symbol over an ordered pair like (g,epsilon). The best I could do so far is naif and really poor:



enter image description here



Is there a standard command for that?










share|improve this question














I'd like to typeset a long bar symbol over an ordered pair like (g,epsilon). The best I could do so far is naif and really poor:



enter image description here



Is there a standard command for that?







typography displaystyle bar






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 10 at 12:45









VladimirVladimir

1084




1084








  • 1





    overline is an option.

    – manooooh
    Feb 10 at 13:45














  • 1





    overline is an option.

    – manooooh
    Feb 10 at 13:45








1




1





overline is an option.

– manooooh
Feb 10 at 13:45





overline is an option.

– manooooh
Feb 10 at 13:45










2 Answers
2






active

oldest

votes


















5














Here there is a possible MWE code.



documentclass[a4paper,12pt]{article}
usepackage{amsmath,amssymb}
begin{document}
$overline{(g,epsilon)}$ or $(overline{g,epsilon})$
end{document}


The output is:



enter image description here






share|improve this answer

































    4














    I propose either to use @Hendrik Vogt's solution, as an answer to a question of mine, or to use the widebar command, from mathabx, without loading the package. Here is a demo of both solutions:



    documentclass{article}
    usepackage{amsmath}

    makeatletter % Hendrik Vogt's code
    letsave@mathaccentmathaccent
    newcommand*if@single[3]{%
    setbox0hbox{${mathaccent"0362{#1}}^H$}%
    setbox2hbox{${mathaccent"0362{kern0pt#1}}^H$}%
    ifdimht0=ht2 #3else #2fi
    }
    %The bar will be moved to the right by a half of macc@kerna, which is computed by amsmath:
    newcommand*rel@kern[1]{kern#1dimexprmacc@kerna}
    %If there's a superscript following the bar, then no negative kern may follow the bar;
    %an additional {} makes sure that the superscript is high enough in this case:
    newcommand*widebar[1]{@ifnextchar^{{wide@bar{#1}{0}}}{wide@bar{#1}{1}}}
    %Use a separate algorithm for single symbols:
    newcommand*wide@bar[2]{if@single{#1}{wide@bar@{#1}{#2}{1}}{wide@bar@{#1}{#2}{2}}}
    newcommand*wide@bar@[3]{%
    begingroup
    defmathaccent##1##2{%
    %Enable nesting of accents:
    letmathaccentsave@mathaccent
    %If there's more than a single symbol, use the first character instead (see below):
    if#32 letmacc@nucleusfirst@char fi
    %Determine the italic correction:
    setboxz@hbox{$macc@style{macc@nucleus}_{}$}%
    setboxtw@hbox{$macc@style{macc@nucleus}{}_{}$}%
    dimen@wdtw@
    advancedimen@-wdz@
    %Now dimen@ is the italic correction of the symbol.
    dividedimen@ 3
    @tempdimawdtw@
    advance@tempdima-scriptspace
    %Now @tempdima is the width of the symbol.
    divide@tempdima 10
    advancedimen@-@tempdima
    %Now dimen@ = (italic correction / 3) - (Breite / 10)
    ifdimdimen@>z@ dimen@0ptfi
    %The bar will be shortened in the case dimen@<0 !
    rel@kern{0.6}kern-dimen@
    if#31
    overline{rel@kern{-0.6}kerndimen@macc@nucleusrel@kern{0.4}kerndimen@}%
    advancedimen@0.4dimexprmacc@kerna
    %Place the combined final kern (-dimen@) if it is >0 or if a superscript follows:
    letfinal@kern#2%
    ifdimdimen@<z@ letfinal@kern1fi
    iffinal@kern1 kern-dimen@fi
    else
    overline{rel@kern{-0.6}kerndimen@#1}%
    fi
    }%
    macc@depth@ne
    letmath@bgroup@empty letmath@egroupmacc@set@skewchar
    mathsurroundz@ frozen@everymath{mathgroupmacc@grouprelax}%
    macc@set@skewcharrelax
    letmathaccentVmacc@nested@a
    %The following initialises macc@kerna and calls mathaccent:
    if#31
    macc@nested@arelax111{#1}%
    else
    %If the argument consists of more than one symbol, and if the first token is
    %a letter, use that letter for the computations:
    defgobble@till@marker##1endmarker{}%
    futureletfirst@chargobble@till@marker#1endmarker
    ifcatnoexpandfirst@char Aelse
    deffirst@char{}%
    fi
    macc@nested@arelax111{first@char}%
    fi
    endgroup
    }
    makeatother

    %%%% with mathabx (without loading it))

    DeclareFontFamily{U}{mathx}{hyphencharfont45}
    DeclareFontShape{U}{mathx}{m}{n}{
    <-6> mathx5 <6-7> mathx6 <7-8> mathx7
    <8-9> mathx8 <9-10> mathx9
    <10-12> mathx10 <12-> mathx12
    }{}
    DeclareSymbolFont{mathx}{U}{mathx}{m}{n}
    DeclareFontSubstitution{U}{mathx}{m}{n}
    DeclareMathAccent{varwidebar}{0}{mathx}{"73}

    begin{document}

    [ widebar{(g, varepsilon)} ]
    [ varwidebar{(g, varepsilon)} ]

    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%2f474180%2flong-bar-over-an-ordered-pair%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









      5














      Here there is a possible MWE code.



      documentclass[a4paper,12pt]{article}
      usepackage{amsmath,amssymb}
      begin{document}
      $overline{(g,epsilon)}$ or $(overline{g,epsilon})$
      end{document}


      The output is:



      enter image description here






      share|improve this answer






























        5














        Here there is a possible MWE code.



        documentclass[a4paper,12pt]{article}
        usepackage{amsmath,amssymb}
        begin{document}
        $overline{(g,epsilon)}$ or $(overline{g,epsilon})$
        end{document}


        The output is:



        enter image description here






        share|improve this answer




























          5












          5








          5







          Here there is a possible MWE code.



          documentclass[a4paper,12pt]{article}
          usepackage{amsmath,amssymb}
          begin{document}
          $overline{(g,epsilon)}$ or $(overline{g,epsilon})$
          end{document}


          The output is:



          enter image description here






          share|improve this answer















          Here there is a possible MWE code.



          documentclass[a4paper,12pt]{article}
          usepackage{amsmath,amssymb}
          begin{document}
          $overline{(g,epsilon)}$ or $(overline{g,epsilon})$
          end{document}


          The output is:



          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 10 at 16:18

























          answered Feb 10 at 12:55









          SebastianoSebastiano

          11.2k42166




          11.2k42166























              4














              I propose either to use @Hendrik Vogt's solution, as an answer to a question of mine, or to use the widebar command, from mathabx, without loading the package. Here is a demo of both solutions:



              documentclass{article}
              usepackage{amsmath}

              makeatletter % Hendrik Vogt's code
              letsave@mathaccentmathaccent
              newcommand*if@single[3]{%
              setbox0hbox{${mathaccent"0362{#1}}^H$}%
              setbox2hbox{${mathaccent"0362{kern0pt#1}}^H$}%
              ifdimht0=ht2 #3else #2fi
              }
              %The bar will be moved to the right by a half of macc@kerna, which is computed by amsmath:
              newcommand*rel@kern[1]{kern#1dimexprmacc@kerna}
              %If there's a superscript following the bar, then no negative kern may follow the bar;
              %an additional {} makes sure that the superscript is high enough in this case:
              newcommand*widebar[1]{@ifnextchar^{{wide@bar{#1}{0}}}{wide@bar{#1}{1}}}
              %Use a separate algorithm for single symbols:
              newcommand*wide@bar[2]{if@single{#1}{wide@bar@{#1}{#2}{1}}{wide@bar@{#1}{#2}{2}}}
              newcommand*wide@bar@[3]{%
              begingroup
              defmathaccent##1##2{%
              %Enable nesting of accents:
              letmathaccentsave@mathaccent
              %If there's more than a single symbol, use the first character instead (see below):
              if#32 letmacc@nucleusfirst@char fi
              %Determine the italic correction:
              setboxz@hbox{$macc@style{macc@nucleus}_{}$}%
              setboxtw@hbox{$macc@style{macc@nucleus}{}_{}$}%
              dimen@wdtw@
              advancedimen@-wdz@
              %Now dimen@ is the italic correction of the symbol.
              dividedimen@ 3
              @tempdimawdtw@
              advance@tempdima-scriptspace
              %Now @tempdima is the width of the symbol.
              divide@tempdima 10
              advancedimen@-@tempdima
              %Now dimen@ = (italic correction / 3) - (Breite / 10)
              ifdimdimen@>z@ dimen@0ptfi
              %The bar will be shortened in the case dimen@<0 !
              rel@kern{0.6}kern-dimen@
              if#31
              overline{rel@kern{-0.6}kerndimen@macc@nucleusrel@kern{0.4}kerndimen@}%
              advancedimen@0.4dimexprmacc@kerna
              %Place the combined final kern (-dimen@) if it is >0 or if a superscript follows:
              letfinal@kern#2%
              ifdimdimen@<z@ letfinal@kern1fi
              iffinal@kern1 kern-dimen@fi
              else
              overline{rel@kern{-0.6}kerndimen@#1}%
              fi
              }%
              macc@depth@ne
              letmath@bgroup@empty letmath@egroupmacc@set@skewchar
              mathsurroundz@ frozen@everymath{mathgroupmacc@grouprelax}%
              macc@set@skewcharrelax
              letmathaccentVmacc@nested@a
              %The following initialises macc@kerna and calls mathaccent:
              if#31
              macc@nested@arelax111{#1}%
              else
              %If the argument consists of more than one symbol, and if the first token is
              %a letter, use that letter for the computations:
              defgobble@till@marker##1endmarker{}%
              futureletfirst@chargobble@till@marker#1endmarker
              ifcatnoexpandfirst@char Aelse
              deffirst@char{}%
              fi
              macc@nested@arelax111{first@char}%
              fi
              endgroup
              }
              makeatother

              %%%% with mathabx (without loading it))

              DeclareFontFamily{U}{mathx}{hyphencharfont45}
              DeclareFontShape{U}{mathx}{m}{n}{
              <-6> mathx5 <6-7> mathx6 <7-8> mathx7
              <8-9> mathx8 <9-10> mathx9
              <10-12> mathx10 <12-> mathx12
              }{}
              DeclareSymbolFont{mathx}{U}{mathx}{m}{n}
              DeclareFontSubstitution{U}{mathx}{m}{n}
              DeclareMathAccent{varwidebar}{0}{mathx}{"73}

              begin{document}

              [ widebar{(g, varepsilon)} ]
              [ varwidebar{(g, varepsilon)} ]

              end{document}


              enter image description here






              share|improve this answer




























                4














                I propose either to use @Hendrik Vogt's solution, as an answer to a question of mine, or to use the widebar command, from mathabx, without loading the package. Here is a demo of both solutions:



                documentclass{article}
                usepackage{amsmath}

                makeatletter % Hendrik Vogt's code
                letsave@mathaccentmathaccent
                newcommand*if@single[3]{%
                setbox0hbox{${mathaccent"0362{#1}}^H$}%
                setbox2hbox{${mathaccent"0362{kern0pt#1}}^H$}%
                ifdimht0=ht2 #3else #2fi
                }
                %The bar will be moved to the right by a half of macc@kerna, which is computed by amsmath:
                newcommand*rel@kern[1]{kern#1dimexprmacc@kerna}
                %If there's a superscript following the bar, then no negative kern may follow the bar;
                %an additional {} makes sure that the superscript is high enough in this case:
                newcommand*widebar[1]{@ifnextchar^{{wide@bar{#1}{0}}}{wide@bar{#1}{1}}}
                %Use a separate algorithm for single symbols:
                newcommand*wide@bar[2]{if@single{#1}{wide@bar@{#1}{#2}{1}}{wide@bar@{#1}{#2}{2}}}
                newcommand*wide@bar@[3]{%
                begingroup
                defmathaccent##1##2{%
                %Enable nesting of accents:
                letmathaccentsave@mathaccent
                %If there's more than a single symbol, use the first character instead (see below):
                if#32 letmacc@nucleusfirst@char fi
                %Determine the italic correction:
                setboxz@hbox{$macc@style{macc@nucleus}_{}$}%
                setboxtw@hbox{$macc@style{macc@nucleus}{}_{}$}%
                dimen@wdtw@
                advancedimen@-wdz@
                %Now dimen@ is the italic correction of the symbol.
                dividedimen@ 3
                @tempdimawdtw@
                advance@tempdima-scriptspace
                %Now @tempdima is the width of the symbol.
                divide@tempdima 10
                advancedimen@-@tempdima
                %Now dimen@ = (italic correction / 3) - (Breite / 10)
                ifdimdimen@>z@ dimen@0ptfi
                %The bar will be shortened in the case dimen@<0 !
                rel@kern{0.6}kern-dimen@
                if#31
                overline{rel@kern{-0.6}kerndimen@macc@nucleusrel@kern{0.4}kerndimen@}%
                advancedimen@0.4dimexprmacc@kerna
                %Place the combined final kern (-dimen@) if it is >0 or if a superscript follows:
                letfinal@kern#2%
                ifdimdimen@<z@ letfinal@kern1fi
                iffinal@kern1 kern-dimen@fi
                else
                overline{rel@kern{-0.6}kerndimen@#1}%
                fi
                }%
                macc@depth@ne
                letmath@bgroup@empty letmath@egroupmacc@set@skewchar
                mathsurroundz@ frozen@everymath{mathgroupmacc@grouprelax}%
                macc@set@skewcharrelax
                letmathaccentVmacc@nested@a
                %The following initialises macc@kerna and calls mathaccent:
                if#31
                macc@nested@arelax111{#1}%
                else
                %If the argument consists of more than one symbol, and if the first token is
                %a letter, use that letter for the computations:
                defgobble@till@marker##1endmarker{}%
                futureletfirst@chargobble@till@marker#1endmarker
                ifcatnoexpandfirst@char Aelse
                deffirst@char{}%
                fi
                macc@nested@arelax111{first@char}%
                fi
                endgroup
                }
                makeatother

                %%%% with mathabx (without loading it))

                DeclareFontFamily{U}{mathx}{hyphencharfont45}
                DeclareFontShape{U}{mathx}{m}{n}{
                <-6> mathx5 <6-7> mathx6 <7-8> mathx7
                <8-9> mathx8 <9-10> mathx9
                <10-12> mathx10 <12-> mathx12
                }{}
                DeclareSymbolFont{mathx}{U}{mathx}{m}{n}
                DeclareFontSubstitution{U}{mathx}{m}{n}
                DeclareMathAccent{varwidebar}{0}{mathx}{"73}

                begin{document}

                [ widebar{(g, varepsilon)} ]
                [ varwidebar{(g, varepsilon)} ]

                end{document}


                enter image description here






                share|improve this answer


























                  4












                  4








                  4







                  I propose either to use @Hendrik Vogt's solution, as an answer to a question of mine, or to use the widebar command, from mathabx, without loading the package. Here is a demo of both solutions:



                  documentclass{article}
                  usepackage{amsmath}

                  makeatletter % Hendrik Vogt's code
                  letsave@mathaccentmathaccent
                  newcommand*if@single[3]{%
                  setbox0hbox{${mathaccent"0362{#1}}^H$}%
                  setbox2hbox{${mathaccent"0362{kern0pt#1}}^H$}%
                  ifdimht0=ht2 #3else #2fi
                  }
                  %The bar will be moved to the right by a half of macc@kerna, which is computed by amsmath:
                  newcommand*rel@kern[1]{kern#1dimexprmacc@kerna}
                  %If there's a superscript following the bar, then no negative kern may follow the bar;
                  %an additional {} makes sure that the superscript is high enough in this case:
                  newcommand*widebar[1]{@ifnextchar^{{wide@bar{#1}{0}}}{wide@bar{#1}{1}}}
                  %Use a separate algorithm for single symbols:
                  newcommand*wide@bar[2]{if@single{#1}{wide@bar@{#1}{#2}{1}}{wide@bar@{#1}{#2}{2}}}
                  newcommand*wide@bar@[3]{%
                  begingroup
                  defmathaccent##1##2{%
                  %Enable nesting of accents:
                  letmathaccentsave@mathaccent
                  %If there's more than a single symbol, use the first character instead (see below):
                  if#32 letmacc@nucleusfirst@char fi
                  %Determine the italic correction:
                  setboxz@hbox{$macc@style{macc@nucleus}_{}$}%
                  setboxtw@hbox{$macc@style{macc@nucleus}{}_{}$}%
                  dimen@wdtw@
                  advancedimen@-wdz@
                  %Now dimen@ is the italic correction of the symbol.
                  dividedimen@ 3
                  @tempdimawdtw@
                  advance@tempdima-scriptspace
                  %Now @tempdima is the width of the symbol.
                  divide@tempdima 10
                  advancedimen@-@tempdima
                  %Now dimen@ = (italic correction / 3) - (Breite / 10)
                  ifdimdimen@>z@ dimen@0ptfi
                  %The bar will be shortened in the case dimen@<0 !
                  rel@kern{0.6}kern-dimen@
                  if#31
                  overline{rel@kern{-0.6}kerndimen@macc@nucleusrel@kern{0.4}kerndimen@}%
                  advancedimen@0.4dimexprmacc@kerna
                  %Place the combined final kern (-dimen@) if it is >0 or if a superscript follows:
                  letfinal@kern#2%
                  ifdimdimen@<z@ letfinal@kern1fi
                  iffinal@kern1 kern-dimen@fi
                  else
                  overline{rel@kern{-0.6}kerndimen@#1}%
                  fi
                  }%
                  macc@depth@ne
                  letmath@bgroup@empty letmath@egroupmacc@set@skewchar
                  mathsurroundz@ frozen@everymath{mathgroupmacc@grouprelax}%
                  macc@set@skewcharrelax
                  letmathaccentVmacc@nested@a
                  %The following initialises macc@kerna and calls mathaccent:
                  if#31
                  macc@nested@arelax111{#1}%
                  else
                  %If the argument consists of more than one symbol, and if the first token is
                  %a letter, use that letter for the computations:
                  defgobble@till@marker##1endmarker{}%
                  futureletfirst@chargobble@till@marker#1endmarker
                  ifcatnoexpandfirst@char Aelse
                  deffirst@char{}%
                  fi
                  macc@nested@arelax111{first@char}%
                  fi
                  endgroup
                  }
                  makeatother

                  %%%% with mathabx (without loading it))

                  DeclareFontFamily{U}{mathx}{hyphencharfont45}
                  DeclareFontShape{U}{mathx}{m}{n}{
                  <-6> mathx5 <6-7> mathx6 <7-8> mathx7
                  <8-9> mathx8 <9-10> mathx9
                  <10-12> mathx10 <12-> mathx12
                  }{}
                  DeclareSymbolFont{mathx}{U}{mathx}{m}{n}
                  DeclareFontSubstitution{U}{mathx}{m}{n}
                  DeclareMathAccent{varwidebar}{0}{mathx}{"73}

                  begin{document}

                  [ widebar{(g, varepsilon)} ]
                  [ varwidebar{(g, varepsilon)} ]

                  end{document}


                  enter image description here






                  share|improve this answer













                  I propose either to use @Hendrik Vogt's solution, as an answer to a question of mine, or to use the widebar command, from mathabx, without loading the package. Here is a demo of both solutions:



                  documentclass{article}
                  usepackage{amsmath}

                  makeatletter % Hendrik Vogt's code
                  letsave@mathaccentmathaccent
                  newcommand*if@single[3]{%
                  setbox0hbox{${mathaccent"0362{#1}}^H$}%
                  setbox2hbox{${mathaccent"0362{kern0pt#1}}^H$}%
                  ifdimht0=ht2 #3else #2fi
                  }
                  %The bar will be moved to the right by a half of macc@kerna, which is computed by amsmath:
                  newcommand*rel@kern[1]{kern#1dimexprmacc@kerna}
                  %If there's a superscript following the bar, then no negative kern may follow the bar;
                  %an additional {} makes sure that the superscript is high enough in this case:
                  newcommand*widebar[1]{@ifnextchar^{{wide@bar{#1}{0}}}{wide@bar{#1}{1}}}
                  %Use a separate algorithm for single symbols:
                  newcommand*wide@bar[2]{if@single{#1}{wide@bar@{#1}{#2}{1}}{wide@bar@{#1}{#2}{2}}}
                  newcommand*wide@bar@[3]{%
                  begingroup
                  defmathaccent##1##2{%
                  %Enable nesting of accents:
                  letmathaccentsave@mathaccent
                  %If there's more than a single symbol, use the first character instead (see below):
                  if#32 letmacc@nucleusfirst@char fi
                  %Determine the italic correction:
                  setboxz@hbox{$macc@style{macc@nucleus}_{}$}%
                  setboxtw@hbox{$macc@style{macc@nucleus}{}_{}$}%
                  dimen@wdtw@
                  advancedimen@-wdz@
                  %Now dimen@ is the italic correction of the symbol.
                  dividedimen@ 3
                  @tempdimawdtw@
                  advance@tempdima-scriptspace
                  %Now @tempdima is the width of the symbol.
                  divide@tempdima 10
                  advancedimen@-@tempdima
                  %Now dimen@ = (italic correction / 3) - (Breite / 10)
                  ifdimdimen@>z@ dimen@0ptfi
                  %The bar will be shortened in the case dimen@<0 !
                  rel@kern{0.6}kern-dimen@
                  if#31
                  overline{rel@kern{-0.6}kerndimen@macc@nucleusrel@kern{0.4}kerndimen@}%
                  advancedimen@0.4dimexprmacc@kerna
                  %Place the combined final kern (-dimen@) if it is >0 or if a superscript follows:
                  letfinal@kern#2%
                  ifdimdimen@<z@ letfinal@kern1fi
                  iffinal@kern1 kern-dimen@fi
                  else
                  overline{rel@kern{-0.6}kerndimen@#1}%
                  fi
                  }%
                  macc@depth@ne
                  letmath@bgroup@empty letmath@egroupmacc@set@skewchar
                  mathsurroundz@ frozen@everymath{mathgroupmacc@grouprelax}%
                  macc@set@skewcharrelax
                  letmathaccentVmacc@nested@a
                  %The following initialises macc@kerna and calls mathaccent:
                  if#31
                  macc@nested@arelax111{#1}%
                  else
                  %If the argument consists of more than one symbol, and if the first token is
                  %a letter, use that letter for the computations:
                  defgobble@till@marker##1endmarker{}%
                  futureletfirst@chargobble@till@marker#1endmarker
                  ifcatnoexpandfirst@char Aelse
                  deffirst@char{}%
                  fi
                  macc@nested@arelax111{first@char}%
                  fi
                  endgroup
                  }
                  makeatother

                  %%%% with mathabx (without loading it))

                  DeclareFontFamily{U}{mathx}{hyphencharfont45}
                  DeclareFontShape{U}{mathx}{m}{n}{
                  <-6> mathx5 <6-7> mathx6 <7-8> mathx7
                  <8-9> mathx8 <9-10> mathx9
                  <10-12> mathx10 <12-> mathx12
                  }{}
                  DeclareSymbolFont{mathx}{U}{mathx}{m}{n}
                  DeclareFontSubstitution{U}{mathx}{m}{n}
                  DeclareMathAccent{varwidebar}{0}{mathx}{"73}

                  begin{document}

                  [ widebar{(g, varepsilon)} ]
                  [ varwidebar{(g, varepsilon)} ]

                  end{document}


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 10 at 13:39









                  BernardBernard

                  176k778209




                  176k778209






























                      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%2f474180%2flong-bar-over-an-ordered-pair%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

                      Human spaceflight

                      Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                      File:DeusFollowingSea.jpg