I am encountering a number of problems using XeLaTeX and PGF/TikZ.  One concerns the  spy library and seems well-documented.  Today I have encountered another.  Here is a minimal working example.  \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[auto]    \draw[thin, dotted] (0,0) -- node {$\sqrt{r_1 r_2}$} (3,0); \end{tikzpicture} \end{document}   Compiling with XeLaTeX one sees that the line which extends the surd in the square root is also dotted (!):    This does not happen with PDFLaTeX, for example:    Is there a workaround?
Is this intended behavior (with plain XeTeX):  \input tikz \tikz\draw[dashed] node {$3T\over4$}; \bye   It renders as: !?  The fraction line is dashed, too! Is this intentional? Is there something I can do to change that? I know I can separate the fraction into its own node, but other than that?
JavaScript open in a new window, not tab One of the boys who always give/gives the correct answer is Samuel.   As per rule, one of is followed by plural noun/pronoun and singular helping verb, so we should be using gives in the sentence. But the answer is give. Show that, if $a$ and $h$ are positive numbers, $h &lt; a^2$, then $$\sqrt{a^2 + h}-a &lt; \frac{h}{2a} &lt; a - \sqrt{a^2 - h}$$  I've been working on this problem for about 2 hours now, but I've made no progress. I'm not looking for an answer, but I just need some help to get me started since we didn't practice inequalities this complex in highschool. Thanks.   All I can tell is that we're supposed to take the square root of an expression at some point since one inequality ( h &lt; a^2 ) becomes two.   Edit : Thank you guys for the replies, but I'd appreciate only hints in the future (like Robert Israel) so that I can learn. Regardless, I found a different way to do it, so it's cool :) Why is dark matter the best theory available to explain missing mass problems? Why is dark matter the best theory to explain the missing mass problem?    Why is dark matter mathematically necessary to explain the missing mass problem?    On a side not I believe dark matter is definately intuitive the next logical step in physics is to accept the fact the direct observations can not always be the determining factor in the acceptance of a theory.  Positivism is not going to be the only driving force in physics forevermore.    One theory that seems almost as good is the supersymmetric particle. What determination which are actually detectible and how would we distinguish the differences between the two?    References:   . Computing $\sum_{k=1}^{\infty}\frac{1}{k}\int_{\pi k}^{\infty}\frac{\sin(x)}{x}dx$ I was asked to evaluate the following sum: $$\sum_{k=1}^{\infty}\frac{1}{k}\int_{\pi k}^{\infty}\frac{\sin(x)}{x}dx$$  I'm trying to use $$\int_{0}^{\infty} \frac{\sin(x)}{x}dx=\frac{\pi}{2}$$ However, it doesn't seem to work. Any help is greatly appreciated. 9 pirates have to divide 1000 coins... $$\dfrac{1}{\sqrt 1}+\dfrac{1}{\sqrt 2}+\dfrac{1}{\sqrt 3}+\cdots+\dfrac{1}{\sqrt n}\geq \sqrt n$$ I want to prove this by Induction  $$n=1 \checkmark\\ n=k \to \dfrac{1}{\sqrt 1}+\dfrac{1}{\sqrt 2}+\dfrac{1}{\sqrt 3}+\cdots+\dfrac{1}{\sqrt k}\geq \sqrt k\\ n=k+1 \to \dfrac{1}{\sqrt 1}+\dfrac{1}{\sqrt 2}+\dfrac{1}{\sqrt 3}+\cdots+\dfrac{1}{\sqrt {k+1}}\geq \sqrt {k+1}$$ so $$\dfrac{1}{\sqrt 1}+\dfrac{1}{\sqrt 2}+\dfrac{1}{\sqrt 3}+\cdots+\dfrac{1}{\sqrt k}+\dfrac{1}{\sqrt {k+1}}\geq \sqrt k+\dfrac{1}{\sqrt {k+1}}$$now we prove that $$\sqrt k+\dfrac{1}{\sqrt {k+1}} &gt;\sqrt{k+1} \\\sqrt{k(k+1)}+1 \geq k+1 \\ k(k+1) \geq k^2 \\k+1 \geq k \checkmark$$ and the second method like below ,   and I want to know is there more Idia to show this proof  ? forexample  combinatorics proofs  , or using integrals ,or fourier series ,....    Is there a close form for this summation ?  any help will be appreciated . Plot x=3 in PGFPlots Why does the Cauchy distribution have no mean? From the distribution density function we could identify a mean (=0) for Cauchy distribution just like the graph below shows. But why do we say Cauchy distribution has no mean? I switch back and forth between two computers constantly:   OSX Snow Leopard  Ubuntu 10.10    I'd like to be able to make Ubuntu use the same keyboard shortcuts as OSX System Wide, for the following keyboard sequences only (ie I don't want to make Ctrl act like Super)   Super+C -> Copy Super+V -> Paste Super+T -> Open a new tab in whatever browser I'm in.  Super+W -> Close a tab in whatever browser I'm in.    So in short, is there anyway for me to map just these keyboard sequences to the following, system wide ?   Super+C -> Ctrl+C Super+V -> Ctrl+V Super+T -> Ctrl+T  Super+W -> Ctrl+W   I know there are ways for me to do this for vim, and Firefox, and I'm sure specifically for most applications... but I would prefer to have to do this just once and have it work that way system wide!  I'm using a standard PC keyboard, that is "Generic 105 key (intl) PC" on Ubuntu. I'm also using the same keyboard on my Mac mini. I have a one-dimensional array of strings in JavaScript that I'd like to turn into a comma-separated list. Is there a simple way in garden-variety JavaScript (or jQuery) to turn that into a comma-separated list? (I know how to iterate through the array and build the string myself by concatenation if that's the only way.) Visited links within spoilers are not hidden anymore What's the difference between a Long Term Support Release and a Normal Release? I'm getting the following error when trying to update a taxonomy field value via REST api:  {   "error": {     "code": "-1, Microsoft.SharePoint.Client.ClientServiceException",     "message": {       "lang": "en-US",       "value": "Cannot deserialize data for type Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection."     }   } }   The request:  https://server/_api/web/GetFileByServerRelativeUrl('/Shared Documents/file.txt')/ListItemAllFields  {   "__metadata": {     "type": "SP.Data.Shared_x0020_DocumentsItem"   },   "Title": "some title",   "Project": {     "results": [       {         "Label": "Term1",         "TermGuid": "897bdf7f-08d6-44b9-a71a-ddc4cf131664",         "WssId": 5       }     ]   } } Have a web-part display only sub-folders? I am new to SharePoint 2013. I was curious how to put a WebPart for a Document Library on a page with SharePoint 2013, not 2010.   This WebPart would then show the content of a specific library folder and not start at the root of the folder. So say I have a library with multiple folders like "Marketing", "Finance" etc,   I want to be able to create a web part that would only show the contents within the “Marketing subfolder and all of it contents. Is this possible? I have been reading through the  and was curious about the  declaration. I personally have never used it, however I am interested in exploring the language.   What is a good example of using friend?    Reading the FAQ a bit longer I like the idea of the &lt;&lt; &gt;&gt; operator overloading and adding as a friend of those classes. However I am not sure how this doesn't break encapsulation. When can these exceptions stay within the strictness that is OOP? Across the Stack Exchange network you may leave comments on a question or answer.  How do comments work? What are comments for, and when shouldn't I comment? Who can post comments? Who can edit comments? How can I format and link in comments? My comment doesn't contain some of the text I typed in it; why? My comment appears to be long enough, but I can't post it because it's too short; why? Who can delete comments? When should comments be deleted? Why can't I comment on specific posts even if I have enough reputation to comment? When can comments be undeleted? What are automatic comments? How can I link to comments? Anything else I should know about comments?  Also see the FAQ articles on  and . Finding $\int \frac {dx}{\sqrt {x^2 + 16}}$ Add an application to the command search path in csh Recently, I have installed an application (gnuplot) under user directory (/home/usr/bin). I want to run the application whenever I type 'gnuplot' in any directory. What could I do?  I tried to set the path in ~/.cshrc by  setenv gnuplot /home/usr/bin/gnuplot   but it doesn't work. It reports "command not found" as I type gnuplot in the terminal. jQuery get specific option tag text All right, say I have this:  &lt;select id='list'&gt;     &lt;option value='1'&gt;Option A&lt;/option&gt;     &lt;option value='2'&gt;Option B&lt;/option&gt;     &lt;option value='3'&gt;Option C&lt;/option&gt; &lt;/select&gt;   What would the selector look like if I wanted to get "Option B" when I have the value '2'?  Please note that this is not asking how to get the selected text value, but just any one of them, whether selected or not, depending on the value attribute. I tried:  $("#list[value='2']").text();   But it is not working.