Posts

Showing posts with the label Packages

Blackboard Bold I

Image
Answer : If you're free to use LuaLaTeX and the unicode-math package and its \setmathfont macro, there are quite a few math fonts to choose from that provide a "double-struck" lowercase-i character. Hopefully, one of the following eight choices will appeal to you. :-) \documentclass{article} \usepackage{unicode-math} \setmainfont{Stix Two Text} % choose the text font... % Setting up eight [8!] math fonts \setmathfont{Latin Modern Math}[version=lm] \setmathfont{Cambria Math}[version=cambria] \setmathfont{Asana Math}[version=asana] \setmathfont{Stix Two Math}[version=stix2] \setmathfont{XITS Math}[version=xits] \setmathfont{TeX Gyre Termes Math}[version=termes] \setmathfont{TeX Gyre Pagella Math}[version=pagella] \setmathfont{TeX Gyre DejaVu Math}[version=dejavu] \newcommand\blurb{$\mathbb{123}\quad\mathbb{hij}\quad e^{\phi_i\mathbb{i}}$} \begin{document} \begin{tabular}{ll} Latin Modern & \mathversion{lm} \blurb\\ Cambria & \mathversio...

Can't Uninstall/reinstall NuGet Package

Answer : In your Solution or Project you will find a file called packages.config . Open this file and you will see all the packages that NuGet has installed. The file will look something like this: <?xml version="1.0" encoding="utf-8"?> <packages> <package id="Json" version="2.0.3" targetFramework="net45" /> </packages> Simply delete the line of your package and save the file. <?xml version="1.0" encoding="utf-8"?> <packages> </packages> Then run NuGet again and it should install. The JSON.NET NuGet package should just work with a Windows Phone 8.0 project. Adding it in VS2012 NuGet manager pulls in the WP7 version of JSON.NET. (packages\Newtonsoft.Json.4.5.10\lib\sl3-wp\Newtonsoft.Json.dll) JSON.NET is now also available as a Portable Class Library which you can consume from WP8 (available in NuGet or in source form). UPDATE: The latest version of N...

Can I Force Pip To Reinstall The Current Version?

Answer : pip install --upgrade --force-reinstall <package> When upgrading, reinstall all packages even if they are already up-to-date. pip install -I <package> pip install --ignore-installed <package> Ignore the installed packages (reinstalling instead). You might want to have all three options: --upgrade and --force-reinstall ensures reinstallation, while --no-deps avoids reinstalling dependencies. $ sudo pip install --upgrade --no-deps --force-reinstall <packagename> Otherwise you might run into the problem that pip starts to recompile Numpy or other large packages. If you want to reinstall packages specified in a requirements.txt file, without upgrading, so just reinstall the specific versions specified in the requirements.txt file: pip install -r requirements.txt --ignore-installed

Auto Package Download For TeXLive

Answer : While in MiKTeX an installation process is automatically triggered if you have, say, \usepackage{beamer} in a document preamble without the corresponding package installed, there is no such feature on TeX Live. The last statement is not true actually, as pointed out by wasteofspace in the comments there is the texliveonfly package that implements the on demand installation in TeX Live 2010 and later. I never tested it and don't know if it has drawbacks. However, if you install the full (or almost full) TeX Live collection of packages (~2400) you will not need to add new packages, a periodic tlmgr update -all will take care of everything, including the installation of packages added to the TeX Live collection after you first full installation. This feature is explained in the tlmgr manual. Analogously, if a package has been added to a collection on the server that is also installed locally, it will be added to the local installation. This is called auto-...