I'm writing code c++ in LaTeX using listing...but I have some weird output instead of "blank space " it appears unknown symbol, here is the code of the list:  \defverbatim[colored]\lstI{ \begin{lstlisting}[language=C++,basicstyle=\ttfamily\scriptsize,keywordstyle=\color{blue}\ttfamily,stringstyle=\color{red}\ttfamily,commentstyle=\color{green}\ttfamily,breaklines=true] fprintf(gnuplot,"set term postscript\n");   fprintf(gnuplot,"set output \"kmeans_graphs.ps\" \n"); fprintf(gnuplot,"plot 'nomExt.txt' lt 3 linecolor rgb \"red\", 'init_center.dat' lt 7 linecolor rgb \"blue\"\n");  fprintf(gnuplot,"plot 'nomExt.txt' lt 3 linecolor rgb \"red\", 'center_progress.dat' lt 7 linecolor rgb \"yellow\"\n");      fprintf(gnuplot,"plot 'nomExt.txt' lt 3 linecolor rgb \"red\", 'final_center.dat' lt 7 linecolor rgb \"green\"\n"); fprintf(gnuplot,"set term x11\n set out\n"); fprintf(gnuplot,"plot 'nomExt.txt' lt 3 linecolor rgb \"red\", 'final_center.dat' lt 7 linecolor rgb \"green\"\n");     cout&lt;&lt;"\tsaving all plots in the file directory with kmeans_graphs.ps name..."&lt;&lt;endl;     cout&lt;&lt;"\tdisplaying final center for the data set..."&lt;&lt;endl; \end{lstlisting} } \begin{frame}{partie 3 du code}{Extrait main.cpp} \lstI \end{frame}   Here is the output :  fprintf ( gnuplot , " set ␣ term ␣ postscript \ n " ) ; fprintf ( gnuplot , " set ␣ output ␣ \" kmeans_graphs . ps \" ␣ \ n " ) ; fprintf ( gnuplot , " plot ␣ ’ nomExt . txt ’␣ lt ␣ 3 ␣ linecolor ␣ rgb ␣ \" red \" , ␣ ’ init_center . dat ’␣ lt ␣ 7 ␣ linecolor ␣ rgb ␣ \" blue \"\ n " ) ; fprintf ( gnuplot , " plot ␣ ’ nomExt . txt ’␣ lt ␣ 3 ␣ linecolor ␣ rgb ␣ \" red \" , ␣ ’ ce n te r_ pr o gr es s . dat ’␣ lt ␣ 7 ␣ linecolor ␣ rgb ␣ \" yellow \"\ n"); fprintf ( gnuplot , " plot ␣ ’ nomExt . txt ’␣ lt ␣ 3 ␣ linecolor ␣ rgb ␣ \" red \" , ␣ ’ final_center . dat ’␣ lt ␣ 7 ␣ linecolor ␣ rgb ␣ \" green \"\ n " ) ; fprintf ( gnuplot , " set ␣ term ␣ x11 \ n ␣ set ␣ out \ n " ) ; fprintf ( gnuplot , " plot ␣ ’ nomExt . txt ’␣ lt ␣ 3 ␣ linecolor ␣ rgb ␣ \" red \" , ␣ ’ final_center . dat ’␣ lt ␣ 7 ␣ linecolor ␣ rgb ␣ \" green \"\ n " ) ; cout &lt; &lt; " \ tsaving ␣ all ␣ plots ␣ in ␣ the ␣ file ␣ directory ␣ with ␣ kmeans_graphs . ps ␣ name ... " &lt;&lt; endl ; cout &lt; &lt; " \ tdisplaying ␣ final ␣ center ␣ for ␣ the ␣ data ␣ set ... " &lt;&lt; endl ;
I'm seeing an odd character like a very flat U, where there should be a space, with the listings package. See example below. Does anyone have any idea why this is happening, or how to get rid or work around it?  \documentclass{standalone} \usepackage{underscore} \usepackage{listings} \usepackage[usenames,dvipsnames, rgb, svgnames, x11names]{xcolor} % Text layout \topmargin 0.0cm \oddsidemargin 0.5cm \evensidemargin 0.5cm \textwidth 16cm \textheight 21cm  \lstnewenvironment{cmd}[1][]{%   \lstset{language=sh, backgroundcolor=\color{LightSteelBlue1}, #1}} {}  \begin{document} \begin{cmd}[caption=Configuration file section including filters] [affy6] [...]     [[hapmap]]     phenofiles = "data/Hapmap6.0/Pheno/hapmappheno_909.csv",     genofile = "/data/snppy/Hapmap6.0/Geno/birdseed-v2.calls.txt"     anno_filter = "chromosome = 5"     idlink_filter = "studyid = 'CEU'"     some_other_stuff = "foo = bar" \end{cmd} \end{document}
Moving a very large (40 TB) DB from a 2008 server to a 2016 server Dealing with non-integral powers on negative numbers If we are given an expression $(-8)^\frac26$, how do we solve it?  If it is $(-8)^\frac13$, we can find the cube root of -8 which is -2. However, if we square it first and find the sixth root, we get +2 (or maybe $\pm2$, which still isn't the same as just -2.  Also realised that when solving logarithmic and exponential questions, I had often made the assumption that if $b^a=b^c$, then $a=c$, either explicitly, or via some formula. I don't know if this is really true now.  So is there some convention by which we solve non-integral powers or is it just undefined to do so or something?  P.s. Talking of non-integral powers, will a quantity like $(-8)^{√3}$, will it be positive or negative. (Basically that's an irrational power now.) How can I create a progress bar with bash?  This is my script :  #!/bin/bash  pass='number1 number12 number13 number14 number15 number16'  chk='number14'  for i in $pass ; do    if [ "$i" == "$chk" ]; then      echo ' Found ^_^'    else      echo 'loading 50%'    fi  done   I want to replace echo 'loading 50%' with anything to create an progress bar. I have some files that Ubuntu can't read it ( ANSI encoding ) but Windows can read it well.  When I open it in gedit or notepad++ it seems like this :     Êã ÇáÊÍæíá áÜÜ   How can I make Ubuntu read ANSI encoded files well? Variance of dot product When reading a proof I came across the following step:  $$\operatorname{Var}(x^Ty) = x^T\operatorname{Var}(y)x$$ $x$ and $y$ are column vectors. How can you derive this? Story about encounter with hostile aliens This is a short story I read in the late 80s or early 90s in an anthology or collection.  Here are the plot points I remember:   A human spaceship encounters a ship with hostile aliens (HA). There may be friendly aliens (FA) on board the human spaceship A human (or perhaps FA) telepath scans the HA and finds they are hostile and bent on conquest of other races The captain and crew decide on a bluff: pretend they are from a large federation of many species, one so big the HA will become discouraged and drop their plans of conquest They invite one or more HA on their ship To pretend that there are many (more) races in their federation, they do things like put a fake control panel in the ships aquarium and claiming the fish in them are one of the races in their federation The HA can't conceive of multiple races cooperating and are convinced there must be some race on top controlling it all. If not, they can just be conquered one at a time This goes on for a little while until, seeing their plan isn't working (via their telepath) the humans change their plan so that when      the ship's cat (so far unseen by the HA) walks in the room, one of the humans loudly calls "The CAT!" causing everyone to stand rigidly at attention while the cat walks around more or less ignoring everyone and everything the way cats do. Having seen the "top dog" and the rigid discipline and fear he instills in everyone else, the aliens "realize" the humans are deluded into thinking all races are equal members in their 'federation", the cats are really in control of a huge empire, and they should not be messed around with. My friend Evan,is griefing me. When I went on his world to get revenge, he banned me. The screen said " HerobineYoung has banned enderpizza you will be kicked out in 5 minutes." I begged him to tell me how but he wouldn't tell me.   How can I ban people in Minecraft PE? Black nontransparent glass (Cycles) I am modeling plane and I don't want to model a cockpit so I want to use black windows which will reflect a lot of light but you can't see thought.   Currently I just use Glossy BSDF (GGX) with almost black color (0.01, 0.01, 0.01) and Rougness 0.015 but it don't look quite right. It lacks glass shine and looks too matt.  Edit:  Here is my simplified blend file:    Also here is what i want. Glass on this tie fighter is blackish and it looks like glass. In my blend file it looks more like plastic.    One more thing i noticed is when light reflect from glass whole glass section reflect same amount of light. It can be seen on tie fighter example above. This might seem like a very simple question, but what is the easiest way to turn a normal vertical list into a horizontal one? Instantiate a class with or without parentheses? Salesforce1 on focus scroll to the top Left-align all equations in a block align environment without any explicit alignments points (given by &amp;) right justifies the equations in the block. They can be left justified by putting &amp; at the beginning of each equation. Is there any way to left justify them without starting &amp;-s? Maybe some special environment or option? It seems to be an extra work to tell the compiler again and again that I want left alignment on each line. Sqlite3 by default sorts only by ascii letters. I tried to look in google, but the only thing I found were informations about collations. Sqlite3 has only NOCASE, RTRIM and BIARY collations. How to add support for a specific locale? (I'm using it in Rails application) How to repair a broken .EXE file association After (hopefully) scrubbing viruses out of a Windows 7 installation (after deciding not to simply run over the laptop repeatedly with my car), I've got everything almost back to normal. The only lingering issue I have is that for my non-admin users, the ".exe" file extension doesn't work. That is, clicking on the various desktop application links results in a "How do you want to open this?" dialog.  I've been through the alleged registry fixing from "winhelponline" and that had absolutely no effect.  I've tried running "assoc" for the affected users, but it reports the .exe association to be "exefile" even though it persistently does not work.  Right-clicking on a desktop icon and then choosing "start" does successfully open an application, but that's clearly a terrible situation.  For my admin user, things seem to work fine.  What do I need to do to get things working? What can I use instead of the arrow operator, `->`? How to pipe the result of 'date' command to 'mv' command I want to rename my file to the current timestamp.I know how to get the current timestamp("date +%s") but how can I pipe it to 'mv' command? What's the function of the "|" (pipe) operator? For a book cover, I want to write the title vertically (like in Japanese, but using English text):           T T        I H        T I  I  M  L S  S  Y  E   How do I do this without jumping through a host of \vbox and \hboxes? Install Microsoft Office Pro 2010 on Ubuntu 13.04 Prove if $|a_{n+1}|/|a_n| \leq |b_{n+1}|/|{b_n}|$ and $\sum |b_n|$ is convergent, then $\sum |a_n|$ is convergent