We are using XeLaTeX and the longtable package to visualize information, one of those reports must have a colored cell. A single cell, not the entire row.  An example output is here:    Is there a way to color a single cell when using long tables?  Update: example code:  \documentclass[10pt,a4paper,onside,article,notitlepage, landscape]{memoir} \begin{document} \vspace*{-4cm}  \section*{Leverlijst per week}  \begin{longtable}{p{2cm}p{4cm} p{2cm}p{2cm} p{4cm}p{4cm} p{2cm}p{3cm}} Order ID &amp; Referentie &amp; Locatie &amp; Klant &amp; Tekeningnummer &amp; Omschrijving &amp; Leverdatum &amp; Status \\ \hline 1234 &amp; REFERENCE &amp; Location &amp; Client &amp; Drawingnumber &amp; Description &amp; Deliveryday &amp; Status \end{longtable} \end{document}
Possible Duplicate:          I tried to color only a cell of my table but I don't know how do it. I found the method to color an entire row.How could I color only a cell of my table of a precise color?
How to test for an hold item name in Minecraft? I'm trying to make a command block that spawns an item in front of you if you are holding an item with a specific name. I've got these two working scripts;  /testfor @p[r=10] {Inventory:[{tag:{display:{Name:"Item Name"}}}]}  /testfor @p[r=10] {SelectedItemSlot:0,Inventory:[{Slot:0b,­id:"minecraft:diamond_sword"}]­}   but I can't get them together. The block should only look for an item in the active slot. Summer in Saint Helena The Winter Bash site is located at http://winterba.sh/.  Only one problem:   . Saint Helena is in the Southern Hemisphere. It's Summer in Saint Helena.   So shouldn't it be the Summer Bash? Don't forget our Aussie/Kiwi/South African/Southern Brazilian/Argentine/Uruguayan/Zimbabwean/Swazi/Tokelauan/Tuvaluan/Pitcairn Islander/ friends! I have some questions with string theory:   Why is it that there is exactly 4 large spacetime dimensions while the rest remain small? It is a nonlocal QFT. How could that fit in GR? Is it possible to reintegrate a Horcrux? Is $(B_t^2)$ Markov where $(B_t)$ is Brownian motion? I am pretty sure $(B_{t}^{2})$ not Markov because the squared random walk is not.    I guess I can repeat the method since to be Markov it must satisfy the discrete.  Thanks In the book &quot;Quantum Mechanics and Path Integrals&quot; Feynman &amp; Hibbs state that  the probability $P(b,a)$ to go from point $x_a$ at time $t_a$ to the point $x_b$ at the time $t_b$ is $P(b,a) = \|K(b,a)\|^2$ of an amplitude $K(b,a)$ to go from $a$ to $b$. This amplitude is the sum of contributions $\phi[x(t)]$ from each path. $$ K(b,a) = \sum_{\text{paths from $a$ to $b$}} \phi[x(t)]$$ The contributions of a path has a phase proportional to the action $S$: $$ \phi[x(t)] = \text{const}\ e^{(i/\hbar)S[x(t)]}$$  Why must the contribution of a path be $\sim e^{(i/\hbar)S[x(t)]}$? Can this be somehow derived or explained? Why can't the contribution of a path be something else e.g. $\sim \frac{S}{\hbar}$, $\sim \cos(S/\hbar)$, $\log(S/\hbar)$ or $e^{- (S[x(t)]/\hbar)^2}$ ? Edit: I have to admit that in the first version of this question, I didn't exclude the possibility to derive the contribution of a path directly from Schrödinger's equation. So answers along this line are valid although not so interesting. I think when Feynman developed his formalism his goal was to find a way to quantize systems, which cannot be treated by Schrödinger's equation, because they cannot be described in terms of a Hamiltonian (e.g. the Wheeler-Feynman absorber theory). So I think a good answer would explain Feynman's Ansatz without referring to Schrödinger's equation, because I think Schrödinger's equation can only handle a specific subset of all the systems that can be treated by Feynman's more general principle. Software center not loading software lists Factorial Inequality problem $\left(\frac n2\right)^n > n! > \left(\frac n3\right)^n$ I met an inequality, I ask, do not mathematical induction to prove that:     Prove \[ \left(\frac n2\right)^n > n! > \left(\frac n3\right)^n \] without using induction Given a $10×10$ grid with $9$ red blocks and $91$ white blocks, in each step we color one red block black and after that one white block red until there are $91$ black blocks and $9$ red blocks. Prove that there exits a step in which a black block shares an edge with a white block. I ran a few trials and couldn't get past the fifth step without adjacency. But I don't know how to build a proof. To tell about a guess about a case in the past, why use "would+have+past participle" instead of "must+have+past participle? I have seen this sentence in an article on bbc, which is about how people lived thousands of years ago. &quot;When this Neolithic home was built, it would have had a cosy roof of turf..&quot; When I read it, I got confused. Because the fact seems as a simple past situation or guessing/assumption about something in the past. it simply gives information about a past event, eg &quot;when I was a child, I had a blue toy car. I have been making a lot of research on whether or not this structure &quot;would+have+past participle&quot; could be used instead of the simple past or &quot;must+have+past participle&quot;, but I could not find any satisfying explanation. Almost all grammer contents cover this structure is used when we imagine the opposite of what actually happened in the past eg. &quot;referring to a missed opportunity&quot; (eg. &quot;if you had come to the party, you would have seen Tom.&quot;), But, in this case of this sentence, &quot;type 3 conditional&quot; is irrelevant. It is not an if sentence,  It simply gives information about how this house was like or was probably like when it was built long ago. Just like it would be If and old lady would want to tell about &quot;how she was like when she was a child years ago. she would simply say &quot;when I was a child, I had long curly hair.**. So &quot;when I was a child, I would have had long curly hair.&quot; would be wrong. So, my question is: 1-Does this structure &quot;would+have+past participle&quot; completely replace simple past sentences? or can be it be used instead of simple past? 2- If this structure was simply used because the author was not %100 sure about the fact as it was a long long time ago -so he wanted to make a guess or assumption, why did he not simply use &quot;must+have+past participle&quot; or &quot;it was likely that blah blah&quot; which must be used for guessing or assumptions about past happenings. Would it not have made more sense if it was like: &quot;When this Neolithic home was built, it must have had a cosy roof of turf. What is the difference between if(CONST==variable) or if(variable==CONST)? Can regular expressions be used to match nested patterns? Is it possible to write a regular expression that matches a nested pattern that occurs an unknown number of times? For example, can a regular expression match an opening and closing brace when there are an unknown number of open/close braces nested within the outer braces?  For example:  public MyMethod() {   if (test)   {     // More { }   }    // More { } } // End   Should match:  {   if (test)   {     // More { }   }    // More { } } How does a lurker gain reputation to receive privilege for commenting? I have been reading Stack Exchange for years - mostly not logged in, and have never posted (this is my first). I'm simply not very talkative, and very good at googling.  Recently a few occasions have come up when I've wanted to comment on a question.  I wanted either to ask for, or provide, clarification which did not warrant a new answer.  How do I gain enough reputation to comment without:   asking questions which have already been answered or that I can figure out on my own, or posting my comment like as an answer (i.e. being  rude)? Is it correct to say user accounts or users account when referring to the accounts any user has on a site like this one?  In general, in the case of a noun that is used as adjective for the noun that follows, is it better to use &lt;plural-noun&gt; &lt;singular-noun&gt; or &lt;singular-noun&gt; &lt;plural-noun&gt;? I saw  hosted by Stephen Hawkins.  And if I didn't get it wrong, it says that there was no time before the big bang, time was created there.  So how can anything happen when there is no time (eg: the creation of time and the universe)? Is this what he calls a 'singularity'? Which I could think like this: when there is no time nothing can happen, except during this singularity.  Of course I don't know of a law that says 'when there is no time nothing can happen..', I just came up with it, as something intuitive. Integral solutions of hyperboloid $x^2+y^2-z^2=1$ Are there integral solutions to the equation $x^2+y^2-z^2=1$? How can I convert characters from Pathfinder to D&D 5e? I recently joined a 5e campaign group, but prior I was gearing up for a Pathfinder group. I found myself really enjoying creating characters and have made various under the Pathfinder rules. The Pathfinder group ended up falling through and I don't want these characters to go to waste, and was thinking I could use them in upcoming campaigns with my new 5e group. I have tried doing some research for the same races and classes. Some seem to have their own versions but others seem to lack one.  The character I am hoping to translate most would be my Sylph swashbuckler, but was also rather interested in the pathfinder "Bloodrager".  I've tried searching the this site but have only found questions asking about converting only races or enemies from D&amp;D 3.5 to 5e, campaigns from 3.5 to Pathfinder, and only 1 question on translating a Pathfinder class (Bloodrager, coincidentally) but nothing on how to go about it.   I of course am aware a 1:1 parallel is unlikely. I am mostly looking for what the general conversion method is, as well as things I should keep note of when trying to translate characters. What do you call a person who "shuts down" ideas? I'm struggling with the following question;     For every graph $G$ such that $K_3 \not\subseteq G$ (i.e. $G$ does not contain a triangle), prove that $\chi(G) \leq 2\sqrt{n} +1$ (where $\chi(G)$ denotes the chromatic number).   Any hints? I really cannot see the connection between the triangle-free nature of $G$ and a chromatic number being bounded above by $O(\sqrt{n})$. How do I return a longitude and latitude from Google Maps JavaScript geocoder?