I'm trying to use tikzit, and I created a shape (basically a new kind of node). The shape is located into /home/user/.config/tikzit/shapes/shape1 but tikzit (and pdflatex as well, obviously) doesn't seem to find it. I have tried both with debian8 and fedora21, but the problem seems to persist.   \documentclass{article} \usepackage[svgnames]{xcolor} \usepackage{tikz} \usetikzlibrary{decorations.markings} \usetikzlibrary{shapes.geometric} \pagestyle{empty}  \pgfdeclarelayer{edgelayer} \pgfdeclarelayer{nodelayer} \pgfsetlayers{edgelayer,nodelayer,main}  \tikzstyle{none}=[inner sep=0pt]   \tikzstyle{node1}=[shape1,fill=White,draw=Black]   \usepackage[graphics,tightpage,active]{preview} \PreviewEnvironment{tikzpicture} \newlength{\imagewidth} \newlength{\imagescale}  \begin{document} \begin{tikzpicture}     \begin{pgfonlayer}{nodelayer}         \node [style=node1] (0) at (-1.75, 1) {};     \end{pgfonlayer} \end{tikzpicture} \end{document}
I'm trying to include a file with a specific shape (cup) into another TikZ image, in order to use the cup as a "stamp" to draw more complex figure. The file is located in /usr/share/tikzit/shapes/cap.tikz  \documentclass{article} \usepackage[svgnames]{xcolor} \usepackage{tikz} \usetikzlibrary{decorations.markings} \usetikzlibrary{shapes.geometric} \pagestyle{empty}  \pgfdeclarelayer{edgelayer} \pgfdeclarelayer{nodelayer} \pgfsetlayers{edgelayer,nodelayer,main}  \tikzstyle{none}=[inner sep=0pt] \tikzstyle{node1}=[cap,fill=White,draw=Black]  \tikzstyle{simple}=[-,draw=Black,line width=2.000] \tikzstyle{arrow}=[-,draw=Black,postaction={decorate},decoration={markings,mark=at position .5 with {\arrow{&gt;}}},line width=2.000] \tikzstyle{tick}=[-,draw=Black,postaction={decorate},decoration={markings,mark=at position .5 with {\draw (0,-0.1) -- (0,0.1);}},line width=2.000]  \usepackage[graphics,tightpage,active]{preview} \PreviewEnvironment{tikzpicture} \newlength{\imagewidth} \newlength{\imagescale}  \begin{document} \begin{tikzpicture}     \begin{pgfonlayer}{nodelayer}         \node [style=node1] (0) at (-2.5, 1.5) {};     \end{pgfonlayer} \end{tikzpicture}  \end{document}   The code i want to include is the following:  \begin{tikzpicture}         \path [use as bounding box] (-2,-2) rectangle (2,2);         \begin{pgfonlayer}{nodelayer}                 \node [style=none] (0) at (0, 0.75) {};                 \node [style=none] (1) at (-0.5, 0) {};                 \node [style=none] (2) at (0.5, 0) {};         \end{pgfonlayer}         \begin{pgfonlayer}{edgelayer}                 \draw [in=0, out=90] (2.center) to (0.center);                 \draw [in=270, out=-90, looseness=0.75] (1.center) to (2.center);                 \draw [in=90, out=180] (0.center) to (1.center);         \end{pgfonlayer} \end{tikzpicture}   But it seems I miss how to specify the directory of cup. I get this error:     Package pgfkeys Error: The key '/tikz/cap' requires a value. I am   going to ignore this key.   It seems like I have to deal with tikzstyle or pgfkey, but I don't know how to specify an external file.
Could it be a structure of "How many -singular noun- is there?" We had an argument in our collage if it's possible to have such structure:     "How many -singular noun- is there?"   For example:      How many chair is there?   The claim of the supporters: This structure should be used in case that t is not known whether there is one one or more chairs there. While just in case that it is known certainty that there are more than one chair, it should be "how many chairs are there".    The claim of the opponents: This structure cannot be since using the phrase "how many" always should be with a plural noun.  Both sides are not native English speakers, then I would like to know what is the truth. Counting points in shapefile within polygons of another shapefile using ArcGIS Desktop? I'm creating a map with two shapefiles:   A polygon of counties Points of cities   I used the function Intersect to group the cities in each county.  I'm trying to get the number of cities in each county to show up in the legend.    For example, in county A there are 16 cities, in county B there are 7 cities and so on.  I'm trying to create a choropleth map that shows the number of cities in each county. \numcases with \tag I would like to label some cases with specific tags, and was hoping for something like  \begin{numcases}{A = } \frac{r}{a} &amp; r &gt; a \tag{G} \\ \frac{a}{r} &amp; r &lt; a \tag{H} \end{numcases}   utilizing the numcasesenvironment from the cases package, and \tag from amsmath. However, the two don't seem to be compatible:     ! Package amsmath Error: \tag not allowed here.   Is there any alternatives that would do what I hope to accomplish? How do I convert two lists into a dictionary? How do I install Geforce GTX 660 in 13.10 Just bought a Geforce GTX 660 and replaced my Radeon HD 5870 (it finally died after 3 years). I'm having terrible problems getting the video card to work. As I only had command line options so far I've ran:  (purged fglrx*)  then  sudo add-apt-repository ppa:xorg-edgers/ppa sudo apt-get update sudo apt-get install nvidia-331  and then I started getting low graphics mode errors. did some searching on my tablet, and I tried several things but what finally worked better was:   sudo apt-get install bumblebee bumblebee-nvidia  However now that I'm logged into my computer finally, I have no access to terminal, no access to the top bar, and hitting Super Key does nothing, alt-f2 does nothing, and I only can post because I tried running WoW and it had an error and the error report opened a link.   All I can see on my desktop is my wallpaper and desktop icons. I can CTRL+ALT+F1, and navigate to the downloaded official nvidia driver, however that won't run because of x-server, and I can't run it from my desktop.   Can anyone help me? I have a complex command that I'd like to make a shell/bash script of.  I can write it in terms of $1 easily:  foo $1 args -o $1.ext   I want to be able to pass multiple input names to the script. What's the right way to do it?    And, of course, I want to handle filenames with spaces in them. Can you flash any android device with "fastbood flash" command (of the adb)? How to measure a qubit Hamiltonian in qiskit Is there a simple way of proving that $\text{GL}_n(R) \not\cong \text{GL}_m(R)$? Letting $\mathbb{F}_{1}$ and $\mathbb{F}_{2}$ be fields, and letting $n \geq 3$ and $m$ be natural numbers, it is known that $\text{GL}_{m}(\mathbb{F}_{1})$ and $\text{GL}_{n}(\mathbb{F}_{2})$ are elementarily equivalent if and only if $m=n$ and $\mathbb{F}_{1} \equiv \mathbb{F}_{2}$ (as proven in "Elementary Properties of Linear Groups" in the collection "The Metamathematics of Algebraic Systems — Collected Papers: 1936–1967").  So, given a field $\mathbb{F}$, if $n \neq m$, then $\text{GL}_{m}(\mathbb{F}) \not\equiv \text{GL}_{n}(\mathbb{F})$, and thus $\text{GL}_{m}(\mathbb{F}) \not\cong \text{GL}_{n}(\mathbb{F})$.  Letting $R$ be a commutative ring (with unity), and letting $n, m \in \mathbb{N}$ be such that $n \neq m$, is there a simple "algebraic" way of proving that $\text{GL}_{m}(R)$ and $\text{GL}_{n}(R)$ are not isomorphic (as groups)? Is there a simple group-theoretic way of showing that $\text{GL}_{m}(\mathbb{F}) \not\cong \text{GL}_{n}(\mathbb{F})$ for a field $\mathbb{F}$?  Certain special cases of this problem trivially hold, for example in the case whereby $\mathbb{F}$ is finite, in which case $|\text{GL}_{m}(\mathbb{F})| \neq |\text{GL}_{n}(\mathbb{F})|$. We noticed that lots of bugs in our software developed in C# (or Java) cause a NullReferenceException.  Is there a reason why "null" has even been included in the language?  After all, if there were no "null", I would have no bug, right?  In other words, what feature in the language couldn't work without null? Roll a 6-sided die until the total $\geq M$. Mean amount by which $M$ is exceeded? Here is the question:  You roll a fair 6-sided dice iteratively until the sum of the dice rolls is greater than or equal to M. What is the mean and standard deviation of the sum minus M when M=300?  Should I write a code to answer these kind of questions?  Please give me some hints on that. thanks! How to delete an element from an array in C# Lets say I have this array,  int[] numbers = {1, 3, 4, 9, 2};   How can I delete an element by "name"? , lets say number 4?  Even ArrayList didn't help to delete?  string strNumbers = " 1, 3, 4, 9, 2"; ArrayList numbers = new ArrayList(strNumbers.Split(new char[] { ',' })); numbers.RemoveAt(numbers.IndexOf(4)); foreach (var n in numbers) {     Response.Write(n); } Is the uncertainty principle a property of elementary particles or a result of our measurement tools? In many physics divulgation books I've read, this seems to be a commonly accepted point of view (I'm making this quote up, as I don't remember the exact words, but this should give you an idea):      is not a result of our lack of proper measurement tools. The fact that we can't precisely know both the position and momentum of an elementary particle is, indeed, a property of the particle itself. It is an intrinsic property of the Universe we live in.   Then this video came out:  (skip to , if you're already familiar with the uncertainty principle).  So, correct me if I'm wrong, what we may claim according to the video is:     the only way to measure an elementary particle is to make it interact with another elementary particle: it is therefore incorrect to say that an elementary particle doesn't have a well defined momentum/position before we make our measurement. We cannot access this data (momentum/position) without changing it, therefore it is correct to say that our ignorance about this data is not an intrinsic property of the Universe (but, rather, an important limit of how we can measure it).   Please tell me how can both of the highlighted paragraphs be true or how they should be corrected. lcm versus phi in RSA In textbook RSA, the Euler $\varphi$ function $$\varphi(pq) = (p-1)(q-1)$$ is used to define the private exponent $d$. On the other hand, real-world cryptographic specifications require the Carmichael lcm function $$\lambda(pq) = \operatorname{lcm}(p-1,q-1)$$ to define $d´$. It is clear that the $d´$ divides $d$, and therefore using $d´$ may be more efficient than using $d$. My question is: Are there any further reasons, e.g. regarding security, why one should not use $d$? Compare 1st column of the 1st file and 2nd column of the 2nd file and matching Distribute objects optimaly So I've got a file with loads of simple objects. This will later be used to cut out these shapes out of plastic. So, using the material optimally is of outmost importance. I was wondering if there is any script or plugin that could automaticly arrange the objects within the artboard so they could fit best. Decode Base64 data in Java Humanity meeting another similar intelligent life form deep into space (or not)? I'm looking for a plot line (it should be a short story) that depicts Earth population (or their close descendants) establishing contact with another intelligent life form deep into space.   After careful studying of DNA samples and language / communication symbols they then realize that the civilization in question is also from Earth but that they departed very long ago and travelled throughout the galaxy in the completely opposite direction so that they are now meeting practically at the point of the circle opposite to Earth. There might have been some anatomical differences as well.  As far as I can remember, the story concludes shortly after that.  This should be a work of a well-known SF author, so I'm hoping for a quick response (if time didn't corrupt my memory too much).  I don't think it was part of an anthology, but it's entirely possible it was in a magazine.  As for the timeline, I've read it about 2-3 years ago, but since I have a passion for older SF works it might not be of much use.  Edit: Not sure if this could help but for what it's worth, it might be contained in . How are local variables referenced in closures? Deleting comment removes "Add comment" link on Mobile If I delete a comment on the mobile version of the site (at least if it's the only comment on an answer), the "Add comment" link will vanish along with the comment, so I have to reload to leave another comment.     but got declined as , which is why I'm reposting this (as it may well be a new bug with the same symptoms).  I'm using Firefox 32.0.3 on Android.