# All Questions

171,341 questions
41 views

### Animateinline with foreach and scaling shrinks image

I have been trying to create an animation using the \animateinline command. The animation is shrinking when the last part of the code in the while loop is executing. I think this is related to the ...
68 views

### Sorry, but “MiKTeX Compiler Driver” did not succeed. eX going again

My bibtex works properly. But in my main file when I chose pdflatex+makeindex+bibtex, it gives me this error: Sorry, but "MiKTeX Compiler Driver" did not succeed. The log file hopefully contains the ...
39 views

### Using subfigures in a wrapfigure with proper captions

I am trying to create a wrapfigure that has two subfigures. Normally when I create subfigures, I use the following structure: \begin{figure}[h] \centering \begin{subfigure}{.5/textwidth} \...
15 views

### Is it possible to use a non Hunspell dictionary in TeXstudio?

Is it possible to use a non Hunspell dictionary in TeXstudio? I would like to use the dictionary on this website (http://www.uzei.eus/hobelex/) but the authors decided not to use the Hunspell engine ...
15 views

### Vertical spacing outside multline environment

When using multline for parsing an equation, there's a larger vertical space above the equation than below. Why is this? It looks off. Example: \documentclass{article} \usepackage{amsmath} \...
29 views

I use longtable environment to make a dialog, like this below. I prefer it than the dialogue environment because of: the || lines at the left the style of the speaker's name (separate from the text) ...
33 views

### Is there a way check for graphics only in the \graphicspath folder?

I used the \graphicspath command to tell my LaTeX document where the various pictures are located. However, I noticed that LaTeX first checks the directory where the TeX file is located and only ...
38 views

### Move title into left margin and align with first line of paragraph

I want to move title of section left by the following code. However, it fails to move the section number. Why and how to deal with it? \documentclass{article} \begin{document} \section{\makebox[0pt][...
81 views

Below is a minimalized template I have been using without any trouble for quite some time (Edit: Simplified the code and updated the error message). It no longer runs on my system. I do not know if it'...
46 views

### XeTeX wasn't built when cross-compiling TeXLive

I'd like to cross compile TeXLive on a Arch Linux build system for the host and target MIPS. I have set up a correct MIPS compiling toolchain (OpenWRT SDK). I get TeXLive source through rsync -a --...
112 views

### How can I access and store the current value of a counter?

My counter is being updated by a command and I want to save the current value + 1 of this counter at a specific point so that later on I am able to print it out. \newcounter{counterA} \newcounter{...
27 views

### skak and xskak. Command \continuevariationcurrent causes compilation error under xskak

I understand package xskak to be an extension of skak, but that there are some incompatibilities due to overlaps in funcionality. I would like to work with xskak in the long term, but hoped to be able ...
103 views

156 views

### How to add left arrow between two tables?

How can I add an arrow between two tables? \documentclass[english]{IEEEtran} \usepackage{booktabs} \begin{document} \begin{table*}[!htb] \large\setlength{\tabcolsep}{0.1pt}...
35 views

### Differences between pgfplots and tkz-fct plots

I am trying to choose between pgfplots and tkz-fct for producing beautiful graphs in LaTeX. It seems tkz-fct graphs look better with less effort (fewer lines of code) compared to pgfplots. The ...
41 views

### Indented footnotes in KOMA-Script

I would like to set up my footnotes using a plain indented style, with the footnote marker placed in the text after an indent: 1. Lorem ipsum dolor sit amet et uiuit. 2. Footnote The trouble ...
621 views

### Two spaces in LaTeX code

I have a simple question: does it make any difference whether at some point I have two spaces instead of one in the source code, say after a period? That is, will PdfTeX ever output different things ...
292 views

### Global variable Array

I have control_array.tex and 10 templateA.tex, templateB.tex, ... TeX files. In control_array.tex: ArrayName = [Name1,Name2,...Name10] ArrayColor = [Color1,Color2,...Color10] With Array in ...
13 views

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

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{memoir} \usepackage{dsfont} \...
40 views

### Slightly widen part of a letter

Somewhat related to my previous question, I'd like to slightly widen two parts of an uppercase M. Here's what I mean. Default M: Desired output I know, the difference is minimal. Ideally the two ...
22 views

### Problem with journal not appearing in reference (using chicago style)

I am using the natbib package and the \bibliographystyle{chicago} for my references. They are showing up in my References section, however the full citations in this section are omitting the ...
22 views

### how to use accents inside a lstlisting

i know that this answer is a duplicate but the solution proposed to other question doesn't work for me. So, i declared my language and my style and then add a "literate={è}{{\{e}}}{1}" (or "literate=...
29 views

### Prevent aligned to override my font

I would like to write something like \documentclass{article} \begin{document} \mathbf{ \begin{aligned} a \\ f \end{aligned} } \end{document} and ...
36 views

### How to draw multiple curved arrowheads

I try to use tikz to draw the arrows like the blue ones, but so far I can draw only the red one and it is not as expected. Here my code so far, it is time consuming so please if anyone has better ...
38 views

### How to increase the horizontal spacing around =&' in the align environment?

I found it too squeezed around the operators when I use align for multiple lines of equations. See the example. \begin{align*} &a + b \\ =& c + d \\ =& e + f \end{align*} How to increase ...
29 views

### modify color in latex in overleaf

There is this cv template on overleaf and I am trying to modify the color of the links that the CV has. If I change from initial (from namesection) \href{https://www.pgr-me.github.io}{\bf https://...
44 views

### Make icon fonts in PDF searchable by name

Nowadays, icon fonts are quite popular on the web. There have been latex bindings to these icon fonts through packages such as academicons, fontawesome5 and fontmfizz. This brings in new ...
28 views

### incorporate R code into latex paragraph

I have a large R script I am trying to source in a LaTex document and then reference output from specific dataframes created in the source code in text in a LaTex paragraph. When I compile the PDF ...
60 views

### Are there any alternatives to vim-latex?

Are there any good alternative plugins that someone has put together for working with latex in vim? I use the vim-latex latex suite, but it's a bit much. I'm pretty sure I use maybe 10% of the ...
31 views

### How do I tell XeLaTeX where to find the .bbl files?

I am trying to compile a multi-chapter dissertation. I am using chapterbib so I run bibtex on each chapter. xelatex dissertation bibtex chapters/chapter1 bibtex chapters/chapter2 xelatex dissertation ...
69 views

### Consecutive numbering and labels in tcolorbox

Those days I write a book, and I use framed boxes tcolorbox. Have a look: \documentclass[12pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage{amsmath,amsthm,amsfonts,amssymb,mathtools} \...
52 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 ...
19 views

### Unbalanced Gap after CAPTION in TABLE

The CAPTION package with FONT=FOOTNOTESIZE leaves a wide gap after a caption. Specifically, a caption before TABULAR leaves a wider gap, while that after TABULAR doesn't. Here's an example. \...
618 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 ...
24 views

### Minted tango theme indentation

The following mwe shows the problem I am facing: \documentclass{article} \usepackage{minted} \begin{document} \usemintedstyle{tango} \begin{minted}{matlab} function test() i = 1; j = 1; end \...
37 views

### Displaymode-like theorem environment

I am having trouble recreating this theorem environment. I want to create an environment that is essentially on its own line, much like a block quote. The only code I have so far just makes the this ...
21 views

### How to fix a \cpageref link that's drives me to a wrong page?

I'm using hyperref and cleveref packages for to create link in my document. However, when I use \cpageref to reference a page, the link created drives me to a wrong page. In the following MWE, the ...
21 views

### A columnbreak command in the vwcol package?

I am using the package vwcol to create a two column document wherein the columns have different widths. I need a command like \columnbreak in package multicol. How can I do this? Thank you in advance! ...
43 views

### Beamer \only command messes up tabular

In beamer, I'm trying to create a row-by-row tabular set of slides: each slide exposes a new row. I've solved a lot of problems, but I'm still having issues with a extra partial row being generated. (...
9 views

### Reference in latex document to Matplotlib(pgf) generated figure

I have a python script which draws a plot similar to this: fig = plt.figure() ax = plt.axes() x = np.linspace(-2,2,10) y = x**2 ax.plot(x, y, label='$x^2$', color="#07529a", linewidth=2.0) # <--...
55 views

### LaTeX enforce using long section heads in TOC

I am in a situation where I need to use long section headings for the TOC and short section heads for the pdf bookmarks. In the following sample code, the short headings are defined and LaTeX by ...
48 views

### How can I draw this kind of hierarchy diagram?

I apologize in advance if this question (or one which implies an answer to this) has already been asked. Any suggestions on how to draw in Latex a diagram of the following shape ? Thank you very much ...
17 views

### Include section number in reference to subsection [duplicate]

In an article I omit the section number for subsection titles, using: \renewcommand\thesubsection{\arabic{subsection}} However, when I now create a \label in a subsection and reference it using \ref ...
11 views

### Modify Floatfoot of Floatrow Package and move Rule

From the floatrow package, I am using the floatfoot command to reference sources and similar content. This MWE produces an output that is quite acceptable: \documentclass{article} \usepackage{...
11 views

### how to place figures on the same page as the appendix heading

I'm trying to create an appendix where each appendix A, B, C, etc contains one or two figures. The problem is that the following code: \appendix \section{Pass 1} \label{int1} \begin{figure} \...
16 views

### Note at the end of the table in Latex [duplicate]

I have some tables in Latex and I need to add some notes at the end, I tried this code, but the note that I have to add is too large for the table and I dont know how to fix it, there is another way ...
35 views

### Change font from Pagnumer in tableofcontents

I use in my document a font that is not a monospace. This has to follow that I have jumping numbers in my table of contents. How can I assign a different font to the page number? In the chapter \...
45 views

### Draw vertical line down aligned equation

How do I go about drawing a line vertically down aligned equations like this: I attempted using a tabular environment but some of the spacing is too much. This is what I have so far: CODE \...