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.

learn more… | top users | synonyms (1)

13
votes
3answers
275 views

Detect whether running on pdfTeX or Knuth's TeX for conditional include

Does anyone know a way to detect whether one is running in pdfTeX or Knuth's TeX? I want to be able to conditionally include extra features when a document is being built using pdfTex, but also ...
2
votes
1answer
46 views

Is there any way to draw the same shapes at different positions efficiently, for example \foreach?

I know there is a similar question, but I do not think it gave the best solution. Here is my code: \begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm] \clip(-0.5,-1) ...
1
vote
1answer
25 views

Force equation numbering to the same line of case equation

It seems that the column is so narrow that it can not bear the whole equation: \begin{equation} R(p_i|G) = \begin{cases} ep_{p_i} + (1- UA(p_i|G))\cdot ({r_G - ep_{p_i}}) ...
4
votes
1answer
42 views

How can I insert vertical text spanning multiple rows into a table?

I would like to add a column to my table that looks like the right most column in the included picture. As of now, I am using tabularx to create the table \begin{tabularx}{\textwidth}{|X|c|} ...
3
votes
1answer
106 views

absolute value in numerator of fraction

I am having trouble writing a term of an equation which is fractional where only the numerator is inside the absolute value symbol. The syntax I used is: \frac{\abs{\lambda_f}}{8\pi^2} But I keep ...
15
votes
5answers
3k views

Inkscape SVG with opacity exported to PDF in pdflatex document not displayed correctly on Mac OS X

I use Inkscape to create graphics which I export to PDFs in order to include them into a LaTeX documents (with \includegraphics and using pdflatex). I didn't notice that there is something wrong until ...
1
vote
1answer
255 views

Slight package bug about Babel/efrench

I was writing in LaTeX, and when I'm trying to complie with MikTex, this prints: ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\e-french\french.cfg" ! Undefined control sequence. I believe it ...
6
votes
3answers
144 views

LuaLaTeX and TeX Gyre Pagella in pdflatex for arXiv

Since arXiv still doesn't seem to support LuaLaTeX, I need to make my document work with pdfLaTeX instead. The only LuaLaTeX-specific stuff is \usepackage{fontspec} \usepackage{unicode-math} ...
5
votes
1answer
58 views

tufte-latex: \newthought after \section

Using \newthought after a new section title inserts an unusual vertical space as in the following example. \documentclass{tufte-book} \usepackage{kantlipsum,cleveref} \begin{document} ...
1
vote
1answer
34 views

Exporting .org files to LaTeX - Error

I'm new to EMACS (on Ubuntu) and I have started using the org mode to begin with. I tried to convert my .org files into LaTeX only to see an error saying pdf was not produced Upon checking the error ...
4
votes
1answer
292 views

Span background image across whole page

I want to put a background image on a file which uses the scrartcl class. The target pdf output size is A4 which is exactly the size of the background image (210mm x 297mm). The image should therefore ...
3
votes
0answers
35 views

mdframed breaking pages in weird places

I defined a new environment which puts the frame title in the middle of the frame \newenvironment{coloredframe}[2]{ \mdfsetup{ hidealllines=true, leftline=true,topline=true, ...
4
votes
1answer
230 views

Rubber with etex package

I am using rubber to compile my documents. In some of them (usually Beamer presentations), I use the etex package. In such a case, rubber aims to use as the command elatex to invoke the e-TeX engine ...
20
votes
5answers
951 views

Using LaTeX to generate .png images of an equation

I am familiar with using LaTeX on online websites (like MathOverflow or Physicsforums). My input is rendered using MathJax. However, I do not understand the LaTeX environment in its native OS form. ...
19
votes
0answers
190 views

pdflatex and commercial book printing

I have published several textbooks that were typeset using pdflatex. In each case, when I sent them to the commercial book printer, the technicians doing the preflighting invariably found some ...
1
vote
0answers
18 views

Long Source Titles are not broken into new lines in bibliography

I am currently writing my master thesis and struggle with the bibliography. I have some long titles used as sources with some extra info like journal the paper was in and so on. Now when compiling ...
0
votes
1answer
42 views

how to typeset 'maximum - subject to' relation?

How to type the following formula inside an algorithm in latex?
2
votes
3answers
2k views

Why do pdflatex and latex LNCS outputs look different?

I've found that using embedded postscript (eps) with the pdflatex command, as opposed to the latex command, may require more effort; and potentially insecure write18 permissions with cygwin. No ...
1
vote
1answer
50 views

I need to source my images. Is there any way to do that?

I have a plenty of figures in my thesis and I need to add internet sources to them at the end of my work. How can I make it happen? EDIT: I do not have a list of figures. I use just large captions. ...
6
votes
1answer
439 views

Feynman diagrams with feynmf/feynmp - edges of diagram cropped off?

I am trying to create Feynman diagrams with LaTeX/MetaPost and feynmp seems like the perfect package to do so. I had no problems with the tutorial and can generate the diagram itself in .eps without ...
0
votes
1answer
11 views

centering an animation in beamer

there's lots about centering in beamer and animation in beamer, but I'm not finding what I need. I have an animation made through R's animate, where I've set the center option TRUE. The resultant tex ...
3
votes
2answers
58 views

Table on paper (A4) gets cut off

I used tabular to create a wide table. Even-though it appears fine on pdf, when I print it on A4 the right side of the table is cut off. Any idea why this is happening? I know I can simply reduce the ...
0
votes
0answers
33 views

Simple text editor that uses LaTeX layout [duplicate]

I would like to know if there's any simple program or something of the sort that allows me to use some of LaTeX's tools, especially the math embedding and overall formatting. What I want is somewhat ...
2
votes
1answer
13 views

latexmk drops into pdfTex shell or something

I keep on reading articles on how to use latexmk, but when I try, the command never just exits. It always drops me into some kind of shell like this $ latexmk -pdf latex-preview.tex Latexmk: This is ...
0
votes
0answers
22 views

stfloats, twocolumn, figure* broken with late pdfTeX 1.40.16

I tried to build some older document with a new pdfTeX version and encountered very strange errors of figures getting lost. I was able to produce the following minimal example: ...
4
votes
0answers
38 views

pdflatex crashing with no error message and no output

I just switched to a new laptop, installed Miktex and Texmaker, and cannot get pdflatex to work. When started from inside Texmaker, the program runs for a few seconds, then spits out nothing. No ...
2
votes
1answer
502 views

Pdftex error in moderncv: FontAwesome--fontawesometwo at 600 not found

I am getting the abovementioned error when compiling a moderncv file in Texmaker. I recently switched to Windows 10. I have tried the solutions mentioned here and here but nothing worked. I am ...
2
votes
2answers
37 views

Compiler-style output for latex errors

I am a programmer who is used to using command line tools to compile source code. One of the must-have features of these compilers is the ability to tell programmers where their errors are so they ...
0
votes
0answers
30 views

Gedit build main file

My document is split into multiple files, that are all in one directory. I use gedit and evince to edit and view my document and synctex is working. ...
0
votes
0answers
17 views

I am using the latest sig-alternate.cls from the official ACM suite.

But still, I am getting "undefined control sequence" error message for isbn class. What's the possible reason & how it could be fixed?
2
votes
2answers
1k views

Hover text for images in LaTeX using pdfLaTeX

How to put a hovering title text for images (like the title attribute in HTML <img> tags) in LaTeX file using pdfLaTeX?
2
votes
1answer
80 views

10 words of extra memory for PDF output out of 10000 (max. 10000000)

can someone explain me the message that appears in PDF statistics log file, if it is important how to avoid it ? 10 words of extra memory for PDF output out of 10000 (max. 10000000) I am using ...
2
votes
1answer
45 views

Createspace package prints transparent layers in pngs as black

This problem is almost identical to this problem, but my issue is limited to the createspace package. The problem is reproducible with this code, run with pdfTeX: \documentclass[11pt]{book} ...
0
votes
0answers
25 views

TexMaker - pdftex - El capitan - high CPU

I installed El capitan and since then, everything stopped working. I had to uninstall TexMaker, MikTex and everything I had because all the solutions I found on the forum didn't work. Anyway, now a ...
1
vote
1answer
68 views

chunk ran only once knitr/lyx then error

I am having trouble when I run the following code in lyx, using a script written in R: clean_cache(clean = TRUE) <<echo=TRUE,results='asis'>>= library(knitr) library(RMySQL) ...
1
vote
1answer
335 views

PDF form as background image - filling the form fields

I'd like to elaborate my proof of concept so that I can be confident with selected tools/packages for this task before I start implementing it. Scenario. I have several documents (each document has ...
0
votes
0answers
36 views

How to write a system of equations in sharelatex.com?

Every search for system of equations that I put on that site will break and not render properly.
1
vote
2answers
133 views

Tikz externalize and placing a caption overlapping with a picture

Original Problem I have some big "banana shaped" pictures in a document. Thus the picture fills the whole page, the "actual picture" i.e. the non-white space, however, does not. I place a caption in ...
0
votes
1answer
17 views

pdf file size of moderncv too large

When I pdflatex my moderncv.tex I obtain a file size of 150 kB. This seems too big since I don't include any picture yet. And in fact after gs -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -dNOPAUSE ...
2
votes
1answer
25 views

Problems with creating abstract in custom class

I am working on creating a thesis template for myself and others in my lab to use. I have gotten stuck on creating a specialized abstract environment however. As a MWE (well minimum broken example) ...
1
vote
0answers
48 views

pdfLaTeX in AUCTeX doesn't make pdf files with some fonts

I like AUCTeX for edit TeX files. I can generate pdf files with some fonts (like New Century Schoolbook, Helvetica or Charter), but not with other (XCharter and urw-Garamond, for example). The ...
7
votes
3answers
4k views

Command \texteuro unavailable in encoding T1

I want to know how does LaTeX figures out if the Eurosymbol (€) is a glyph of a given T1 font. I tried \iffontchar but it seems the value is not unique. AFAIK it's not a standard symbol of the 256 ...
1
vote
1answer
38 views

Cannot set up vertical indentation of some chapters

I have a class file to set up a very long report file (a thesis). So, this document is actually a modified report class. I haven't set up the class file myself but I have got familiar with the class ...
23
votes
2answers
7k views

Is it possible to embed a YouTube video using LaTeX?

I'd like to embed a YouTube video inside a PDF generated by LaTeX, now I know it is possible to embed videos using the movie15 package but that includes the video in the PDF. I was hoping there would ...
3
votes
1answer
70 views

Defining -aux-directory for pdflatex breaks citations for natbib

When I run pdflatex with an -aux-directory flag it makes it so natbib can't find the citations. pdflatex command with -aux-directory: pdflatex.exe -synctex=1 -interaction=nonstopmode %.tex ...
6
votes
3answers
200 views

Automatically format words in a PDFLaTeX document which are in a keyword list

When writing technical documents, I often want to format 'technical phrases' (such as the name of some technology) in a particular way, which becomes annoying when I type the phrases frequently. I'm ...
0
votes
1answer
26 views

\end{thebibliography} on bibtex bibliography of lyx document

(This may be a stupid question, but I'm new to this, and have tried to find the answer elsewhere to no avail.) When I try to update my lyx file using pdflatex after appending a BibTeX-generated ...
0
votes
1answer
25 views

Add spaces to the start of lines in a blockquote

I'm trying to typeset a poem in a \blockquote, but the spaces at the start of each line disappear when I make a PDF. How do I stop this? \blockquote{ \#6 \\ you\\ \\ \\ are\\ \\ inscribed\\ ...
0
votes
0answers
49 views

Moderncv does not compile

I just wanted to try out the moderncv class, and when I try to compile any of the examples, I get the following errors: ! Undefined control sequence. l.16 \@initializecommand ...
1
vote
0answers
21 views

path of figures in different directories with subfile latex

This is the structure of my directories - Main tex file /Diss/main.tex chapter tex files Diss/chap1/chap1.tex, Diss/chap2/chap2.tex etc Images Diss/chap1/images/f1.png, Diss/chap2/images/f2.png etc ...