I wish to add blocks in  beamer theme. I am not able to get the frame around the blocks.  \documentclass[12pt]{beamer} \usepackage{config/presento}  \begin{document} \begin{frame}   \frametitle{Frame title}   \begin{block}{Observation 1}      Simmons Hall is composed.   \end{block}   \begin{exampleblock}{Observation 2}     Simmons Dormitory is composed of brick.   \end{exampleblock}   \begin{alertblock}{Conclusion}     Simmons Hall $\not=$ Simmons Dormitory.   \end{alertblock} \end{frame}    \end{document}       How I would use the standard blocks in Presento beamer theme as in other themes like Madrid etc. What line should add/remove in the .sty file to get the frames around the standard blocks(like alert, example and basic block.) Thanks in advance.
Usually I use beamer  with the Warsaw theme which puts theorems (and other things) in boxes. Now I switched my theme to Marburg but i still want to keep the boxes. How can one do that?
Are players allowed to pass a penalty kick? I saw a video of Johann Cruyff , isn't that against the rules? Is it time to be rid of automatic down votes on certain closed questions? I am using an iPhone 6s with iOS 12.4 and a MacBook Pro mid2015 with macOS 10.14.6. Since recently (I am not exactly sure when it started), I cannot charge the phone with my computer anymore. As soon as I plug the phone in, it will play the charging sound repeatedly. The right-hand side port sometimes works, the lefthand side port never works. When I connect my old iPhone 5 (using the same cable), it charges without any issues. My iPad mini 4 shows the same issue.  Sometimes the "Do you trust this computer" setting flashes on the phone and disappears before I can click anything.   How can I fix this?  Update 1  Sometimes I get the Software Update dialogue in macOS. After approx. 2 minutes it shows the following:     Update 2  For some reason the issue disappeared for a while but is back now. Disabling "Settings" > "Touch ID &amp; Passcode" > "USB Accessoires" seems like it makes the problem a bit less bad, but not go away.  Update 3  This is driving me crazy. I upgraded to Mojave 10.14.3 mostly to get rid of the issue. It persists. Some more random information: Before logging in (Filevault pre-boot authentication), the phone will charge fine. Only when a user account is loaded, the issue appears. The likelihood of a successful connection increases with the battery state of the iPhone. Workaround 2 in my answer below suggest that this a "Trust issue" from the iPhone's side. I suppose the solution will have to be hidden somewhere there...    What I tried so far (will update):   Reset Privacy settings on iPhone Different (original, almost new Apple) lightning cables   Remove and add "iPhone USB" in Network Settings  SMC reset (), PRAM reset Upgrade to latest iOS 12.4 and MacOS 10.14.6 Why do different wavelength get impeded more or less when in different materials? Moving with the same speed, but a longer physical distance would imply that the fields oscillate less times in the material, but I don't know why a difference in the number of oscillations would impede the wave- I don't even know why things slow down in general. Why some electromagnetic wave would slow down just because it's entering other electromagnetic fields... It would seem to me that the only factor would be time taken to physically move some electron or something in the direction of the fields... But that seems to simple of an explanation to me. In the movie Iron Man 2, Tony Stark figured out how to synthesize Vibranium. Why didn't he use it to make a new Iron Man armor? Say you have the infinitely continued fraction: $$x+\cfrac{1}{x^2+\cfrac{1}{x^3+\cfrac{1}{x^4+\ddots}}}$$ When $x=1$, you can see that it's $$1+\cfrac{1}{1+\cfrac{1}{1+\cfrac{1}{1+\ddots}}}$$ which converges upon the golden ratio $\phi = 1.61803398875...$. What if I were to plug in $x=2$? $$2+\cfrac{1}{4+\cfrac{1}{8+\cfrac{1}{16+\ddots}}}$$ Using a caluclator, it seems to converge upon the irrational number: $2.24248109286...$ Is there any way I can represent this irrational number algebraically? A theorem about Cesàro mean, related to Stolz-Cesàro theorem Original Title: Tauberian theorems and Cesàro sum  Theorem (Landau-Hardy, From Rudin's Principle of Mathematical Analysis Exercise 3.14)  $\newcommand\abs[1]{\left\lvert#1\right\rvert}$ If $\{s_n\}$ is a complex sequence, define its arithmetic means $\sigma_n$ by $$\sigma_n=\frac{s_0+s_1+\dotsb+s_n}{n+1}\qquad(n=0,1,2,\dotsc)$$ Put $a_n=s_n-s_{n-1}$ for $n\ge1$. Assume $M&lt;+\infty$ and $\abs{na_n}\le M$ for all $n$, and $\lim_{n\to\infty}\sigma_n=\sigma$, then $\lim_{n\to\infty}s_n=\sigma$.  The outline of the proof  If $m&lt;n$, then $$s_n-\sigma_n=\frac{m+1}{n-m}(\sigma_n-\sigma_m)+\frac1{n-m}\sum_{k=m+1}^n(s_n-s_k)\tag{*}$$ Notice that $\abs{s_n-s_k}\le(n-m-1)M\,/\,(m+2)$, fix $\epsilon&gt;0$ and associate with each $n$ the integer $m$ that satisfies $$m\le\frac{n-\epsilon}{1+\epsilon}&lt;m+1$$ Then $(m+1)\,/\,(n-m)\le1/\epsilon$ and $\abs{s_n-s_k}&lt;M\epsilon$. Hence $$\limsup_{n\to\infty}\,\abs{s_n-\sigma}\le M\epsilon$$  Questions and thoughts  It seems that the equation (*) comes out strangely. I wonder how to discover such kind of strange identities. So is there any observation, even deeper, to look through that equation?  Thanks! How did Bill and Percy get 12 OWLs? In Prisoner of Azkaban, Hermione took 12 subjects, and needed a Time-Turner to do so. However, it is mentioned in the series that both Bill and Percy Weasley got 12 OWLs, so would have taken 12 subjects as well, so both would have needed Time-Turners for three years to do this. Doesn't this seem a little unusual, given how strict the Ministry is over the use of Time-Turners,  that they would give them to several Hogwarts students? How does an isolated body in deep space 'know' it's rotating? We can imagine an object floating in the known universe, maximally distant from any other large mass. Maybe it has been there since coalescing after the big bang.  What physical phenomena tell it whether it is rotating relative to the rest of the universe and therefore experiencing a centrifugal (?) force.  Is it the combined gravity of all other matter? Is it 'spooky action at a distance'?  Is it because it is rotating relative to 'empty space'? Diacritics and non-English letters in anglicized loan words: keep 'em, dump 'em, italicize the words, or what? Can I throw away contents of my Steam Inventory? I have a number of items in my Steam inventory that are never going to get used; for example, some AirMech 2 "gifts" that are marked as NO LONGER VALID.  Is there some way to get rid of them so I don't have them cluttering up my inventory?  Obviously I could do a one-sided trade with a friend, but then they'd have to deal with it instead, and I don't have any alt accounts. My Indian passport book cover is detached from the main book, but all other information, as well as the book is fine. I am traveling to India in 2 days. What should I do? Will there any problem at the airport? How do I find out the number, type, resolution &amp; refresh rate of additional monitors I can attach to my MacBook or MacBook Pro?  This is an attempt at a canonical QA, as per the Meta QA -   to try prevent the myriad "same but different" questions we get on every possible combination of computers, cable &amp; monitors There are perfectly good resources out there that Ask Different should not have to duplicate the efforts of. If $\gcd(a,b)=1$, then there exists integers $x$ and $y$ such that $xa + yb = 1$ Did not find this from this website...  If $$ \gcd(a,b)=1,$$ then there exists integers $x$ and $y$ such that $$xa+yb=1.$$  Now, the tip is to use particular corollary, that states:  The class $[m]_{n}$ generates $\mathbb{Z}/n\mathbb{Z}\Leftrightarrow \gcd(m,n)=1.$  I am totally lost with the corollary.  Let's assume that $\gcd(m,n)=1$. Then, $[m]_{n}$ generates $\mathbb{Z}/n\mathbb{Z}$.  OK! Then what?  There is also follow up, where I have to prove the converse. I am familiar with Bezout's lemma. Understanding central limit theorem What is wrong with the following sentence:      The Central Limit Theorem  implies that, as the sample size grows, the error distribution approaches normality.   Am I correct by saying that it should in stead state the MEAN of the sample error approaches zero as sample size grows? Why is $1^{\infty}$ considered to be an indeterminate form Why on average does each bootstrap sample contain roughly two thirds of observations? Best way to save data on the iPhone I am writing an iPhone application, and need to save the state of my application (5K or so).  My main worry is data persisting across upgrades. Some of the applications I use clearly got this wrong, and I would prefer not to! External monitors show blank screen until restart MacBook Pro (15-inch, 2016) with 2 USB-C to HDMI adapters. The setup works great if I start up in that configuration.   If I connect the adapters while the machine is running or simply sleeping, one of the monitors will never get a signal and stay in low power mode. The OS sees the monitor, it shows in the display arrangement settings and I can move the mouse into it, but until I restart, I can't see anything on it.  Once I have restarted I can let the machine sleep or whatever, and the display still works unless I disconnect the adapter. As soon as I do that a restart is required to use it again.   Using MacOS Sierra (10.12.4)  Using this adapter: How can I pass a command line argument into a shell script? I know that shell scripts just run commands as if they were executed in at the command prompt.  I'd like to be able to run shell scripts as if they were functions... That is, taking an input value or string into the script.  How do I approach doing this?