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)

0
votes
0answers
10 views

Latex: ps2pdf failure (psfrag)

I'm trying to use latex and to add some nice fonts with psfrag. All my images are eps files. So, whenever I just use pdflatex - it generates the pdf without replacing the text in the eps figures ...
17
votes
4answers
528 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 ...
3
votes
1answer
59 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}}) ...
3
votes
1answer
111 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 ...
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|} ...
5
votes
1answer
60 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} ...
3
votes
0answers
36 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, ...
1
vote
1answer
35 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 ...
23
votes
0answers
293 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
19 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 ...
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. ...
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 ...
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 ...
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 ...
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
1answer
42 views

how to typeset 'maximum - subject to' relation?

How to type the following formula inside an algorithm in latex?
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
39 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 ...
0
votes
0answers
31 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
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 ...
2
votes
1answer
83 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 ...
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 ...
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.
0
votes
1answer
18 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
49 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 ...
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\\ ...
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 ...
0
votes
0answers
52 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 ...
2
votes
0answers
19 views

conflict using matlab-prettifier and LaTeX beamer [duplicate]

I was trying to use the matlab-prettifier package with the LaTeX beamer package, and I noticed I was getting errors when trying to compile. Mainly I was getting an error when trying to use ...
2
votes
0answers
51 views

Opacity Logo in beamer slide

Hi i have the following Beamer slide and i want to make the logo in the bottom right corner have an opacity on say 50 % ? Here is my code \documentclass[a4paper, ]{beamer} ...
0
votes
1answer
14 views

mktextfm fails when pdflatex is invoked by cgi-bin script under www-data (apache)

I'm starting pdflatex from a shell-script invoked as cgi-bin application on Ubuntu (running under default www-data user) and from time to time I have the following kind of error preventing compiling: ...
0
votes
0answers
65 views

El Capitan Texmaker “could not start command”

As so many people I have problems since updating to El Capitan. I'm using TexMaker and MacTex, I downloaded the newest version of both (so the /Library paths are already in the default setting of ...
2
votes
1answer
35 views

Defining the pdf output file within the document file using %& -job-name

My understanding is that if I create a file called noName.tex with the first line %& -jobname=myName then when I run pdflatex on that file, the output file will be named myName.pdf rather than ...
3
votes
1answer
61 views

\neq prints as '='

When I try \neq the output looks like =. I found a similar problem - \neq (not equal) command does not work anymore. Doesn't look like my case (see below for details), and don't know how to follow the ...
1
vote
0answers
49 views

Quick build does not compile bibtex file

I have a bibtex .bib file and a main latex file. To get latest references in correct form one needs to run pdflatex, bibtex and pdflatex twice. To to it in a shorter manner, it is already programmed ...
6
votes
1answer
68 views

Find files that are not included by any other files

In a larger latex project am using \include to include the chapter files and within those \input for sections and subsections. I just discovered that due to some rearranging some of the \input ...
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 ...
1
vote
1answer
24 views

Command sequence to reliably terminate LaTeX in batchmode

I'm looking for a command sequence that will terminate a running instance of pdflatex --interaction batchmode regardless of its state and prior input. I don't care about the output or error ...
5
votes
0answers
95 views

How do I open PDF in Adobe Reader DC without locking the file from being updated by pdflatex?

I don't know if this is possible on Adobe Reader DC on Windows, but asking in case someone has managed to do it. When I am working on a large document in LaTeX (I use TexStudio) I sometimes like to ...
0
votes
0answers
19 views

Remove white spaces from latex [duplicate]

How can the white spaces from the output of the following line: $C++$ be omitted so that there is no white space between 'C' and '+' and the last '+'. The current output is: C + + C and the ...
4
votes
2answers
153 views

How to create PDF file with all your bookmarks displayed?

I have a PDF file created with WinEdt 9 (see picture 1). The tex source file is made with class book, obviously generator bookmarks. \documentclass[12pt]{book} ...
1
vote
0answers
27 views

TeXstudio not syncing with external viewer (Evince) on compile

If I highlight a block of text (within the editor) in TeXstudio and click "Build & View", the PDF shown in the internal (windowed) viewer automatically highlights and jumps to the rendered output ...
1
vote
1answer
97 views

How to point miktex to load a moderncv template

My question is related to this one. I have run mktexlsr from a command prompt as administrator and the operation completed successfully. But when I try to compile the CV into a .pdf the following ...
0
votes
0answers
25 views

Use epstopdf with input files in different folder

I've been looking for hours and I still can't find a suitable solution. My problem is, I have a tex file which I must compile with pdflatex and it uses pstricks, so I use epstopdf and stuff. The issue ...
1
vote
1answer
29 views

.aux I couldn't open database file file.bib.bib

whenever I am trying to compile its showing .aux I couldn't open database file.bib.bib I am using texmaker on windows 7. I already reinstalled miketex and texmaker many times.
0
votes
0answers
35 views

How do I use /PageLabels with pdftex (not latex) and dvi output?

I want to correct the page labels in the pdf outline and in the page-number search box in the pdf viewer. I am using dvi output and converting via dvipdfmx. For latex, the hyperref package does this ...
1
vote
1answer
27 views

Manually position caption inside a figure

How can I place my caption in the indicated arbitrary box in the below figure. This is what I am using for now for my usual figures: \begin{figure}[h] \centering ...