{packages} is about packages in general, e.g. about choosing, installing or using packages. For questions about writing packages, choose {package-writing} instead. If your question concerns a specific package, choose its name as tag. For {document-classes} or {templates} use the respective tag.

learn more… | top users | synonyms (2)

0
votes
1answer
27 views

Two local problems after inserting language package

I am now writing a lecture notes on Advanced Number Theory, and I use University Lecture Series LaTex packages of AMS. Then I faced two problems. First, if I include my native language package ...
212
votes
20answers
118k views

Is there any way to do a correct word count of a LaTeX document?

Often assignments (or even papers) have a word count limit. That is not a big deal when using Word, but I don't know how to do that using LaTeX. My solution has been so far to compile the document and ...
1
vote
0answers
43 views

MiKTeX and initexmf - Change user root priority without using settings GUI

When running MiKTeX as non-admin, packages get automatically installed in AppData; sometimes, however, you want to manually install a version of a package in another root folder without removing the ...
2
votes
1answer
27 views

Asserting that package contains command

I would like to do something like this: \usepackage{mypackage} \assertpackagecontains{mypackage}{mycommand} Here, if the mypackage package does not contain the \mycommand command, then an error is ...
2
votes
1answer
23 views

from … import … with packages

In Python we can import packages using import packagename or, if we only need a specific function, we can write from packagename import functionname Can something similar be done in LaTeX? This ...
0
votes
1answer
60 views

code using the same packages of tikzcd works on one project but not other [on hold]

I'm using the package \usepackage{tikz-cd}. Note that this code works good: \documentclass{amsart} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} & D \arrow[d,"f"] \arrow[dl, ...
1
vote
0answers
18 views

Setting up BasicTex (Homebrew)

Just getting started with TeX and I think I'm missing something... I've installed BasicTex via Homebrew Cask (brew cask install basictex) which supposedly includes pdfTeX and a bunch of other tools ...
0
votes
0answers
23 views

Problem with finding forest.sty

I'm trying to use \usepackage{forest} but something is wrong. I have the following output: ! LaTeX Error: File `forest.sty' not found. I'm using TexLive. The upgrade is done. I tried install ...
1
vote
1answer
61 views

The package `' is defective

I am trying to extend my class by supporting multiple paper sizes, and therefore adding some options by \DeclareOption{a5paper}{% Paper size: 148mm x 210mm % \SBpaperAfivetrue % ...
3
votes
1answer
54 views

Can i use multiple .sty files

I wanted to ask if it would be possible to use multiple .sty files to declare every specific part in its own file for separation of layout. Or is this not good or not possible? I mean for example: ...
14
votes
2answers
6k views

Europass CV in (Xe)LaTeX

I was requested to re-write my CV in the Europass format, and I would like to do it using (preferably) XeLaTeX. I came across the europecv package, which seems to do the job just fine, but I would ...
1
vote
0answers
41 views

What is a good environment for writing problems and solutions? [closed]

I'm writing a book where I record interesting problems and their solutions. However, there does not seem to be an organized list, or other reference to these types of latex packages and tex macros. ...
2
votes
1answer
25 views

background package - Using text with line breaks

I'm designing a very simple cover for a university publication in Sanskrit. I'm using the package "background" to add some "watermark-like" Sanskrit text on the cover, both top and bottom, while the ...
3
votes
1answer
19 views

Call a command where part of the command name is given as input?

This seems obvious but I can't seem to find what I need via a search (I can't figure out a good search term I guess). So what I'm looking for is to have a command that takes in a string, and then ...
1
vote
0answers
152 views

Was anything in Satoshi Nakamoto's original Bitcoin paper compiled in LaTeX? [closed]

The complete paper This question is about Satoshi Nakamoto's original Bitcoin paper, which can be found at: https://bitcoin.org/bitcoin.pdf, [live]; or identical (also 184,292 bytes) e.g. ...
88
votes
4answers
3k views

Techniques and packages to keep up with good practices

Question What techniques and packages are there to keep up with good practices? What I already know I already know of the following packages for this kind of purpose: ...
1
vote
0answers
54 views

Package for typesetting the Bible

Are there any LaTeX packages or styles that have been designed specifically for typesetting the Bible, with its text divided into books, chapters, and verses? This post contains a couple of nice ...
2
votes
1answer
20 views

Change to short Monthname in datetime2 (german)

I use \usepackage[ngerman]{datetime2} and try to create a date which uses the short form of the Monthname. When I type \DTMdate{2016-12-4} I get as result 4. Dezember 2016. But I want the short ...
1
vote
0answers
263 views

Can't find package Roboto font [closed]

To get things to look according to the house style defined by the university they've created a latex style. I'm trying to implement this but get the error: File `roboto.sty' not found. \RequirePackage ...
0
votes
1answer
41 views

Cannot find bibliography

I am working on my thesis and apparently, when compiling the file, it does not find any bibliography file, whereas this is actually located in the same path as my thesis file. The code I have is: ...
0
votes
0answers
26 views

Working to find Latex error – Redefinition Problem

Working to find Latex error – Redefinition Problem I have been trying-out the several ways of writing a vector symbol with harpoon above, - as described in several replies to an early post ref: how ...
3
votes
1answer
36 views

Which version of Lollipop package should be installed on OS X with TeX Live Utility?

I have installed basic TeX distribution (basictex-20150613.pkg) on my OS X 10.11.4. Now I want to install the lollipop package with TeX Live Utility. There is two options (I annotate them with red ...
1
vote
1answer
7 views

lhs2TeX and Syntax conflicting on <> characters

I'd like to use Syntax and lhs2TeX together, but Syntax's usage of <> in production rule names seems to conflict with lhs2TeX: \documentclass{article} \usepackage[nounderscore]{syntax} ...
1
vote
0answers
31 views

Beginner's problem - Undefined control sequence… Problems with RITA package [closed]

I am having a lot of "small" problems with my code in ShareLatex. I think the most of them because the package provided from the Journal (I copied the code for new project in ShareLatex and it worked ...
6
votes
1answer
529 views

Error when updating texlive 2015

When I want to update packages of texlive 2015 I get this error? what is the problem? tlmgr update --list The locale codeset (cp720) isn't one that perl can decode, stopped at C:\texlive ...
1
vote
1answer
49 views

psvectorian package

I work with Miktex2.9 . In a template code I downloaded , their is something called a psvectorian package. i.e. it uses \usepackage{psvectorian} .However I searched the Miktex package manager, but ...
0
votes
0answers
27 views

Keep Latex packages and templates on USB

I was able to install TExshop on my university's mac computer lab, but the IT people were only willing to install Basic Tex. The root of the problem is that the computers are refreshed every 15 ...
29
votes
4answers
7k views

How to typeset special Apple Mac keyboard symbols?

Is there a standard way to typeset the special symbols of the Apple Mac keyboard? That is, the curly rectangle ⌘ and the others? If there is none, what would you suggest as workarounds?
7
votes
2answers
7k views

Package repository down, how to relocate?

I would like to use the function of TeXnicCenter 1.0, where is automatically downloads missing packages used. The problem is, that the repository it wants to download from does not exist anymore (the ...
0
votes
1answer
140 views

Windows, TeX Live and directory for personal packages

On Unix like system using TeX Live, the command kpsewhich --var-value=TEXMFLOCAL gives the path of the directory where to install homemade package. For example, on my Mac, I obtain the path ...
3
votes
0answers
37 views

Installing missing packages automatically in TexLive [duplicate]

How can we get all the missing packages automatically installed with TexLive. This option exists in MikTeX. Is there some comparable way of doing this using TexLive? I am on linux mint.
6
votes
2answers
467 views

± Symbol in text

I can't get a ± symbol to show up in my .pdf document, whether it be within a table, or in the main body of text. Can anyone offer any assistence ? I have read everywhere it is \pm and would write ...
1
vote
0answers
54 views

ocgbase.sty and ocgx2.sty packages not found

I'm using Miktex 2.9 and texmaker on a windows 7 OS. I'm getting the error message "! LaTeX Error: File `ocgbase.sty' not found. (...)" I found out that installing the ocgx2.sty package would solve my ...
1
vote
0answers
29 views

diagrams package

I went to the diagrams package for installing commutative diagrams. I am used to installing packages by running a dtx file, and then a sty file pops out and when the sty file is in the same folder as ...
3
votes
2answers
222 views

Partial compilation commands/environment?

In the interest of speeding up compilation times of large documents, I got interested in partial compilation. (I'm already aware of "pre-compiling" preamble format fmt files and intend to use that as ...
2
votes
1answer
31 views

arabi.sty not found

I have the arabi package installed with texlive in mint. I have added the command \usepackage{arabi} in the preamble of my document. When I compiled with pdflatex I get the error message "file ...
1
vote
2answers
44 views

tlmgr open documentation for <package>. BasicTeX

I know it's convenient to install packages with tlmgr install <package>, but I couldn't find a way to open the documentation of the respective package; I know it installs them, I can manually go ...
2
votes
0answers
42 views

XeLaTeX can't find any packages (PdfLaTeX works)

I'm currently trying to build a document with XeLaTeX because I need it for a template. My OS is Scientific Linux 7.2 and I use texlive + Texstudio as an editor. Now the problem that I have is that ...
1
vote
1answer
31 views

How to install “sw20­jart.sty”?

I've search internet and found below code: %sw20jart {Article: JEEP (a general purpose vehicle)}{12pt}{article}{empty} %Copyright (C) 1994-95 TCI Software Research \typeout{TCI Document Style ...
1
vote
1answer
63 views

Automatically identify the dependent package for LaTeX symbol command

Given a command like \kreuz, is it possible to create an application that will smartly recognise and import its dependent package wasysym, to enable its rendering out on a webpage? The aim is to have ...
2
votes
1answer
27 views

underscore in filename using getfiledate Package

I'm trying to use the getfiledate package from CTAN to get, as sugested, the last file modification date. I've imported correctly the package and tested with another file, named table/classe.tex and ...
1
vote
0answers
29 views

Where do I obtain the texlive-collection-science package for CentOS 7?

I am having a bad time looking for the texlive-collection-science package for CentOS 7. The only available collections that appear to me are the following: yum search texlive-collection ...
1
vote
1answer
33 views

Package array error

I'm trying to write the following on my latex $$(T_n f)(z)=n^{2k-1} \sum_{\begin{array}\ a\geq 1,ad=n \\ 0\leq b<d\end{array}} d^{-2k} f\left(\frac{az+b}{d}\right)$$ But it ends up with error: ...
2
votes
0answers
45 views

Is there a package which does typeset subscripts automatically upright or provides an easy syntax to do to so?

Some time ago there was a question of how to typeset subscripts automatically upright (Typeset index upright automatically). The answer works, but it seems like a hack. Is there any package out ...
6
votes
0answers
99 views

Chemical compound numbering in pdfLaTeX without `--shell-escape`?

The package chemscheme, included in chemstyle, allows for temporary text "tags" in .eps files to be replaced with designated chemical compound enumerations (A, B, C, ...; 1, 2, 3, ... ; etc.). This ...
3
votes
1answer
50 views

Phone symbol/ Website logo in XeLatex

\texttt{ÔÑã}~\href{tel:\myphone}{\myphone}\\ produce a mobile icon on the pdf file and this one href{https://www.linkedin.com/in/\myweb} {\texttt{ÔÇå}~\myweb} generate the little nice Linkedin logo ...
2
votes
1answer
116 views

Updating from an old enumitem package - Lubuntu

I've installed Texmaker on my netbook running LXLE (built on Lubuntu 12.04) and when I tried to compile a file I'd been working on with Texmaker on Windows, I get an error saying: Unknown option ...
2
votes
2answers
23 views

don't show ToC, LoT, and LoF in table of contents

Is there a way for me not to show these following three in the Table of Contents? I used this package \usepackage{tocbibind} in order to include Bibliography in Contents, but for some reason these ...
2
votes
1answer
118 views

LaTex cannot find user installed packages

I just switched to a new laptop and am having trouble getting a few packages to work on the new machine. I installed Miktex 2.9 basic package and the style files I need to access are contained in the ...
0
votes
0answers
128 views

Permission denied to install algorithm packages

I am trying to install the algorithm-package. I have created a folder in Local Disk C. Then I have copied the following files to the folder: miktex-zzdb1-2.9.tar.lzma miktex-zzdb2-2.9.tar.lzma. In ...