All Questions
210,699
questions
1
vote
2answers
25 views
Problem with Multicolumns in a Table
I have been trying to format a table with multirow but something seems to be going wrong and I can't quite pinpoint what is it. Any help is much appreciated!
\documentclass{article}
\usepackage[utf8]{...
1
vote
1answer
21 views
What is the best way to include matplotlib plots?
I work on both Windows and Linux. I already include SVG graphics that I create in Inkscape with \usepackage{svg}. For maintainablitly reasons I would welcome to re-use that for matplotlib plots, but I ...
0
votes
0answers
20 views
Adding multicol package
When I run a latex file (TeXworks) and try to use this package (\usepackage{makeidx}) I get the following error
! LaTeX Error: File `multicol.sty' not found.
How can I resolve this?
Thanks
1
vote
1answer
35 views
Braids with (co)evaluation maps
I want to use the Braids package and add to some of its drawings the evaluation or coevaluation maps (I work in a rigid category)
Here is my MWE so far
\documentclass{amsart}
\usepackage{...
0
votes
0answers
20 views
What is the trick of Pandoc for includegraphics from url?
I am reading the latex file, it is the output of pandoc from markdown file.
$ pandoc --self-contained test2.md -o test2.late
And the markdown file has:

Lorem ...
0
votes
0answers
22 views
How remove the white spaces at start a paragraph [duplicate]
I have this latex and I want to remove the white spaces at start a paragraph (in all (red and blue circles marks) or in the paragraph is not next of chapter (blue circle mark) ).
\documentclass{report}...
0
votes
1answer
21 views
How to add dirs with spaces to PATH in TeXstudio
In order to use the minted package from within TeXstudio 3.0.1, I am trying to add the directory where my python.exe and my pygmentize.exe are to my PATH from within TeXstudio. If I do this using the ...
0
votes
0answers
24 views
TexLive: extra fonts for XeTeX and LuaTeX installed locally
I have a problem with XeTeX and extra fonts installed with TexLive 2020, which are required for XeTex and LuaTeX. I work on Ubuntu 2020.
The file name I am referring to is texlive-fontconfig.conf. ...
1
vote
0answers
25 views
epstopdf writes faulty pdfs if a large number of files are converted with a batch file
If I want to convert a lot of eps files into pdf from a batch file (approx. 3200) then it happens again and again that some pdfs are invalid. If I convert them individually, a valid pdf will come out.
...
0
votes
0answers
16 views
How to change the font size of IEEEtran references
I am writing a paper using the IEEEtran document class and bibliography style. However, I am using 12pt font size. The line: \documentclass[journal,12pt,a4paper]{IEEEtran} has worked just fine for the ...
0
votes
1answer
21 views
problem by using display math mode
I'm trying to write an equation using display math mode but I'm facing some problems :
the equations aren't centered
the equations coming in one line even when I separate them using (double)\\
\...
1
vote
0answers
48 views
LaTeX as alternative to Scribus for large text books [closed]
I want to publish multiple large text books, each one about 480 pages long, this is print on demand (POD) on IngramSpark. The content is basically text and a few black and white images. Another ...
0
votes
0answers
9 views
Kile/ TexStudio and \typein{}
I have a large text with some \typein{TODO..} TeX primitives to remind me that something needs to be done when I latex the document.
In Linux terminal (running with pdflatex under TeX Live) this works ...
2
votes
0answers
22 views
Putting Cross-references in the PDF Outline [duplicate]
Sometimes when writing maths documents, I want to have the name of a theorem in a section heading. This works fine in the text of the document, but it runs into trouble in the PDF outline. ...
0
votes
0answers
9 views
Highlight n-th \gantttitlelist element in bold
I'm trying to make a pgfgantt chart and highlight the \gantttitlelist elements in regular intervals by making them bold.
To illustrate, here is an example of what I tried:
\documentclass{article}
\...
0
votes
1answer
24 views
Align font size for tables with different number of columns
I am fairly new to LaTeX and I have a quite basic question. I create tables like this:
\begin{table}[H]
\resizebox{\textwidth}{!}{%
\begin{tabular}{@{\extracolsep{5pt}}lD{.}{.}{-2} D{.}{.}{...
3
votes
3answers
141 views
Set Partitions and tikz [closed]
Please, how can I draw the colored rectangles which cover the nodes like the picture below,
0
votes
1answer
17 views
Different Format for Nomenclature or List of Abbreviations
For several types of scientific papers, it might be handy to have a separate page devoted on the nomenclature. With using this setup, the nomencl-package can be used. For one type of paper, however, I ...
1
vote
1answer
27 views
Undefined control sequence. \tableofcontents
I stitched several examples together and got a more or less working sample. My final problem is the message
Undefined control sequence. \tableofcontents
which appears when I try to compile the ...
2
votes
1answer
24 views
Retrieve frametitle-fg-color in beamer
Could you please help me on how to "retrieve" the color a beamer document currently uses for coloring headline fonts?
I would like to use it to color ordinary text, as in
\textcolor{\...
0
votes
0answers
12 views
BibLatex IEEE correctly format “Accessed: <Date>” issue
I have some issues in correctly formatting the following reference using BibLatex & Biber:
M. Prensky, “Do They Really Think Differently?”On the Horizon, vol. 9,
pp. 1–9,2001. Accessed: xx-xx-...
0
votes
0answers
16 views
Why latexmk doesn't include index in pdf?
Working command
If I use the following command
latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode -shell-escape" filename.tex
to compile my .tex file everything works well.
(...
0
votes
3answers
35 views
How can I ensure that two adjacent figures and captions are horizontally aligned?
The images do not share a horizontal bottom line, and neither do the captions when using:
\centering
\begin{minipage}{.48\textwidth}
\centering
\includegraphics[width=\linewidth]{Figures/im1}
\...
1
vote
2answers
45 views
How to prevent latex from removing the margin from a PDF image
I have a chart in PDF format, which had been cropped to have no margin using pdfcrop
Months later, I realized that I need to add X- and Y- axis labels. Because I don't have the original script to ...
1
vote
1answer
21 views
How to write the title of my presentation in a block in Beamer using Boadilla Theme
How do I put the title of my presentation in a block, in Boadilla Theme? The first few lines of my presentation looks like:
\documentclass{beamer}
\usetheme{Boadilla}
\title{Equivalent forms of LUB ...
1
vote
0answers
35 views
Using Forest Package
I am trying to get a hierarchy diagram like this using the Forest package
But, could not managed to get so. I used this code
\documentclass[border=20pt,tikz]{standalone}
\usepackage[edges]{forest}
\...
0
votes
1answer
61 views
Draw energy cascade graph
I want to draw energy cascade graph same as below:
I just assumed that the first part is a constant function equals 4 and the second and the third parts are linear functions with different slopes.
I ...
1
vote
2answers
62 views
Fill area under curve in the right order
Good evening. I am building a plot for a data which was recorded over a year. For this frequency analysis I want to add thresholds to show at which time these have been passed. The area under these ...
0
votes
1answer
35 views
Three Tables in Landscape model at equal distance from each other and the margins
I have the following code:
\afterpage{%
\clearpage% Flush earlier floats (otherwise order might not be correct)
\thispagestyle{empty}% empty page style (?)
\begin{landscape}% Landscape page
\begin{...
0
votes
1answer
19 views
Use eso-pic to set pictures on most pages
I understand that the eso-pic package can be used to add pictures to every page, or to a single page.
But what about adding pictures to most pages?
Ideal behaviour: eso-pic adds pictures to every page,...
3
votes
1answer
55 views
How do I add text before the actual list of figures?
Currently I have:
\addcontentsline{toc}{chapter}{Abbildungsverzeichnis}
\listoffigures
\noindent
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut ...
0
votes
1answer
22 views
Indent needed after \section \paragraph, the text to start in next line indented and reduction of vertical space
\documentclass[a4paper, 12pt]{report}
\usepackage{anyfontsize, times, siunitx, ragged2e, setspace, titlesec}
\usepackage{enumitem}
\usepackage{lscape, tabularx, booktabs}
\usepackage{rotating}
\...
6
votes
2answers
92 views
\selectlanguage pushes section to new page
The following code
\documentclass{article}
\usepackage{kantlipsum}
\usepackage[ngerman,english]{babel}
\begin{document}
\section{Foo}
\kant[1]
\begin{itemize}
\item
\item
\item
\item
\item
\end{...
0
votes
0answers
29 views
0
votes
1answer
29 views
Clipping in Scopes Works Different on Backgrounds
Currently, I would like to include background images in circles. For the sake of simplicity, I use colors in the MWE. When I use clipping in scopes on backgrounds they work in a different way than I ...
1
vote
1answer
43 views
Dealing with variable-height fonts
I'm having problems using LaTeX to deal with a certain font that I'd like to use for an art project. I'm writing a basic document, but when I use this font to write normal text, the baseline ends up ...
0
votes
0answers
17 views
Is it possible to use widetext environment in latex article document when using Texlive
Am writing an article with two columns. I want to include a long equation to appear as shown in the picture attached. Am using windows(Texlive) and it is giving the !Latex error: "widetext.sty &...
1
vote
2answers
29 views
Package for parsing author data
Is there a general solution for parsing document author data (name, address, email etc)? I am imagining something like
\documentclass{whatever}
\addauthor[email = ..., address = ..., other = ..., ...
7
votes
5answers
696 views
How can I fill an arbitrarily sized matrix with asterisks?
I'm writing a latex document and am using lots of examples of matrices where every entry is \ast. I'd like to write a macro that automatically makes such a matrix for me. So, this would look something ...
0
votes
0answers
11 views
ACMart Hide identifying figure for double-blind review
I am writing an ACM SIG paper using the acmart class. For double-blind review we are required to remove any identifying information in our initial submission. This can be done automatically for ...
1
vote
0answers
88 views
array.sty is missing in MikTex Console package database
I compiled a LaTex document using Texmaker and got the following error message
! LaTeX Error: File `array.sty' not found.
Normally, this error will be resolved after installing the package in the ...
0
votes
1answer
21 views
**\noteworthy** code snippet conflict with **lettrine** package
Charles Clayton introduced a snippet of code in 2017 for the \noteworthy command (with a followup comment on Sep 23 '20,) at:
Table of equations like list of figures
to facilitate a separate listing ...
4
votes
3answers
114 views
Tabular disjoint line
I am using the tabular function to create my table but the line that comes out seems to be disconnected. How do I fix this without changing the function ? I still need to use tabular.
\begin{table}
\...
1
vote
1answer
29 views
\DeclareUnicodeCharacter: Timed Out
I would like to add a letter from an alphabet in another language. I'm using the package: \usepackage{wasysym}. In which I've defined my letter as follows: \DeclareUnicodeCharacter{1293}{ና}. However, ...
3
votes
2answers
59 views
How to add these arrows on this Matrix
Consider the following matrix :
I have no problem in constructing the matrix and I have no problem in circling the first and the fifth row, but I have no idea how to insert these arrows outside this ...
0
votes
0answers
46 views
How to format chapter title in my PhD thesis?
I am writing my PhD thesis using latex. At the moment, my chapter title looks like the following,
But, I want the title to look like this,
Can you please help me with this? I have no clue how to fix ...
4
votes
1answer
36 views
How to make xshift and yshift compatible with redefined units in TikZ when using nested scopes
I am writing some code with nested scopes that have various transformations applied within them. In particular, I have nested scopes of the form \begin{scope}[x={(a,b)},y={(c,d)}] redefining the units ...
2
votes
1answer
41 views
Render a Latex document without figures and tables [duplicate]
I am writing my master thesis in Latex and was wondering whether it would be possible to render the document without any figures or tables. The goal is to get a feel for how many text pages I have as ...
3
votes
1answer
22 views
How to enumerate theorems with A.1, A.2 and so on
I'm currently using
\newtheorem{lemma}[abc]{Lemma A.}
but the spacing is off. abc is just a counter here. Can I instead have the A. be part of the enumeration? Or is there a way to remove the space ...
0
votes
0answers
17 views
Thesis V3.bbl: 72: Package inputenc Error: Invalid UTF-8 byte sequence
I am writing my thesis and the preamble looks as the following:
\documentclass[11pt,a5paper,footinclude=true,headinclude=true]{scrbook} % KOMA-Script book
\usepackage[utf8]{inputenc}
\usepackage[T1]{...