Skip to main content
39 votes

How do I find out which Linux package contains which (La)TeX package?

Most Linux distributions provide a tool to find out which distribution package contains which file. Some distributions provide a website as well. Which file do I want? For \usepackage{foo} (LaTeX ...
Gilles 'SO- stop being evil''s user avatar
23 votes

Grammar-checking tool for use with LaTeX?

I've just finished writing a new tool for checking spelling and grammar directly on LaTeX files, called TeXtidote: https://sylvainhalle.github.io/textidote The program can remove markup from the ...
Sylvain Hallé's user avatar
21 votes

Auto Package download for TeXLive

texliveonfly As mentioned in comments, there is a TeX Live package called texliveonfly which you can use with texliveonfly filename.tex, and it will automatically downloaded the right TeX Live ...
PHPirate's user avatar
  • 1,815
21 votes
Accepted

LuaLaTeX not recognised as a VS Code tool

The issue was that I hadn't defined the tools lualatex and biber in the VS Code user settings file settings.json. The following entries should be present in said file for things to work: "latex-...
sesodesa's user avatar
  • 793
20 votes

How do I find out which Linux package contains which (La)TeX package?

Debian and Debian-related Linux distributions have apt-file to find the Linux package that contains a file, e.g.: apt-file update apt-file search extarticle.cls should result in texlive-latex-...
Schweinebacke's user avatar
18 votes

Is there a specialized Pdf viewer for Latex-Beamer presentations on Linux?

I made a web-based viewer which simply opens the slides and the notes on separate windows, keeping them in sync. The windows can be moved freely and expanded (F11) on another monitor like any window. ...
euxane's user avatar
  • 321
17 votes

How can one stop LaTeX compilation?

If you run pdflatex as pdflatex -halt-on-error file.tex it will stop after the first error.
Dan's user avatar
  • 291
17 votes

Algorithm.sty not found (TexMaker)

I was having the same issue and installing texlive-science package solved the issue: sudo apt-get update -y sudo apt-get install -y texlive-science
nirojshrestha019's user avatar
16 votes
Accepted

Where can I find LaTeX and its package installation guide in details?

The full TeXLive installation comes with the documentation of its packages, usually under the path /usr/local/texlive/2016/tex-dist/doc/. The full installation takes about 4Gb, and is easiest done via ...
jjdb's user avatar
  • 2,288
16 votes

How do I find out which Linux package contains which (La)TeX package?

For SuSE Linux it is a little bit more tricky, because searching in the file list of a package is only provided for already installed package. zypper search provides searching for installed and not ...
Schweinebacke's user avatar
14 votes
Accepted

How can I see two tex-files in TeXstudio simultaneously?

Split screen is supported in TeXstudio since update hg 5927 (0ce664cc1a7e) in 2016-03. You can split the screen by right clicking on the file tabs and selecting the appropriate options. Editing ...
asheeshr's user avatar
  • 276
14 votes

How do I find out which Linux package contains which (La)TeX package?

Here's the Fedora way. First, we can use dnf list and list all packages matching the string query: $ dnf list texlive-* Last metadata expiration check: 0:43:39 ago on Fri Dec 22 09:17:10 2017. ...
Paulo Cereda's user avatar
  • 44.6k
13 votes

Grammar-checking tool for use with LaTeX?

VIM-BASED SOLUTIONS INTRODUCTION LanguageTool is a blessing for the open-source community when it comes to spelling & grammar checking. As a bonus, it is a platform independent Java (.jar) ...
Loves Probability's user avatar
12 votes

How do I find out which Linux package contains which (La)TeX package?

Arch has two ways for doing this (well, two ways of which I'm aware, anyway): With the package manager (pacman), and with an add-on tool called pkgfile. Pacman First, update the database for files ...
alpenwasser's user avatar
  • 2,465
10 votes

Is there a specialized Pdf viewer for Latex-Beamer presentations on Linux?

As of September 2017 under opensuse, Leap 42.3, I googled again for a PDF viewer which allows to use the second screen option of beamer. MuPDF doesn't support a second screen with notes at all. ...
Keks Dose's user avatar
  • 31.7k
10 votes
Accepted

`pdflatex` in TeX Live 2024 stops compiling SIAM article template after `tlmgr update --self && tlmgr update --all` on 8 Nov. 2024

The class redefines the kernel commands \refstepcounter and \label and so destroys new additions to these commands in the kernel, the hyperref support and the fixes for cleveref. \let\ORIlabel\label \...
Ulrike Fischer's user avatar
9 votes

Grammar-checking tool for use with LaTeX?

For Visusal Studio code, the LTeX – LanguageTool grammar/spell checking plus does a great job for both LaTeX and Markdown files. Note that this is a successor of the unmaintained original code.
koppor's user avatar
  • 3,467
9 votes
Accepted

How to install todonotes.sty package on Linux CentOS 7?

First, you need to locate where exactly that package is, which you seem to have already done (well, by trying to install the standard bundles). Anyway, this is how you need to formally do it. Running ...
Masroor's user avatar
  • 18.4k
9 votes
Accepted

Troubling glyphs

arabluatex gets it more or less right. For braces you should according to the documentation use \abraces, the ornamental parentheses are intentional not mirrored in Unicode: \documentclass{article} \...
Ulrike Fischer's user avatar
8 votes

Why is LuaLaTeX so slow and is there anything I can do about it?

In my case a big reason for slowness in LuaLaTeX is polyglossia. On my (Linux) machine, switching to babel makes compiling up to five times faster for small documents, and generally twice as fast for ...
Jean-Michaël Celerier's user avatar
7 votes

Where is TeXLive after i installed it via terminal ?

For some *nix systems, you could use whereis command: whereis - locate the binary, source, and manual page files for a command whereis latex Output example: latex: /usr/bin/latex /usr/share/man/...
U-ways's user avatar
  • 171
7 votes

How can I see two tex-files in TeXstudio simultaneously?

None of the answer actually tell what to do: View a file in parallel: right click on tab -> "move to other view" Change the split style: right click on tab -> "split horizontally/vertically"
Mayou36's user avatar
  • 200
7 votes
Accepted

Is there any way to run windows Texlive on WSL?

The only advantage of installing TL over WSL is the speed at compile times, I did the test installing using WSL 1.0 (version 2.0 is not yet available). If you're looking to improve the compile times ...
Pablo González L's user avatar
7 votes

Get a list of all labels in a tex document?

All labels are written out to the .aux file in lines beginning \newlabel. The mechanism is described in this answer. So looking for all instances of \newlabel in the .aux file will give you the ...
barbara beeton's user avatar
6 votes

Texlive-math-extra and texlive-latex-extra packages cannot be installed

It seems that in 2018 the package is now called texlive-science.
Yan King Yin's user avatar
  • 1,783
6 votes
Accepted

How to set environment variables for TeX in Latexmk?

Just put $ENV{max_print_line} = $log_wrap = 1000; in the project's .latexmkrc file. The Perl variable $ENV{max_print_line} is equivalent to the corresponding environment variable for the OS, and it ...
John Collins's user avatar
  • 11.7k
6 votes
Accepted

Why isn't my document compiling correctly?

The problem is that you are trying to process the file with pandoc instead of a LaTeX engine. So what you think the workflow is, is LaTeX ⇒ PDF but the actual workflow is LaTeX ⇒ (pandoc internal ...
Henri Menke's user avatar
6 votes

Installing texlive without root permissions from the source files

The solution is to choose the option D and then to specify your user directory. Then you return to the main options with R and subsequently choose I to install.
hola's user avatar
  • 4,046
6 votes

What makes up each TeX Live install-tl scheme?

Well, there always is the hard way: Several schemes are available on TeXLive, e.g. basic, context, full, and more They are described in these files https://tug.org/svn/texlive/trunk/Master/tlpkg/...
Stefan Schroeder's user avatar
6 votes

How to putting the pipe | as a working command into a macro \newcommand

verbatim commands need to find the end string without expanding commands, so you can't hide it in a \ev command. You can use fancyvrb to define short verbatim, see the documentation: \documentclass{...
Ulrike Fischer's user avatar

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