# Tag Info

2

adjustbox package has a min size option which saves some typing: \documentclass{beamer} \usepackage{tikz,adjustbox} \begin{document} \usebackgroundtemplate{% \tikz[overlay,remember picture]% \node[at=(current page.center)]{% \adjustbox{min size={\paperwidth}{\paperheight}}% {\includegraphics{PM5644.jpg}}};} ...

3

\documentclass{beamer} \usepackage{tikz} \usepackage{graphicx} \begin{document} {\usebackgroundtemplate{% \begin{tikzpicture}[remember picture, overlay]% \node at (current page.center) {\includegraphics[width=.1\paperwidth,height=.1\paperheight,keepaspectratio]{tiger}};% \end{tikzpicture}} \begin{frame} \end{frame}} ...

0

As you want to draw an arrow it is probably easiest to put everything inside a tikzpicture environment. Before I answer your question let me say that using \includegraphics[width=12cm,height=8cm]{Massesjj.pdf} to include your image is probably a mistake. It is better to specify either the height that you want, or the width, but not both as this may ...

1

First question: the bottom line. It can be drawn with the following code: \draw[to] ($(ke)!.5!(fs)$) -- +(0,-3cm) -| (crc1); Let me explain it: ($(ke)!.5!(fs)$) uses interpolated coordinates and requires \usetikzlibrary{calc}. It specifies a point in the middle (the .5 part) between coordinates (ke) and (fs). -- specifies a line to the next ...

3

Or use a makebox: \documentclass[10pt]{beamer} \begin{document} \begin{frame} \centering \includegraphics[width=0.6\textwidth]{example-image}\\ \makebox[0.6\textwidth][r]{\url{http://xkcd.com/1301}} \end{frame} \end{document} Or \llap and \raisebox \documentclass[10pt]{beamer} \begin{document} \begin{frame} \centering ...

3

try this \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \begin{document} \tikzset{ box/.style = {draw, rectangle, minimum height = 2.5em, minimum width = 2.5em}, circl/.style = {draw, circle,minimum size = 8mm}, input/.style = {coordinate}, output/.style = {coordinate}, ...

2

...or use a right-aligned stack \documentclass[10pt]{beamer} \usepackage{graphicx} \usepackage{url,stackengine} \begin{document} \begin{frame} \begin{center} \def\stackalignment{r}\stackunder[6pt]{% \includegraphics[width=0.6\textwidth]{example-image}% }{% \url{http://xkcd.com/1301}% } \end{center} \end{frame} \end{document} ...

2

My answer may not be relevant, the version of Corel I used was CorelDraw 11, and it was a few years ago. I used to compile my text with LaTeX to produce a dvi file, and then use dvi2ps to produce a postscript version. The postscript file was then opened with Corel, and the option import text as curves was chosen. It is then possible to copy and paste the ...

9

Or use a minipage \documentclass{beamer} \begin{document} \begin{frame} \begin{center} \begin{minipage}{0.6\textwidth} \includegraphics[width=\linewidth]{example-image} \\ \raggedleft\url{http://xkcd.com/1301} \end{minipage} \end{center} \end{frame} \end{document}

6

Use a tabular \documentclass{beamer} \begin{document} \begin{frame} \begin{center} \begin{tabular}{@{}r@{}} \includegraphics[width=0.6\textwidth]{example-image} \\ \url{http://xkcd.com/1301} \end{tabular} \end{center} \end{frame} \end{document}

7

According to chapter 16 of the beamer package documentation, you can use a template to change elements of a presentation design. The options for the caption element are described in section 12.6 of the documentation. According to this, you need \setbeamertemplate{caption}{\insertcaption}. \documentclass[10pt]{beamer} \usepackage{graphicx} ...

1

Is this what you seek? Use of text width=the longest length and align=left,center, right of your selections. Code \documentclass[border=10pt]{standalone}%[12pt,twoside,a4paper]{book} \usepackage{graphicx,wrapfig,tikz} \usetikzlibrary{positioning,shapes} \tikzset{myarrow/.pic = { \begin{scope}[rotate=-90,scale=0.5] \draw[fill=black] (-0.5,0) -- ...

9

Here is one attempt but if you are in a hurry use a WYSIWYG software. \documentclass[tikz]{standalone} \usepackage{fontspec} \setmainfont{Myriad Pro Bold} \usetikzlibrary{calc} \def\myhbleed{10mm} \def\myvbleed{10mm} \begin{document} \begin{tikzpicture} % Left page \node[anchor=south west,inner sep=0,outer sep=0,minimum height=297mm+\myvbleed,minimum ...

4

\documentclass{article} \usepackage{graphicx} \begin{document} \begin{center} \begin{tabular}{ l c r } \includegraphics[width=0.3\textwidth]{example-image-a} & \includegraphics[width=0.3\textwidth]{example-image-b} & \includegraphics[width=0.3\textwidth]{example-image} \\ ...

1

If I understand the question correctly and you want to change the page size for one page to fit the image onto it, there's two options documented here. They basically are using one of the KOMA (scr) classes and using: \KOMAoptions{paper=a3} \recalctypearea or (if using pdflatex only) changing page dimensions with: \documentclass{article} ...

0

You need not use tabular environment. Instead straight way you can achieve the desired result as shown below. \hspace could be used to separate picture img Correct Code: \documentclass{article} \usepackage{graphicx} \begin{document} \flushleft \includegraphics[width=0.25\textwidth]{albt.png} \hspace{0.5cm} \includegraphics[width=0.25\textwidth]{back.png} ...

4

The tabular isn't doing anything useful here, just use \begin{center} \includegraphics[scale=0.03]{img/original.png} \includegraphics[scale=0.03]{img/gauss2.png} \includegraphics[scale=0.03]{img/gauss5.png} De izquierda a derecha, imagen original (dendrita de una neurona de hipocampo de un cultivo transfectado con ...

0

Short sum up of this solution. It gives you the possibility to handle your tikzpicture like an image in a figure-environment. This way you can set the width of your tikzpicture to <factor>\textwidth. This way you don't need to overlap your graphic over the text's width. \documentclass[11pt]{article} \usepackage{blindtext} \usepackage{filecontents} ...

2

If I understand well what you need, it's a way to have LaTeX-formatted text in CorelDraw graphics. Probably you should use the psfragger utility, as it seems to be dedicated to such a job. From the readme file that comes with it: PSFragger is a free tool used to replace some labels in eps files by using psfrag and LaTeX. The result is modified eps ...

3

No, you can't. The printout of file names is too deep inside TeX to be changed by higher level macros. The only way that would suppress the printout of file names is to create a pre-compiled "precompiled-preamble". This process is the same as used for generating the latex command from tex. Command latex is nothing but bare bones tex unto which the LaTeX ...

8

This is an attempts where pics skill is used, requiring tikz 3.0 Code \documentclass[border=10pt]{standalone}%[12pt,twoside,a4paper]{book} \usepackage{graphicx,wrapfig,tikz} \usetikzlibrary{positioning,shapes} \tikzset{myarrow/.pic = { \begin{scope}[rotate=-90,scale=0.5] \draw[fill=black] (-0.5,0) -- (0,0.5)--(0.5,0)--(0.5,1)-- ...

4

You need to make (at least) the following changes: If you want the minipages to be placed one below the other rather than side-by-side, remove the \hfill instruction and simply leave a blank line If you want the captions to occupy the full width of the textblock, don't restrict the minipage widths to 0.48\linewidth. Instead, set their widths to ...

0

epstopdf package will probably solve this problem: \usepackage{epstopdf}

3

4

The unable to load picture or PDF file error is a clue that something's wrong, not on the TeX side but on the filesystem side. Possible causes include a corrupted image file, a permissions-protected image file, or a nonexistent image file. The division by 0 error is secondary to the first: TeX is trying to draw a box without having dimensions to form its ...

4

In general no, just send a zip archive of all the files. TeX can write text files so (some) EPS files you can include in the file and write with filecontents environment.

2

Rotating You can rotate an image by using angle in the \includegraphics optional arguments. For instance this will rotate your image 90 degrees anti-clock wise. \includegraphics[angle=90,origin=c]{image} Here origin=c sets the axis of the rotation, to be the center of the image. Another option is to use the rotating package and its sideways command. ...

2

Nice work on your solution! Someone may come along with a better way to do this, but I've taken your code, added the page numbers, and solved the page height problem. I also added a conditional for the last page, to check if it was already printed as part of the last double-page spread. For my example, I used the biblatex manual which should be available ...

2

A fault in the XREF-table of your PDF seems to be responsible for the problems with XeTeX. You can repair your PDFs with a tool like pdftk: pdftk broken.pdf output repaired.pdf

1

Beware of spaces at the end of lines between environments/commands! The hint is that you have a comment character at the end of your first subfigure. If you change all of these lines so that they look like \end{subfigure}% Then all is well:

1

XeLaTeX should handle eps files with non problem. But your eps file might contain extraneous material, suche a bitmapped screen preview of the real image. Therefore try converting it into another acceptable format, for example pdf with ps2pdf and import the pdf image instead of the eps one. Maybe that the extraneous material forbids a suitable ...

2

Perhaps this might be what you're after: % LaTeX file for resume % This file uses the resume document class (res.cls) \let\nofiles\relax% http://tex.stackexchange.com/q/27139/5764 \documentclass{res} %\usepackage{helvetica} % uses helvetica postscript font (download helvetica.sty) %\usepackage{newcent} % uses new century schoolbook postscript font ...

0

Maybe you should work with the easyfig package from Martin Scharrer : CTAN. Or, maybe, look at this post post where I've ask a similar question (I think at least). Regards,

2

I think you will find many issues in tex4ht support for beamer, because it is really complex package which redefines many commands, which is what tex4ht do as well. \includegraphics is patched by both beamer and tex4ht, which creates a conflict. For easy fix of this issue, you may define custom command which will use \includegraphics with normal LaTeX and ...

5

Each directory path should be in its own set of braces. But what you seem to have done here is put each part of the path in its own set, which won't work. Assuming you want to set one directory which is C:/Users/Me/Desktop/ then your command should be \graphicspath{{C:/Users/Me/Desktop/}}.

0

Another solution with fp package. \documentclass{article} \usepackage[nomessages]{fp} \usepackage{graphicx} \FPset\Factor{0.75} \FPeval\Scale{round(Factor*0.8:2)} \begin{document} \includegraphics[scale=\Scale]{example-image-a} \end{document}

1

it works better with: \node at (0,0) {\includegraphics[width=2cm]{your picture}};

5

\includegraphics[scale=\factor , scale= 0.8]{foo.pdf}

0

You may want to convert j2 to jpg by opening it in GIMP (which will take a while and throw a message about converting to sRGB), then export to jpg (or whatever else)

7

For an actual graph where you plan to communicate something useful about your data you don't (or shouldn't) want it to look like this. But simply as an exercise the following, while a bit kludgy, is a first step in the right direction: \documentclass[tikz,border=5]{standalone} \usetikzlibrary{shadows,fadings} \tikzset{pics/.cd, cylinder/.style 2 args={% ...

0

Perhaps what you are looking for is how to wrap a your text around your figure. This can be done with the wrapfigure environment (inspired by the LaTeX Wikibook) \documentclass{report} \usepackage{wrapfig} \usepackage[demo]{graphicx} \usepackage{kantlipsum} %To generate lipsum \begin{document} \kant %Lipsum \begin{wrapfigure}{r}{0.5\textwidth} ...

2

Here is the relevant excerpt from the user manual: Let's start with an exercise taken from a book by James Davies, \textit{Life and Death}\footnote{Elementary Go Series vol. 4, Kiseido Publishing Company, \copyright 1975, 1996}~: \medskip \begin{minipage}[c][1.0\height][c]{0.65\textwidth} \begin{verbatim} \white{b4,c4,d4,e4,f4,g3,g2,c3} ...

2

You can do it with pgfplots. Here is an example: \documentclass{article} \usepackage{pgfplots,siunitx} \pgfplotsset{width=7cm,compat=1.10} \begin{document} \begin{tikzpicture} \begin{axis}[enlargelimits=false,axis on top,xlabel = Displacement (\si{\milli\meter}), ylabel = Load (\si{\kilo\newton})] \addplot graphics ...

1

Note the use of the undocumented feature of \includegraphics. \documentclass{article} \usepackage{pdfpages} \newlength{\tempwidth} \begin{document} \settowidth{\tempwidth}{\includegraphics[page=1]{lipsum.pdf}} \includepdf[fitpaper,pages=1,trim={0 0 {.5\tempwidth} 0},clip]{lipsum.pdf} % *** \end{document}

2

This compiles just fine \begin{landscape} \marginpar{Again: \lipsum[11]}%% goes one page before the figure \begin{figure} But of course \begin{landscape} \begin{figure} \marginpar{Again: \lipsum[11]}%% goes one page before the figure will not work as both figure and \marginpar are floats and they do not mix. In the last example, \sidebar (similar to ...

3

Well, let's try with something very basic. \documentclass[11pt]{article} \usepackage{graphicx} \usepackage{amsmath} \begin{document} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam vestibulum in lectus ut imperdiet. Vivamus porta orci in mauris ultrices, feugiat vestibulum arcu egestas. Maecenas fringilla hendrerit consequat. Aliquam eu ...

0

It appears it was a configuration issue in TeXstudio. In Options/Configure TeXstudio under Build, "Build & View" was set to "dvi-ps-pdf-chain" if you don't have the advanced options checkbox enabled set it to "Compile & View" if you have the advanced options enabled set it to "txs:///compile | txs:///view" Not sure if I changed it ...

0

I don't really understand why this happened, but I had the following line in my preamble: \let\empty\varnothing. When I comment this line out, everything works beautifully. When I leave it in, I get the error message. Perhaps someone else can explain why this happens, but I thought I would at least share this small bit of information.

5

The interrow padding is because the bottom of an image is on the baseline and the tabular rows take into account the possible depth of descenders. We can remove the white space by lowering the images on the top row. A similar trick can be used to have a symmetric padding above the images. \documentclass{article} \usepackage{graphicx} ...

5

You can change the \arraystretch like \def\arraystretch{0.15} Choose an appropriate value. \documentclass{article} \usepackage{graphicx} \usepackage{siunitx} \sisetup{per-mode=symbol} \begin{document} \begin{center} \setlength{\tabcolsep}{0pt} \def\arraystretch{0.15} \begin{tabular}{c} \hline \includegraphics[height=27mm]{example-image-a} ...

Top 50 recent answers are included