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)

4
votes
2answers
342 views

pdfx option clash inputenc + fontenc + hyperref

I want to compile my .tex file with pdflatex but get an option clash, since I load pdfx to get a PDF/A-1b compliant file. This is part of my header: \documentclass[twoside,a4paper,DIV15,parskip=off,...
2
votes
1answer
107 views

Prevent pdflatex.ini repair when updating packages in miktex

I've installed Miktex for the local user only so it is installed in C:\Users\~\AppData\Local\Programs\MiKTeX 2.9. I had to add save_size=80000 to pdflatex.ini in ..\miktex\config to avoid errors when ...
2
votes
2answers
23 views

Long equation tag/number gets shifted to left hand side, rather than underneath right hand side

So i have an equation which is pretty much the width of my text. The equation number usually (when using pdflatex) shifts below the right hand side of the equation. However, i am now having to ...
3
votes
2answers
42 views

PDF plain text for a macro with a starred version

I'm typesetting a document with PDFLaTeX. In some section titles, I use a macro which has a starred version. In the PDF index (the table of contents that PDF viewers typically show in a side pane), I ...
2
votes
1answer
51 views

texshop does not generate pdf, only dvi

I have had no problem with texshop generating pdf files until I tried a new template today. When it compiles, texshop only generates dvi, not pdf. Any clues or suggestions? I clicked "typeset" with ...
1
vote
0answers
47 views

Different looks of two different PDF

The first image is my text. The second one is of a professor. Mine looks different from his: my characters are a bit bolder than his and not as easy looking (and reading) as his, perhaps due to ...
0
votes
1answer
46 views

Page number of bibliography in table of contents is above or below correct value

In my latex document which uses the report documentclass and hyperref package, I have the following code before the end of the document: \bibliographystyle{plain} \addcontentsline{toc}{chapter}{...
3
votes
1answer
74 views

PDF or PDF/A to Latex

I have made a sketch in Visio. I plan to save it to .pdf for use with pdflatex. I have the option of saving as PDF/A-1 (a or b not specified). Would I want to make a habit of saving these images as ...
0
votes
0answers
31 views

Where should I specify pdftex primitives?

I would like to suppress this type of warning by pdftex: PDF inclusion: multiple PDFs with page group So one solution proposed here is to use this primitive: \pdfsuppresswarningpagegroup=1 ...
45
votes
6answers
12k views

Which figure type to use: pdf or eps?

Both are vector graphics (typically) and both can be imported painlessly into a pdflatex document (so let's say we ignore dvi for this question). What are the advantages and disadvantages of each? ...
2
votes
2answers
62 views

Rotating scope in tikz

Can't able to rotate scope with external image (fig.pdf). \begin{scope} [rotate=30] \node (scope6) at (0,0) {\includegraphics{/tmp/fig1}}; \node at (0,0) [rotate=0,color=black] {Text}; \end{...
2
votes
1answer
47 views

problem with text wrapping in tabular environment

I would like the contents of a cell in a row span several lines. I have the following MWE: \begin{table}[b]{ \begin{center}{ \begin{tabular}{|l|c|c|c|c|} \hline Source & Value & Affected &...
0
votes
1answer
35 views

Pandoc: Format Chapters/Sections

I'm currently using a basic template found on internet and I'm trying to format chapters and sections but nothing happens :(. I include this to my template tex file and update usepackage: \...
0
votes
0answers
25 views

Error compiling pfdLatex Document on ubuntu 14.01.1 while using the IEEEtran.cls

Am using IEEEtran.cls in my document but every time i try to compile i get the following error message kpathsea: Running mktexmf ptmr7t ! I can't find file `ptmr7t'. <*> ...:=ljfour; mag:=1; ...
2
votes
2answers
115 views

pdfTeX error (font expansion): auto expansion is only possible with scalable fonts even with \usepackage[T1]{fontenc}

According to this question: On pdfTeX error (font expansion): auto expansion is only possible with scalable fonts, microtype package, to get rid of the error, a scalable font must be loaded. Package ...
2
votes
0answers
61 views

\usepackage[T1]{fontenc} produces numerous errors and ruins PDF

All I want is to be able to use \guillemotleft and \guillemotright. I'm on Ubuntu 14.04, 64-bit. These are the packages I load, after declaring documentclass article. \usepackage{mathtools} \...
2
votes
1answer
58 views

Latex missread the equation and provides an error

I have an equation to be written. The equation I expect to have is this one: \begin{align} M &= \left\{ \begin{array} \sqrt{1+0.6275 \frac{l^2}{Dt} -0.003375 \frac{l^4}{D^2 t^2}} if \frac{l^2}{...
2
votes
1answer
56 views

Shading an Area and puting labeling for special points

I am working on putting nice figures into latex from Matlab using tikz. The problem I am having is that I have a graph written on tikz (a set of continuous points of a density function) I have two ...
2
votes
0answers
69 views

LaTeX can't find .cls files

I recently downloaded MacTeX-2015 and wrote a very short file which I called test.tex: \documentclass{article} \begin{document} Hello world. \[ e^{2\pi i} = 1. \] \end{document} I opened the file ...
2
votes
1answer
29 views

pdflatex/lualatex called from shutdown script can not find installed packages

At work I have set up a little backup script on my Ubuntu 14.04.1 machine. The script backs up my machine to an external hard drive. After this is done it copies a LaTeX project to my Dropbox and ...
2
votes
1answer
45 views

tikz: nodes overlapping with edges on graph

I'm trying to reproduce a graph from a paper using Tikz, the graph that I'm trying to reproduce is the following: But without the horizontal curved line and brackets on the left subtree. So far, ...
1
vote
0answers
97 views

Random errors using pdfLaTeX in Texmaker

I cannot use pdfLaTeX in Texmaker on my laptop. It was working on my desktop with windows 7, and I installed MiKTeX and Texmaker on my laptop with windows 10 and opened the same file and now it gives ...
2
votes
1answer
48 views

How to add constant height in exam class

I've MCQ Paper created using \documentclass[addpoints,answers,10pt]{exam} ; here on very page I've to provide "Space for Rough Work". Height of "Space for Rough Work" is around 20% of page height. ...
2
votes
0answers
20 views

How to write below textheight and above footer [duplicate]

MCQ Paper is mentioned below (Thanks to Erik) ; \documentclass[addpoints,answers,10pt]{exam} \setlength\textheight{15cm} \setlength{\footskip}{8.5cm} \providecommand{\myquestion}{% \question ...
1
vote
0answers
23 views

pdftex doesn't run from command line

I just upgraded to El Capitan and downloaded the basic version of MacTeX2015. When I use the command pdftex or pdflatex from the command line, I get an error: pdftex: command not found. I checked ...
1
vote
1answer
44 views

Saving and restoring font settings

I'm using Pandoc to generate a PDF from a Markdown source file, and passing in a custom LaTeX template (effectively a tweaked version of the Pandoc default) to change the style of the final PDF. I ...
8
votes
3answers
859 views

Libertine newtxmath and text (oldstyle) figures in headers

This is closely related to the OP with title "lining figures in tables and math, old style figures in text", and to the answer provided therein. The following (semi)MWE is to be run with pdfLaTeX: \...
2
votes
1answer
40 views

pdflatex stating a lot of files

I was trying to compile a latex document, and it was taking forever. I thought it was quite strange when a very simple document wasn't almost instant. When running pdflatex with ptrace, I find it is ...
3
votes
2answers
34 views

How to make work macros work as values in parameters of psbarcode?

TL;DR- Works \psbarcode{NODATA}{height=0.33 width=1.6 includecheck includetext}{code128} But "parametrized", does not work as expected (produces big transparent output) \def\h{0.33} \def\w{1.6} \...
6
votes
2answers
812 views

Font isn't found though properly installed

I just set up the MacTeX-2014 distribution on my MacBook working OS X Yosemite 10.10. As i try to build a document on which i already worked without a problem on said machine before clean installing ...
0
votes
0answers
109 views

PdfLatex stops compilling

when I add 'numbers' option for package natbib and compile files, pdflatex starts compiling and stop at the middle of the processs (and cpu is at 25%), maybe an infinite loop... I'm using MikTex 2.7 ...
2
votes
0answers
32 views

How to manually write polynomials long division rather than using the automated polynom?

I very new to LaTeX and currently try to practice writing engineering reports with it as a replacement for Microsoft Word. In one of my assignments I have to do Polynomial Long Divisions. I found ...
0
votes
0answers
17 views

Reduce space between floats

I am new in LaTex. I use TexMaker as a LaTex Editor and Texlive for the packages i need. I want to write a two column article. In the text, there is a problem with the gaps between the floats (figure ...
7
votes
2answers
2k views

moderncv - filesize of pdf too big

I managed to work out how to create a job application that is entirely written in the moderncv style. I use the moderncv class itself for my CV and the attachments (making each document a section with ...
2
votes
1answer
143 views

Order references alphabetically with “elsarticle-num-names.bst”

How Can I order my references alphabetically using the bibliographystyle "elsarticle-num-names.bst"? Here is a MWE, copied from the elsarticle template folder itself: elsarticle-template.tex: \...
1
vote
0answers
250 views

PDFLatex throws errors, undefined control sequence, use of \sortlist doesn't match it's definition, etc [closed]

I recently asked a question about using biblatex, but that didn't seem to be a problem. I now used some code which should work fine, but I'm still getting errors. Here is the code I used: \...
1
vote
0answers
18 views

Getting in-text reference to load

This has been frustrating me for a while. When I am working on my paper and my bibtex file has been properly synced, and one or two citations are cited and properly updated as I write the paper, ...
2
votes
1answer
51 views

Having trouble building a tikz diagram

I am trying to build this tikz picture on Ubuntu 14.04: \def\layersep{2.5cm} \begin{tikzpicture}[font=\sffamily,shorten >=1pt,->,draw=black!50, node distance=\layersep] \tikzstyle{every pin ...
1
vote
0answers
152 views

latex on ubuntu 16.04 [closed]

pdflatex on ubuntu ignores scalebox. How can this be fixed? Example \begin{figure}[h] \scalebox{0.60}{\includegraphics{beta3d.eps}}{\includegraphics{beta3d.eps}} \caption{\label{beta} ...
0
votes
2answers
42 views

Force LatexTools to output pdf only after complete compilation

With one of the recent updates, LatexTools now supports Okular under Linux. This makes it eventually useful for my setup of writing tools. The fact that LatexTools provides the pdf viewer with the ...
1
vote
0answers
24 views

How can I get pdflatex to perform multiple passes when compiling a document?

I have a number of files requiring several compiler passes because it has a table of contents. I usually set this up in my TeX editor, Latexian, without going through the command line; but now I'm ...
2
votes
2answers
71 views

Full-page landscape figure in middle of document

I have a full-page figure that needs to be rotated to fit on the page. I started out with this figure in an appendix at the end of my document, and just wrapped the figure in \begin{landscape}...\end{...
5
votes
1answer
63 views

luatex has different subscript distances

I wanted to write some scientific text in TeX Gyre Schola, because I like its increased weight compared to Latin Modern Roman. Unfortunately, I noticed that the spacing between a variable and its ...
0
votes
0answers
16 views

Fix subpicture placement

I know this kind of thing has been asked here before, but I have a question about this post. I copied the code from there and only changed the filenames to have my pictures. \begin{figure*} \...
0
votes
0answers
17 views

Unable to get permission for fls file while using pdflatex

I'm using Sublime Text 3 with the Latexing package to compile a file. The distribution is TeXLive and I'm compiling with pdflatex. Everything works fine for a while, then the compile process starts ...
0
votes
0answers
83 views

MIKTEX - The XCharter-Roman-tlf-sc-t1--base source file could not be found. Running ttf2pk.exe

I am trying to build a CV with pdflatex (MikTeX) but it fails. The error is as follows: Trying to make PK font XCharter-Roman-tlf-sc-t1--base at 720 DPI... Running miktex-makemf.exe... miktex-...
0
votes
0answers
14 views

Break a table in a two column article in latex

Hello I want to break a table in a two column article but i don't know how. Here is the latex code: \begin{table}[H] \centering \caption{ Results of Mutual Information using two ITK techniques and ...
0
votes
0answers
23 views

Hide page number when converting eps to pdf

I converted my eps file to pdf. But I do not want to display page number. For example, in attached picure, I want to ignore "1" at the bottom. I tried some ways but it id not working. Here is my code:...
1
vote
1answer
33 views

quote command similar to bibliography

I have a book project that will be peppered with citations, as epigraphs to chapters and in the body of the text. I plan to have an index of the citations with proper reference to the source. Some ...
1
vote
0answers
32 views

Setting up BasicTex (Homebrew)

Just getting started with TeX and I think I'm missing something... I've installed BasicTex via Homebrew Cask (brew cask install basictex) which supposedly includes pdfTeX and a bunch of other tools (...