I want to have tables with numbers so I can say "table 1 shows".. Can you please help?  Example:  \documentclass[table,dvipsnames]{beamer} \usepackage[english]{babel} % \usepackage{beamerthemesplit} // Activate for custom appearance \usetheme{Berlin} \useoutertheme{infolines} \useinnertheme{circles} \usecolortheme{dolphin} \usepackage{caption} \usepackage{graphicx} \usepackage{multirow} \usepackage{booktabs} \begin{document}  \frame{% \frametitle{Calibration} \begin{center} \captionof{table}{Parameter values} % title of Table \label{table:parametersone} \setlength{\tabcolsep}{0.3pt} \small \scalebox{.65}{\begin{tabular}{l c l c p{8.5cm} } % centered columns (4 columns)          \hline     %inserts double horizontal lines \\ Parameter &amp;\phantom{.} &amp; Value  &amp; \phantom{.} &amp; Description \\[1.0ex]    % inserts table  %heading \hline             % inserts single horizontal line \\ $\beta$ &amp;\phantom{.}  &amp; 0.97 &amp;\phantom{.}  &amp; Yearly discount factor   \\ % inserting body of the table $\alpha$ &amp;\phantom{.}  &amp; 0.60 &amp;\phantom{.}  &amp; Output elasticity of labor  \\ $\gamma$ &amp;\phantom{.}  &amp; 0.10 &amp;\phantom{.}  &amp; Output elasticity of public capital \\ $\theta$ &amp;\phantom{.}  &amp; 2.68 &amp;\phantom{.}  &amp; \parbox{10cm}{Multiplicative factor in the \\ human capital technology} \\ $\psi$ &amp;\phantom{.}  &amp; 0.80 &amp;\phantom{.}  &amp; Parental altruism \\ $\sigma$ &amp;\phantom{.}  &amp; 0.63 &amp;\phantom{.}  &amp; \parbox{12cm}{Exponent on parental human capital} \\ $\phi$ &amp;\phantom{.}  &amp; 0.30 &amp;\phantom{.}  &amp; \parbox{12cm}{Elasticity of the fraction of time during first \\ period spent in school} \\ $\eta$ &amp;\phantom{.}  &amp; 0.10 &amp;\phantom{.}  &amp; \parbox{12cm}{Elasticity on public education expenditures} \\ $\underbar{h}$ &amp;\phantom{.}  &amp; 2.30 &amp;\phantom{.}  &amp; Constant\\ $\lambda$ &amp;\phantom{.}  &amp; 5.00 &amp;\phantom{.}  &amp; \parbox{10cm}{Relative weight of adult labor in production}  \\ $r$ &amp;\phantom{.}  &amp;5.0\% &amp;\phantom{.} &amp; Interest rate \\ $\delta_G$ &amp;\phantom{.}  &amp; 2.5\% &amp;\phantom{.}  &amp; Yearly depreciation rate of public capital\\        % [1ex] adds vertical space \hline %inserts single line \end{tabular}} \end{center}}  \end{document}
I am giving a presentation and therefore I am using the  class. I have included some figures and it works, but there is no number after "Figure".  My code:  \documentclass{beamer}  \usepackage{graphicx} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{listings} \usepackage{xcolor} \usepackage{eso-pic} \usepackage{mathrsfs} \usepackage{url} \usepackage{amssymb} \usepackage{amsmath} \usepackage{multirow} \usepackage{hyperref} \usepackage{booktabs} \usepackage{wallpaper} \usepackage{bbm} \usepackage{cooltooltips} \usepackage{eso-pic} \usepackage{everyshi} \usepackage{calc} \usepackage{graphicx} \usepackage{ifthen} \usepackage{graphicx} \usepackage{wrapfig} \usepackage{animate} \usepackage[singlespacing]{setspace} \usepackage[absolute,overlay]{textpos} \usepackage{enumerate} \usepackage{hyperref} \newenvironment{changemargin}[2]{%   \begin{list}{}{%     \setlength{\topsep}{0pt}%     \setlength{\leftmargin}{#1}%     \setlength{\rightmargin}{#2}%     \setlength{\listparindent}{\parindent}%     \setlength{\itemindent}{\parindent}%     \setlength{\parsep}{\parskip}%   }%   \item[]}{\end{list}}  \setbeamercolor{frametitle}{fg=red,bg=white}  \hypersetup{pdfpagemode=FullScreen} \renewcommand*{\UrlFont}{\normalfont}  \usetheme{Goettingen} \useinnertheme{circles} \beamertemplatenavigationsymbolsempty  \setbeamerfont{page number in head/foot}{size=\large} \setbeamertemplate{footline}[frame number]   %%% \begin{document}  \frame[plain]{ \titlepage }  \setbeamertemplate{background canvas}[default]  \frame{ \frametitle{}  \begin{figure} \begin{center} \includegraphics[scale=0.2]{varweakness} \caption{VaR as a quantile} \end{center} \end{figure}  }   \end{document}   Which gives the following frame with the figure:    (I am not sure what is causing the problem, therefore I did not delete any package.)  How can I get a number, e.g. Figure 1:?
is there a better way to do this XML scraping task in R? I seem to be having issues when I try and save the output file as a .png, or .jpeg for that matter. I've set up my user preferences, File, Render Output to my desktop as well as render output in the editor window. What am I missing here? I'm obviously very new to this program and your help would be appreciated. Thanks for your time If $H$ is a cyclic subgroup of $G$ and $H$ is normal in $G$, then every subgoup of $H$ is normal in $G$. Exercise 11, page 45 from Hungerford's book Algebra.     If $H$ is a cyclic subgroup of $G$ and $H$ is normal in $G$, then every   subgroup of $H$ is normal in $G$.   I am trying to show that $a^{-1}Ka\subset K$, but I got stuck. What I am supposed to do now?  Thanks for your kindly help. I haven't had the chance to take any serious low-level programming courses in school. (I know I really should get going on learning the "behind-the-scenes" to be a better programmer.) I appreciate the conveniences of Java, including the ability to stick anything into a System.out.print statement. However, is there any reason why you would want to use System.out.printf instead?   Also, should I avoid print calls like this in "real applications"?  It's probably better to  to print messages to the client's display using some kind of UI function, right? In a Feistel cipher structure, what exactly does the "round function $F$" do? In a Feistel cipher structure, what exactly does the "round function $F$" do to the right half of the data, before taking XOR of the output with the left half of the data? Java generics type erasure: when and what happens? Probability that a quadratic polynomial with random coefficients has real roots The following is a homework question for which I am asking guidance.     Let $A$, $B$, $C$ be independent random variables uniformly distributed between $(0,1)$. What is the probability that the polynomial $Ax^2 + Bx + C$ has real roots?   That means I need $P(B^2 -4AC \geq 0$). I've tried calling $X=B^2 -4AC$ and finding $1-F_X(0)$, where $F$ is the cumulative distribution function.  I have two problems with this approach. First, I'm having trouble determining the product of two uniform random variables. We haven't been taught anything like this in class, and couldn't find anything like it on Sheldon Ross' Introduction to Probability Models.  Second, this strategy just seems wrong, because it involves so many steps and subjects we haven't seen in class. Even if I calculate the product of $A$ and $C$, I'll still have to square $B$, multiply $AC$ by four and then subtract those results. It's too much for a homework question. I'm hoping there might be an easier way. Why does append() always return None in Python? I'm trying to prove commutativity of addition for vector spaces, using the axioms for vector spaces. Apparently commutativity can be proven! Im having trouble getting a good feel for what is allowed and what is not. Here's my work so far:  $u+v+u+v = 2(u+v) = 2u + 2v = u+u+v+v = u+(u+v)+v$  Here I just wanna claim that $u+(v+u)+v = u+(u+v)+v$   $\Rightarrow -u+u+(v+u)+v+(-v) = -u+u+(u+v)+v+(-v)$ : here im just adding -u to the right, and -v to the left. Question: is this "adding to both sides" really legit in this context? Why?   Quick help proof: $-v+v = (-1)v+(1)v = (-1+1)v = 0v = 0 = v-v$  And another: $ 0+v = v+(-v) + v = (1)v + (-1)v + v = (1-1)v + v = v = v+0$  We have $0 + (u+v) + 0 = 0+(v+u)+0 \Rightarrow u+v = v+u$  This feels ugly and not at all elegant, especially the great leap "add -u to both sides" feels completely out of place. Do I need more lemmas? Is there a more elegant way?   //not homework or anything, just for my own pleasure, feel free to provide theory, as it is more insightful than solutions. :) Thanks!   EDIT: corrected notation a little. Familiar form of address for a young, subordinate, woman that connotes respect (Female equivalent to 'Son') A(n often male) paternal figure could use the term 'son' in a fatherly way without referring to his biological Son.  Imagine a man has been verbally abused by a customer at work. His manger might say to him:     Come here son, I have something to tell you   about rude customers   Emphasis on the word I want gender-swapped  Is there a feminine equivalent for a subordinate that you respect?   From      son  (sŭn)   n.    1. One's male child.    2. A male descendant.    3. A man considered as if in a relationship of child to parent: a son of the soil.    4. One personified or regarded as a male descendant.    5. Used as a familiar form of address for a young man.    6. Son Christianity The second person of the Trinity.     Is there an equivalent for talking to a woman in a fatherly way?  The equivalent for TFD entry for daughter does not qualify it as 'familiar'        (often capital) a form of address for a girl or woman      Further more often such 'father-daughter' language patterns are negative, dismissive and lack respect. Permanent PATH variable How will I make this /media/De Soft/mongodb/bin PATH variable permanent?  Everyone is saying "export PATH=$PATH:media/De\ Soft/mongodb/bin to your ~/.profile, or .bashrc, or .zshenv depending on your shell".   I don't know what is ~/.profile, or .bashrc, or .zshenv. What do they do actually?  How will I add export PATH=$PATH:my/path to my .profile/.bashrc/.zshenv?   I'm using 64 bit Ubuntu 14.04 LTS with default terminal. How to get the filename without the extension from a path in Python? I'm developing a site using Drupal 8 beta-14. I've created a view block of different terms and now I want to display it using code. How can I display it programatically?  I used to do it in Drupal 7 using this code but I'm confused about Drupal 8.  $block = module_invoke('block', 'block_view', '4'); $text_block = render($block['content']); Saleforce Too many future calls: 11 How do I solve $$x'=e^{it}\overline{x}?$$  This is a complex differential equation, but I don't see how to solve it.  Edit: the original ODE is given by $$(x', y')=\begin{pmatrix}\cos t&amp; \sin t\\ \sin t&amp;-\cos t\end{pmatrix}(x,y)$$ I want to show that solutions of this ODE do not remain bounded for all $t$, and the idea was to solve the complex equation. How did Toru and Koji pass the entrance exam in My Hero Academia? I have seen some comments and speculations about the robot having an off switch or whatever. But I want to know if there is any source material or comment from the author on how they managed to pass the exam.  I have only seen the actual author's comment on Mineta:     But I was wondering if there are author notes for the other characters. How do I use a small font size in questions and answers? Is there any way to use a small font size in questions or answers? That is, for the purpose of minor and possibly irrelevant information?  I've checked the Markdown syntax but couldn't find anything. However I feel I've seen it on the site somewhere... HA configuration for KVM machines installed on shared iSCSI storage My requirement is to provide HA to a Zimbra Server. We want Zimbra files to be installed in a Netapp SAN which is providing around 5.7 TB as a SAN iSCI Drive. Since Netapp comes in with Dual Controller and stable performance, we are unlikely to have any down time.  I have 2 servers each having Xeon processor 6 Core, 32 GB RAM and 2 x 250 GB SSD. These are the two servers where I have installed CentOS 7.6. We would like to have one as primary and the second one as secondary.   Idea is to use the same principle of KVM HA ( What Redhat and even VMware) provides, so that if the primay goes down the IP gets switched to secondary, to create a simple Hot Redudant system.  We have a very few users on Zimbra, but there are a lot of automated emails coming in and we require a very large storage, and hence we are using the Netapp box.  I am able to switch between the KVMs. However I am struggling to figure out how I need to mount the iSCI target, so that the mail application stays alive.  Zimbra typically installs on /opt/. Do I mount the target on /opt/, and if so will it work? Or am I missing something else?  Or should I run the VM of the shared storage itself, and if so how can I configure it.   Zimbra itself is a combination of a database and files, and uses a number of services to keep itself active. Idea of using a shared storage is for Redundancy and high availability.  Appreciate your response and support. Given two positive integers $a$ and $b$, prove that  $\sum_{k=0}^{n} {k \choose a} {n-k \choose b} = {n+1\choose a+b+1}$  I think there should be a good combinatorial proof for this, given the simplicity of the right-hand side... my hunch is to form all possible subsets of size $a+b+1$ by dividing the set into $k$ and $n-k$ elements, then choosing $a$ from the first, $b$ from the second, iterating over all values of $k$.  I can't quite make this work, so I've also been trying to rewrite ${n+1 \choose a+b+1}$ to make it clear.  Open to any proof method, all help appreciated. How to visualize the gradient as a one-form? I am reading Sean Carrol's book on General Relativity, and I just finished reading the proof that the gradient is a covariant vector or a one-form, but I am having a difficult time visualizing this. I usually visualize gradients as vector fields while I visualize one-forms with level sets. How to visualize the gradient as a one-form?