This picture is a part of a table i am using, the terms subcases are vertically written but i cant center them vertically also in the next column terms like A, B are also not vertically centered. I made this table using tabulary package and i am also using this command   \begin{tabulary}{1\linewidth}{J J J J J J J J J J J J J}   to wrap my text in cells of table
This picture is a part of a table i am using, the terms subcases are vertically written but i cant center them vertically also in the next columns terms like A, B, etc are also not vertically centered. I made this table using tabulary package a. My code is  \begin{table}[H]  \centering  \caption{Saturation Table}  \label{tab:5}%  \begin{tabulary}{1\linewidth}{J J J J J J J J J J J J J}  \toprule  &amp; \textbf{Method} &amp; \multicolumn{1}{c}{\textbf{Parameters}} &amp; \textbf{Step 0} &amp; \textbf{Step 1} &amp; \textbf{Step 2} &amp; \textbf{Step 3} &amp; \textbf{Step 4} &amp; \textbf{Step 5} &amp; \textbf{Step 6} &amp; \textbf{Step 7} &amp; \textbf{Step 8} &amp; \textbf{Step 9} \\  \midrule  \multirow{4}[4]{*}{\begin{sideways}\textbf{Subcase A}\end{sideways}} &amp;  \multirow{2}[2]{*}{\textbf{A}} &amp; \textbf{No} &amp; 1 &amp; 2 &amp; 3 &amp; 4 &amp; 5 &amp; \textbf{6} &amp; &amp; &amp; &amp; \\[1mm]  &amp; &amp; \textbf{Maximum Saturation {(\%)}} &amp; 1 &amp; 2 &amp; 3 &amp; 4 &amp; 4 &amp; \textbf{5} &amp; &amp; &amp; &amp; \\  \cmidrule{2-13} &amp; \multirow{2}[2]{*}{\textbf{B}} &amp; \textbf{No} &amp; 1 &amp; 2 &amp; 3 &amp; 4 &amp; 5 &amp; 6 &amp; 7 &amp; \textbf{8} &amp; &amp; \\[1mm]  &amp; &amp; \textbf{Maximum Saturation {(\%)}} &amp; 6 &amp; 6 &amp; 7 &amp; 8 &amp; 9 &amp; 9 &amp; 19 &amp; \textbf{8} &amp; &amp; \\  \bottomrule  \end{tabulary}%  \end{table}%
A tank of 425 liters capacity has been filled with water through two pipes, the first pipe having been opened 5 hours longer than the second. If the first pipe were open as long as the second pipe, the first pipe deliver half the amount of water delivered by second pipe; if the two pipes were open simultaneously, the tank would be filled up in 17 hours. How long was the second pipe open?    a. 10 b. 12 c. 15 d. 18 My keyboard has no "media" keys; can I control media without them? My USB keyboard does not have "media" keys -- that is, dedicated keys for play, stop, next, prev, volume up/down, etcetera.    For the sake of this question, I would prefer not to install additional software if I can avoid it.  Is it possible to issue some standard key sequence on a generic USB keyboard that emulates these play, stop, etc. multimedia keys?  Like Ctrl+Alt+Shift+F12 or something obscure like that? Does anyone know of any good tools (I'm looking for IDEs) to write assembly on the Mac. Xcode is a little cumbersome to me.  Also, on the Intel Macs, can I use generic x86 asm?  Or is there a modified instruction set? Any information about post Intel.  Also: I know that on windows, asm can run in an emulated environment created by the OS to let the code think it's running on its own dedicated machine. Does OS X provide the same thing? Binomial confidence interval estimation - why is it not symmetric? I have used the following r code to estimate the confidence intervals of a binomial proportion because I understand that that substitutes for a "power calculation" when designing receiver operating characteristic curve designs looking at detection of diseases in a population.  n is 150, and the disease, we believe, is 25% prevalent in the population. I have calculated the values for 75% sensitivity and 90% specificity (because that's what people seem to do).      binom.test(c(29,9), p=0.75, alternative=c("t"), conf.level=0.95)      binom.test(c(100, 12), p=0.90, alternative=c("t"), conf.level=0.95)   I have also visited this site:    Which is a java page which calculates binomial confidence intervals, and it gives the same answer.  Anyway, after that lengthy set-up, I want to ask why the confidence intervals are not symmetric, e.g. sensitivity is      95 percent confidence interval:    0.5975876 0.8855583      sample estimate probability: 0.7631579    Sorry if this is a basic question, but everywhere I look seems to suggest that they will be symmetric, and a colleague of mine seems to think they will be too. List of chat rooms with host stackoverflow.com is not the same as the actual list of rooms on stackoverflow.com chat itself Generally chat.&lt;site&gt;.com redirects to chat.stackexchange.com/?tab=site&amp;host=&lt;site&gt;.com and go for same thing but here you can check your self:       Both are Different!  If one visits  and select site: StackOverflow, then it outputs  and they miss rooms that are only listed by .  So, why does this happen? Is this a bug?  Note: I found this while  for general chat-room at StackOverflow; see chat-discussion Show that $\frac 1{1+x+y^{-1}}+\frac1{1+y+z^{-1}}+\frac1{1+z+x^{-1}}=1$ if $xyz=1$ I've a file named addresses.txt :  address1@domain.com address2@domain.com address3@domain.com   I'd like to echo "address1@domain.com.html" using for loop. Here's what I did :  cat addresses.txt | while read address do echo "${address}.html" done   Here's the result :  .htmlss1@domain.com .htmlss2@domain.com .htmlss3@domain.com   Same result if I add a space between the variable and ".html"  What am I miss ?  Thanks cron job schedule Alien invasion movie, giant robot aliens with long legs capturing people How do you run a Python script as a service in Windows? How do I determine the size of an object in Python? Ok. So I read books as a kid, this may have been mid to late 1980s. Definitely before 1993. These details I remember, they might be from the same book or from several:   Slower than light space travel with severe time dilation. There were boardings of space ships, but the fighting odds could be very uneven because a foe could be from your future or your past, depending on when you started your space journey, because of relativistic time dilation. No faster than light travel, no time travel either. Just regular physics. To fight better in melee, soldiers would have (more or less willingly, I think they knew beforehand) false memories or notions implanted of the enemy as horrible human beings so soldiers could kill them more easily without remorse. Towards the end of the story, veterans of the war are described as not quite feeling at home after the war. One planet (home?) or country is described as inhabited entirely of clones, Adams and Eves, I think homosexual, or that sexuality could be switched deliberately. I think the veterans find at the end a refuge somewhere more like the home they are used to. The reason so much has changed is of course the time dilation. They spent maybe decades in the war, while on the planets centuries or millenia passed. I think one moral (there may be many more I missed as a child) of the story was the futility of war. If I recall correctly, the war was resolved in a way that made the efforts of the veterans seem for nothing. How to add numbering to reference list but still use authoryear in natbib Is there an easy way to add numbers to the reference list generated by \usepackage[authoryear]{natbib} with whatever style file (using plainnat for ease)? Specifically, I use \cite and \citenum from natbib in order to have some references show up in the text as author-year and others just appear as numbers. Switching authoryear out for numbers in the natbib options generates a reference list with numbered references, but also causes the references in the text to all appear as numbers, which I don't want.  \documentclass[12pt]{article} % use larger type; default would be 10pt \usepackage[authoryear]{natbib} \begin{document}  \cite{A} said this, but other research \citenum{B,C} says otherwise.  \bibliographystyle{plainnat} \bibliography{MalariaBib,MST} \end{document} LaTeX minted Error I receive the following errors:  ! Package minted Error: You must invoke LaTeX with the -shell-escape flag. ! Package minted Error: You must have `pygmentize' installed to use this packag   in TexMaker Settings i wrote:     LaTeX : "/usr/texbin/latex" -interaction=nonstopmode %.tex -shell-escape      PdfLaTex: "/usr/texbin/pdflatex" -synctex=1 -interaction=nonstopmode   %.tex -shell-escape   But the error still doesn't vanish ... I've been Googling around with no luck.  I'm looking for a way to do getc() or gets() or whatever that does not echo to the terminal.  I saw kbhit() but this doesn't appear to be part of ANSI.  Ideally, I'd like code that looks like  char s[100]; no_echo_gets(s); /* Won't echo to screen while being typed */ printf("%s\n", s);   Does anybody know a good ANSI compliant way to do this? What is the term for a factorial type operation, but with summation instead of products? Must present perfect tense be used if the action takes place more than once? I was told that if an action is completed once in the past, the simple past is used. Ex:  I saw that movie.  If the action is completed more than once, the present perfect tense must be used. Ex:  I have seen that movie twelve times.    So, "I have seen that movie twelve times on Tuesday." is correct and "I saw that movie twelve times on Tuesday." is incorrect? Adding values to a C# array Probably a really simple one this - I'm starting out with C# and need to add values to an array, for example:  int[] terms;  for(int runs = 0; runs &lt; 400; runs++) {     terms[] = runs; }   For those who have used PHP, here's what I'm trying to do in C#:  $arr = array(); for ($i = 0; $i &lt; 10; $i++) {     $arr[] = $i; } How to know if my GPU supports CUDA? How can I know from the terminal or something whether my hardware supports CUDA? CSS - Make divs align horizontally I have a container div with a fixed width and height, with overflow: hidden.  I want a horizontal row of float: left divs within this container. Divs which are floated left will naturally push onto the 'line' below after they read the right bound of their parent. This will happen even if the height of the parent should not allow this. This is how this looks:  ![Wrong][1] - removed image shack image that had been replaced by an advert  How I would like it to look:  ![Right][2] - removed image shack image that had been replaced by an advert  Note: the effect I want can be achieved by using inline elements &amp; white-space: no-wrap (that is how I did it in the image shown). This, however, is no good to me (for reasons too lengthy to explain here), as the child divs need to be floated block level elements.