Questions tagged [eps]
{eps} is about using files in the Encapsulated PostScript format with TeX.
502
questions
0
votes
0
answers
32
views
Journal won't compile figures
I have a paper that compiles well on my PC and on Overleaf, however I need to submit it in .tex format for a journal and upload the figures separately in .eps format.
So I upload all the files (the ...
0
votes
0
answers
39
views
Extra white borders showing when using .pdf format to include figures in LaTex
i'm writing my first document using LaTex. I want to include good-quality figures, so i opted to use the PDF format. i saved the images from the plots in Matlab as pdf files, and when i included the ...
0
votes
1
answer
46
views
Converting strings in eps images to mathematical content with Lualatex and pstool
I saw a post about this problem, but I can't fix my problem with the suggested solution. Maybe I am doing something wrong or the packages have changed. Can someone help me?
The code is:
\documentclass{...
1
vote
0
answers
60
views
! Argument of \caption@@@withoptargs has an extra }. error. aip-cp doc class using miktex. It compiles in overleaf
\documentclass{aip-cp}
\usepackage[numbers]{natbib}
\usepackage{placeins}
\usepackage{caption}
%Added my self
\usepackage{bm}
\usepackage{multirow}
\usepackage{bigstrut}
\usepackage{epsfig}
\...
4
votes
1
answer
95
views
How to include EPS in LuaLaTeX multiple times and have the postscript code run each time?
Ahoj,
I have an .eps file that does some random number calculations in order to look different on each execution.
Now I want to include it into a LuaLaTeX document several times, and each time it is ...
0
votes
0
answers
36
views
latex not creating .dvi, .ps files while compiling, "system returned with code 256"
EDIT:
so, I found the culprit. The pdfx package is incompatible with chemstyle, but it literally comes from the template my university gave me. Fortunately, the template is from a different faculty, ...
1
vote
1
answer
30
views
Why is my XCircuit diagram corrupt?
I am trying to draw some circuit diagrams using XCircuit and imporing the .eps file in TexStudio. How the image is supposed to look:
and this is how it looks once latex has generated the pdf:
notice ...
2
votes
0
answers
92
views
How to make opacity with TikZ and LaTeX
When I compile the following figure with LaTeX
\documentclass[border=2mm]{standalone}
\usepackage {tikz}
\usepackage {siunitx}
\usetikzlibrary{3d}
\usetikzlibrary{babel}
\...
1
vote
0
answers
41
views
Dotted line changes to solid line when matlab fig save as .eps
I have some matlab figures which I would like to put in a table in LaTeX (as shown in figure). The issue is, when I try to save my matlab figures as .eps and then try to insert in LaTeX, the dotted ...
1
vote
0
answers
36
views
Is there a way to instruct LaTeX compilation to recreate PDFs from EPS graphics? (pdflatex)
When I compile a LaTeX document containing EPS graphics to PDF, all EPS graphics are compiled to PDFs first. This is great! But if I replace the EPS graphics, but do not delete the PDF files created ...
0
votes
0
answers
47
views
How to quick built eps and pdf in same document
I am writing my thesis, using .eps files for the images. I also need to append pdf pages, but all that I have as result (for the PDF files) are empty numbered pages.
I include the figures as in the ...
2
votes
0
answers
71
views
chemnum: compound referencing in scheme not possible using EPSF-3.0
Using the chemscheme and chemnum packages, I would like to number compounds in a chemical scheme as described in: https://www.overleaf.com/latex/templates/automatically-numbering-compounds-in-chemical-...
0
votes
1
answer
280
views
epstopdf can't find file in a different folder
I am having problems to compile EPS files when they are in a different folder. It is strange because it was working fine a few days ago.
The \includegraphics below works for PDF and PNG files. That is,...
0
votes
0
answers
39
views
psfrag prevents eps files (from Chemdraw) to be compiled with Latex->dvi
I am moving to a new PC with an update of all programs. Setup is Win11 with Miktex 22.10/Winedt 11/gsview 5.0/Ghostscript 10.0.
Under the new setup, I suddenly have issues when compiling a document ...
0
votes
0
answers
51
views
An introductory question about .eps and fonts
I was asked to change the .pdf figures of a work into .eps files in such way that no fonts will need to be embedded.
I do not understand the relation between .eps and fonts. Do the .eps figures save ...
10
votes
2
answers
217
views
Why changing the catcode of : cause epsfbox to fail?
I have the following very simple TeX file:
\input epsf
\catcode`\:=\active\def:{\thinspace\string:}
a: b
\centerline{\epsfbox{test.1}}
\bye
with test.mp containing
beginfig(1);
draw (0,0) -- (100,...
0
votes
0
answers
105
views
Error with .eps file
I am using texstudio editor, everything is ok while using this. But suddenly I found error as shown below
! Package pdftex.def Error: File `../temperature-zero/drag-SLG-D-t/figure/rho-log-T-eps-...
0
votes
0
answers
50
views
Minus is not showing correctly in an eps file on Overleaf. But when I use a eps visualizer, the sign appears accurately
Minus signs are not being displayed correctly, instead I get rectangles as you can see in the following image:
But when I use an eps visualizer I get the correct signs.
Here is the code on Overleaf I´...
2
votes
0
answers
108
views
Different behavior for .mps and .eps
The following example document loads two identical graphics files as .mps and .eps via \includegraphics. Both are valid eps files. I get different results depending on the TeX compiler, but always ...
0
votes
1
answer
62
views
Inserting a background color behind a text changed with psfrag
I have just started to play with psfrag to change some tags into eps images.
I am looking for a simple way to add a background color to a text inserted using psfrag.
For example in:
\begin{figure}
\...
2
votes
2
answers
114
views
Obtain a .eps image usable by psfrag from .pdf (or other format) files
I am trying to change some text inside some figures of extension .EPS using the package psfrag. Unfortunately, one of the software which I am using to prepare these figures, the cad CATIA, has not an ...
0
votes
0
answers
153
views
How can I get LaTeX chemnum package to work alongside .png images?
I have been trying (for too long now) to get LaTeX to automatically label chemical compounds in my document in overleaf in combination with being able to add .png images using the \insertgraphics ...
1
vote
0
answers
740
views
Using PowerPoint-created figures in LaTeX
I have created many figures on PowerPoint (my advisor doesn't use LaTeX) and now I would like to export them to LaTeX for my dissertation. I don't want to save the picture as .png because not only the ...
0
votes
0
answers
508
views
How to crop .eps and use in Latex
How do I crop an .eps file for use in LaTeX when using macOS?
I tried the instructions here: What is a good workflow for importing and cropping EPS images? and it didn't work.
Specifically,
I began ...
1
vote
2
answers
3k
views
Overleaf not showing .eps image in IEEE transactions class
I am trying to insert a .eps image in IEEEtran class using the following source code:
begin{figure}[!b]
\centering
\includegraphics[scale=0.5]{fig.eps}
\caption{Figure}
\end{figure}
The ...
1
vote
0
answers
159
views
Generate eps from tex
Assume the test.tex file for an image is as
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node [draw] {hello world!};
\end{tikzpicture}
\end{document}
I used the ...
1
vote
0
answers
163
views
What's the best figure format when export plots from Mathematica to TeX
What is the best(or recommended) figure format when export plots from Mathematica to Tex? *.eps or *.jpg ?
Thanks in advance.
1
vote
1
answer
349
views
How to convert this figure to .eps
My code:
\documentclass[]{article}
%%
\usepackage{forest}
\usetikzlibrary{shadows}
\usepackage{array,multirow,makecell}
\makeatletter
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\...
0
votes
0
answers
105
views
tikz to eps quality loss
I generated an image with tikz which consists in an external image and a series of labels.
I tried to convert it in .eps format by following the procedure presented here Export eps figures from TikZ. ...
1
vote
1
answer
338
views
epstopdf conversion cuts off eps graphics on right side
I am almost done with my thesis and I include a lot of Matlab generated .eps files. I noticed that on some of those the image in the resulting document is cut off on the right hand side just enough to ...
1
vote
0
answers
156
views
Set programmatically latex+dvips+ps2pdf at the beginning of the document with TeXStudio
Bearing in mind that have to change buttons back and forth between pdflatex and latex+dvips+ps2pdf is very time consuming, as pdflatex main compiler
Is there any way to set programmatically latex+...
0
votes
0
answers
272
views
Existing figure is not found in the current working directory Latex
This question has been asked many times, but I still cannot import a figure with .eps extension to the Latex document.
\begin{figure}[ht]
\centering
\includegraphics[width=0.5\textwidth]{...
1
vote
1
answer
1k
views
How to vertically align two figures?
The two figures have been exported from matlab and they have the same size: 560 * 315. They are in vector graphics format .eps.
The problem is that the two figures are not aligned vertically, as shown ...
0
votes
1
answer
88
views
Tightening the bottom bound on eps file created from inkscape
I have this (image of a) pdf file
I've tried several ways to convert it to eps with a tight bounding box. I've tried, among many other things
inkscape in.pdf -D --export-eps=out.eps
and then
epstool ...
1
vote
0
answers
74
views
Eps file weirdly compiled
I have an overleaf project with a number of .eps files. I use the graphicx package to include them in the final .pdf.
Most of the files compile properly, but two of them, which have labels on them (...
0
votes
0
answers
117
views
Extract coordinates from an EPS file to TikZ
Apologies in advance if the question is off topic. I believe it is proper of TeX and LaTeX Stack Exchange, as it is about TikZ, after all, but if I am mistaken, please redirect me to the proper forum.
...
1
vote
0
answers
284
views
How to add an eps file with transparency in beamer slides
I use kile to edit tex files. I need to include an eps file (logo) with a part that is transparent. When I use:
\includegraphics[scale=0.17]{../img/logo_dark.eps}
It just prints the path of the file. ...
0
votes
0
answers
85
views
Include Vector graphics by using their textual representation in XeLaTeX?
I am currently writing a XeLaTeX-compiled .cls file. This file should be able to include a specific vector background graphic that should be included within this class. At the moment, I am importing ...
2
votes
1
answer
143
views
Why does the ```\vspace``` command not work with PSfrag?
When loading in eps graphs, I wanted to shift the positions of the axis labels, and I found I could achieve that with PSfrag (something like \psfrag{label}{\hspace{1em}label}). I've found that this ...
2
votes
2
answers
217
views
Images with the 'eps.gz' extension can no longer be included
The following snippet of code used to work under Linux Mint 19, but fails under Linux Mint 20:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{test.eps.gz}
\end{...
0
votes
0
answers
142
views
eps pictures don't work in my new LaTeX
I have been writing this book for 10 years, no problem with LaTeX-ing. Last week I had to update my MacOS from 10.9 to 10.14. As a result, I had to reinstall my TeXShop, as well. Now I'm getting this ...
1
vote
1
answer
544
views
Import EPS from OriginLab with ChemDraw structure into LaTeX
I am using OriginLab to create my graphs for my lab report. For that I would like to add the chemical structure of the organic compound I am analyzing, e.g. Benzene, Benzaldehyde, ...
So basically I ...
5
votes
1
answer
12k
views
I am having trouble with eps file in Overleaf
I have a figure in eps-format that I want to have in my text, but it just comes up as blank square with this text:
Helikopterlab/Figurer/elevation_complexconjugated_1_i-eps-converted-to.pdf
I am ...
0
votes
0
answers
78
views
`epstopdf` can't handle paths going up in the file hierarchy: pdftex.def error
I try to include *.eps files from several directories, but epstopdf seems to be able to only go down the file (system) hierarchy, whereas some files are placed in paths I had to symlink into my LaTeX ...
1
vote
0
answers
213
views
epstopdf - EPS files with same name
My project has EPS files of the same name saved in a nested folder structure. For example, I have files ~/folder/sub1/foo.eps and ~/folder/sub2/foo.eps. In my tex file, I have the following epstopdf ...
1
vote
1
answer
242
views
Creating figure files in pdf version from eps files with proper fonts using psfrag and psfragfig
Here is my code
\documentclass[12pt]{article}
\usepackage{pstool}
\usepackage{amsmath}
\begin{document}
\psfragfig[height=83mm,keepaspectratio]{identical_distributions2}{%
\psfrag{p}[t][]{...
0
votes
1
answer
199
views
Chemmacros breaks auto-pst-pdf
this is my first time here but I will try to do my best. My document stopped compiling and I was able to boil it down to the following MWE.
Basically I need chemnum (and therefore auto-pst-pdf) to ...
1
vote
0
answers
101
views
auto-pst-pdf creates ghostscript error [duplicate]
I am using pdflatex (shell-escape is enabled) with auto-pst-pdf, psfrag and chemnum to replace tags in eps-files for auto-numbering molecules in my B.Sc. thesis. It went fine until this week, when I ...
2
votes
0
answers
335
views
MATLAB to LaTeX eps file glitches and problems
My question is about including MATLAB exported images in LaTeX. I need it to be a vector graphic image. I have spent a lot of time trying to search for an answer. It is with great hesitation that I am ...
1
vote
0
answers
194
views
Problem with EPS/Chemdraw-embedded picture missing
I have a problem with Chemdraw and including a figure I created in Chemdraw (https://www.file-upload.net/download-14217531/test.cdx.html
), which additionally contains a embedded png file. The ...