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
1 vote
2 answers
41 views

How to avoid hyphenations in important paragraphs like Funding Statements in a double-column format document (IEEE papers)?

For a new paper I am writing to IEEE journals (double-column formats), many important paragraphs suffer from the default hyphenation in LaTeX. Especially, I don't like the hyphenations given in the ...
Dr. Sundar's user avatar
0 votes
0 answers
52 views

I am typsetting my thesis in late overleaf and I need help [closed]

I am typesetting my thesis in latex overleaf. I am struggling with one issue. I want to highlight my section with blue rectangular background with white color for heading as can be seen in picture. ...
Safeer's user avatar
  • 1
0 votes
0 answers
47 views

Universally usable macro definitions with literal UTF-8 content

Since UTF-8 is the default input encoding, it should be straigthforward to use literal Unicode characters in macro arguments,e.g. \newcommand*{\regards}{Grüße} This fails, if the macro is defined in ...
G. Milde's user avatar
  • 129
1 vote
1 answer
60 views

error with \MakeUppercase (arg 1) after update to ubuntu 23.10

I'm facing an issue with a document that, in the previous version of Ubuntu (23.04), compiled without any errors. However, after updating to version 23.10, it's throwing a series of errors related to !...
Mateus Augusto's user avatar
0 votes
1 answer
58 views

How to check what I'm using in my environment

I use VS code with the Latex workshop on Mac and it works perfectly fine when writing a paper. But I don't understand "pdflatex", "mactex", "texlive" or something other ...
SpaceTAKA's user avatar
  • 139
0 votes
0 answers
48 views

Automatically converting XeLaTeX document to work with pdflatex

I've got a Literate Agda document, which contains a large number of unicode characters. It builds nicely with XeLaTeX and life is good. The problem is that arxiv only supports pdflatex, and I'd like ...
jmite's user avatar
  • 1,549
0 votes
0 answers
26 views

Latex acronym \acl(*) hanging compilation with pdflatex

While writing a Latex document using the acronym package for my glossary I encountered some problems with the \acl & \acl* commands (also \acf) & compilation. On a clean tree without any .aux ...
joel_muehlena's user avatar
0 votes
0 answers
50 views

Alternative to Latexdiff

I need to compare two versions of the latex file of my research papers. I ran latexdiff command as follows: latexdiff old_file.tex new_file.tex > diff_file.tex When I compile the diff_file.tex it ...
ABCD's user avatar
  • 1
1 vote
0 answers
37 views

Editing my CV from a template

I am creating a CV in latex using a template and now I want some help redesigning my CV, I paste the code here: Firstly I want the word "Curriculum Vitae" in bold and larger text size maybe ...
RIPAN DAS's user avatar
2 votes
1 answer
68 views

Why do these ways to stretch an item of a list for the purpose of avoiding a horizontal overfull produce different results, and which way is proper™?

Consider the file mwe1.tex containing \documentclass{article} \usepackage{microtype} \newcommand{\myStretch}{1.02em}%%% try out .99em to see the difference in the first item. \hyphenation{longlong} \...
AlMa0's user avatar
  • 479
0 votes
0 answers
53 views

Trying to use Latex in Inkspace with CircuiTikz/Tikz [closed]

I downloaded MacTeX to my Mac so I could use it with inkspace latex.But when I tried to save my latex code it gives this error: " This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (...
Burak Yavaş's user avatar
0 votes
0 answers
52 views

Inkscape TexText ! LaTeX Error: Can be used only in preamble

I am trying to run this code in inkscape with textext: \documentclass[preview]{standalone} \usepackage{amsmath} \usepackage{siunitx} \usepackage{circuitikz} \begin{document} \textbf{a.} \begin{...
Barbaros Teoman Kosoglu's user avatar
1 vote
1 answer
42 views

Latex ignore subheaders

Is there a way to get latex to ignore subsection headers below a certain level without commenting them out? When I am drafting and editing documents, I like to put subsection headings down to the ...
Rusty's user avatar
  • 113
1 vote
0 answers
52 views

How to perfectly simulate typewriter style?

I want to simulate typewriter style typesetted math articles. There are a few major requirements: All characters in all environments be tt style and of the same size and width (including super and ...
Kagura Hitoha's user avatar
1 vote
1 answer
42 views

Why doesn't my beamer function work well?

I have already tried {ctexbeamer}/{beamer}+{ctex} , {amssymb}. The function works well in my ctexart environment. Why won't it work in beamer? My code: % 中文ppt \documentclass[10.5pt,UTF8]{beamer} \...
Toby's user avatar
  • 21
0 votes
1 answer
25 views

Does anyone know how to reference other subifles in LaTex?

So far what I have is this \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} \begin{document} \maketitle \item\href{\%202021-05-26-vqas-challenges\%20\%\%7D}{VQAs -- ...
Elias Ancer's user avatar
0 votes
0 answers
50 views

Question regarding microtype package

I am using the inofficial thesis template from my university. However, when I compile I get several warnings in the manner of Package microtype Warning: tracking amount list `output.tex/85' will ...
clearseplex's user avatar
0 votes
0 answers
31 views

.eps files not working with pdfLaTeX

As the title suggests, I'm trying to use .eps files for my figures but pdfLaTeX can't seem to find the converted PDFs. Package pdftex.def: File `Figures/fragment 1ab-eps-converted-to.pdf' not found: ...
m0n74g3's user avatar
  • 77
0 votes
0 answers
35 views

Why does my font seem so thin? [duplicate]

My text in my PDF export just doesn't look right. This image is the best example. At 150% zoom on my PDF export, the left bracket does not look quite right. It's oddly thin. My preamble is as follows ...
J. Mini's user avatar
  • 101
0 votes
1 answer
53 views

how to include a title frame that does not go with the theme?

I am working on a presentation on beamer and i used the theme Madrid but i am obliged to use the title page ppt template given by my institution, how do i have the first page as the template and the ...
Asmaa GZ's user avatar
0 votes
0 answers
16 views

Pdf preview not working with Lyx 2.3.7 on Windows 11

I have installed Lyx 2.3.7 and SumatraPdf and followed the instructions provided in LyX 2.3 - How can I successfully set up the forward and inverse search? My Texlive version is 2023 and works without ...
TDH's user avatar
  • 101
0 votes
1 answer
31 views

own \maketitle with multiple authors

I would like to create a latex template and define "\makefile" myself. Everything works until I define several authors with "\and". How can I change this? \renewcommand{\maketitle}{...
Jonathan's user avatar
2 votes
1 answer
52 views

environment with pdfcomment

pdfcomment with environment is not working and it's working fine with only paragraph text. My MWE is : \documentclass{article} \usepackage{amsthm,xcolor} \usepackage[subject={Top1},author={Daisy Duck},...
Balaji's user avatar
  • 127
0 votes
0 answers
33 views

LaTeX Error: Unknown option `some' for package `background'

I have a LaTeX file. It builds fine on Linux and Windows. It also has built on a Mac. Minimum reproducible example: \documentclass[10pt]{article} \usepackage[pages=some]{background} \backgroundsetup{...
Mykola Tetiuk's user avatar
0 votes
0 answers
33 views

How do I add various indicators to different links in my document?

Using Overleaf, I have a project that I'm working on. I have the following links in the file: Hyperlinks to websites Links to a list of abbreviations at the start of the document using \usepackage[...
David H's user avatar
0 votes
1 answer
42 views

Titlepage package shows \author as "presented by" - how to change that to "author"?

if I use the following code to create a titlepage for example. The author given as \author{} is shown in the compiled PDF under the headline "presented by". How can I change that to "...
george1994's user avatar
2 votes
2 answers
90 views

How to remove the white spaces from the beginning of Abstract title?

I am using \documentclass[11pt,a4paper,twoside]{article} for my document. I want to remove the small space just before the "Abstract." title. How to remove that small space? I want to strat ...
sigma's user avatar
  • 167
1 vote
2 answers
131 views

How to format a table with many Mathematical or text entries in a double-column document?

I am working on a table with many mathematical or text entries in a double-column document. I can generate some output but the look is not good. I need your help to kindly improve the formatting of ...
Dr. Sundar's user avatar
0 votes
1 answer
34 views

Inserting R code chunks in Rmarkdown making an error

My little demo code borrows from here is given as follows (test.rmd): --- documentclass: article output: pdf_document: number_sections: yes keep_tex: no geometry: "left = 2.5cm, right = ...
John Stone's user avatar
0 votes
0 answers
25 views

Tex Live does not show section title

Here is a very simple latex example I copied online. \documentclass{article} \usepackage{amsmath}% For the equation* environment ...
YAC's user avatar
  • 1
5 votes
2 answers
317 views

How can I use morewrites and memoize?

Consider the following MNWE, which I'm compiling with pdfTeX: \documentclass{article} \usepackage{morewrites} \usepackage{memoize} \usepackage{tikz} \begin{document} \begin{tikz} \draw (0,0) -| (1,1)...
cfr's user avatar
  • 193k
0 votes
0 answers
35 views

TeX capacity exceeded, sorry [grouping levels=255] latex-studio

I'm currently writing an important paper. I'm trying out LaTeX for the first Time and I keep encountering this issue seemingly random: TeX capacity exceeded, sorry [grouping levels=255] Sometimes, if ...
Raffy1905's user avatar
0 votes
0 answers
27 views

invalid PDF page link targets generated with pageref in seminar environment [duplicate]

In a document that looks like this: \AtBeginDocument[seminar]{% \pdfhorigin=1sp \pdfvorigin=1sp \paperwidth=297truemm \paperheight=210truemm } \documentclass[article]{seminar} \usepackage[...
Vlad's user avatar
  • 1
0 votes
0 answers
32 views

"Missing '$' inserted" error for \left[

I have the following code: \documentclass{article} \usepackage{amsmath} \title{4\textsuperscript{th} Article} \date{2023-11-03} \author{Tejas Garhewal} \begin{document} \pagenumbering{gobble} \...
tejas garhewal's user avatar
0 votes
0 answers
18 views

The dimension of the page is correct

I need to create a figure in latex, which I want to extract as a PNG. My latex code: \documentclass{article} \usepackage{svg} \usepackage{graphicx} \usepackage{subfig} \usepackage[papersize={1000px,...
skm's user avatar
  • 960
1 vote
1 answer
41 views

Cancel header macro command

I made two original commands: \newcommand{\headremark}[1]{% \newpage \lhead{#1} } \makeatletter \renewcommand{\chapter}{ \if@openright\cleardoublepage\else\clearpage\fi \global\@topnum\z@ \...
Sato's user avatar
  • 79
0 votes
0 answers
59 views

Critical Package xeCJK Error: The xeCJK package requires XeTeX to function

Trying to render Japanese Kanji: \documentclass[a4paper,svgnames,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{xeCJK} \setCJKmainfont[BoldFont=STHeiti,ItalicFont=...
Alix Blaine's user avatar
0 votes
0 answers
83 views

True type font with pdftex

I want to use true type font (ttf) with pdftex. This has been discussed for latin fonts and it seems that's the problem is solved. My problem is with arabic font, for example Amiri. I learned that i ...
student maths's user avatar
0 votes
0 answers
24 views

Biblatex: a question about the bibliography style for my thesis, specific bibliography format

I am currently working on my PhD thesis and have problems in bibliography style. I want to have a style as: Geerlings, P., F. De Proft and W. Langenaeker, “Conceptual Density Functional Theory”, ...
Pelin Ulukan's user avatar
0 votes
1 answer
23 views

How to \immediate\write multiple lines produced using \newline and \StrSubstitute

Why this does not work when the lines are produced using \newline (instead of ^^J) and \StrSubstitute as follows? Thanks \documentclass{article} \usepackage{xstring} \begin{document} \def\mystrings{\...
Krantz's user avatar
  • 159
1 vote
1 answer
119 views

Space vs "\ " in TeX

On page 5 of the book The TeXbook, there is If your keyboard does not contain a left-quote symbol, you can type \lq, followed by a space if the next character is a letter, or followed by a \ if the ...
Y. zeng's user avatar
  • 1,769
-1 votes
1 answer
36 views

"({\tt \\/}) to make the" will cause an error of an extra "}" in TeX

On the page 27 of the book TeX for the Impatient, there is ({\tt \\/}) to make the When I input these into the tex file and then run with TeX, there is an error: ! Argument of \\ has an extra }. <...
Y. zeng's user avatar
  • 1,769
1 vote
0 answers
61 views

How to retrieve coordinates of the bounding boxes from rendered latex that may contain math expressions?

I'm wondering if there is a path to retrieve bounding boxes of the rendered glyphs (text, math symbols, etc) from latex. pdftotext supports partially of that but won't cover non-text glyphs like \frac{...
galactica's user avatar
0 votes
0 answers
42 views

Building pfdlatex from source with TeX Live

I am trying to build pdflatex as part of TeX Live from source. Due to a variety of reasons that are not important, I need to build all these tools from scratch. I have been able to build TeX Live from ...
nick2225's user avatar
  • 101
0 votes
0 answers
59 views

How to include, and colour, an SVG image?

I would like to use some icons that are not available in Font Awesome 5. The template I'm using uses \color to apply a colour to a font awesome icon, and it would be nice if the same command could be ...
Ogre's user avatar
  • 113
1 vote
1 answer
68 views

How to change colour of graphic in a generic way?

I'm working with a LaTeX template that uses Font Awesome 5 to render icons. Unfortunately, not all brand icons I would like exist in the Font Awesome set. I have this PNG file: And I am rendering it ...
Ogre's user avatar
  • 113
1 vote
1 answer
104 views

How to read a file line by regular expression and extract and evaluate the number contained in the matching line?

Can this be generalized to use some kind of regular expression, not just index, and then extract and evaluate the numbers at the beginning or end of the selected line, using some modifiable arbitrary ...
Krantz's user avatar
  • 159
1 vote
1 answer
60 views

How to crop half the page of an existing PDF?

I have a PDF document that was improperly scanned, so that the content (images) only occupies the top half of the portrait page. I'd like to crop all the pages, to remove the empty bottom half, and ...
Rodrigo's user avatar
  • 113
0 votes
1 answer
59 views

Export-import a value produced in one tex file and use it in another tex file efficiently

Based on here, the following should work but does not. Why? All I want to do is to copy one or two values from one .tex file to another: copy 12 from A.tex to B.tex. Is there a simple way to get this ...
Krantz's user avatar
  • 159
2 votes
1 answer
57 views

Bug: color with pdflatex in RTL mode

I have this problem in right to left colored text. \documentclass[12pt]{article} \usepackage{color} \usepackage[utf8]{inputenc} \usepackage[LAE]{fontenc} \usepackage[arabic]{babel} \begin{document} $...
student maths's user avatar

1
2 3 4 5
114