Hot answers tagged

11

Experiment 1: \documentclass{article} \usepackage[cmyk]{xcolor} \usepackage{xcolor} \begin{document} a \end{document} Terminal output: This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./exp.tex LaTeX2e <2016/03/31> patch level 2 Babel <3.9r> and ...


10

you've placed the (t) outside the scope of the \ket command. just move the open brace before the \psi: \ket {\psi(t)}. off-topic: since amssymb loads amsfonts automatically, it's not necessary to specify them both.


6

You could use Lua to obtain your current IP address (within your NATed network). Therefore I ping Google's DNS server and let the interface report to me the binded address. % arara: lualatex \documentclass{article} \newcommand\place{\directlua{ % https://stackoverflow.com/questions/7046291 require "socket" local s = socket.udp() s:...


5

If you use Basic TeX, then I'm afraid the answer is Yes. Basic TeX is designed to install a minimal distribution and then all you to add any extra packages you need manually using either tlmgr from the command line or the TeXLive Utility program that comes with MacTeX. These packages are added to the main distribution tree, (/usr/local/texlive/<year>...


3

You can use Baskervaldx as a drop-in replacement for baskervald. From the docs: The fonts included in this package are extensions and modifications of regular and bold weights of the baskervald fonts, which serve as a replacement for Baskerville. The changes provide small caps in all four styles, and a total of four ordinary figure types {tabular, ...


3

The baskervald package lets TeX/LaTeX users access the Baskervald ADF font collection (designed by Hirwen Harendal of the Arkandis Digital Foundry (ADF)). According to the package's user guide, "Baskervald ADF is a serif family with lining figures designed as a substitute for Baskerville. The family currently includes upright and italic or oblique shapes in ...


3

You need to load the package graphicx in the preamble (between \documentclass{...} and \begin{document}) with \usepackage{...} command, the following code works with no errors, even if the values of \resizebox are exaggerated: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{center} \resizebox{10cm}{7cm}{ \begin{tabular}{ | p{1cm} | ...


3

Package hypcap is called with option all in class siamart0516: \RequirePackage[all]{hypcap} [1.11] Option all is a shortcut for the option list figure, figure*, table, table*. Also there is a global option table: \documentclass[table]{siamart0516} That means, the code for option table is executed twice, as part of option all and as global option table. ...


2

I added export PATH="$PATH:/home/myusername/texlive/2016" That appears to be the wrong directory, at the wrong end of the path. If you already have tex in your PATH (and you appear to have texlive 2013) then any invocation of tex or latex will use the first one in your path, which will be the old one. then you need to put the directory with the ...


2

The problem The Basic TeX distribution installs a limited set of packages, and it is up to you to install other packages manually. The normal way to do this is to use TeX Live Utility, which is not installed with Basic TeX, but can be downloaded here: http://amaxwell.github.io/tlutility/. TeX Live Utility, don't know how to start it However, TeXLive ...


1

Some time ago, babel was split up in the base package and the languages. Thus, you need to install babel-german (distribution package name in TeX Live or MiKTeX). BTW, the option name for the German language after the orthography reform of 1996 is now ngerman. ngerman.ldf is also part of the distribution package babel-german.


1

the \thickhline command defined here does not allow page breaking, using \hline allows the table to break normally (I also removed the center which can not center a longtable and just adds spurious space) Note that \tiny{...} is a strange markup as \tiny doesn't take an argument, mostly it works here as the font change is restricted by the table cell, and ...


1

From https://en.m.wikibooks.org/wiki/LaTeX/Installation: TeX Live features a manual installation with a lot of possible customizations. You can get the network installer at tug.org. This installer allows you to select precisely the packages you want to install. As a result, you may have everything you need for less than 100 MB. TeX Live is then managed ...


1

ccmap.sty seems to be a chinese version of cmap.sty. It is required by the document class cpbtex. You can download a zip archive with a LaTeX CPB template, cpbtemplate.tex, that contain both the cptex class and the missing ccmap.sty from this page: http://cpb.iphy.ac.cn/CN/column/item208.shtml I had problems extracting the zip but I managed to get by. I ...


1

brew cask install basictex just downloads the .pkg installer, which you then need to open so it can install itself. $ brew cask install basictex ==> Tapping caskroom/cask Cloning into '/usr/local/Library/Taps/caskroom/homebrew-cask'... remote: Counting objects: 3781, done. remote: Compressing objects: 100% (3728/3728), done. remote: Total 3781 (delta 73),...



Only top voted, non community-wiki answers of a minimum length are eligible