Is there a way to use the bold math macro \bm together with wide accents such as \widetilde or \widehat, without generating a too wide accent? \documentclass{article}     \usepackage{bm}  \begin{document} $\widetilde m$ $\widetilde{\mathbf m}$ $\mathbf{\widetilde m}$ $\bm{\widetilde m}$ $\widetilde{\bm m}$ \end{document}
I would like to replace the usual \hat in maths with a larger one, but I do not want it to stretch. The size I want is "the smallest \widehat" (as in $\widehat{.}$). Is there a way to put that one above a wide character like M ($\widehat{M}$ would stretch and give be an even wider hat).  I guess I have a lack of understanding for the mechanism behind accents that extend, so feel free to explain.
Is the sorting algorithm used by .NET's `Array.Sort()` method a stable algorithm? Running an infinite loop on startup I'd like to run a command at startup which pings a certain address every 10 minutes and writes the result to a file. I've figured out now how to do the pinging and file writing and the 10 min intervals:  while true; do my-command-here; sleep 600; done   My question is, can I put this in /etc/init.d/rc.local or should I be putting it in /etc/rc.local or somewhere else entirely? I'm specifically concerned because it's an infinite loop so I'm not sure if I could put it in one of these startup scripts.  Some help would be appreciated. I'm using Ubuntu 12.04.5 What are advantages of bytecode over native code? Prove that $i^i$ is a real number According to WolframAlpha,  but I don't know how I can prove it. How to prove a total order has a unique minimal element Let $R$ be a total order on set $S$. Prove that if $S$ has a minimal element, than the minimum element is unique.  I have difficulties with proofs. I know any graph of a total order is a straight line, which clearly has a minimal element. How doI tell when something is mathematically proven?  EDIT: this is how I would prove it  Let $x, y \in S$ such that x and y are minimal. Since S is a total order $x$ and $y$ are comparable and either    case 1: one comes after the other and therefore one isn't the minimal case 2: both are the same and $x=y$  I know this isn't a mathy argument and could use help making it more presentable. As the title says: Is a 1st-level spell cast using a 4th-level slot a 1st-level spell, or a 4th-level spell? The following are two methods of building a link that has the sole purpose of running JavaScript code. Which is better, in terms of functionality, page load speed, validation purposes, etc.?    function myJsFunc() {     alert("myJsFunc"); } &lt;a href="#" onclick="myJsFunc();"&gt;Run JavaScript Code&lt;/a&gt;     or    function myJsFunc() {     alert("myJsFunc"); }  &lt;a href="javascript:void(0)" onclick="myJsFunc();"&gt;Run JavaScript Code&lt;/a&gt; In what situation do you put a comma before "because"?   And, when do you not put a comma before "because"?   I've always assumed that you put a comma, because the clause introduced by "because" will always be independent, because it cannot stand on its own, because it wouldn't make sense on its own.   Is this the case? Could you think of an example where it doesn't take a comma? Splash Screen waiting until thread finishes I still have a problem with the splash screen. I don't want to use the property SC.TopMost=true.  Now my application scenario is as follows:  in progeram.cs:  [STAThread] static void Main() {     new SplashScreen(_tempAL);// where _tempAL is an arrayList     Application.Run(new Form1(_tempAL)); }   in SplashScreen class:  public SplashScreen(ArrayList _Data) {     DisplaySplash() }  private void DisplaySplash() {     this.Show();     this.TopMost = true;     this.CenterToScreen();     this.SetTopLevel(true);      _allServerNarrators = new string[10];     for (int i = 0; i &lt; _allServerNarrators.Length; i++)         _allServerNarrators[i] = null;      GetFromServer();      this.Hide();     _serverData = new ArrayList();     _thisData.Add(_allServerNarrators);     _thisData.Add(_serverNarrators);  } private void GetFromServer() {     _serverNarrators = new ArrayList();     string _file = "Suras.serverNar";      if (!Directory.Exists("c:\\ASGAQuraan"))         Directory.CreateDirectory("c:\\ASGAQuraan");      while (counter &lt; 4 &amp;&amp; _serverFiles == null)     {         if (Download("c:\\ASGAQuraan", _ftpServerIP, _file))         {             StreamReader _strReader = new StreamReader                          ("c:\\ASGAQuraan\\"+_file,System.Text.Encoding.Default);             string _line = _strReader.ReadLine();             string _word;              while (true)             {                 while (_line != null)                 {                     _word = _line.Substring(0, _line.IndexOf("*"));                     int _narId = Convert.ToInt32(_word);                     _line = _line.Substring(2);                     int k = 0;                     _serverNarratorNode = new ArrayList();                     while (true)                     {                         int ind = _line.IndexOf("*");                         if (ind &gt; 0 &amp;&amp; ind &lt; _line.Length)                         {                             string str = _line.Substring(0, (ind));                             if (k == 0)                             {                                 _allServerNarrators[_narId] = str;                                 _serverNarratorNode.Add(str);                             }                             else                             {                                 _serverNarratorNode.Add(str);                             }                             _line = _line.Substring(ind + 1);                             k++;                         }                         else                         {                             _line = null;                             break;                         }                     }                     _serverNarrators.Add(_serverNarratorNode);                     _serverFiles = "added";                 }                 _line = _strReader.ReadLine();                 if (_line == null)                 {                     break;                 }             }         }         else             counter++;     } }   What I want is something in the splash screen class which waits until the thread finishes.  For more details, please tell me what I need to tell you. Registry key / GPO to disable and block Windows 10 upgrade? System settings won't open on Ubuntu 20.04 LTS after adding System76/pop PPA As figured out in  localized SE sites must not be displayed in the HNQ's. But  actually is.        Has to be fixed I guess? There is no continuous injective function $f:\mathbb{R}^n\longrightarrow\mathbb{R}^m$ I would like to take the full citation of a reference in my BibTeX file and write commentary in-line after it.  A \fullcitation{id} command would be perfect.  I would like to use it as:  \fullcitation{id1}   This paper talks about A with applications to B.  \fullcitation{id2}   This paper considers how C affects A.  Whenever the \fullcitation{id} command appears, I want it to be replaced with the full reference, including authors, title, journal, and date.  Is this possible? Inequality involving $\limsup$ and $\liminf$: $ \liminf(a_{n+1}/a_n) \le \liminf((a_n)^{(1/n)}) \le \limsup((a_n)^{(1/n)}) \le \limsup(a_{n+1}/a_n)$ This may have been asked before, however I was unable to find any duplicate. This comes from  of "Mathematical Analysis: An Introduction" by Browder. Problem 14:     If $(a_n)$ is a sequence in $\mathbb R$ and $a_n &gt; 0$ for every $n$. Then show:   $$ \liminf(a_{n+1}/a_n) \le \liminf((a_n)^{(1/n)}) \le \limsup((a_n)^{(1/n)}) \le \limsup(a_{n+1}/a_n)$$   The middle inequality is clear. However I am having a hard time showing the ones on the left and right. (It seems like the approach should be similar for each). This is homework, so it'd be great if someone could give me a hint to get started on at least one of the inequalities.  Thanks. Plot a piecewise function with black and white disks marking discontinuities Is WD-40 really bad to apply on bikes? I was told so but still see people doing that.   Also I saw WD-40 launching their new products of bike lubricant and degreaser. Did anybody try those? How can I make sure that my on-screen colors are consistent? In many languages, including English, the most important verbs are irregular. Examples include:   to be  to do  to get  to go  to have  to make   The same applies (roughly) to many other languages I know about (Dutch, German, French, Spanish, Swedish) and presumably to many other languages too.  Is there any reason why these everyday verbs tend to be irregular? Here is my situation: I know almost nothing about Perl but it is the only language available on a porting machine. I only have permissions to write in my local work area and not the Perl install location. I need to use the  Perl module from CPAN   How do I use this Parallel::ForkManager without doing a central install? Is there an environment variable that I can set so it is located?  Thanks  JD