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
2answers
24 views

Writing manually a table of contents with hyperlinks for a document consisting of included ready pdf files

I thought this should be an easy task but I have difficulties in getting the pieces together. For including the pdf files in my document I can use the pdfpages package. For hyperlinks in my document I ...
0
votes
1answer
20 views

Standalone adds extra to paper width and height

I want to convert two or more pictures file into pdf. Searching in TEX.SE it suggested the following (TexLive 2021, pdflatex) \documentclass[multi=page]{standalone} \usepackage{graphicx} \usepackage{...
1
vote
1answer
30 views

Lucida br, ! LaTeX Error: Command `\hbar' already defined

I have a school assigment which demands to use Times New Roman for general content and Lucida Caligraphy for image captions. But I don't know how to do that, when I try to add lucidabr the compiler ...
0
votes
0answers
16 views

Fix repeated comment due to change line in \pdfmarkupcomment

MWE: \documentclass{article} \usepackage{xcolor} \usepackage[author={anon}]{pdfcomment} \begin{document} \pdfmarkupcomment[markup=Highlight,color=green]{Lorem ipsum dolor sit amet, consectetur ...
0
votes
1answer
36 views

Circular cross-references in tikz?

I stumbled on a strange behavior with tikz. Here is a minimal example: \documentclass[parskip]{scrartcl} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node{ \tikz[remember picture] \...
2
votes
1answer
92 views

Nice output for examination

We currently have this MWE with classic Palatino font (or with Times NR). \documentclass[a4paper,12pt]{article} \usepackage[italian]{babel} \usepackage[utf8]{inputenc} \usepackage{mathtools,amssymb,...
3
votes
1answer
78 views

Simple regular expression matching using LaTeX

I would like to do some simple pattern matching in LaTeX, where a character in the pattern (e.g., shell like as in *, or regex like as in .*, I´ll use the latter) replaces zero or more characters in ...
2
votes
2answers
40 views

Overlapping chords on lyrics with \makebox

I have the following code to add chords over the lyrics of a song: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{fontenc} \usepackage{xcolor} %Page ...
0
votes
2answers
92 views

Draw wireless sensore network

How to route a path from the source node to the base station node?
0
votes
1answer
22 views

\usetikzlibrary{external} does not work

I am trying to compile a tex file with several plots. According to Overleaf, compilation time can be significantly reduced by "externalizing" these plots. (Here is an extract of the code I'm ...
0
votes
0answers
98 views

Why does the render of the pdf look dirty?

This happened suddenly and I don't remember doing anything to mess up with that. I'm using TeX Live and pdfLaTeX and when I compile the problem the symbols look off, like they're not perfectly aligned....
0
votes
0answers
12 views

Subsection header overlaps with text in body

So I have this text: \subsection{ "Implementacja REST API z wykorzystaniem frameworka Django REST " - Name Surname } Pierwszy rozdział opisuje metodykę REST, jak i technolgie korzystające ...
0
votes
0answers
45 views

Slow/Buggy Compilation with \input

I've been noticing that some of my files take a really long time to compile. It'll often be sluggish to compile and then produce an "invalid or corrupted file" error for a long time before ...
0
votes
2answers
37 views

Subfigures (if) on different pages with main captions on each page

I would like to make multiple subfigures and if there is a pagebreak in between than I want that the main caption appears on every page (If I reference with \ref{} it should just go to the first one). ...
0
votes
1answer
30 views

Error in generating pdf from .tex file

I am first time user of Latex. I have some .tex files which I need to read in pdf version. They have equations and figures attached in them. I was readin the first document of "about" but it ...
0
votes
0answers
32 views

Precompiled preamble causing new errors with ntheorem

I'll start off by noting that I already made a post yesterday with a similar title and want to say that this is a new problem. Here's the link to my previous post if it helps provide any context. I ...
1
vote
0answers
27 views

Precompiled preamble causing issues with ntheorem [closed]

Whenever I compiled a file, it always took about 30 seconds, so I read up on using mylatexformat to precompile my packages. I have figured out how to do so and have stored my fmt file as /home/...
3
votes
2answers
340 views

Possible bug in xstring + pdfLaTeX

Question refined considering the replies… In macro \StrCut, if the first argument contains a “ç”, we get an error message. The same happens with ”\c{c}” or capital “Ç”. When replaced with a plain “c”...
1
vote
1answer
22 views

@ifpackageloaded If \RenewDocumentCommand Else \NewDocumentCommand

Hello (sorry for the strange title), I wanted to know how I can define a command with \NewDocumentCommand if a package hasn't been loaded and if it has than I want to redefine it with \...
1
vote
0answers
34 views

Understanding the differences between pdf and postscript format and the link between this format and LateX/TeX [closed]

I am trying to understand how pdf and ps format works. At first I used to think that ps was a format used by printer which contains detailed printing instructions. That was the reason why this ps ...
0
votes
0answers
16 views

Lyx cannot discover enumitem.sty

I tried putting enumitem.sty in the same folder as the lyx file. I tried putting enumitem.sty into C:\texlive\2019\texmf-dist\tex\latex\enumitem I tried just Tools->Reconfigure after that. But ...
0
votes
0answers
20 views

How to add a shorter bar under or over a letter in math mode? [duplicate]

I am reading Apostol's Calculus, the upper and lower integrals appear with a shorter bar but this is not the case for \overline and \underline, the following pic was typeset with \overline and \...
5
votes
3answers
277 views

How can I have spaces in text within a formula?

I have a series of TeX formulas where the author has put in spaces in the text, for example: {\rm{Maximum credit}} = {{\mathop {{\rm{Net income from sources}}}\limits_{{\rm{without the United States}}}...
0
votes
0answers
37 views

Making spaces after inserting figures as pdf in latex?

Making spaces after inserting figures as pdf in latex. After adding png or jpg, there is no space between the text under the figure. However, when I upload it as a pdf, it leaves a space between it ...
1
vote
1answer
37 views

How to force words in table to be flush left?

I have some code (see below) that outputs two tables like below. How can I remove the red area and make the term "nomenclature" flush left like the word "contents"? \minitoc \begin{...
0
votes
0answers
28 views

Unable to generate caption

After I recently changed to a new computer, I re-downloaded texStudio. But the original tex file started to show errors when it was compiled. Unable to generate caption. I extracted the location of ...
1
vote
1answer
64 views

Drawing a Large Vertically and Horizontally Symmetrical X to Cross Out Just the Contents of a Page

I am encountering some problems trying to draw a "big X" to give the effect of crossing out the contents of a single page. The top part of the X is essentially where I would like it (...
1
vote
1answer
38 views

When using NewTX, let picture's \circle produce “o” instead of “a” in the text layer of PDF

Running pdflatex on \documentclass{article} \usepackage{newtxtext} \usepackage[slantedGreek,subscriptcorrection]{newtxmath} \pagestyle{empty} \newcommand{\opencolon}{% {\setlength{\unitlength}{.1ex}%...
1
vote
0answers
53 views

pdfLaTeX error - [closed]

\documentclass[11pt,a4paper,roman]{moderncv} \usepackage[utf8]{inputenc} \moderncvstyle{classic} \moderncvcolor{green} \usepackage[scale=0.75]{geometry} \usepackage{amsmath} \usepackage{amsthm} \...
0
votes
1answer
205 views

Issues with correctly setting up APA citation for website using BibTeX and pdfLaTeX

I am using TeXworks with pdfLaTeX and BibTeX. When compiling my document, the order is: pdfLaTex BibTeX pdfLaTeX pdfLaTex So far, I've been able to do this successfully for book sources. However, I ...
1
vote
2answers
71 views

Can't find a side number's font

I'm actually spent like 20+hr trying to find it. I need your help.
0
votes
0answers
29 views

Issue downloading Revtex using Texstudio and miktex

I am using TeXstudio as my editor, but am having trubles with the following document: \documentclass[aip]{revtex4-1} \begin{document} test \end{document} The MikTex package manager tries to ...
11
votes
1answer
201 views

TikZ single intersection between curve and horizontal line not found

What happened The error ! Package pgf Error: No shape named `intersection-1' is known. is produced when compiling the following with pdfLaTeX: \documentclass{standalone} \usepackage{tikz} \...
1
vote
1answer
35 views

Making Use of Setcounter to Modify Makeindex Page Numbering

I am working on a document wherein each chapter takes on a significance beyond the numerical value of the chapter itself. I, for better or worse, have tried to incorporate this by making use of the \...
0
votes
2answers
26 views

How to add running title and author with it alternating

I need the name of the author to appear on the even pages of the article, and the name of the article to appear on the odd pages of the article. Thats what i need.
3
votes
1answer
121 views

Does pdflatex have no input path option for the terminal command?

I am running a script that starts pdflatex in a terminal. Since I have my tex files in different folders I need to change the dir before pdflatex can 'see' the input tex file. So my question is there ...
1
vote
1answer
46 views

Changing the Letter Color of a Tikz Bclogo Index Heading

Consider the code \RequirePackage{filecontents} \begin{filecontents*}{\jobname.mst} %delim_0 "\\IndexDotfill " %delim_1 "\\IndexDotfill " headings_flag 1 heading_prefix " \\...
1
vote
0answers
45 views

This Code for Color Shading of Text Works with Pdflatex but Not Xelatex

Consider \documentclass{article} \usepackage{tikz} \usepackage{xcolor} \usepackage{scalerel} % For Vertical/Horizontal Stretch of Letters \usepackage{pbsi} % for bsifamily font. \newcommand\...
0
votes
1answer
39 views

Creating a sign diagram and adding labels for it on each side of a number line

I am creating a calculus sign diagram by creating a number line and labeling each side of it - the right side with an x and the left side with a y'. Above appropriate intervals I want to add plus and ...
1
vote
1answer
37 views

How to Simply and Selectively Eliminate the Page Number of an Index Entry

I have learned that one may selectively make bold the page number of an Index entry by the use of |textbf at the end of the \index command. For example, consider \documentclass{book} \textwidth=6.75in ...
1
vote
1answer
52 views

how to print -- in Latex [duplicate]

How to output -- in Latex. When I use it directly, it will only show a -. I added transliterated characters in front, but they all reported errors. When I put it in a mathematical environment, it ...
0
votes
0answers
29 views

How to undo the header and footer created with pdflatex

I created pdf header and footer with following commands \documentclass{article} \RequirePackage[a4paper,top=2cm,left=2cm,right=2cm,bottom=1.5cm]{geometry} \usepackage{url} \usepackage{hyperref} \...
2
votes
3answers
62 views

How to use Latin Modern for text and Latin Modern Math for math

How do I switch from the default Computer Modern for text and math to Latin Modern for text and Latin Modern Math for math? In the preamble I put \usepackage{lmodern} to switch to Latin Modern for ...
2
votes
2answers
54 views

Textcomp Package Overriding Gensymb for Degree Symbol

Consider the code \documentclass{book} \usepackage{amsthm,latexsym,amssymb,amsmath,verbatim} \usepackage{gensymb} %\usepackage{textcomp} \begin{document} \Huge \noindent 45$\degree$ \\ 45$^\circ$\\ %...
0
votes
1answer
40 views

How to stop multicol from spreading the contents of a column?

(Yes, I have seen this, but it only fixes the problem by not using multicol in a situation where it isn't even needed) So, my problem with multicol is that it stretches the content inside its ...
3
votes
2answers
257 views

Unable to generate a pdf on Fedora 35 (pdfTex error: "cannot open Type 1 font file for reading")

I am unable to generate a pdf using Texmaker on Fedora 35. For those familiar with Fedora, I installed TexLive then texmaker using: sudo dnf install texlive-scheme-full sudo dnf install texmaker ...
0
votes
0answers
26 views

SWP 6.0 TeX compilation error

I had a working version of Scientific Workplace 6 (SWP 6) on my old laptop. I just got a new laptop and I installed SWP 6 on it. The version was downloadable for free from a legit site. I then added ...
1
vote
1answer
33 views

Sometimes wrapping is not working as expected

I am using TeXworks and the documentclass article but sometimes the word wrapping is not as expected. How can I fix this? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{listings} \...
1
vote
1answer
38 views

Addendum to the Post "How to Handle Typesetting an Aberrant Footnote"

This question is an addendum to How to Handle Typesetting an Aberrant Footnote I am trying to adapt Werner's answer to the case where within the sequence of enumerated footnotes, I have one which is a ...
1
vote
2answers
53 views

latexmk's (undocumented?) error message "name of destination file is not current one; I'll flag rule as out of date."

I am using latexmk as the pdf-engine for pandoc, that is, I use the command pandoc --pdf-engine=latexmk --pdf-engine-opt=-emulate-aux-dir --pdf-engine-opt=-aux-directory=aux \ test.md -o test.pdf to ...

1
2 3 4 5
99