Hide cleveref links in section title Announcing the arrival of Valued Associate #679: Cesar...

How do you write "wild blueberries flavored"?

Where did Ptolemy compare the Earth to the distance of fixed stars?

Inverse square law not accurate for non-point masses?

An isoperimetric-type inequality inside a cube

Where and when has Thucydides been studied?

French equivalents of おしゃれは足元から (Every good outfit starts with the shoes)

Why does BitLocker not use RSA?

Sally's older brother

Why do C and C++ allow the expression (int) + 4*5;

Understanding piped commands in GNU/Linux

When does a function NOT have an antiderivative?

Why not use the yoke to control yaw, as well as pitch and roll?

Should man-made satellites feature an intelligent inverted "cow catcher"?

First paper to introduce the "principal-agent problem"

Fit odd number of triplets in a measure?

How does TikZ render an arc?

Centre cell vertically in tabularx

newbie Q : How to read an output file in one command line

Why is there so little support for joining EFTA in the British parliament?

3D Masyu - A Die

Is there a spell that can create a permanent fire?

Russian equivalents of おしゃれは足元から (Every good outfit starts with the shoes)

Does the universe have a fixed centre of mass?

Is there a verb for listening stealthily?



Hide cleveref links in section title



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How can I disable the linking for figures in LyX?cleveref fails to reference algorithmsMouseover with Hyperref Internal Linkshyperrefs in textcolorRemove hyperref link form citation within sectionHow to tell cleveref to use the correct label typeHow does one use cleveref in an arxiv submission?Possibility to exclude coloring certain links using hyperrefLabelling subfigures with cleverefHow do I alter all text colour within a space?












0















I would like links to be coloured in general, but not the cleveref links in section titles.



MWE:



documentclass{article}

usepackage[colorlinks]{hyperref}
usepackage[nameinlink]{cleveref}

begin{document}

% The section to reference
section{Section Title}label{sec:A}

% Colour links in normal text, like this one
Reference to cref{sec:A}.

% This colours the link even in the section title, which I don't want
section{Reference to Cref{sec:A}}

% This hides the link in normal text, so...
Reference to {hypersetup{hidelinks}cref{sec:A}}.

% ... this should do what I want, but doesn't work.
% section{Reference to {hypersetup{hidelinks}Cref{sec:A}}}

end{document}









share|improve this question



























    0















    I would like links to be coloured in general, but not the cleveref links in section titles.



    MWE:



    documentclass{article}

    usepackage[colorlinks]{hyperref}
    usepackage[nameinlink]{cleveref}

    begin{document}

    % The section to reference
    section{Section Title}label{sec:A}

    % Colour links in normal text, like this one
    Reference to cref{sec:A}.

    % This colours the link even in the section title, which I don't want
    section{Reference to Cref{sec:A}}

    % This hides the link in normal text, so...
    Reference to {hypersetup{hidelinks}cref{sec:A}}.

    % ... this should do what I want, but doesn't work.
    % section{Reference to {hypersetup{hidelinks}Cref{sec:A}}}

    end{document}









    share|improve this question

























      0












      0








      0








      I would like links to be coloured in general, but not the cleveref links in section titles.



      MWE:



      documentclass{article}

      usepackage[colorlinks]{hyperref}
      usepackage[nameinlink]{cleveref}

      begin{document}

      % The section to reference
      section{Section Title}label{sec:A}

      % Colour links in normal text, like this one
      Reference to cref{sec:A}.

      % This colours the link even in the section title, which I don't want
      section{Reference to Cref{sec:A}}

      % This hides the link in normal text, so...
      Reference to {hypersetup{hidelinks}cref{sec:A}}.

      % ... this should do what I want, but doesn't work.
      % section{Reference to {hypersetup{hidelinks}Cref{sec:A}}}

      end{document}









      share|improve this question














      I would like links to be coloured in general, but not the cleveref links in section titles.



      MWE:



      documentclass{article}

      usepackage[colorlinks]{hyperref}
      usepackage[nameinlink]{cleveref}

      begin{document}

      % The section to reference
      section{Section Title}label{sec:A}

      % Colour links in normal text, like this one
      Reference to cref{sec:A}.

      % This colours the link even in the section title, which I don't want
      section{Reference to Cref{sec:A}}

      % This hides the link in normal text, so...
      Reference to {hypersetup{hidelinks}cref{sec:A}}.

      % ... this should do what I want, but doesn't work.
      % section{Reference to {hypersetup{hidelinks}Cref{sec:A}}}

      end{document}






      hyperref cleveref






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 11 mins ago









      gTcVgTcV

      456214




      456214






















          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%2f485976%2fhide-cleveref-links-in-section-title%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%2f485976%2fhide-cleveref-links-in-section-title%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

          Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

          Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

          How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...