I would like to define a shape for nodes in tikz using another tikzpicture. For instance, I would like to make the following into a node shape called monoid  \begin{tikzpicture}   \node (m) [circle,scale=.5,draw] at (0, 0) {};   \node (i1) at (-1,.5){};   \node (i2) at (-1,-.5){};   \node (o) at (1,|-m){};     \draw [-] (m) to (o);     \draw [-] (i1) to [out=0, in=135] (m);     \draw [-] (i2) to [out=0, in=-135] (m); \end{tikzpicture}   and be able to use it in another tikzpicture. For example, doing something like  \begin{tikzpicture}   \node(M)[monoid]at(0,0){};   \draw (-1,0)[out=0,in=180]to(M.i1); \end{tikzpicture}   If someone could point me to the part of the manual that I need to read in order to do this, it would be great. Thanks a lot in advance!  Elena
I know how to draw different shapes using tikz, like this:  \documentclass{minimal} \usepackage{tikz} \begin{document}  \begin{tikzpicture} \draw (0,0) ellipse (1 and 1.5)       (0,2.5) circle (1)       (2.5,0) circle (1.5); \end{tikzpicture}  \end{document}     However, I would like to put a number of different shapes together inside a node, and I couldn't yet find a simple way to do that. I will make a little figure to include in a large diagram which is already made of several nodes.  If this is not possible, or not easy, then how do I include a JPG or EPS file in a node?  Thank you!
Does either pill actually do anything? When Morpheus offers the pill choice to Neo, they are still in the Matrix. That leads me to belive that none of the pills are real thus having no particular effect in the real world. Was it some sort of placebo effect that freed Neo from the Matrix or do the pills have an actual effect? Formula Assistance I am creating a formula variable in a Flow but keep getting this error. Crop net Acres is a Number field. IF(     ISBLANK( [Opportunity].Crop_Net_Acres__c),     0,      ( [Opportunity].Crop_Net_Acres__c) )  Error Message:  netAcresFormula (Formula) - The formula expression is invalid: Syntax error. Missing '='  Any thoughts here? Android app chokes on per-site meta profiles Steps to reproduce:    Go to a per-site meta. Find any post. Touch the user that posted it. See something like this (click to enlarge):           As you can see, it says "Stack Overflow" as the site, and shows my SO rep and badges, but it shows my Meta.Code Golf posts. Failed to Login : Invalid session (Try restarting your game) Minecraft Error Incompatible Software for next OSX? I understand the move past Snow Leopard meant losing Rosetta, and compatibility with any PPC apps.   Since there are some apps that can't be replaced (for example, old years of TurboTax that I might need to reference) I have a drive to boot Snow Leopard, and one for Yosemite. I was considering the jump to El Capitan, when I saw the question  which got me wondering the question -     Before installing a next generation OS, is there any way to find, in   advance, which apps I have that would be orphaned by the move?   Edit, the answer below from Jean Valjean was what I needed. One app concerning me appeared as follows:    It might be tedious to search many apps, but at least this gives me a chance to view the top ones that will cause me grief. How can I find the cheapest prepaid SIM card for a given country? How to make text aligned left/center/right in the same line? The Borel-Cantelli Lemma in  seems to be a sort of "corollary" of the .  It says:  "Let $(E_k)_{k=1}^{\infty}$ be a countable collection of measurable sets for which $\sum_{k=1}^{\infty} m(E_k) &lt; \infty$. Then almost all x $\epsilon \ \mathbb{R}$ belong to at most finitely many of the $E_k$'s"  I don't get three things:   "Then almost all x $\in \ \mathbb{R}$ belong to at most finitely many of the $E_k$'s"   What does that mean? Since the Borel-Cantelli Lemma comes after the "almost everywhere" definition, I guess: $\exists \ Z \ \subset \mathbb{R}$ s.t. $m(Z) = 0$ and $\forall x \ \in \ \mathbb{R} \setminus Z$, x belongs to $(E_{j}, E_{j+1}, E_{l}, ..., E_{m})$.   In the proof, one can see the $m(\limsup \ E_k) = 0$ part, stated as $m(\cap_{n=1}^{\infty} [\cup_{k=n}^{\infty} E_k]) = 0$. For some reason, $m(\cap_{n=1}^{\infty} [\cup_{k=n}^{\infty} E_k]) = 0$ implies that "Therefore almost all x $\in \ \mathbb{R}$ fail to belong to $\cap_{n=1}^{\infty} [\cup_{k=n}^{\infty} E_k]$ and therefore belong to at most finitely many $E_k$'s"   Okay, why? What is the contradiction if almost all $x \epsilon \ \mathbb{R}$ belong to all the $E_k$'s? Or a countably infinite subcollection?   What is the significance of this? Why not just state the Borel-Cantelli Lemma as "Let $(E_k)_{k=1}^{\infty}$ be a countable collection of measurable sets for which $\sum_{k=1}^{\infty} m(E_k) &lt; \infty$. $m(\cap_{n=1}^{\infty} [\cup_{k=n}^{\infty} E_k]) = 0$"? Geocoding USA addresses that cannot be sent over internet? How do I color table columns? I've found question , but the link to the documentation isn't helping me at all.  I'd like to know how to color a table column given my column code, but the documentation only gives the syntax of the command. It doesn't give any code example of where to use it.  \usepackage{colortbl}  \begin{table}[h]     \centering     \begin{tabular}{|c|c|c|c|c|c|c|c|}         \hline         \cellcolor[gray]{0.8}128&amp;64&amp;32&amp;16&amp;8&amp;4&amp;2&amp;1\\\hline         1&amp;0&amp;1&amp;1&amp;0&amp;1&amp;0&amp;1\\\hline     \end{tabular} \end{table}   As you can see, I got \cellcolor to work, but I don't want to color individual cells. I want to color a whole column of the table. Does anybody know how I can go about to do this? How do I parameterize a query containing an IN clause with a variable number of arguments, like this one?  SELECT * FROM Tags  WHERE Name IN ('ruby','rails','scruffy','rubyonrails') ORDER BY Count DESC   In this query, the number of arguments could be anywhere from 1 to 5.  I would prefer not to use a dedicated stored procedure for this (or XML), but if there is some elegant way specific to , I am open to that. I'm asking about someone who's employed by a company and does different jobs (both a qualified and unqualified person). Who knows; maybe in English those two are two different words? What are they called in English?  All I know is a navvy but that usually means physical work.  Let me just try a few things here. These are just wild guesses, nothing more.    odd job man/worker   shiftman   (unskilled) labourer Any time I am inserting new point feature in QGIS, the Feature Attribute dialog box is popping up. Is there a way to prevent it? (I am willing to insert many points at once and this pop up box slows down the process). What’s the best way to reload / refresh an iframe? AES and DES - reusing the same round keys I may not be coming in tomorrow...    I might not be coming in tomorrow...       When should I use "may" and "might"? Headphone jack not working? I want to model this gun:  So I started to cut out the rough shapes from a cube (using the boolean modifier) Then I tried to clean up the geometry to be able to round the edges of the handguard.  But it does not work. When I try to bevel it like in the last pic top right it just gets really messy.  I think I took the wrong approach. How would you go about adding clean and workable geometry to such a piece and would you use the Bevel tool to create the round shapes? I've been trying to photograph lightning lately, as we have had some great storms in Colorado. I've had some difficulty getting a good vantage point, however, as almost all of these storms include rain as well. To keep my camera from getting drenched (I have weather-sealed lenses, but my camera body, a Canon 450D, is not weather sealed as far as I can tell), I've had to shoot under the eve of a building or under a thick canopy of trees, however that has greatly limited my ability to adapt to the changing weather and get get a vantage point on the best lightning.  Is there any equipment, something I can purchase or something home-made that has easy-to-find parts, that can help me protect my lens from the rain while still being able to shoot? Additionally, I've been getting rain on a UV filter I have on the front of my lenses, simply to prevent rain from getting on the front lens element itself. However, once a storm really gets going, so does the rain. Is there a simple solution to keep rain off the front of the lens? Post Problem Analysis - Rod in a cylindrical time varying magnetic field? A metal rod of length $l$ is placed (as shown in figure) in a cylindrical time varying magnetic field. Find the potential difference across it.   My answer:  As electric fields as forming circles around the centre with magnitude $$\frac12r\frac{dB}{dt}$$ whose magnitude is same along any chord at a fix distance from centre: $$\Delta V=E.l=\frac12r\frac32at^{\frac12}.l$$ $$\Delta V=\frac34arlt^{\frac12}$$  My question: Is $\Delta V =V_M-V_N$ or $\Delta V=V_N-V_M$ $\bf OR$ equivalently which side is at high potential?  Possible    $(i)$ As Field lines are circular from $M$ to $N$, $M$ must be high potential. $(ii)$ As this field line apply a force on electrons- in the rod- towards left, then $M$ must have excess $e^-$ and $N$ must have deficiency; so $N$ would be high potential as $M$ is $(+)$ and $N$ is $(-)$.