Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Why is LyX loading `units`? [duplicate]

I have a rather long document written with LyX and it is doing \usepackage{units}. I don't know why it is being loaded and I would like to get rid of this package. How can I track why it is being ...
user171780's user avatar
0 votes
1 answer
50 views

! LaTeX Error: File `units.sty' not found

I have a LyX file that when I try to compile gives me ! LaTeX Error: File `units.sty' not found. How can I fix this? I am using Fedora 40. I am interested in two kinds of solutions: Installing ...
user171780's user avatar
5 votes
1 answer
151 views

new versions of fancyhdr break caesar_book class

When I compile caesar_example.tex, the page numbers do not appear. They only show up if I use an older version of fancyhdr (e.g., this one). I am using TeX Live 2022 on Debian. Is this issue related ...
scaramouche's user avatar
2 votes
1 answer
212 views

Safety pictograms

I am looking for a package that allows to add safety pictograms like those in the following image (I saw that for chemistry pictograms, the ghsystem package existed)
Nicolas's user avatar
  • 1,505
1 vote
1 answer
20 views

Error when using mcode.sty package - Inserts "2D at first page

When using the mcode.sty package to include code from Matlab, and compile it with pdflatex I am experiencing the error as follow, (same error with TeXstudio and Overleaf): ! Missing number, treated as ...
ango4's user avatar
  • 13
0 votes
1 answer
21 views

How to install the required package for wasysym.sty in Fedora 40

I am in a Fedora 40 system getting LaTeX Error: File 'wasysym.sty' not found.. What is the package to be installed? And how do I install it? I tried sudo yum uninstall texlive-wasysym.noarch which ...
user171780's user avatar
0 votes
0 answers
18 views

Error in Subfigure

I want to make 2×3=6, or 2×2=4 subfigure in latex. when I entered the subfigure command correctly, the three figure made successfully, but when entered subfigure command for 4th one this shows an ...
Tariq hussain's user avatar
1 vote
1 answer
26 views

Subfiles with special packages in each

Recently I learned that I can add special commands for my subfiles, which will be invisible to others. But I am wondering, how to do that if my commands are located in special packages. The question ...
Хранитель Рощи's user avatar
2 votes
1 answer
52 views

Numering page with abntex2

I'm having trouble trying to numbering the pages. Why is the page number not appearing on the 'Introduction' page in the provided LaTeX code? \documentclass[12pt, oneside, a4paper, ...
allan's user avatar
  • 33
3 votes
3 answers
109 views

Conditional environment using package option

I asked this question, which was solved but didn't help me with the issue I was trying to fix. Seems I fell for the XY problem, so I'll make it more explicit. What I want: a package that has a ...
aram's user avatar
  • 279
2 votes
1 answer
65 views

Package with environment that changes according to option

I've been trying to write a small package so I can show/hide solutions in some of my notes, so far I have the following non working example which I hacked by looking at some other answers and the ...
aram's user avatar
  • 279
0 votes
0 answers
30 views

How can I use Springer "svmult" latex template in local with Visual Studio Code?

I'm trying to use this template from Overleaf text I executed this on Overleaf it worked well. However, since I upload a lot of images, I prefer to run the Latex code locally. But even the template ...
Relativity's user avatar
1 vote
1 answer
40 views

Custom color in .sty file

I have a .sty file that changes the chapter header. I want to be able to use my custom color in this file, however I always get an error no matter where I put it. I already tried putting it in the ....
John's user avatar
  • 11
4 votes
1 answer
217 views

A list of obsolete packages and their replacements [duplicate]

When I am trying to figure out how to perform something a bit exotic in latex, I usually look it up online. Often, I find answers (including on this website) that are old: several years, sometimes ...
Najib Idrissi's user avatar
4 votes
1 answer
72 views

Crop package: put info at the bottom?

The crop package has an option (info) which puts document information (file name, year, time, page number) on the top margin. See for example this book. What is the correct way to move the info to the ...
andres's user avatar
  • 45
2 votes
1 answer
465 views

innerscript does not work with most recent LuaLaTeX

I recently upgraded my computer to the newest version of LaTeX2e. Unfortunately, the most recent version 1.2 of the innerscript package no longer works. The following LaTeX file produces an error ...
Sheldon Axler's user avatar
0 votes
1 answer
204 views

Old laptop works fine. New laptop, new Miktex and Texstudio install. Trying to Build &View from local Google Drive but Orcid is giving error message

Old laptop install builds and views fine but with new laptop on same .tex file (whole file structure is fine) I get error message. Is there something wrong with my settings? Miktex says no more ...
user407181's user avatar
0 votes
0 answers
61 views

How package I use for \dimexpr?

I need to use the command \dimexpr, but in my machine no have an package for it. My specific objective is write this string: \newcommand{\cancelraizq}\[1]{ \sbox0{$ \displaystyle \sqrt{\vphantom{#...
Luiz Collovini's user avatar
0 votes
0 answers
587 views

Error: "Loading a class or package in a group. \usepackage" with .cls file

I am writing my thesis with .cls file. This morning, everything worked well, and suddenly, my dumb brain decided to mess around with the MikTeX Console. And of course, I could not compile with the ....
l.ngn's user avatar
  • 1
0 votes
1 answer
24 views

Non-bold diacritics over bold math symbols with correct alignment - packages "bm" and "accents" incompatible?

I want to use non-bold diacritics on bold math symbols. For correct alignment I need to use the package bm. But I also need to import the package accents for other reasons. This seems to undo the ...
M. Winter's user avatar
  • 531
0 votes
0 answers
43 views

Reverse arc above letter

Using stackrel we can obtain a reverse arc above X: $\stackrel{\smile}{X}$ The reverse arc is not so close to X, what can we do to make it closer? Is there something similar to \wideparen but that ...
mathex's user avatar
  • 177
0 votes
1 answer
44 views

"Environment multicol undefined" but it is defined [closed]

\documentclass{book} \usepackage[a4paper,margin=1cm,landscape]{geometry} \usepackage{multicol} \newenvironment{flagsAndExplanation}[2] { \begin{itemize} \item \textit{#1} %commandFlags ...
Yosyp's user avatar
  • 11
0 votes
0 answers
30 views

Figures and tables are not shown

I was writing in a \documentclass[conference]{IEEEtran} and figures and tables were shown. When i shifted to \documentclass[]{IEEEphot} figures and tables are not shown anymore. I have included all ...
camellia  mohammed's user avatar
1 vote
0 answers
54 views

Preamble a mess

I've been creating a document in overleaf and gradually adding to the preamble over time. I am now receiving error messages saying "Too many symbol fonts defined" and "Symbol font `...
Wendy Taylor's user avatar
0 votes
0 answers
78 views

Personal .sty and .cls files creation

I have recently been more and more interested in the LaTeX dark side (i.e. developping commands, packages, globally playing and trying stuff for fun and knowledge - so jk I know it is not that dark (: ...
Marck's user avatar
  • 167
-1 votes
1 answer
29 views

How to format decision problems for algorithms?

I am aware there are several excellent packages in CTAN for typesetting algorithms. However, I often need to first describe the problem the algorithm is solving, and I can't seem to find apackage that ...
Luke's user avatar
  • 1
2 votes
0 answers
69 views

What package can allow me to typeset code and pseudocode in the following way?

I'm using algorithm and algpseudocode and I get nice results but I want to have in a single environment multiple algorithms/codes in the following way: instead of having 2 different environments, I ...
Nate3384's user avatar
  • 197
2 votes
1 answer
103 views

I want to write a section in arabic in an overleaf template but the rest of the document is written in english

I'm using an overleaf template (https://www.overleaf.com/latex/templates/thesis-template-faculty-of-engineering-ain-shams-university/ykvrxppdjqmz) to write my thesis and I wanted add a section written ...
Mariam Hesham's user avatar
2 votes
0 answers
78 views

Nicematrix not working version 6.28 2024-05-29 [closed]

I'm using TeX Live 2019/Debian and I did the procedure accordingly https://www.ctan.org/tex-archive/macros/latex/contrib/nicematrix. However get error nicematrix.sty: erro: 35: Undefined control ...
wccmachado's user avatar
0 votes
0 answers
19 views

Errorin compiling using color package and input

I'm using Overleaf to do a report for school, and in order to be readable, I've chosen to write every chapter in different .tex and then take them in the main .tex with all the packages, and do \input....
Côme's user avatar
  • 1
2 votes
0 answers
73 views

Undefined control sequence when using \sfrac [closed]

Good evening, I was wondering if you could help me with making sense of an error I have started encountering. For some reason the LaTeX interpreter no longer recognises the \sfrac command from the ...
NDC's user avatar
  • 145
0 votes
0 answers
46 views

Multiple errors occurred with Texmaker after upgrading system

After I upgraded system to Ubuntu 24.04 LTS ,TeXmaker, which I am using, does not compile anything, even my old files. Specifically, I get the errors: Package fontenc Error: Encoding file `lgrenc.def' ...
Dionysis Balasis's user avatar
1 vote
1 answer
54 views

Including option in a package

I want to include the following as an option to a package.Have included the keys part. What more needs be done ? \RequirePackage {multicol} \setlength{\columnsep}{0.8cm} in \ProvidesPackage{rodin}[...
Franklin's user avatar
0 votes
1 answer
137 views

latex on Arch Linux can't see packages installed via tlmgr

I've freshly installed texlive on Arch linux and tried to make it work using VS Code LaTeX Workshop. Unfortunatelly, when building (in VS Code or in CMD with latexmk command), I get this error: LaTeX ...
ms4rkl's user avatar
  • 1
0 votes
0 answers
27 views

Bug with knowledge.sty, argument of \@fifthoffive has an extra }

I encounter a surprising bug as soon as I try to use the knowledge package: % !TeX TS-program = xelatex \documentclass{article} \usepackage[ hyperref, notion, ]{knowledge} \knowledge{notion}...
sparusaurata's user avatar
0 votes
1 answer
80 views

Redefine chapter* format

How can I modify the font of the chapter* command. I essentially want to keep it the same except to make the font a little smaller. How could I do this using titlesec. Also how can I redefine the ...
xyz04's user avatar
  • 147
1 vote
0 answers
49 views

Display Issue with Handwriting Simulation

I wanted to make my LaTeX notes look handwritten. I found an approach from this site which uses: \documentclass{article} \usepackage{mathpazo} \usepackage[version=3]{mhchem} \usepackage{amsmath} \...
Lex_i's user avatar
  • 225
1 vote
1 answer
36 views

Change spaces between integrals in esint

I would like to change the spaces between integral signs in esint package. I found the following in their documentation: You can customize the space between integral sign in multiple integrals. You ...
Luca.b's user avatar
  • 113
0 votes
0 answers
133 views

Font shape '...'in size <16> not available - changes to do in Springer Nature template

I am getting font errors especially with Springer Nature Template. The font shapes 'OT1/cmr/m/n', 'OML/cmm/m/it', 'OMS/cmsy/m/n' and 'U/rsfs/m/n' are shown not available in the template. I have used a ...
Aishwarya Rao IITGN's user avatar
0 votes
2 answers
91 views

Fixing command conflict between packages

I have two packages, one with ProvidesPackage{pist}{kat}, the other with ProvidesPackage{negut}{kat}. Both include the command \boldn. Because a conflict naturally occurs can one add a condition to ...
Bulldrive's user avatar
  • 161
0 votes
0 answers
17 views

Installed the package pgfornament but doesn't recognize colors

I installed the package: pgfornament But whenever I try a color, different from the very basics, I get a very long error prompt, in one of the lines it says: ! Package xcolor Error: Undefined color `...
serenidad_monotropuca's user avatar
0 votes
0 answers
38 views

No VSCode auto-completion using .sty file commands

I have created many .sty files that auto-complete in TeXMaker, but recently I switched over to compiling in VSCode. The problem is, even though there's no problem compiling, I have no auto-completion ...
cybsFeyQ's user avatar
3 votes
2 answers
37 views

Package `keystroke` not drawing borders all the way

As the image shows, the left edge, right edge, part of the top, and part of the bottom all display just fine. However, part of the key is supposed to extend to cover everything in the key. Why is this ...
Private Eye's user avatar
0 votes
0 answers
569 views

Why is `tabularray.sty` not recognized even after downloading it?

I'm getting an error "File 'tabularray.sty' not found" not recognized, even after I did the following: 1). I ran sudo tlmgr install tabularray 2). Then I ran sudo texhash 3). And then I run ...
underdog987's user avatar
0 votes
0 answers
314 views

File `multirow.sty' not found. \usepackage

I am trying to execute this line of code(below) and getting the error above \usepackage[section]{placeins} Please assist
Gerald Maluleke's user avatar
0 votes
2 answers
41 views

Default not working for new command

\newcommand{\initialize}[2][tmargin=1in, bmargin=1in, right=0.75in, left=0.75in]{ \geometry{#1} \ifthenelse{\equal{#2}{}}{\setboolean{indent}{false}}{\setboolean{indent}{true}} \...
xyz04's user avatar
  • 147
3 votes
1 answer
130 views

Automatically determine all ctan packages necessary to compile

I keep a relatively lean texlive and install individual packages as necessary through tlmgr. Sometimes I begin to work with a colleague and have to compile a new paper. Right now, my process is to ...
davidlowryduda's user avatar
0 votes
2 answers
84 views

using faktor package in a Lyx document

I'm trying to use the faktor package in LyX for the quotient operator. However, LyX doesn't recognize the \faktor command, even though I've installed the package using Tex Live. I'm fairly new to LyX ...
userא0's user avatar
3 votes
4 answers
223 views

Is there a LaTeX package that will provide a brief summary description of all the packages that are included within a LaTeX project?

I was wondering if there exists a LaTeX package that will scan all of the packages that exist within a LaTeX project, then download from CTAN a brief summary description of each of the packages that ...
RosesBouquet's user avatar
1 vote
0 answers
57 views

Drawing arcs with arrowheads

The code below (which uses the pict2e package) seems to do what I intended but I want to do some further editing and add some other lines and label the angles differently. When angles are adjacent to ...
Michael Hardy's user avatar

1
2 3 4 5
67