“node contents” is no more available in label, what's going on?

Why Normality assumption in linear regression

Who is this Ant Woman character in this image alongside the Wasp?

how to acknowledge an embarrasing job interview, now that I work directly with the interviewer?

Book where aliens are selecting humans for food consumption

What is the most triangles you can make from a capital "H" and 3 straight lines?

How do you funnel food off a cutting board?

Eww, those bytes are gross

Why are the books in the Game of Thrones citadel library shelved spine inwards?

Strange Sign on Lab Door

Program that converts a number to a letter of the alphabet

Why is "points exist" not an axiom in geometry?

Why is working on the same position for more than 15 years not a red flag?

What is the wife of a henpecked husband called?

Word or phrase for showing great skill at something WITHOUT formal training in it

What is the purpose of easy combat scenarios that don't need resource expenditure?

How can I deliver in-universe written lore to players without it being dry exposition?

Early credit roll before the end of the film

Why do neural networks need so many training examples to perform?

Citing paywalled articles accessed via illegal web sharing

Why would space fleets be aligned?

Why do members of Congress in committee hearings ask witnesses the same question multiple times?

Can I write a book of my D&D game?

Are there any modern advantages of a fire piston?

We are very unlucky in my court



“node contents” is no more available in label, what's going on?














0















Normally a label is a node and we can use it as such, at least I think I was able to do it before version 3.1 of TikZ.



Now when I try to use node contents in label, for example like this :



documentclass[tikz,border=7pt]{standalone}
begin{document}
tikznode[label={[node contents=B]}]{A};
end{document}


I receive the following error



! Package tikz Error: Giving up on this path. Did you forget a semicolon?.


This is the same error that we obtain if we use node contents style within non empty node, like this node[node contents=B]{A};.



So my question is : Has something changed in the way labels are treated in TikZ since version 3.1 ?









share



























    0















    Normally a label is a node and we can use it as such, at least I think I was able to do it before version 3.1 of TikZ.



    Now when I try to use node contents in label, for example like this :



    documentclass[tikz,border=7pt]{standalone}
    begin{document}
    tikznode[label={[node contents=B]}]{A};
    end{document}


    I receive the following error



    ! Package tikz Error: Giving up on this path. Did you forget a semicolon?.


    This is the same error that we obtain if we use node contents style within non empty node, like this node[node contents=B]{A};.



    So my question is : Has something changed in the way labels are treated in TikZ since version 3.1 ?









    share

























      0












      0








      0








      Normally a label is a node and we can use it as such, at least I think I was able to do it before version 3.1 of TikZ.



      Now when I try to use node contents in label, for example like this :



      documentclass[tikz,border=7pt]{standalone}
      begin{document}
      tikznode[label={[node contents=B]}]{A};
      end{document}


      I receive the following error



      ! Package tikz Error: Giving up on this path. Did you forget a semicolon?.


      This is the same error that we obtain if we use node contents style within non empty node, like this node[node contents=B]{A};.



      So my question is : Has something changed in the way labels are treated in TikZ since version 3.1 ?









      share














      Normally a label is a node and we can use it as such, at least I think I was able to do it before version 3.1 of TikZ.



      Now when I try to use node contents in label, for example like this :



      documentclass[tikz,border=7pt]{standalone}
      begin{document}
      tikznode[label={[node contents=B]}]{A};
      end{document}


      I receive the following error



      ! Package tikz Error: Giving up on this path. Did you forget a semicolon?.


      This is the same error that we obtain if we use node contents style within non empty node, like this node[node contents=B]{A};.



      So my question is : Has something changed in the way labels are treated in TikZ since version 3.1 ?







      tikz-pgf





      share












      share










      share



      share










      asked 3 mins ago









      KpymKpym

      16.3k23989




      16.3k23989






















          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%2f477295%2fnode-contents-is-no-more-available-in-label-whats-going-on%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%2f477295%2fnode-contents-is-no-more-available-in-label-whats-going-on%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

          IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

          Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

          Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...