Arguments stops being evaluated inside tikz node

Make a Bowl of Alphabet Soup

"Marked down as someone wanting to sell shares." What does that mean?

"Oh no!" in Latin

What is the meaning of "You've never met a graph you didn't like?"

Writing in a Christian voice

Why is indicated airspeed rather than ground speed used during the takeoff roll?

Can you take a "free object interaction" while incapacitated?

Center page as a whole without centering each element individually

Does capillary rise violate hydrostatic paradox?

Friend wants my recommendation but I don't want to give it to him

Taking the numerator and the denominator

Is there any common country to visit for persons holding UK and Schengen visas?

PTIJ: Which Dr. Seuss books should one obtain?

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

Why can't I get pgrep output right to variable on bash script?

What (if any) is the reason to buy in small local stores?

Do I have to take mana from my deck or hand when tapping this card?

Derivative of an interpolated function

Highest stage count that are used one right after the other?

Sort with assumptions

Why would five hundred and five same as one?

How to get directions in deep space?

Is there a distance limit for minecart tracks?

Connection Between Knot Theory and Number Theory



Arguments stops being evaluated inside tikz node














0















In the following example, the code textwidth-1mm is "evaluated" in the first page, but on the second page (where I add a node around it), the text is not evaluated anymore and I can see a bit -1mm in the middle of the page... Why? How could I correct that?



Thank!



enter image description here



MWE



documentclass{article}

usepackage{tikz}
usetikzlibrary{calc}
usepackage{xcolor}
usepackage[most]{tcolorbox}
tcbuselibrary{raster}
begin{document}

noindent
begin{tcbitemize}[raster width=textwidth-1mm, raster height=textheight]
tcbitem[blankest,valign=center]
tcbox[]{
includegraphics[width=5cm,height=5cm, keepaspectratio]{example-image-a}
}
end{tcbitemize}
newpage

noindent
begin{tikzpicture}
node[inner sep=0pt]{
begin{tcbitemize}[raster width=textwidth-1mm, raster height=textheight]
tcbitem[blankest,valign=center]
tcbox[]{
includegraphics[width=5cm,height=5cm, keepaspectratio]{example-image-a}
}
end{tcbitemize}
};
end{tikzpicture}
newpage

end{document}








share



























    0















    In the following example, the code textwidth-1mm is "evaluated" in the first page, but on the second page (where I add a node around it), the text is not evaluated anymore and I can see a bit -1mm in the middle of the page... Why? How could I correct that?



    Thank!



    enter image description here



    MWE



    documentclass{article}

    usepackage{tikz}
    usetikzlibrary{calc}
    usepackage{xcolor}
    usepackage[most]{tcolorbox}
    tcbuselibrary{raster}
    begin{document}

    noindent
    begin{tcbitemize}[raster width=textwidth-1mm, raster height=textheight]
    tcbitem[blankest,valign=center]
    tcbox[]{
    includegraphics[width=5cm,height=5cm, keepaspectratio]{example-image-a}
    }
    end{tcbitemize}
    newpage

    noindent
    begin{tikzpicture}
    node[inner sep=0pt]{
    begin{tcbitemize}[raster width=textwidth-1mm, raster height=textheight]
    tcbitem[blankest,valign=center]
    tcbox[]{
    includegraphics[width=5cm,height=5cm, keepaspectratio]{example-image-a}
    }
    end{tcbitemize}
    };
    end{tikzpicture}
    newpage

    end{document}








    share

























      0












      0








      0








      In the following example, the code textwidth-1mm is "evaluated" in the first page, but on the second page (where I add a node around it), the text is not evaluated anymore and I can see a bit -1mm in the middle of the page... Why? How could I correct that?



      Thank!



      enter image description here



      MWE



      documentclass{article}

      usepackage{tikz}
      usetikzlibrary{calc}
      usepackage{xcolor}
      usepackage[most]{tcolorbox}
      tcbuselibrary{raster}
      begin{document}

      noindent
      begin{tcbitemize}[raster width=textwidth-1mm, raster height=textheight]
      tcbitem[blankest,valign=center]
      tcbox[]{
      includegraphics[width=5cm,height=5cm, keepaspectratio]{example-image-a}
      }
      end{tcbitemize}
      newpage

      noindent
      begin{tikzpicture}
      node[inner sep=0pt]{
      begin{tcbitemize}[raster width=textwidth-1mm, raster height=textheight]
      tcbitem[blankest,valign=center]
      tcbox[]{
      includegraphics[width=5cm,height=5cm, keepaspectratio]{example-image-a}
      }
      end{tcbitemize}
      };
      end{tikzpicture}
      newpage

      end{document}








      share














      In the following example, the code textwidth-1mm is "evaluated" in the first page, but on the second page (where I add a node around it), the text is not evaluated anymore and I can see a bit -1mm in the middle of the page... Why? How could I correct that?



      Thank!



      enter image description here



      MWE



      documentclass{article}

      usepackage{tikz}
      usetikzlibrary{calc}
      usepackage{xcolor}
      usepackage[most]{tcolorbox}
      tcbuselibrary{raster}
      begin{document}

      noindent
      begin{tcbitemize}[raster width=textwidth-1mm, raster height=textheight]
      tcbitem[blankest,valign=center]
      tcbox[]{
      includegraphics[width=5cm,height=5cm, keepaspectratio]{example-image-a}
      }
      end{tcbitemize}
      newpage

      noindent
      begin{tikzpicture}
      node[inner sep=0pt]{
      begin{tcbitemize}[raster width=textwidth-1mm, raster height=textheight]
      tcbitem[blankest,valign=center]
      tcbox[]{
      includegraphics[width=5cm,height=5cm, keepaspectratio]{example-image-a}
      }
      end{tcbitemize}
      };
      end{tikzpicture}
      newpage

      end{document}






      tikz-pgf expansion





      share












      share










      share



      share










      asked 3 mins ago









      tobiasBoratobiasBora

      1,267315




      1,267315






















          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%2f480403%2farguments-stops-being-evaluated-inside-tikz-node%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%2f480403%2farguments-stops-being-evaluated-inside-tikz-node%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

          Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

          Schneeberg (Smreczany) Bibliografia | Menu...

          Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...