Need help replicating a cool box I found a pretty cool box I would like to replicate and use in my report, however, the source code for this particular box is not available, and although I'm getting close to figuring it out, I've already put a ridiculous amount of time into it, so I'm hoping maybe one of y'all have an easy answer.   The box I'm referencing can be seen in the Table of Contents -- Section 6 -- of the . It's the small green "side by side" box.  I basically just want to reproduce the box width/size, and vertically-stacked text style, change the colors, and enter arbitrary text.      Start with the used \documentclass{... and end the code with \end{document} so that it is compilable with pdflatex. Not all of us use LyX ...    Here's what I have so far:  \documentclass{article} \usepackage[most]{tcolorbox}  \begin{document} \tcbsidebyside [ nobeforeafter, sidebyside adapt=both, size=fbox, drop lifted shadow, bicolor, colback=black, colbacklower=white, colframe=black, colupper=white,  collower=black, fontupper=~\bfseries, fontlower=\bfseries, ] {AC} {H} \end{document}   Here's my alternate approach:   \documentclass{article} \usepackage[most]{tcolorbox}  \begin{document}  \begin{tcolorbox} [ nobeforeafter, sidebyside, size=fbox, skin=bicolor, halign=center, halign lower=center, colframe=black, colback=black,  colbacklower=white,  colupper=white,   collower=black, fontupper=~\bfseries,  fontlower=\bfseries, ] \textbf {AC} \tcblower {H} \end {tcolorbox} \end{document}   Thanks!  ijwmcb
How to reproduce this box in tcolorbox I'm working with tcolorbox, I saw the pdf  and I want to reproduce the little green box in this image:     Can anyone help me please?
What is the fastest way to get from Courmayeur/Aosta to Milan? We will be crossing the Italian/French border through Mont Blanc via cable cars, which we heard through Rick Steve's article: .  We will be starting off in Chamonix and arriving in Courmayeur. What's the fastest (and relatively cost-effective) way to get to Milan from Courmayeur? Coloring arrows in \xymatrix How to Pass an Object Method as a Parameter in Delphi, and then Call It? I fear this is probably a bit of a dummy question, but it has me pretty stumped.  I'm looking for the simplest way possible to pass a method of an object into a procedure, so that the procedure can call the object's method (e.g. after a timeout, or maybe in a different thread).  So basically I want to:   Capture a reference to an object's method. Pass that reference to a procedure. Using that reference, call the object's method from the procedure.   I figure I could achieve the same effect using interfaces, but I thought there was another way, since this "procedure of object" type declaration exists.  The following doesn't work, but might it help explain where I'm confused...?  interface    TCallbackMethod = procedure of object;    TCallbackObject = class     procedure CallbackMethodImpl;     procedure SetupCallback;   end;  implementation  procedure CallbackTheCallback(const callbackMethod: TCallbackMethod); begin   callbackMethod(); end;  procedure TCallbackObject.CallbackMethodImpl; begin   // Do whatever. end;  procedure TCallbackObject.SetupCallback; begin   // following line doesn't compile - it fails with "E2036 Variable required"   CallbackTheCallback(@self.CallbackMethodImpl); end;   (Once the question is answered I'll remove the above code unless it aids the explanation somehow.) Evaluate   $$\lim_{n\rightarrow \infty}\frac{1}{2n}\cdot \ln \binom{2n}{n}.$$   $\underline{\bf{My\;\;Try}}::$ Let $\displaystyle y = \lim_{n\rightarrow \infty}\frac{1}{2n}\cdot \ln \binom{2n}{n} = \lim_{n\rightarrow \infty}\frac{1}{2n}\cdot \ln \left(\frac{(n+1)\cdot (n+2)\cdot (n+3)\cdots (n+n)}{(1)\cdot (2)\cdot (3)\cdots (n)}\right)$  $\displaystyle y = \lim_{n\rightarrow \infty}\frac{1}{2n}\cdot \left\{\ln \left(\frac{n+1}{1}\right)+\ln \left(\frac{n+2}{2}\right)+\ln \left(\frac{n+3}{3}\right)+\cdots+\ln \left(\frac{n+n}{n}\right)\right\}$  $\displaystyle y = \lim_{n\rightarrow \infty}\frac{1}{2n}\cdot \sum_{r=1}^{n}\ln \left(\frac{n+r}{r}\right) = \lim_{n\rightarrow \infty}\frac{1}{2n}\cdot \sum_{r=1}^{n}\ln \left(\frac{1+\frac{r}{n}}{\frac{r}{n}}\right)$  Now Using Reinman Sum  $\displaystyle y = \frac{1}{2}\int_{0}^{1}\ln \left(\frac{x+1}{x}\right)dx = \frac{1}{2}\int_{0}^{1}\ln (x+1)dx-\frac{1}{2}\int_{0}^{1}\ln (x)dx =  \ln (2)$  My Question is , Is there is any method other then that like Striling Approximation OR Stolz–Cesàro theorem OR Ratio Test  If yes then please explain here  Thanks Make bibliography appear in toc as a chapter, not section How to disable "time travel" entirely? Every time I open a question I get this oh so funny 90s feel with scrollers and whatnots. In every question I need to click it off. The button seems to only work for the specific page I load; loading a different page shows the theme again.  Is this an attempt to keep people from using the site for a few days or how do I tell you "please never ever do anything like this if you want me to keep contributing here"? Yes I have no sense of humor if this is an attempt at that.  How do I turn off "time travel" (also known as "back to the future") mode off permanently, on all questions, and preferably network-wide? A woman's butt was allegedly touched by a man several times during a commute on the MRT.   How to use butt, bottom, buttock and ass? I am confusing with these words. In the case of languages with a C-like syntax, we declare the main() method to return an int or float value (or void).  Is it possible to declare a non-void return type from main() in Java?  If not, then why not?  Does this mean that a Java program doesn't return any value to the OS? How to print every Nth character of a string? This line of code does exactly this except I want it to start at the first character not the 7th. $ echo 1234567890abcdefghijklmnopqrstuvwxy | sed 's/.\{1,7\}\(.\{0,1\}\)/\1/g'  What I'm looking for is 19gow Hiding some slides in student handouts in Beamer I am preparing lecture slides for a class. I would like to hide some of the slides from the students. As an example, I would like to be able to compile students.pdf which has only student slides 1 and 2 (i.e., "teacher slide" is hidden); but teacher.pdf which has all three slides.  \documentclass{beamer}  \begin{document}  \begin{frame}{Student slide 1} blah blah blah \end{frame}  \begin{frame}{Teacher slide} secret stuff not to be shared with students \end{frame}  \begin{frame}{Student slide 2} blah blah blah \end{frame}  \end{document}   How would I do this in beamer? In a regular document, e.g., article, I would use the comment environment.  I feel that the approach in  is overkill for my needs. Can Raise Dead revive a character with zero maximum Hit Points? So, a character died from Draining Kiss of a succubus and his Max HP is 0. Can he be restored by Raise Dead, or does he need a higher level spell? Or a Greater Restoration cast on his lifeless body before Raise dead? I'm probably interested in RAW interpretation, since the character is in Adventurerer's league. These two operators commute...but their eigenvectors aren't all the same. Why? Is there a way to send a file using POST from a Python script? Closure of a Ball is Contained in Closed Ball (usual metric) Let $\overline{B_d (x, r)}$ be the closure of an open ball, and let $\hat B_d (x, r)$ be a closed ball. Show that in any metric space $(X, d)$, $\overline{B_d (x, r)} \subseteq \hat B_d (x, r)$ for all $x \in X$ and $r &gt; 0$.    I used the definition of closure: $\overline{B}$ = $B \bigcup B'$. If $x \in \overline{B}$, then $x \in B$ or $x \in \overline{B}$, or both. If $x \in B$, then clearly $x \in \hat B$ since $B \subseteq \hat B$. But, if $x \in B'$, then $x$ is an accumulation point. Since $\hat B$ is closed, it contains all accumulation points of $B$. Thus, $x \in \hat B$.  Is this approach correct, or at least in the right direction? Should I be using the closure definition, or try another one? Thank you. Checkout subdirectories in Git? Is it possible to check out subdirectories of a repository in Git?  Imagine I am setting up a new WordPress installation. I will create two new directories for my plugin and theme customization:   wordpress/wp-content/plugins/myplugins/  wordpress/wp-content/themes/mytheme/   I want to maintain these directories via Git. In Subversion, I would accomplish this by having trunk/myplugins/ and trunk/mytheme/ directories and checking out subdirectories. Does Git have a way to accomplish the same task using a single repository?  I could just be missing the boat on some Git paradigm, as a long time SVN user with little exposure to Git.  Edit:  storing different content is an interesting way to handle this. How to show that every Boolean ring is commutative? Java generics type erasure: when and what happens? I read about Java's type erasure .  When does type erasure occur? At compile time or runtime? When the class is loaded? When the class is instantiated?  A lot of sites (including the official tutorial mentioned above) say type erasure occurs at compile time. If the type information is completely removed at compile time, how does the JDK check type compatibility when a method using generics is invoked with no type information or wrong type information?  Consider the following example: Say class A has a method, empty(Box&lt;?&nbsp;extends&nbsp;Number&gt;&nbsp;b). We compile A.java and get the class file A.class.  public class A {     public static void empty(Box&lt;? extends Number&gt; b) {} }     public class Box&lt;T&gt; {}   Now we create another class B which invokes the method empty with a non-parameterized argument (raw type): empty(new Box()). If we compile B.java with A.class in the classpath, javac is smart enough to raise a warning. So A.class has some type information stored in it.  public class B {     public static void invoke() {         // java: unchecked method invocation:         //  method empty in class A is applied to given types         //  required: Box&lt;? extends java.lang.Number&gt;         //  found:    Box         // java: unchecked conversion         //  required: Box&lt;? extends java.lang.Number&gt;         //  found:    Box         A.empty(new Box());     } }   My guess would be that type erasure occurs when the class is loaded, but it is just a guess. So when does it happen? How do I tunnel and browse the server webpage on my laptop? I run a web app in one of my lab servers, and I have already setup X11 Forwarding on those machines. Other lab members can tunnel through SSH, and browse that web app on their local browser at home.  I can't. Last time I checked with them, there is almost nothing I need to do.  When I type 192.168.1.113/webapp I get nothing.   Any tips?  THanks.    I ended up using the second method :)  ssh -L 8080:&lt;server-ip-address&gt;:80 &lt;username&gt;@&lt;remote-addr&gt; -N Is Dragonstone unoccupied after Stannis Baratheon's defeat? Is anything known about Dragonstone after:      Stannis Baratheon is killed in his bid for the Iron Throne?   As the seat of the naval defense of King's Landing and the birthplace of Daenerys Targaryen, she has a vested interest in taking it.   At the conclusion of Season 6 Episode 10, is Dragonstone unoccupied? What happens after I grapple as Attack of Opportunity?