Questions tagged [pdftex]

pdfTeX is an extension of TeX which is capable of directly generating PDF output. Use this tag if the used engine – pdftex/pdflatex – is significant to your question.

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

Glossary Style Change

I am using the glossary-extra and bib2gls to generate a glossary and acronyms pages. I am trying to make it so that: Abbreviations: Lists the short tag in bold, then the long tag normal text with an ...
user avatar
  • 113
1 vote
2 answers
40 views

How to divide page into 6 parts?

How to divide a page into 6 parts? I would like to place 1 table and 5 figures in 3x2 arrangement. Are mini pages necessary, or is there something more effective? Thank you so much. \documentclass[...
user avatar
  • 135
0 votes
1 answer
31 views

incompatibility of pdftex graphics driver, expl3 and xparse in TL2022 [closed]

I am running into a strange compilation error. Consider the following MWE: % file test.tex \documentclass{article} %\usepackage{mdframed} %\usepackage{color} \makeatletter \input{pdftex.def} \...
user avatar
2 votes
2 answers
74 views

Combining \newunicodechar with delimiter sizes \big, \left, \right, etc

\documentclass[11pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{newunicodechar} \newunicodechar{‖}{\ensuremath{\|}} \begin{document} $$ ‖x‖ $$ $$ \big‖x\big‖ $$ % Error: Missing delimiter \...
user avatar
0 votes
0 answers
16 views

How to keep paper size when renumbering pages?

I'm using Linux pdflatex to change the number of pages in a PDF (I want the first pages to use Roman numbers, and the remaining pages, Arabic numbers, so that the PDF pages match the document pages). ...
user avatar
  • 101
0 votes
0 answers
84 views

How does a TeX engine process the informations within a .tex file?

I want to write a LaTeX-TeX parser to manipulate .tex files for a program. I found this question here How does a TeX engine read and render the input stream? which explains how everything works under ...
user avatar
  • 163
-1 votes
1 answer
37 views

Why equations are distributed over couple of lines in Latex

I am facing a problem in some of my equations written in latex as it is distributed over two lines and I don't why this happens. For example, the attached picture shows the script and the output in ...
user avatar
0 votes
0 answers
30 views

How to add more then one superscript like this in journal paper?

I want to add a superscript like this in the image below but in my template, there is one option for superscript how can I add the other one.
user avatar
  • 1
0 votes
0 answers
80 views

Problem with TeXlive 2022?

I don't know why now TeXlive doesn't function anymore. 418 / 5,000 Translation results I don't know why TeX Live no longer works with the TeX documents that I have when it worked perfectly before ...
user avatar
  • 461
0 votes
0 answers
28 views

Nested new commands yields undefined control sequence

I defined new commands in a Latex document. Even though the pdf render is correct, compiler raises "undefined control sequence" error. Could you help me identifying the problem? \...
user avatar
1 vote
2 answers
24 views

Replacing stix2 fonts in combination with bm using pdflatex

This question arose from a comment on this question, stating that stix2 does not offer a bold \mathcal. Since I prefer the default \mathcal anyway, I would like to change the alphabet. I found a ...
user avatar
  • 111
0 votes
1 answer
9 views

Minted box not showing in pdf file after checking "use 'build' subdirectory" option in Texmaker

This problem is very straight forward: When I use PDFLaTeX in Texmaker 5.1.3 when I have not checked the box "Use a 'build' subdirectory for output files", the output to the following tex ...
user avatar
  • 101
0 votes
1 answer
17 views

set pdfbookmark for enumerate with \usepackage[screen]{pdfscreen}

My tex file uses \usepackage[screen]{pdfscreen} and I also want set pdfbookmark for enumerate in this file. I tried \documentclass{article} \usepackage{lipsum} \usepackage{hyperref} \hypersetup{...
user avatar
0 votes
0 answers
18 views

Make \hl include linebreaks

I am using soul package and \hl to highlight text in my Latex. However, it does not work when there is a linebreak or a new paragraph. I have a whole page to highlight. Is it possible to make \hl ...
user avatar
1 vote
0 answers
39 views

arara Failing on Validating Directory

Problem I am trying to switch over to using arara instead of a very complex makefile. I am running into the a problem where arara is telling me that a directory is invalid and that I need to fix it. ...
user avatar
  • 113
1 vote
0 answers
49 views

Latexmk fails after max runs due to cyclic author replacement in citation

I've got the following problem. Running latexmk on my project fails because files are not getting stable after the maximum number of runs: Running 'pdflatex -halt-on-error -interaction=batchmode -...
user avatar
1 vote
1 answer
39 views

Using small capitals causes missing characters

For some reason using small capitals \textsc{} causes missing characters. For example, the following code: \documentclass[12pt]{article} \begin{document} \textsc{Hello world} Hello world \end{...
user avatar
0 votes
1 answer
37 views

arxiv uploading problem: Undefined control sequence. <argument> \@currentauthors

No problem appear when I use local pdflatex to compile. Here's the log output by arxiv. [verbose]: Creating arXiv submission AutoTeX object [verbose]: *** Using TeX Live 2020 *** [verbose]: Calling ...
user avatar
  • 1
2 votes
0 answers
64 views

What Causes These Two Different Shades of the Same Color?

Consider the code \documentclass[a5paper,12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0.7in,vmargin=0.75in]{geometry} \usepackage{xcolor} \usepackage{pstricks,psvectorian} \definecolor{...
user avatar
  • 5,285
2 votes
2 answers
79 views

Package pgfkeys: I do not know the key '/pgf/ color'

I am trying to plot a chart using the following chart: \documentclass[aspectratio=169,10pt]{beamer} \usepackage{tikz} \usepackage{pgf-pie} % Pie chart library \begin{frame}{Work} \begin{figure}[...
user avatar
0 votes
0 answers
20 views

I am trying to fit my table in the document, getting out of bound error

My table is not printing where I put it and it is throwing a warning \begin{table}[!htp] \caption{Parametric Data of Flare Removal.} \centering \label{tab:equipment} %\begin{adjustbox}{0.45\...
user avatar
0 votes
1 answer
41 views

Incompatibility between ctexcap and babel-arabic?

I'm trying to typeset a multilingual document with Arabic, Chinese (and a few others). In the following MWE, the Arabic word الشمس for "sun" is not shown (presumably because the babel ...
user avatar
  • 17.3k
1 vote
0 answers
21 views

Adding Vertical Lines for Indents with lstlisting (or other package)

I have some code that is formatted with the lstlistings package in LaTeX, which looks like: However, when putting in longer code it can be difficult (especially on page breaks) to know how far ...
user avatar
  • 111
1 vote
2 answers
50 views

Misplaced \omit for multicolumn in "if then else"-statement in tabular

Since my update to the latest LaTex Distribution I am running into an Misplaced \omit. }-Error. Here is my minimal working example: \documentclass[parskip=half+,11pt]{scrartcl} \usepackage[utf8]{...
user avatar
  • 197
0 votes
1 answer
40 views

File cannot be found error

Can't find a pdf file of the document anymore, pdf does not compile, after entering the following \documentclass[a4paper, pointlessnumbers, %draft, parskip=half, automark ]{...
user avatar
1 vote
1 answer
55 views

Book LaTeX to JATS XML Conversion used Make4ht

How to convert LaTeX to JATS XML using Make4HT? I have using PdfLaTeX. I have using TeXLive 2022 and Windows 10. In the Command/Terminal i have used: make4ht -a debug -u Sample.TeX My MWE is: \...
user avatar
  • 2,082
0 votes
0 answers
14 views

Evaluate LastPage when compiling with pdflatex from python

Actually not sure if this belongs here or rather to stackoverflow... I have a Python script that generates a report p = Popen(['pdflatex', 'rendered.tex', '-job-name', 'out', '-output-directory', ...
user avatar
  • 319
2 votes
1 answer
100 views

Changing the Color of the Letter in a Goudy Initialen Lettrine

MWE: \documentclass{book} \usepackage{lettrine} \usepackage{xcolor} \input GoudyIn.fd \newcommand*\initfamily{\usefont{U}{GoudyIn}{xl}{n}} \begin{document} \thispagestyle{empty} \LARGE \lettrine[...
user avatar
0 votes
0 answers
28 views

LaTeX how to properly use the import package

I am trying to solve an input issue with the use of the import package but I still have the error it was supposed to solve. So I suppose I don't use it correctly. Minimal example arborescence test.tex ...
user avatar
  • 380
1 vote
0 answers
26 views

Auto Escaped Reserved by Latex Chars in Custom Env

I want to create a custom environment designed to handle chunks of text. (Not code, text.) Within this environment, how to make LaTeX to automatically escape all reserved chars (# $ % & { } _ ~ ^ \...
user avatar
0 votes
0 answers
23 views

pdftex with error 3.1415 ... cannot work after update with windows 10 and 11

PDFTEX cannot work, but PDFLATEX is working fine.
user avatar
  • 1
1 vote
1 answer
58 views

Printing problem using Adobe Reader PGFPLOTS

I am using PGFPLOTS to produce plots in my thesis. When I print out the document using Adobe Reader, some additional weird lines appears (in small box) in some plots (not all) created by using ...
user avatar
  • 25
0 votes
0 answers
24 views

Setting pdf page to a tikz picture dimensions in the pdftex

I was trying to set a pdf page accordingly to a picture dimensions using pdftex (Plain TeX) (a kind of standalone). Such picture should appear centered in the document. But I've failed terribly. \...
user avatar
0 votes
0 answers
33 views

How to set width of indentation with breaklines when using minted?

I'm trying to solve a problem that seems to be identical to Automatic line breaking in minted (though that question title is less specific)... the issue is pertaining to the "wrapped" (or '...
user avatar
  • 155
0 votes
0 answers
19 views

Cryptocode colspace with multiplayer messages

Context In the cryptocode package, the colspace option of pseudocode blocks can be assigned negative values (e.g.,colspace=-1cm) to produce a compact representation of protocols with overlapping ...
user avatar
  • 1
0 votes
2 answers
60 views

IEEE trans: Cite subfigure reference

I have a figure that contains four subfigures with captions and I want to cite the subfigure. I tried a lot but it didn't work out. Below is not working \usepackage{subfigure} Some text \subref{fig:...
user avatar
1 vote
1 answer
26 views

How to control the depth of toc and bookmark separately

I want to write a thesis using LaTeX. Specifically, I want to display three levels of headings in the table of contents (toc), but at the same time I want to display four levels of headings in the ...
user avatar
  • 11
0 votes
0 answers
21 views

How to insert 4 bar chart figures in side by side in one line in ieee transaction format?

I want to plot four bar plots side by side in one line. Now I'm only getting two on the a4 sheet and the remaining 2 charts are not showing up. Also, can someone help with the alignment of legend? ...
user avatar
  • 1
0 votes
0 answers
16 views

error executing latex code on vs

I recently wanted to make a .tex code in vs and I got the following: Sorry, but latexmk was unsuccessful for the following reason: MiKTeX could not find the 'perl' script engine that is required to ...
user avatar
  • 101
1 vote
1 answer
77 views

How do I produce a "+" or "-" in the exponent? [closed]

For example I want to write $vcs^{+}_{G_F}$ but I actually do not know how to write the + in the exponent, so LaTeX can parse it.
user avatar
  • 11
1 vote
1 answer
47 views

How can I lighten the following spaghetti definitions (symbols in $\Box$ and $\Diamond$)?

I am trying to insert symbols into $\Box$ and $\Diamond$. I do it in the following way. First I define commands for blank operators for future and past: \newcommand{\pastDiamond} { \text{\raisebox{-....
user avatar
0 votes
1 answer
45 views

Help need finding the exact typeface

I'm trying to find the exact same font used in this document. I tried finding it using online font-search tools by providing PNGs. But could not find the precise typeface. I also suspect it could be ...
user avatar
  • 103
0 votes
0 answers
46 views

Problems with TexShop after installing update

I am running TexShop on a 2 year old Mac, running Catalina. I haven't worked on a file in a while, but I did update TexShop, and now I am having problems. One problem is, if I try to typeset a latex ...
user avatar
0 votes
0 answers
50 views

Producing PDF/A compliant illustrations

I'm trying to produce a PDF/A-compliant thesis which containts several illustrations made with inkscape and exported to pdf. When I check the output with veraPDF, it keeps complaining that my images ...
user avatar
2 votes
0 answers
22 views

Cannot Produce Contour Outlining on Pgothic Text

I compile the following code with pdflatex: \documentclass{book} \usepackage{xcolor} \usepackage{pgothic} \usepackage{cabin} \usepackage{pdfrender} \usepackage[outline]{contour} \contourlength{1....
user avatar
1 vote
1 answer
57 views

How to reuse a specificall PSTricks figure with pdfLaTeX?

I have to use a preamble (see below) which is outdated (and, in my opinion, clogged with garbage). My task is to set up the given preamble for using with pdfLaTex, and if possible to clean it from ...
user avatar
  • 2,262
0 votes
3 answers
57 views

Putting a brace across multiple lines with text in Plain TeX

I'm changing a document prepared in Plain TeX and I'm trying to get a brace to cover multiple lines for example: S is P { cannot both be true (L. of Contradiction) S is not P { cannot both be ...
user avatar
0 votes
1 answer
712 views

miktex fails with a bizarre error after update on windows 10

I am running miktex and using texStudio. This is a file that used to compile fine. I updated my miktex and this is what I get now. Thank you in advance for any responses. 2022-05-21 12:03:12,774-0400 ...
user avatar
  • 101
0 votes
1 answer
62 views

How do I write a note in a framed box?

How do I write a note that looks like a sticky note? I used the command \framebox but I runs out of space on the page and part of the text disappears. Is there a better way to do it? Here's a sample ...
user avatar
0 votes
0 answers
22 views

Write emojis to external file

There's some way to write to external file emojis and accents characters: %pdflatex or latex compiler \documentclass{article} \usepackage[LGR,T1]{fontenc} \usepackage[utf8]{inputenc} \begin{document} \...
user avatar

1
2 3 4 5
104