Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [packages]

{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.

1
vote
2answers
24 views

\hookrightarrow with ebgaramond-math

I'm using the font EB Garamond for a document I'm typesetting, but it seems that \hookrightarrow only renders a normal arrow. Here's the code I'm using: \documentclass{article} \usepackage{amsmath} \...
0
votes
0answers
32 views

How to manually update to tcolorbox 4.2?

I am compiling with a MacTex installation with packages managed by TexLive. There is a bug in the tcolorbox package that has been fixed in the latest release; v 4.20. I am in fairly urgent need of ...
1
vote
1answer
23 views

Local variable to a package

I am defining my own latex package mypackage.sty. How to define a local command such that: mycommand If mycommand is already defined elsewhere it will be locally redefined just inside the package If ...
0
votes
0answers
33 views

File no longer compiles; missing packages

Recently, I've encountered errors compiling tex files using XeLaTeX in Sublime Text. I've compiled these same files earlier before without any major errors. I can't recall making any major changes to ...
3
votes
1answer
41 views

Package that visualizes spacing?

Is there a package that visualizes and label all the spacings in a document, similar to what this diagram shows (except it would label exactly how many pts each variable is)?
0
votes
0answers
21 views

Where to put .sty file, using Linux Sublime LatexTools

I am using sublime LatexTools on a Linux machine and I Cannot find the correct directory of Tex stuff. Any help is appreciated...
0
votes
0answers
38 views

Having trouble with \blindtext

When using \usepackage{blindtext} vimtex throwing me a Compilation failed. My setup is vim + vimtex and as compiler I am using latexmk. PS: I had prior to that problems with \usepackage[enlgish]{...
5
votes
1answer
245 views

Is it possible to force a package to be called last in the entirety of the LaTeX, when called in the class file?

I have designed a class that needs the xepersian package. This package is unique in the way that it needs to be called last so it doesn't get overwritten. I usually define my packages in the class ...
5
votes
1answer
127 views

Process LaTeX code only if package is loaded

I would like to create a document used to test diverse packages, and I was wondering if it was possible to use a command so that part of the code is read only if the corresponding package is loaded. I'...
1
vote
1answer
326 views

How can I install a package on MikTeX?

I need to install a LaTeX package on my MikTeX system. Specifically, I am trying to make biblatex work, but I always get the error message: ! LaTeX Error: File `biblatex.sty' not found. I have ...
0
votes
0answers
24 views

File `multirow.sty' not found. TexStudio Fedora 29 [duplicate]

I use TexStudio in Fedora 29 and try to execute this bit of code: \begin{tabular}{ |c|c|c|c| } \hline col1 & col2 & col3 \\ \hline \multirow{3}{4em}{Multiple row} & cell2 & cell3 \\ ...
0
votes
0answers
33 views

Change layout or borders of my document without package {geometry}

I want to set the borders of my scrartcl document. Right now im doing this: \documentclass[12pt,listof=totoc,bibliography=totoc]{scrartcl} \usepackage[left=3cm,right=2cm,top=2.4cm,bottom=2cm]{...
0
votes
0answers
26 views

fncychap.sty not found

These are the packages I used while during compilation I got this error see in the attachement. \documentclass[oneside]{book} \usepackage[T1]{fontenc} \let\circledS\undefined \usepackage[english]{...
1
vote
0answers
21 views

What is the recommended class for making Q&A document? [closed]

I want to make a help guide for Game Theory students where the document contains question and answer. For example- 1.What is a unique Nash equilibrium? A Nash Equilibrium is a set of strategies ...
2
votes
1answer
14 views

`svjour3` `\vec` redefinition

I am having issues with svjour3 the document is below. When I try to compile, I keep getting (and probably plenty more will come): /usr/local/texlive/2018/texmf-dist/tex/latex/base/fontenc.sty|105 ...
0
votes
0answers
23 views

What is \subcaption@CheckCompatibility and how to fix it [duplicate]

I write my thesis in TeXstudio and i use for package manager MiKTeX. In the text who i write I want to put two shapes side by side. I find a very good solution for that "application" the subfigure. I ...
2
votes
0answers
66 views

A decorations packages of LaTeX

I'm looking for decorations packages of LaTeX. So far, what I know is the: Adforn Pgfornament Psvectorian (I don't see differences between this and pgfornament...) So, can you tell me please ...
0
votes
0answers
19 views

Where to put a sty file or as cls file of your own in a miktex structure?

suppose I make personal files mybook.cls and mybook.sty, according to teximpatient or any texbook. I use UsbTex_1.5 related to miktex 2.9 and texwork. Where, in what directory do I put these files ? ...
0
votes
2answers
81 views

How can I draw geometric figures using latex?

I wanted to draw the following figure using Latex I am not sure which packages should I use. Any pointers towards the solution would be of great help
0
votes
0answers
23 views

Reporting LaTeX error at custom location

I'm familiar with \PackageError as a way to cause LaTeX to report a custom error message when the command is run. But I'm wondering, is there a way to cause LaTeX to report an error, with a custom ...
0
votes
0answers
23 views

Cannot get access to packages with MikTex on Windows

I previousyl used Texstudio on my mac and didn't have any problem. I'm trying to install latex on my PC at work. I installed MikTex but it seems that my computer has trouble gettin the package. I ...
1
vote
3answers
65 views

Self-Made Environment in a LaTeX document

Is it possible to include a self-made environment in a LaTeX document without using the \usepackage command. New Environment set of code: \usepackage{xparse} \ExplSyntaxOn \NewDocumentEnvironment {...
1
vote
2answers
31 views

Order of \usepackage causes error with footnote and xcolor

Attempting to compile the following, \documentclass[answers]{exam} \usepackage{footnote} \usepackage{xcolor} \makesavenoteenv{solution} \begin{document} \begin{solution} Hello.\footnote{Goodbye.} \...
1
vote
1answer
38 views

compile webquiz

I have some problems to compile webquizes, which made by using the package https://ctan.org/pkg/webquiz?lang=de So far i installed MikTEX, TEXstudio and python 3, get the packages webquiz, TEX4ht and ...
1
vote
1answer
35 views

Beamer Background defined by variable

I have been trying for the past few days to create a new beamer custom style. I have manage to add an image to my background on the title page in the style (hard-coded) but I would like to add a ...
2
votes
1answer
34 views

Package dutchcal and \let command are not playing together as I expected

Given the MWE \documentclass{article} \let\tempcal \mathcal \usepackage{dutchcal} \let\dutchcal\mathcal \let\mathcal\tempcal \begin{document} \(\dutchcal H~~~\mathcal H~~~\tempcal H\) \end{document}...
1
vote
1answer
44 views

Conflict between some packages

Here are the packages I am using, but it keeps reporting an error: LaTeX Error: Command \theoremstyle already defined. Or name \end... illegal, see p.192 of the manual. Example: \documentclass[...
0
votes
0answers
41 views

Why my caption package version is too old

I am using MikTex 2.9.6942. After \usepackage{caption}, I tried to use the \captionsetup command. But it gives "Undefined control sequence" error. I searched online and most of people suggest that the ...
0
votes
0answers
25 views

Roots and local package repository

I just created a local package repository following Create a local texmf tree in MiKTeX to install the package bm (which isn't accessible for me with MikTex console, I don't know why). However, when I ...
0
votes
2answers
52 views

How do I install glosstex in Tex Live?

I would like to know how to install glosstex package in TexLive. I don't know where to paste it because I have downloaded it from CTAN. I installed TexLive in Windows 10 Home. Thanks
1
vote
2answers
78 views

Virtual environment as in python

I've read this question about doing what I'm asking, however for it to work, one needs to have texlive preinstalled (or texlive-base). I was searching for a way to be totally (or nearly) independant ...
0
votes
0answers
41 views

Using scalerel and stackengine packages changes table of content

I am using \documentclass[11pt]{amsart}. When I added scalerel and stackengine packages in order to solve the \widehat problem (as described in the here) appearance of table of contents changed. Is ...
0
votes
1answer
52 views

Document will not compile using VerbTeX on my tablet

Good Morning, I am using VerbTex on my Lenovo Tab 4 and have recently installed texlive 2018 as well. I have gotten several documents to compile even a few simple ones with amsmath and amssymb ...
4
votes
1answer
85 views

How to set path in STY file as relative to this file path

I need to write several documents (mainBook1.tex, mainBook2.tex,..), all with the same layout. So basically I moved all common settings to outer file (baseSettings.sty) extension, which is pleaced in ...
0
votes
0answers
422 views

LyX 2.3.1 / MiKTeX / Windows 10 does not see was and upgreek packages

I'm trying to enter upright Greek letters into my equations using the upgreek package (which in turn is part of was – see here). I'm using LyX 2.3.1 on Windows 10 with MiKTeX 2.9. I installed ...
0
votes
1answer
58 views

What file should I put for installation of .sty file

The following procedure is correct ? 1) The following error occured: `! LaTeX Error: File "baskervillef.sty" not found.` 2) I try to install `baskervillef.sty'. To do so, I use the page: ...
0
votes
1answer
41 views

How to add Word CHAPTER # for each chapter name in toc (for .sty file) [duplicate]

How to add Word CHAPTER # for each chapter name in toc (for .sty file) This code from .sty file \renewcommand{\@makechapterhead}[1]{{ \setlength{\topmargin}{2in} % really 1.5in, added by bph ...
0
votes
0answers
22 views

What is the difference between the package-searching mechanism of PdfLatex and TexMaker?

I usually use TeXmaker to edit and compile my .tex files. I am trying to figure out where I should put the file my-package.sty, so that I can use it by simple adding \usepackage{my-package} to the ...
2
votes
1answer
27 views

Incomplete \iffalse when using syntax package with a citation

For reasons unknown to me the following minimised latex code produces a (/opt/local/share/texmf-texlive/tex/latex/mdwtools/syntax.sty) (./text.aux)) ! Incomplete \iffalse; all text was ignored ...
0
votes
0answers
28 views

Where should I put the file `inconsolata.sty' [duplicate]

When I run the R CMD check MYpackagePATH form a terminal on the package directory, then the error said that ! LaTeX Error: File `inconsolata.sty' not found. So, I download the file inconsolata.zip. ...
1
vote
1answer
28 views

Input pages of nonsense using for testing purposes

Problem I remembered seeing this multiple times on this site, one can specify how many pages of nonsense to input to check that some global page settings (margins, page numbers etc) are correct. But ...
1
vote
1answer
41 views

is there a package for schematic representation of Arduino?

i need to represent a circuit containing Arduino, i'm new to circuitikz and to latex, so i'm not able to code a complex circuit component.
0
votes
0answers
161 views

texmaker does not recognize the new package

(See my working and system context below) I have downloaded a package (genealogytree) and added it to the texmf folder in MikTex 2.9 in the appropriated subfolders. Have run initexmf --update-fndb ...
2
votes
1answer
146 views

How to make a list of abbreviations, acronyms, symbols, glossary and index with the glossaries package? [duplicate]

I would like to make a list of abbreviation, list of acronyms, list of symbols, glossary and index using the glossaries package as following order: \documentclass[a4paper]{memoir} \usepackage{...
2
votes
2answers
122 views

How to suitably configure the TEXINPUTS variable in latexmkrc for detecting the sty and cls files present in a custom folder in the project directory?

I am working on a project where in the .cls and .sty files installed by the TeX distributions are too old, but they have been patched by other users on github. I wish to use these updated versions of ...
17
votes
2answers
744 views

Why do people specify date as an option for \usepackage?

In LaTeX code written by other people, I sometimes see a date specified as an optional argument for \usepackage: \usepackage{iftex}[2013/04/04] Intuition tells me that this is some way to ensure ...
0
votes
0answers
41 views

minipar Package

I got a .tex file that uses a package called minipar. I do not need it, but I'm not having anything on the internet about this package. Maybe it's old. Does anyone have more information? The minipar ...
2
votes
0answers
2k views

Can't install packages. Problem report =“get host by name failed in tcp_connect()” [closed]

I was trying to install beamer package from Miktex Package Manager but it appears a message Miktex Problem report ="get host by name failed in tcp_connect()". If I try Sychronize I have the same ...
0
votes
0answers
44 views

Adding packages in springer latex template

In a given Springer latex template, there is no packages algorithm, algpseudocode, multirow Will the paper be rejected if I include these packages "\usepackage{algorithm}", "\usepackage[noend]{...
0
votes
0answers
22 views

TeXstudio or TeXlive gives wrong package description

I just started using LaTeX with these softwares but when i want to read package or tools description it gives me wrong ones for almost every description, only some are right (textheight and textwidth ...