Tag Info

Hot answers tagged

6

If you have a command line base64 decoder (base64 -d here) and allow pdflatex --shell-escape to run external commands then you do not need anything other than the standard graphics package. Here I include a base64 encoded pdf image. \documentclass{article} \begin{filecontents*}{\jobname.64} ...


5

You should use \input rather than \include for cases such as this where it is not a whole part of a document which might be compiled alone (e.g. a chapter or section or something). See this question for details. Note, in particular, that you cannot use \include in the preamble. \documentclass{standalone} \input{preamble} \begin{document} ...


5

Put the content of minipage inside a node. You can get rid of minipage and use node itself. \documentclass{article} \usepackage{lipsum}% \usepackage{fullpage}% %% use geometry instead \usepackage{tikz}% \usepackage{graphicx}% \begin{document} \begin{tikzpicture} \node[inner sep=0pt,outer sep=0pt,text width=0.5\textwidth](a){% ...


4

I used the background package to watermark versions of a document with \today. It uses tikz nodes which allows a lot of customizations but has useful default values so you don't have to care: MWE: \documentclass{article} \usepackage{lipsum} \usepackage{graphicx} \usepackage{background} \backgroundsetup{contents={\includegraphics[scale=0.4]{cc.png}}} ...


4

Just use \includegraphics[width=0.50\textwidth]{Diagram} with no path and no extension and put the image in the same folder as your document. (there are other possibilities but that is most portable)


3

the class file loads graphicx and hyperef with explicit dvips options, so the intent is to use latex, dvips, ps2pdf to obtain PDF, not use pdflatex.


3

Perhaps something like this, I include teh figure both as a single column figure and as a double column figure spreading across the next page. I also removed all formatting commands from inside section heads, and removed the "manual" section numbering. \documentclass[10pt, conference]{IEEEtran} \usepackage[demo]{graphicx}% so it makes black blobs ...


3

I don't think TikZ is needed. There may be easier ways of doing this but I'd go with (something like)... \documentclass[varwidth, border=.75in]{standalone} \usepackage{lipsum} \usepackage{xcolor} \usepackage{graphicx} \begin{document} {\Large\bfseries Title} \emph{Subtitle} \vskip1ex \valign{&\vfil#\cr \hsize=0pt ...


3

Fixed after installing the latest XQuartz: http://xquartz.macosforge.org/landing/ The problem seems to be related to the fact that X11 was erased during the upgrade.


3

Actually, X11 is not erased but moved to /opt/X11. So, the simplest solution would probably be to manually add the symbolic link from /usr/X11 to /opt/X11: sudo ln -s /opt/X11 /usr/X11


2

A simplified version from Peter Grill's answer to the question already linked by Steven B. Segletes, combined with the mechanisms of the background package (using the everypage hooks to draw under the text) could solve your need for (1.) absolute positioning of (2.) multiple images as (3.) watermarks. Code and example: \documentclass{article} ...


2

Another approach to doing this is with Bibulous in place of BibTeX or Biblatex, and is worth noting because the implementation is straightforward. Using the example bib database file below @Book{Lamport-1994, author = {Leslie Lamport}, title = {LaTeX: A Document Preparation System: User's Guide and Reference Manual}, edition = {2}, year = {1994}, ...


1

Using a macros (e.g. \opacity) works. \documentclass{beamer} \usepackage{tikz} \usepackage{mwe}% for example-image \newcommand{\opacity}{1}% To make sure you aren't overwriting an existing macro. \usebackgroundtemplate{% \tikz\node[opacity=\opacity,inner sep=0pt]% {\includegraphics[height=\paperheight,width=\paperwidth]{example-image}};} \begin{document} ...


1

Do you need to make changes to the image at the SVG stage? If not then you could simply export your graph as a PDF following the instructions here. However, you may prefer to use GNUplot's epslatex output mode an input the figure that way, this would give you much better control over the text elements of the graph since the are controlled by LaTeX. ...


1

Other way is following the @Bernard's indication. In addition i added the caption package for fine tuning the captions moreover of the command \captionof{...}{...} to put captions outside of tables or figures. I think you should put something like \usepackage{cuted} \usepackage{caption} \captionsetup[figure]{textfont={bf,large}} in the preamble, and ...



Only top voted, non community-wiki answers of a minimum length are eligible