Beamer: Differnet math writing
How to get Beamer Math to look like Article Math
How to draw arrows between circled coefficients of polynomials using tikz After reading Gonzalo's answer to , I thought  I would be able to modify it so that I could have the corresponding coefficients circled and an arrow going from one circle to the next. For example, I would like the coefficient of x^2 on the left, a, circled and the coefficient of x^2 on the right, 5 circled, then a curved arrow drawn between the two circles. How might I achieve this? Also, how would I add some text along the path of the arrow? I reproduce his code here.  \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{calc}  \newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node (#1) {};}  \begin{document}  \begin{equation}   a\tikzmark{a}x^2 + bx + c = 5\tikzmark{b}x^2 + bx + c.   \begin{tikzpicture}[overlay,remember picture,out=315,in=225,distance=0.4cm]     \draw[-&gt;,red,shorten &gt;=3pt,shorten &lt;=3pt] (a.center) to (b.center);   \end{tikzpicture} \end{equation}  \end{document} Uniform continuity of $f(x) = x \sin{\frac{1}{x}}$ for $x \neq 0$ and $f(0) = 0.$ For the $f(x) = x \sin{\frac{1}{x}}$ for $x \neq 0$ and $f(0) = 0,$ my text book asks the following questions.  (b) Why is $f$ uniformly continuous on any bounded subset of $\mathbb{R}$?   (c) Is $f$ uniformly continuous on $\mathbb{R}$??  The graph for the function is this.    For the question (b), if I take subset between $[0.2,0.6]$ or the subset where the slope is steep, I don't think the function is uniformly continuous because I think for a given $\epsilon&gt;0$, there is no unique $\delta &gt;0$ for the bounded subset. Therefore, it also cannot be uniformly continuous on $\mathbb{R}.$ However, the questions sounds like the function is uniformly continuous and the book says that it is uniformly continuous. The answer on the book says something but I need more explanation. Thanks. i want to compile several pgfplots pictures with lualatex, since it dynamically allocates memory for compiling (in contrast to pdflatex).  In some plots, like my MWE.tex given below, i want to use a contour plot. This is typically done with gnuplot. To compile a document like this i need to use --shell-escape, such that gnuplot command can be executed while compiling the document.  \documentclass[a4paper]{article}  \usepackage[utf8]{luainputenc} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture}   \begin{axis}     \addplot3[contour gnuplot]      {x+y};       \end{axis}   \end{tikzpicture} \end{document}   If i use  pdflatex --shell-escape MWE.tex   everything works fine, and the log says something along the lines  This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex 2016.6.12)  13 JUN 2016 10:46 entering extended mode  \write18 enabled. .... Package pgfplots notification 'compat/show suggested version=true': document has been generated with the most recent feature set    (\pgfplotsset{compat=1.13}).  \openout3 = `MWE_contourtmp0.dat'.  \openout3 = `MWE_contourtmp0.script'. runsystem(gnuplot "MWE_contourtmp0.script")...executed.   If i use     lualatex --shell-escape MWE.tex i get the following error:  This is LuaTeX, Version 0.95.0 (TeX Live 2016)  (format=lualatex 2016.6.12)  13 JUN 2016 10:52  system commands enabled. ... Package pgfplots notification 'compat/show suggested version=true': document has  been generated with the most recent feature set (\pgfplotsset{compat=1.13}).  Package pgfplots info on input line 10: Using 'lua backend=false' for plot 0 (type 'contour external'): plot handler does not support LUA.  \openout3 = MWE_contourtmp0.dat  \openout3 = MWE_contourtmp0.script gnuplot "MWE_contourtmp0.script"  ! Package pgfplots Error: sorry, plot file{MWE_contourtmp0.table} could not be opened.   The .table file exists and looks identical to the one created by pdflatex, but it says that it cannot be executed.  (I just installed texlive 2016 yesterday, so everything should be up to date.) I execute quite a lot of sudo commands.  I noticed that if I execute one and then another one within few minutes, the 2nd time I don't get the message:     [sudo] password for my_username:   but I do get it when there is more time between the execution of the two commands.  What's the period of time in which the message is not appearing? How can we check it / update it? $$A=\begin{array}{ccc} 0 &amp; 1/2 &amp; 0 &amp; \cdots &amp; 0 \\ 1/2 &amp; 0 &amp; 1/2 &amp;\cdots&amp; 0\\ 0 &amp; 1/2 &amp; 0 &amp; \cdots &amp; 0\\ \vdots &amp; \vdots &amp; \vdots &amp;\ddots &amp; 1/2\\ 0 &amp; 0 &amp; 0 &amp; 1/2 &amp; 0 \end{array}$$  I need to know the spectral radius of $A$ in function of the dimension of the matrix $n$. I know only one way to know the spectral radius, using the definition I find all eigenvalues and then find the maximum. but it very hard if $n$ is changing. Some help please!  I did some iteration by   $$det(\lambda I-A)$$  $$n=2 \quad r=\frac{\sqrt{1}}{2}$$ $$n=3 \quad r=\frac{\sqrt{2}}{2}$$  for $n=2$ and $n=3$ are correct.  and if we take this rule, for   $$n=5\quad \quad r=\frac{\sqrt{4}}{2}$$  but this isn´t true since I know radius for this matrix should be $&lt; 1$ and if we take this rule  for $n=5$ we have  $$\frac{\sqrt4}{2}=1$$   Some hint? How does RewriteBase work in .htaccess Windows 10 high memory usage (unknown reason) A few days ago I updated my PC to Windows 10. However, after some use my PC started to slow down until it was impossible to use – it was due to high memory usage. After a restart, everything came back to normal (total usage around 25% of 8GB of RAM). However, during a few hours of usage the memory builds up again to 70%, and if not restarted it further goes to 100%, and later on even freezes. Task manager does not help very much as it does not show all the processes (added screenshots below). Also tried RAMMap but it gives an error: "error refreshing database". I tried Googling this question, yet without much success.  I do not know much about PCs, but maybe some of you know this issue, or could help to find out what is using my RAM. 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']); Why doesn't the Related question list show that questions are closed? I saw a question on Meta that was obviously going to be a duplicate:        And indeed, looking at the "Related" questions list for that question showed a number of duplicates:    Being the good citizen I am, I tried to vote to close (technically Flag as duplicate as I've not got the rep here to vote to close) it as an Exact Duplicate only to find myself falling into a rabbit hole of Closed, Duplicate questions. Is there any way to flag a closed question as such in the Related list?  Mostly because the first one I picked was closed as a duplicate of the second one, which was closed as a duplicate of the one that is now listed as the duplicate/linked answer.   Edit to respond to comment:  I take the point about "not voting to close on title alone", and normally wouldn't, however as the questions had identical titles, and it's pretty clear what they should be asking, I clicked the first one:    which lead to:  which leads to:  - but I'd got bored following links and didn't check that one as the first two were identical, so assumed this was too and didn't want to see how deep the rabbit hole led.   In the related list, there's only one other question in there that is an exact duplicate, but hasn't (currently) been closed as such which is:      Reasoning for highlighting closed questions:  The "Questions with similar titles" does display the closed titles when asking the question, so it should be fairly possible to include.  If there are clearly duplicate titles, then as a reader/reviewer would be helpful to know which ones are already closed as duplicates so you can either:   Use the remaining open questions to focus on which of those is the canonical answer to close this with. Use the closed questions to find the canonical answer (which failed for me with my route of clicks). Prove Or Disprove: tr(AB)=tr(A)*tr(B) $\mathrm{tr}(AB)=\sum\limits_{i=1}^n \sum\limits_{j=1}^n a_{ij}*b_{ji}$  $\mathrm{tr}(A)*\mathrm{tr}(B)=\sum\limits_{i=1}^n a_{ii}*\sum\limits_{i=1}^n b_{ii}$  Therefore $\mathrm{tr}(AB) \neq \mathrm{tr}(A)*\mathrm{tr}(B)$  Is the proof valid? List of Figures + Beamer? I want to have a List of Figures in my Beamer presentation.  I spent some time searching the web for a solution and only found desperate people telling others that it's not possible, i.e.  or .  I also made some experiments on my own, i.e. "abuse" tocloft to do the job. However, even \usepackage{tocloft} causes pdflatex to fail with ! LaTeX Error: \l@section undefined. (and lying to tocloft by defining the command as empty beforehand doesn't to any good either).  I can't really see why it should be that difficult to make a List of Figures in beamer, since \tableofcontents works flawlessly.   I'm not afraid of doing some coding on my own, but I'm not deep enough into TeX to really understand the magic behind the "List of Figures", "Table of Contents" and alike.  Is anyone out there having suggestions or links that might help me figure this out?  \documentclass{beamer}  % uncomment the following line % to get the error message % `! LaTeX Error: \l@section undefined.`  %\usepackage{tocloft}   % uncomment the following lines INSTEAD % to lie to tocloft % and get the next error message  %\makeatletter %\newcommand\l@section{} %\makeatother %\usepackage{tocloft}  \begin{document}  \begin{frame}{A frame} \begin{figure} \mbox{A} \caption{An 'A'} \end{figure} \end{frame}  \begin{frame}{List of Figures} \listoffigures \end{frame}  \end{document}   EDIT: Solution  Starting from Marco Daniels answer to my question, I modified his code to reflect my needs. Here is what I came up with. Please feel free to comment, improve and reuse this.  \RequirePackage{ifthen}  \makeatletter  \AtEndDocument{%   \clearpage   \beamer@tempcount=\c@page\advance\beamer@tempcount by -1%   \if@filesw   \newwrite\tf@lof   \immediate\openout\tf@lof\jobname.lof\relax   \newwrite\tf@lot   \immediate\openout\tf@lot\jobname.lot\relax   \fi }  \long\def\beamer@makecaption#1#2#3#4{%   \def\insertcaptionname{\csname#1name\endcsname}%   \def\insertcaptionnumber{\csname the#1\endcsname}%   \edef\insertframenumber{\theframenumber}%   \ifthenelse{\equal{#3}{\empty}}{%       \def\insertlistcaption{#2}%   }{%     \def\insertlistcaption{#3}%   }   \def\insertsource{#4}%   \def\insertcaption{#2}%   \ifthenelse{\equal{#1}{figure}}{%       \addtocontents{lof}{\protect\listoffigureformat{\insertcaptionnumber}{\insertlistcaption}{\insertframenumber}{\insertsource}}{}{}%   }{}   \ifthenelse{\equal{#1}{table}}{%       \addtocontents{lot}{\protect\listoftableformat{\insertcaptionnumber}{\insertlistcaption}{\insertframenumber}}{}{}%   }{}   \nobreak\vskip\abovecaptionskip\nobreak   \sbox\@tempboxa{\usebeamertemplate**{caption}}%   \ifdim \wd\@tempboxa &gt;\hsize   \usebeamertemplate**{caption}\par   \else   \global \@minipagefalse   \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%   \fi   \nobreak\vskip\belowcaptionskip\nobreak% }  \def\listoffigureformat#1#2#3#4{%   \makebox[2ex][r]{#1}%   \hspace{1ex}%   {\usebeamercolor[fg]{bibliography entry author} #2}%   \ifthenelse{\equal{#4}{\empty}}{}{ -- #4}%   \dotfill%   \makebox[2ex][r]{#3}\par% } \def\listoffigures{%   \setlength{\leftskip}{3ex}   \setlength{\parindent}{-3ex}   \@starttoc{lof}% } \def\listoftableformat#1#2#3{\makebox[2ex][r]{#1}\hspace{1ex}#2\dotfill\makebox[2ex][r]{#3}\par} \def\listoftables{%   \setlength{\leftskip}{3ex}   \setlength{\parindent}{-3ex}   \@starttoc{lot}% }  \long\def\@caption#1[#2]#3{   \par\nobreak   \begingroup     \@parboxrestore     \if@minipage       \@setminipage     \fi     \beamer@makecaption{#1}{\ignorespaces #3}{\ignorespaces #3}{\ignorespaces #2}\par\nobreak     \endgroup}  \makeatother Illustrator CC: Turn off align objects to pixel grid I have inadvertently created an illustration with the align new objects to pixel grid turned on (not sure why it was on, I did not know or ever turn it on) and want to now scale the image. When I turned it off, I scale and it is still affecting the illustration.  So I copy and pasted it into a new document (Making sure that the option was turned of when I created the new document), and it is still affecting the illustration.  How can I scale this object without it being affected by this option? How does a pharmacy discount card work? Can someone provide a proof that every quadratic residue, when working in $\mathbb Z_p$, where $p$ is a prime, has exactly two roots? Indeed, there cannot be only one root as for any $a^2$, we know $a$ and $-a$ are both roots. So then we need only show that there cannot be more than two- does this follow from some argument for the number of roots a quadratic can have modulo a prime? I'm not well-acquainted with the theorems pertaining to prime moduli. 16.04 Japanese Text Input not working Management of fruit bowls on the Enterprise D I have noticed that guest quarters on the Enterprise D have fruit bowls on their tables.  A prominent instance is the fruit bowl in Berlinghoff Rasmussen's quarters in "".  The first thing that Rasmussen does when Data takes him to his guest quarters is take a piece of fruit and shove it in his pocket.  Who replicates fruit for these fruit bowls before guests arrive?  More generally, who removes unused fruit and tidies quarters after guests leave?  Is there a ship hospitality staff, perhaps including Guinan's wait staff in Ten Forward? Rendering low and res/high res images Is it possible to render in Blender with reduced low res files and then ask Blender to render the final render with 4k high res files? Low and high res files would be numbered identically but would be located in different folders.  Many thanks The situation is my  has been enchanted with .  The creature has      when it dies, return it to his owner’s hand   The enchantment says     When enchanted creature dies, return that card to the battlefield under your control with a +1/+1 counter on it.   Who gets the creature? Me or my rival?  Does the creature ability trigger before or after enchantment? How to send form input values and invoke a method in JSF bean Given $(a_n)$ with $a_n \geq a_{n+1} \geq 0$ show that if $\sum \sqrt{a_n a_{n+1}} < \infty \implies \sum a_n < \infty$