I have seen in a few books a style for theorems of the form    So what I want ideally is a the theorem title at the top and then the whole theorem enclosed in a box. The shadow is not needed but would also be nice to have. Would anyone know how to produce this?
Is there an easy way to put a box around a theorem in LaTeX? For example to state an important theorem. I tried using page 20 of the ntheorem , but I do not know how to use the package.
A Riemann integrable function must have infinitely many points of continuity Number of solutions of $x_1+2x_2+\cdots+kx_k=n$? Hide Command Window of .BAT file that Executes Another .EXE File I am trying to install Microsoft Office 2013 on Ubuntu 12.04 LTS (32-bit). I have downloaded an iso file of said product and installed wine1.4-i386 using the apt-get command on the terminal.  The question is I don't know the steps how to install it. I can't get much tutorials on Internet how MSOffice2013 can be installed on Ubuntu.  If any versions of wine isn't an option, what other options can be used to run Microsoft Office 2013? How exactly does curved space-time describe the force of gravity? How can I print the table of contents multiple times in my document? Dual-system Windows and Ubuntu I did dual boot with Windows 7 &amp; Ubuntu 14.04. I get both in boot menu but can't boot into Windows 7. The primary drive where Windows 7 was configured now shows to be logical drive with all files in it. How to resolve it ?  This is what it shows:  irshad@irshad-desktop:~$ lsblk NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 465.8G  0 disk      ├─sda1   8:1    0  58.6G  0 part /media/irshad/B2E08E69E08E339F     ├─sda2   8:2    0     1K  0 part      ├─sda5   8:5    0 195.3G  0 part /media/irshad/8E90A6A690A6946D     ├─sda6   8:6    0 182.8G  0 part /media/irshad/7650B08250B04B1F    ├─sda7   8:7    0    25G  0 part /    └─sda8   8:8    0     4G  0 part      sr0     11:0    1  1024M  0 rom     I tried to run update-grub but I get the following result.  $ sudo update-grub  Generating grub configuration file ...  /etc/grub.d/06_custom: 31: /etc/grub.d/06_custom: function: not found  /etc/grub.d/06_custom: 34: /etc/grub.d/06_custom: save_env: not found  /etc/grub.d/06_custom: 36: /etc/grub.d/06_custom: Syntax error: "}" unexpected How do I use sudo to redirect output to a location I don't have permission to write to? This question led to a new package:   I would like to display the ORCID id in an author list in an IEEEtran pdf, like that:  Is there a standard way to include it in an IEEEtran article with PdfLaTeX? I used two approaches from , but I failed. One is to insert the ORCID icon in the author list. I used the blow code: \author{Ali Al-Obaidi \href{https://orcid.org/0000-0000-0000-0000}{\includegraphics[scale=1]{figures/orcid_16x16.png}}}  where orchid_16x16.png is provided in the link . But the result is that the icon is not clear enough, even I replaced it with a different size. The other approach is to use the  package, like that: \usepackage{academicons} \definecolor{orcidlogocol}{HTML}{A6CE39} \author{AAA \href{https://orcid.org/0000-0000-0000-0000}{\textcolor{orcidlogocol}{\aiOrcid}}}  However, the result is like that:  And I also got two errors: &quot;Latex Error: Encoding scheme 'TU' unknown&quot; and &quot;Bad character code (59865)&quot;. In the latest academicons.sty (see ), academicons use the font TU. However, it seems that the compiler PdfLateX cannot support this font. Thus, is there anyone that knows a standard way to include it in an IEEEtran article with PdfLaTeX? Please help me. The question is as follows:      Let $A'$, $B'$ and $C'$ be the midpoint triangle of triangle $ABC$. In other words, $A'$, $B'$ and $C'$ are the midpoints of segments $BC$, $CA$ and $AB$, respectively. Show that triangles $A'B'C'$ and $ABC$ have the same centroid.    My reasoning was through the means of the Midline Theorem. After drawing the diagram, we can see, for example, $C'A'$ is a midline of $\triangle ABC$, which means that $C'A'$ is parallel to the base $AC$ and half the length of it as well. Therefore, the median $B'B$ would pass through the midpoint of $C'A'$, including the midpoint of $AC$.   Is my reasoning valid or, at least, is it on the right track? Any advice on solving this problem will be greatly appreciated. I'm trying to create a join/relate in QGIS where I have a shapefile of buildings and to that I would like to join a non-spatial table (.csv-file) containing people who work in each building. So I have multiple records in my table that I would like to be able to join to my single features in my shapefile. I can only run a join in QGIS where the first record is joined to the shapefile feature (ie building) but subsequent records get removed. Could someone let me know how to complete this join/relate in QGIS? Problem applying L'Hopitals rule. Massless charged particles What do 'real', 'user' and 'sys' mean in the output of time(1)? $ time foo real        0m0.003s user        0m0.000s sys         0m0.004s $   What do 'real', 'user' and 'sys' mean in the output of time?  Which one is meaningful when benchmarking my app? uint color;  bool parsedhex = uint.TryParse(TextBox1.Text, out color);  //where Text is of the form 0xFF0000 if(parsedhex)    //...   doesn't work. What am i doing wrong? I have the following query:  select column_name, count(column_name) from table group by column_name having count(column_name) &gt; 1;   What would be the difference if I replaced all calls to count(column_name) to count(*)?  This question was inspired by .    To clarify the accepted answer (and maybe my question), replacing count(column_name) with count(*) would return an extra row in the result that contains a null and the count of null values in the column. how to left justify comments to indent same as other text in Algorithmic How do I left justify my comments in the algorithm.  I am using algorithmicx package.  What I want is: to pull the comment to left as shown in the attached snapshot.  The code for my algorithm is       \documentclass[a4paper]{article}     \pagestyle{empty}     \usepackage{algorithm}     \usepackage{algpseudocode}     \usepackage[caption=false,font=footnotesize]{subfig}     \begin{document}     \begin{algorithm} \label{algoQ}     \caption{Algorithm to check quality of methods}     \begin{algorithmic}     \For{\textbf{each} $msd$ in$msdList$}  \Comment { \% for each MSD \%}     \Statex   \Comment { \% get MSDs referenced method service \%}     \EndFor \textbf{endFor}     \end{algorithmic}     \end{algorithm}     \end{document} "within 1 to 2 weeks" vs "in 1 or 2 weeks" I have passed the calc sequence, and thought that I understood things.  But I have trouble with limits now and again.  From the way I understand it, the 'best' way to evaluate a limit, is to evaluate the expression at the number in the limit.  In that way it's not only a limit, but an algebraic expression (so, I think, the need for limits goes away entirely, superseded by accuracy.)  But then I see something like $\lim_{x\to 2} \frac{x^2-4}{x-2}$.  Now, I think in my mind 'the best way to evaluate this is just to plug in $2$'  But it doesn't work that way, as the limit is $4$, and if I plug in, the answer is $0/0$.  I think that people here, with their natural talent in math, can perceive where my train of thought is going wrong, and correct me.  Please! To explain the expansion of space I have often heard people saying that space is continuously created. This picture is usually applied to cosmological scales but I`m nevertheless curious if some microscopic description of this process could be found (or probably is already available?).  The first thing which comes into my mind by thinking about this is that in theories like loop quantum gravity, there is an idea that space is quantized. Would space expansion then be explained as the creation of new quanta in loop quantum cosmology? Or are there other different ideas, such as the quanta themselves changing properties? Do people actually working on this already have some interesting results?