I'm new to Latex so forgive me if the questions are dumb...
I was trying to right left-top corner superscript, someone recommended mathtools package on this forum: Left and right subscript / superscript.
So I downloaded mathtools.zip from CTAN, unzip it, there's an "mathtools.dtx". In the package there are documents but none talked about how to install, I fancy the installation is just too primary to real Latex users.
OK, then, there's still another thread here explained the steps: How can I manually install a package on MiKTeX (Windows) . So here I follow
I ran "tex XXX.dtx" (there's no *.ins files) on all the .dtx files under the extracted folder, that includes: breqn.dtx, flexisym.dtx, mathstyle.dtx, empheq.dtx, mathtools.
Then I created a folder "C:\athos\localtexmf\mathtools" and put all the new files in.
Then I go to "Windows -> Start -> Programs -> MikTex 2.9 -> Maintenance (Admin) -> Settings (Admin) "; in "Roots" tab I added path "C:\athos\localtexmf"; in "General" tab I clicked "Refresh FNDB" and then clicked "OK" to close it.
I restarted my WinEdt, added "\usepackage{mathtools}" under "\documentclass..."; and added "test $\prescript{14}{2}{\mathbf{C}}$ " in the main body.
After that when I try to "MikTex", the error still comes up: "The required file tex\latex\mh\mathtools\sty is missing. It is a part of the following pakage: mh . The package will be installed from ..."
Seems the folder "C:\athos\localtexmf\mathtools" is not captured by MikTex?
Then in the error message dialog, I choose "Change", choose "Package shall be installed from a directory", click "Next", choose ""C:\athos\localtexmf\" or "C:\athos\localtexmf\mathtools", in either try it says "Not a local package repository".
What shall I do?
I'm on Microsoft Windows XP Prefessional SP3, WinEdt 8 (Build: 20140613 (v. 8.2) - 32-bit), and MikTex 2.9.
mh
from MiKTeX's package manager, you'll have no problem. Why do you want to install manually a package that's in the distribution?mh
bundle of packages was broken up into two parts. The advice sought (and given) in this posting about installing themh
bundle is no longer applicable for versions of TeXLive and MikTeX more recent than August 2014.