In beamer class, when i compile using LaTeX, the output pdf results perfectly the way i expect it to. But when i change it to XeLaTeX, in the lstlisting environment, every tab in the code results in a "^^I"-Placeholder (See output-pdf below). How do I fix this?   if( Bedingung ) {  ^^I//Code, der nur ausgefuehrt wird, wenn die Bedingung wahr ist   }  ^^I^^I   LaTeX-Code (Reduced to the minimum, one frame as an example):  \begin{document}     \begin{frame}[fragile]{if-Statements}         \begin{block}{Syntax}                \begin{lstlisting} if( Bedingung ) {     //Code, der nur ausgefuehrt wird, wenn die Bedingung wahr ist }                    \end{lstlisting}         \end{block}         \begin{block}{Logik}                 \begin{itemize}                  \item Alles innerhalb eines if-Blocks wird nur ausgeführt, wenn die Bedingung (in Klammern) wahr ist.             \end{itemize}         \end{block}     \end{frame} \end{document}
I'm trying out  with gnuplot to generate the data.  This works by having pgfplots write some stuff to an external file, run gnuplot on the file, and then use the generated data to plot the graph.  The problem I'm having is that I get different behaviour under xelatex as pdflatex or lualatex.  In xelatex, the data file is littered with ^^I whereas in the other two formats these are tabs.  It appears that the code ^^I is getting stored as a macro which then gets written out to the file, so possibly there's something funny going on with the ^^I syntax: xelatex is reading it literally.  Indeed, when I do \show\pgfplots@TAB (the macro in question) then for pdflatex and lualatex then I get a literal tab whereas for xelatex I get ^^I.  So how do I get a tab in xelatex?  And why isn't \gdef\pgfplots@TAB{^^I} working?  (The previous line in the code, by the way, is \catcode`\^^I=12 - I don't know if that has anything to do with it.)
I'm trying to determine if there is a best practice for typesetting the "evaluated at" bar for derivatives. The three possibilities I'm thinking of are shown in the code excerpt below:  \begin{gather*} 5 + \frac{df}{dt} \Bigr\rvert_{t = 0} \\ 5 + \frac{df}{dt} \biggr\rvert_{t = 0} \\ 5 + \left. \frac{df}{dt} \right\rvert_{t = 0} \\ \end{gather*}     The \Bigr option doesn't quite reach the top and bottom of the fraction. The \biggr option overshoots the top and bottom of the fraction by a little bit. And the \left...\right option has the same height as the \biggr option, but it introduces a little extra space between the + and the fraction. I'm having trouble deciding between these options. Is there a best practice for typesetting this? How to install folding at home (Folding@home FAHControl) on Ubuntu 19.10 I'm fairly certain this has happened to all of us at some point: You go into a room to get something, but once you're there, you can't remember what you intended to get. It seems like a specific, common phenomenon like this must have a name, but I can't think of it. Does anyone know a name (either formal or slang) for this?  I don't want a general term like forgetfulness or absent-mindedness, which could apply to all sorts of forgetting, or a term for not being able to remember a certain word. I'm looking for a word or phrase that describes this one specific situation of forgetting what you need to get as soon as you go to get it. How to format a duration in java? (e.g format H:MM:SS) How do I turn off some formats in GeoServer's WMS? I have published a couple of layers on my Geoserver.  To be complaint with the T&amp;C of my data provider, I need to block the access of some of those layers as Vector data. Hence I have already blocked the WFS services on these Layers.  I came to know that even on the WMS service, you can get Vector Data, if you use GeoRSS and some of the .   How do I block GeoRSS, SVG &amp; UTFGrid as formats in the WMS Service? I have a problem with the interpretation of a test result in which the p-value is 8.6e-28. How should it be interpreted? What is the e for?  Specifically, I used White's Test for the homoscedasticity assumption of a linear regression:  White's general test statistic :  150.0535  Chi-sq( 9)  P-value =  8.6e-28 $\int_{0}^{\infty} \frac{\cos x - e^{-x}}{x} \mathrm dx$ Evaluate Integral Evaluate $$\int_{0}^{\infty} \frac{\cos x - e^{-x}}{x} \ dx$$ I am using Ubuntu 16.10 and recently I have not been able to connect to internet using Ethernet. The network manager shows device not managed. The WiFi network is working fine.      I've tried the solution from this questionn  with no use.  My /etc/network/interfaces file:  # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback   My /etc/NetworkManager/NetworkManager.conf file:  [main] plugins=ifupdown,keyfile,ofono dns=dnsmasq  [ifupdown] managed=true   Output of nmcli d:  DEVICE  TYPE      STATE      CONNECTION  wlp2s0  wifi      connected  eduroam     enp8s0  ethernet  unmanaged  --          lo      loopback  unmanaged  -- How do I move Steam games to a new computer without re-downloading them? I have just bought a new computer and I have everything migrated over except for my Steam games.  I looked in Program Files/Steam/ and I found a folder full of the games I have downloaded, but I do not know if it is safe to just copy these folders from one computer to another (seeing as a lot of other applications will not work if you do this), or is there another recommended way?  I don't really feel like re-downloading all my games. I don't have the time nor bandwidth to download 20GB over a 1.5mbps connection.  Is it possible to contact Valve and get a disk with the games on it? Is there an IDictionary implementation that, on missing key, returns the default value instead of throwing? The indexer into Dictionary throws an exception if the key is missing.  Is there an implementation of IDictionary that instead will return default(T)? I know about the TryGetValue() method, but that's impossible to use with LINQ. Would this efficiently do what I need?: myDict.FirstOrDefault(a =&gt; a.Key == someKeyKalue);  I don't think it will as I think it will iterate the keys instead of using a Hash lookup. How to connect Nokia Lumia 730 to Ubuntu 15.04? My Nokia Lumia 730 (WP8.1) is not getting detected on Ubuntu 15.04.  Can anybody tell me how to fix this? Change style properties of several layers simultaneously? How to forbid keyboard shortcut stealing by websites in Firefox Many websites, especially everything involving rich text editing (this site is guilty as well), steal keyboard shortcuts normally used to control Firefox and make them do something else instead. It is totally infuriating when I press something like Cmd-number, Cmd-L, Cmd-T, or Cmd-K and it doesn't do what I want it to. Can I make it stop?  Actually, it would probably be for the best if I could forbid stealing of all Cmd-* shortcuts. I've never seen them used for anything useful. Is it possible? Isn't the const modifier here unnecessary? Does app review rejection list all issues? Our app was rejected recently with reason Google+ signin, which we understood is not according to Apple policy and need to fix.  While discussing about this issue we came across an interesting question with Apple review process, does Apple review team list all issues (if more than one exists) while rejecting app (or) would they stop reviewing other areas as soon as they found an issue (in our case Google+ signin)? Let $D \subset \mathbb{C}$ be an open, connected set and let $\{ u_n \}$ be a sequence of harmonic functions with $u_n: D \longrightarrow (0, \infty)$. Show that if $u_n(z_0) \rightarrow 0$ for some $z_0 \in D$, then $u_n \rightarrow 0$ uniformly on compact subsets of $D$.  If you could offer a hint or a helpful question to get me started I'd appreciate it.   Progress: I now see why showing it for the unit disk suffices (any compact subset in $D$ can be covered by finitely many disks each which is contained in $D$). I made a huge project, wanted to reduce file size from 1.3GB to below 1GB. Compressing did not help. I removed objects from scene. Also textures. I then realized, the file size even was the same when I delete ALL objects. Why?  Download of sample:   Before deleting all: 1.2GB, after: 1.1GB. Covariance between sum of iid random variables and sum of indicator functions The question is-     Let $X_1,X_2,..,X_n$ be iid random variables from a continuous distribution whose density is symmetric about $0$. Suppose $\mathbb{E}(|X_1|)=2$ and define $Y=\sum_{i=1}^{n}X_i$ and $Z=\sum_{i=1}^{n}I(X_i&gt;0)$. Then calculate covariance between $Y$ and $Z$.   My attempt:  $E(X_i)=0$ for all $i=1(1)n$ because $X$ is symmetric about $0$ and $E(|X|) $ exists.   Now,  $Cov (Y,Z)=E(YZ)-E(Y)E(Z)$ $=E(YZ)-0$ $=E[(\sum_{i=1}^{n}X_i)(\sum_{i=1}^{n}I(X_i&gt;0)]$  $=(\sum_{i=1}^{n}E[(X_i.I(X_i&gt;0))]$ $+\sum\sum_{i \neq j}E(X_i)E(I(X_j&gt;0)$ as $X_i,X_j$ are independent.   $=\sum_{i=1}^{n}E[(X_i.I(X_i&gt;0)] +0 $ as $E(X_i)=0$  $ =\sum_{i=1}^{n}\{E[X_i.I(X_i&gt;0)|I(X_i&gt;0)=1]×1/2] + E[X_i.I(X_i&gt;0)|I(X_i&gt;0)=0]×1/2]\}$  $=\sum_{i=1}^{n}E[X_i.I(X_i&gt;0)|I(X_i&gt;0)=1]×1/2] +0$  $=\sum_{i=1}^{n}E[X_i|X_i&gt;0]×1/2]$  $=2n×(1/2)$ $=n$  Is my reasoning correct ? Thanks in advance! 500 Error on index.php file QM without complex numbers