This is from a document that used to compile. I want to use it as a template as it was a really good template.  However when I press compile it says that it cannot find the amsmath or amstools packages. I have included a screenshot.  Furthermore, I cannot see how these packages can be installed.
There have been a few questions regarding installing this package in the past, but they now seem to be out of date. I'm using MiKTeX 2.9 and TexMaker. When I try \usepackage{mathtools} in TexMaker it will try to install the package for me but will fail. I took the advice given in this thread:   As suggested I tried installing the mh package using the MiKTeX Package Manager, unfortunately I get the "unknown archive size" error, which I have read means that the package no longer exists. Another thread (lost the link) said you can use the MiKTeX Package Manager to directly install mathtools, however I do not see mathtools listed anywhere in the MiKTeX Package Manager...   So I ask, is the package under a different name? Are there any other ways to install this package?
Tilde (~) File in Macintosh Directory Last night I discovered what looks like an unusual file named "~" (tilde) in the root of my "Macintosh HD" directory on my MacBook.    Finder reports the file is 2.2MB in size, of kind "TextEdit.app Document", and was created on 22nd January 2014 (so about a month ago).  I haven't noticed any operational issues with OS X or it's applications.   I haven't yet touched the file but would obviously like to remove it.  I am very conscious that '~' is a special alias to the user home directory and thus I would appreciate any recommendations in removing the file in a safe manner that isn't likely to nuke my home directory or screw up the operation of applications or OS X. I don't know whether to delete or rename and whether to use Finder or the command line.   It's entirely possible that I created the file by accident since I've recently been drafting and running various shell scripts that use the ~, user home alias.  MacBook Pro 15" (Retina, Mid 2012) Yosemite Simple Math Problem A bat and ball cost \$1.10.  The bat costs a dollar more then the ball.  How much does the ball cost?  If this is not the correct place to ask a question like this please tell me and I will remove it :)     The ball costs \$0.05, not \$0.10 Eccentricity of an ellipse How is $\frac{PF}{PD} = e = \frac{C}{A}$ ? where e is eccentricity, P stands for any point on the ellipse. $F$ stands for one of the foci. $e$ stands for eccentricity. $D$ is a point on the directrix of the ellipse. 'C' is the distance from the center to the focus of the ellipse 'A' is the distance from the center to a vertex.   This is referring to an ellipse/hyperbola/parabola and their conic sections. The problem is not the proof for how $PF/PD = e$, or how $C/A = e$, but how the two equate to each other. (The letters stem from the points/foci of an ellipse of a cone and its directrix).  What is the answer that does NOT use analytic geometry? (only trigonometry) How to Count Duplicates in List with LINQ Do you think there is a big difference in for...in and for loops? What kind of "for" do you prefer to use and why?  Let's say we have an array of associative arrays:  var myArray = [{'key': 'value'}, {'key': 'value1'}];   So we can iterate:  for (var i = 0; i &lt; myArray.length; i++)   And:  for (var i in myArray)   I don't see a big difference. Are there any performance issues? The game  has a very unique intro that I would like to show my friend again for the first time. I'm not sure how to reset all my progress on this game to achieve this though. Any thoughts? Can the 5E abjurer wizard recover temp hp on his arcane ward any time it is below max or only when it reaches 0? On p115 of the PHB under Arcane Ward there are a few facts that I think are clear:   The ward is created by the first abjuration spell you cast in a day It has a max hp of level &times; 2 + int modifier. The ward does not absorb damage once it reaches 0 hp, but it remains until you take a long rest The ward can be recharged by casting abjuration spells, at a rate of 2 x spell level worth of hp 3.   However, the way they wrote the paragraph about recharging seems unclear to me. Can you recharge the ward whenever it is below max hp or only when it is at 0? My understanding of temporary hp would say it is the latter, but the writing on this ability infers the former.  An example.  If I were a level 10 abjurer with 20 int and cast Mage Armor, it would give the ward 25 hp. If I took 30 damage from an enemy, the ward would absorb 25 damage, leaving it at 0, and I would take the remaining 5 damage. If I cast Stoneskin (level 4 abjuration) the ward would be recharged with 8 hp. If I then cast Planar Binding (level 5 abjuration) which would be correct?   The ward remain at 8 hp The ward would recharge an additional 10 hp to a total of 18 hp One server with multiple desktops "heads" with VNC I am managing a system of kiosks.  Each kiosk currently is running a web browser with the application for the kiosk running in the browser.  Each kiosk needs to be able to display separate content.  At times, the application running in the web browser freezes.  Thus, I have to go out to the site to refresh the page.  I want to see if there is a way to have one central server that has multiple browser heads.  Then each kiosk would run a program like VNC to display one of the heads.  This way when the program freezes, I just have to login to the central server and refresh the page.  Getting VNC or another remote desktop software installed on the clients is no problem.  What I am looking for is a way to have VNC remote into a specific head of a head of a web browser.  Does such a thing exist?  Or do I have to run a VM for each kiosk to remote into?  Any advice, pointers, or solutions would be helpful. How do I redirect to another webpage? How can I redirect the user from one page to another using jQuery or pure JavaScript? Password Reset for Users on a Multisite Subsite How do we define capillary number in 2D (two dimensions) In 3D the capillary number $Ca$ is defined as: $$Ca=\frac{\nu \rho U}{\gamma}$$ where $\nu$ is the kinematic viscosity ($m^2/s$), $U$ is the velocity ($m/s$)and $\gamma$ is the interfacial tension ($N/m$) and $\rho$ is the density in $kg/m^3$ . However in 2D I will have $\rho$ in units of $kg/m^2$ (2D simulation), so how to find capillary number? Fast calculation for $\int_{0}^{\infty}\frac{\log x}{x^2+1}dx=0$ I want to show that $\int_{0}^{\infty}\frac{\log x}{x^2+1}dx=0$, but is there a faster method than finding the contour and doing all computations?  Otherwise my idea is to do the substitution $x=e^t$, integral than changes to $\int _{-\infty}^{\infty}\frac{t e^t}{1+e^{2t}}dt$. Next step is to take the contour $-r,r,r+i\pi,-r+i\pi$ and integrate over it... I changed my hostname, why is my bash PS1 prompt unchanged? Booting a Windows 7 installation on different hardware I'm in a situation where I could do with very quickly migrating a Windows 7 (RTM x64) installation from one machine to another.  What options are open to me in terms of getting W7 to boot after the drive is picked up and moved from one box to another? I thought it was supposed to be a little less sensitive to this kind of move than XP, but it doesn't work - it is stuck in a reboot loop and never reaches a GUI.  Tried a few things so far, none of which have worked:   Changed SATA mode in the BIOS of the target machine between ATA and AHCI run Windows 7 Startup Repair tried safe mode, no change   (I will keep this list up to date as suggestions come in)  UPDATE: I can confirm this reboot loop is due to STOP error 0x0000007B, and these codes follow:  0xFFFFF880009A98E8 0xFFFFFFFFC0000034 0x0000000000000000 0x0000000000000000    UPDATE: I didn't get anywhere on this and I ended up just rebuilding the machine. I think it should be theoretically possible, so I'm going to leave the question open in case someone comes along in future with an answer. I need help!  I need to prove that for any $2 \le n,k$ positive integers $(n - 1)^2 \mid n^k -1$ if and only if $(n - 1) \mid k$  Thanks! Why WordPress choose data serialization over json_encode? In my little age with WordPress, I've seen WordPress itself and its friendly plugins are using PHP serialize() in storing data into db in many cases. But in a recent search I found a serious community support for the json_encode() over the serialize().     And I personally tested an associative array with both of 'em, that shows:  serialize() stores 342 chars json_encode() stores 285 chars  Why I'm asking this? I'm on a project while I'm going to store repeating meta fields to a post. Where:  Data would be basically in English, but sometimes can be Bengali Data would be associative array, 3 level deep (I hope I understood levels correctly):   array(     1 =&gt; array(         'key'=&gt;'value',         'key2'=&gt;'value'     ),     2 =&gt; array(         'key'=&gt;'value',         'key2'=&gt;'value'     ) )  I've checked the postmeta table's meta_value field it's a longtext,  a length of 4,294,967,295 chars (4GB). So I need a robust solution into storing things. Is the set of polynomials of degree less than or equal to $n$ closed? This question is in relation to the space $C(I)$, $I = [a, b]$. Define $P_n =\{ a_0+\dots+a_nx^n \mid a_i \in \mathbb{R}\}$ (any or all $a_i$ could be zero); clearly $P_n \subset C(I)$. The norm I'm using is $\lVert f\rVert_I = \sup_I |f(x)|$. Is $P_n$ closed under $\lVert\cdot\rVert_I$?   I am almost sure the answer is "yes", but I can't seem to prove it. My first instinct was to biject  $P_n$ to $\mathbb{R}^{n+1}$, using coefficients as coordinates, and prove that sequences of degree-$n$ polynomials converge to degree-$n$ polynomials, but I can't prove that the metric $\lVert\cdot\rVert_I$ is equivalent to the standard metric on $\mathbb{R}^{n+1}$. Next, intuitively given a function $f \in C(I), \notin P_n$ I should be able to find some $\epsilon &gt; 0$ such that there are no low-degree polynomials "nearby", then that function was not a limit point of $P_n$ so $P_n$ is closed. Again I have no idea how to prove this. What should I do? Do lens hoods need to be matched to focal length? Is it true that not all generic lens hoods work on all lenses (provided the filter diameter matches, of course)? I read that the focal length plays a role in it - but I cannot find such readings on any lens hoods I see available online. Is it possible to change your single-player skin? In Minecraft, is it possible to customize your skin in single-player mode (not just in multiplayer)? How? Shutdown and User button missing in panel I faced with a problem after update,   I missed 2 buttons from above panel, System menu (including shutdown, suspend &amp; …) and User (including log out &amp; …)  how can I restore them !?...