Skip to main content

Questions tagged [scoping]

{scoping} defines the context within which a variable name or other identifier is valid and can be used, or within which a declaration has effect.

7 votes
3 answers
183 views

This post raised from my previous answer, and pascal974's comment: Consider the following two codes: \documentclass[tikz,border=5pt]{standalone} \usetikzlibrary{positioning} \begin{document} \...
Explorer's user avatar
  • 8,745
3 votes
2 answers
122 views

According to https://tex.stackexchange.com/a/459499/319072, you can use the key name prefix = <str> to achieve a form of quasi-scoping for setting a coordinate in tikz. I am after true scoping ...
Jasper's user avatar
  • 10.9k
0 votes
1 answer
72 views

When I try to use the defined node labels, I get a compilation error, for example with \draw (n1:5)--(n0:5); \documentclass[tikz]{standalone} \usetikzlibrary{chains, automata} \tikzset{ drBinT/...
user209882's user avatar
1 vote
1 answer
41 views

I am working with the datatool package in LaTeX to create and display a custom database. I define a new database (DBnew), add a column to it, and populate it with values calculated from another ...
Marco Moldenhauer's user avatar
2 votes
1 answer
179 views

I am using two different approaches to draw similar looking blocks. Using first approach, I draw first block (top row) made of rectangular nodes inside a scope and name it as group 1. Similarly, ...
dd_rookie's user avatar
  • 285
2 votes
1 answer
138 views

I'd like to clip a rectangle at the center of a QR Code, however it can't satisfy my request. The first one clips reversed, then I switch the order of node and clip commands, the second one couldn't ...
myhsia's user avatar
  • 2,103
1 vote
1 answer
86 views

I have problems when using scope in circuitikz. \documentclass{standalone} \usepackage{tikz} \usepackage{circuitikz} \usepackage{siunitx} %Inicio Preambulo \ctikzset{% monopoles/vcc/arrow={Triangle[...
Jose G Lopez's user avatar
4 votes
1 answer
148 views

I'm experimenting with the PGF/TikZ Object-Oriented Programming functionality and have encountered what appears to be a scoping issue that I do not understand. I have provided a minimum example of the ...
James Gardner's user avatar
2 votes
3 answers
380 views

Here's the simplest file I can think of which demonstrates my problem: I simply want to draw two circles, half filled: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} ...
Alasdair's user avatar
  • 5,457
3 votes
1 answer
140 views

In the following tikz code, there are three sets of graphs, each enclosed within its own scope environment. I'm looking to enclose the middle graph with a rectangular box. While I can achieve this ...
licheng's user avatar
  • 1,069
0 votes
0 answers
75 views

I made a package that caches stuff (robust-externalize) and my goal now is to compile automatically many images into a single document to save the loading time of the preamble during the first ...
tobiasBora's user avatar
  • 9,930
4 votes
2 answers
269 views

Is it possible to display identical images accurately without color change when the options [transparency group] and [opacity] are used and the images are stacked on top of each other while shifted ...
17757970's user avatar
  • 333
0 votes
1 answer
53 views

I am writing a document that involves a table of information for many sections, something like: \textbf{Details:} \begin{table}[H] \begin{center} \begin{tabularx}{\linewidth}{|X|c|c|c|c|c|} ...
BugInACode's user avatar
2 votes
1 answer
78 views

I try to display a fancy rating scale in pdf forms with the hyperref package. After half a day of investigation, trying and errors, I finaly got something. I use some redefinition of documented and ...
ChrisAga's user avatar
  • 209
4 votes
2 answers
483 views

I have two scopes and I want to draw an arrow from one to the other. I want the red arrow to be horizontal and not oblique as it is now. It is oblique because the node n is "lower" than ...
tush's user avatar
  • 1,257

15 30 50 per page
1
2 3 4 5
10