anchorcolor in hyperref not working?

Under what conditions would I NOT add my Proficiency Bonus to a Spell Attack Roll (or Saving Throw DC)?

Book where society has been split into 2 with a wall down the middle where one side embraced high tech whereas other side were totally against tech

Other authors are notified except me, good or bad sign?

What is the purpose of a disclaimer like "this is not legal advice"?

How does Sundering Titan handle snow lands?

Help! My Character is too much for her story!

Rationale to prefer local variables over instance variables?

How spaceships determine each other's mass in space?

How does learning spells work when leveling a multiclass character?

How does energy based projectile blow up a spaceship?

After Brexit, will the EU recognize British passports that are valid for more than ten years?

I am the person who abides by rules but breaks the rules . Who am I

What is Tony Stark injecting into himself in Iron Man 3?

Why do we say 'Pairwise Disjoint', rather than 'Disjoint'?

Overcome Queueable maximum depth limit in dev orgs

Should we avoid writing fiction about historical events without extensive research?

Sort Array By Month & Year | JavaScript

Redunant indexes SQL Server

What is the url of this routes.xml?

Should I use HTTPS on a domain that will only be used for redirection?

What can I do if someone tampers with my SSH public key?

Is "cogitate" used appropriately in "I cogitate that success relies on hard work"?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

How to plot this group bar plot?



anchorcolor in hyperref not working?














0















I am trying to use the hyperref package to color internal links coming from label as green, while those coming from anchored text via hypertarget as red. However, in both cases, the relevant text appears green?
I am using revtex, but I don't think that this is the problem...



documentclass[a4paper]{revtex4-1}
usepackage[pdftex]{xcolor}
usepackage[pdftex,breaklinks,colorlinks,
linkcolor=green,
anchorcolor=red]{hyperref}

begin{document}

begin{equation}
text{this is an equation} label{theeq}
end{equation}

This is the equation ref{theeq} and it is green as expected.\
hypertarget{thelink}{This should be anchored}
hyperlink{thelink}{ But its color is not red?}

end{document}








share



























    0















    I am trying to use the hyperref package to color internal links coming from label as green, while those coming from anchored text via hypertarget as red. However, in both cases, the relevant text appears green?
    I am using revtex, but I don't think that this is the problem...



    documentclass[a4paper]{revtex4-1}
    usepackage[pdftex]{xcolor}
    usepackage[pdftex,breaklinks,colorlinks,
    linkcolor=green,
    anchorcolor=red]{hyperref}

    begin{document}

    begin{equation}
    text{this is an equation} label{theeq}
    end{equation}

    This is the equation ref{theeq} and it is green as expected.\
    hypertarget{thelink}{This should be anchored}
    hyperlink{thelink}{ But its color is not red?}

    end{document}








    share

























      0












      0








      0








      I am trying to use the hyperref package to color internal links coming from label as green, while those coming from anchored text via hypertarget as red. However, in both cases, the relevant text appears green?
      I am using revtex, but I don't think that this is the problem...



      documentclass[a4paper]{revtex4-1}
      usepackage[pdftex]{xcolor}
      usepackage[pdftex,breaklinks,colorlinks,
      linkcolor=green,
      anchorcolor=red]{hyperref}

      begin{document}

      begin{equation}
      text{this is an equation} label{theeq}
      end{equation}

      This is the equation ref{theeq} and it is green as expected.\
      hypertarget{thelink}{This should be anchored}
      hyperlink{thelink}{ But its color is not red?}

      end{document}








      share














      I am trying to use the hyperref package to color internal links coming from label as green, while those coming from anchored text via hypertarget as red. However, in both cases, the relevant text appears green?
      I am using revtex, but I don't think that this is the problem...



      documentclass[a4paper]{revtex4-1}
      usepackage[pdftex]{xcolor}
      usepackage[pdftex,breaklinks,colorlinks,
      linkcolor=green,
      anchorcolor=red]{hyperref}

      begin{document}

      begin{equation}
      text{this is an equation} label{theeq}
      end{equation}

      This is the equation ref{theeq} and it is green as expected.\
      hypertarget{thelink}{This should be anchored}
      hyperlink{thelink}{ But its color is not red?}

      end{document}






      hyperref color hyperlink hypertarget





      share












      share










      share



      share










      asked 1 min ago









      Patrick.BPatrick.B

      82




      82






















          0






          active

          oldest

          votes











          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%2f478463%2fanchorcolor-in-hyperref-not-working%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f478463%2fanchorcolor-in-hyperref-not-working%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

          Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

          How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...