How to extract expanded equations that use commands?
LaTeX macro expander
I'm using Java, and need to generate a simple, standards-compliant RSS feed. How can I go about this? Stored Procedures, MySQL and PHP The question is a fairly open one. I've been using Stored Procs with MS SQLServer for some time with classic ASP and ASP.net and love them, lots.  I have a small hobby project I'm working on and for various reasons have gone the LAMP route. Any hints/tricks/traps or good starting points to get into using stored procedures with MySQL and PHP5? My version of MySQL supports Stored Procedures. Some websites have code to "break out" of IFRAME enclosures, meaning that if a page A is loaded as an IFRAME inside an parent page P some Javascript in A redirects the outer window to A.  Typically this Javascript looks something like this:  &lt;script type="text/javascript"&gt;   if (top.location.href != self.location.href)      top.location.href = self.location.href; &lt;/script&gt;   My question is: As the author of the parent page P and not being the author of the inner page A, how can I prevent A from doing this break-out?  P.S. It seems to me like it ought to be a cross-site security violation, but it isn't. This is a good news.    This is good news.    Which one is correct? Clarify the difference How do I Uninstall Windows 10 or Windows 10 preview? Now that I have Firefox 49 or higher, how do I watch Netflix? Just got the Firefox 49 update (yay!)  But Netflix still wants to install Silverlight (boo!)  How can I watch Netflix in Firefox, as ? Can I use film that's 20+ years old? Consider the sentence &quot;I can run faster than 15 miles per hour.&quot; Its meaning is clear and to my eyes obviously grammatically correct. Now let me present some variations that have given me trouble for a long time.  I am faster than 15 miles per hour. – To me this is clearly incorrect. Directly comparing me to a speed doesn't seem right. We need to compare my speed to a speed, or me to another person.  I can run faster than him. – Compared to the base sentence, there is a distinct shift in meaning of the comparison. While before I named a speed faster than which I can run, now I am naming a person. It doesn't seem quite right. I realize the parts of speech can change, but my initial objection is that &quot;him&quot; is not a speed.  I can run faster than he. – This seems most correct to me, but still somehow feels objectionable. Is this in fact the correct way to say it? And if so, is it proper as is or need I say &quot;... faster than he can&quot; or even &quot;... faster than he can run?&quot;  I am faster than him. – With &quot;am&quot; instead of &quot;can run&quot; it now seems slightly more correct. But is it?  I am faster than he. – I'm in doubt here. It doesn't seem wrong to me to say, &quot;I am faster than he is&quot; or even &quot;I am faster than he is fast.&quot; (Though I suppose that is a given since I could hardly properly compare to some other category as in &quot;I am faster than he is smart.&quot;)  My speed is faster than his. – Hmm. This seems more proper as &quot;my speed is greater than his.&quot;   So which of these constructions is correct and which is incorrect? Is there a general rule that I can follow? UPDATE The scholarly article  may be of great interest to some readers!  Once we accept that the elided constituent and its antecedent can differ in form, it becomes reasonable to ask how large this difference can be. The answer in Rooth (1992), Fiengo and May (1994), Chung et al. (1995) and subsequent work is that the wiggle room is actually quite small: the elided constituent and its antecedent are allowed to differ only in the realization of inﬂectional morphology. Other than that, both constituents have to be syntactically and lexically isomorphic. Why do physicists believe that there exist magnetic monopoles? Unable to cover get set in apex test class Title tag different from title appearing in Google? I'm just wondering how it is possible that IGN.com has this in its title tag:      Video Games, Cheats, Walkthroughs, Game Trailers, Reviews, News, Previews &amp; Videos at IGN   while on Google its title is simply "IGN".   How can one achieve such a thing? Does it use some special meta tag I can't see? How long was Luke Skywalker's training with Yoda? From the answer to the question  :     We also don't know how much time Luke spent training.   I tried to check some references like  and  related section on their Wookieepedia articles, but there is not even a clue of the amount of time he spent there.  Is there any canon information on the subject? Or any extrapolation of how long Luke's journey on Dagobah was? Was it a day? Several weeks? Some months? Handling data in a PHP JSON Object Trends data from Twitter Search API in JSON.  Grabbing the file using:  $jsonurl = "http://search.twitter.com/trends.json"; $json = file_get_contents($jsonurl,0,null,null); $json_output = json_decode($json);   How do I work with data from this object. As an array? Only really need to extract data from the [name] values.  JSON object contains:  stdClass Object (     [trends] =&gt; Array         (             [0] =&gt; stdClass Object                 (                     [name] =&gt; Vote                     [url] =&gt; http://search.twitter.com/search?q=Vote                 )              [1] =&gt; stdClass Object                 (                     [name] =&gt; Halloween                     [url] =&gt; http://search.twitter.com/search?q=Halloween                 )              [2] =&gt; stdClass Object                 (                     [name] =&gt; Starbucks                     [url] =&gt; http://search.twitter.com/search?q=Starbucks                 )              [3] =&gt; stdClass Object                 (                     [name] =&gt; #flylady                     [url] =&gt; http://search.twitter.com/search?q=%23flylady                 )              [4] =&gt; stdClass Object                 (                     [name] =&gt; #votereport                     [url] =&gt; http://search.twitter.com/search?q=%23votereport                 )              [5] =&gt; stdClass Object                 (                     [name] =&gt; Election Day                     [url] =&gt; http://search.twitter.com/search?q=%22Election+Day%22                 )              [6] =&gt; stdClass Object                 (                     [name] =&gt; #PubCon                     [url] =&gt; http://search.twitter.com/search?q=%23PubCon                 )              [7] =&gt; stdClass Object                 (                     [name] =&gt; #defrag08                     [url] =&gt; http://search.twitter.com/search?q=%23defrag08                 )              [8] =&gt; stdClass Object                 (                     [name] =&gt; Melbourne Cup                     [url] =&gt; http://search.twitter.com/search?q=%22Melbourne+Cup%22                 )              [9] =&gt; stdClass Object                 (                     [name] =&gt; Cheney                     [url] =&gt; http://search.twitter.com/search?q=Cheney                 )          )      [as_of] =&gt; Mon, 03 Nov 2008 21:49:36 +0000 ) In my online brokerage account, I want to buy a particular stock and I see the following:  Bid:  13.20 x200           Ask:  13.27 x1,000   the current stock price is 13.22.   Can someone explain what the bid and ask prices mean relative to the current price?  If I buy 1000 shares, why would I pay more? Good color palette, usable for the color blind. I'm designing a chart right now, that will slowly have more items added to it. I'd like to create an list/order of colors for the items, that will be most usable for the color blind to differentiate between each item. Any ideas how/where to start? What is the relationship between size of object with distance? How does the size/length of an object vary with distance?   Is it a logarithmic relationship? exponential? linear?   I plotted a curve of the size/length of an object for different distances from the camera, and the curve looked exponential/logarithmic. I was trying to understand the reasoning behind that. Suppose Player 1 has a Dragon on the table and  in hand, while Player 2 has two Spiders on the table.  Player 1 chooses to attack with the Dragon and Player 2 chooses to block with one of the Spiders.  Before combat damage is to be dealt, Player 1 uses Unsummon on the blocking Spider.    Does Player 2 take any life damage from the attacking Dragon? My pixel perfect picture gets blurry when compiled in LaTeX I know this sounds like a stupid question, but I just wanted to confirm if they are the same thing. In new canon, anti-gravity is never mentioned. XeTeX: What happened to \mathcal and \mathscr? Recently I switched from pdflatex to xelatex to be able to use OpenType fonts. I like to use variables highlighted using \mathcal for specific variables, while I used to use \mathscr-typeset variables for matrices. But when I compile with XeLaTeX they look exaclty the same.  Old code  \documentclass{standalone} \usepackage{mathrsfs} \begin{document} $\mathcal{C} = \mathscr{C}$ \end{document}   Output        New code  \documentclass{standalone} \usepackage{unicode-math} \begin{document} $\mathcal{C} = \mathscr{C}$ \end{document}   Output        Broken code  I tried to get back the glyphs from mathrsfs, but it failed this way.  \documentclass{standalone} \usepackage{unicode-math} \usepackage{mathrsfs} \begin{document} $\mathcal{C} = \mathscr{C}$ \end{document}   Output        Question: How can I get back the behaviour? In principle I'd like to have the old \mathcal letters from the pdflatex-version of Computer/Latin Modern.    Alternate solutions (Addendum 2016/05/11)