# Tag Info

-1

You can also use inline equations: $\cos\alpha=\frac{u\times v}{|u| \times |v|}$

1

It may be possible to make this work with subfig as well, but here is an example that uses subcaption instead. It provides, among other things, a subfigure environment and a subcaption command. The former is a minipage-like environment, used as \begin{subfigure}{\linewidth} \includegraphics{example-image} \caption{This is a sub-caption.} \end{subfigure} ...

5

There are several syntax problems: \tikz inside environment tikzpicture. This probably causes the messed up bounding box. The pic is finished after {cube folding}, but options follow as ordinary text (invisible because of \nullfont) with \node commands over printing, because they are all called at the same position (outside the folding pic). numbered faces ...

1

Here's a version in PGFplots, produced by changing the labels and the equation from the linked answer, and adding some options. I guessed at a suitable equation. I don't really know anything about PGFplots, but I'd quite like to learn more, so I looked things up in the the manual. I must admit that I find the manual a bit overwhelming, but it does have ...

0

Click on the image with the Right Mouse > Settings.. Graphics tab > Set the image size in the PDF. LaTeX and LyX options tab > Set the image size in the screen. Suggestions: Usually is better set a small scale for the screen as 10%, so you can still focus in the surrounding text and recognize the image. If you have intuitive file names for the ...

0

Use: \includegraphics[scale=1]{phpmyadmin-dropdatabase-op.png} to get the actual size, if you want to fill in the with of the page, use: \includegraphics[width=\textwidth]{phpmyadmin-dropdatabase-op.png} if you want to limit the height in some way, use something like: \includegraphics[height=0.5\textheight]{phpmyadmin-dropdatabase-op.png} or ...

2

When you Insert > File > External Material, you should choose the PDF pages template: Note how it mentions the option pages=- in order to include the entire document. That is, by default, this template (using the pdfpages package) only includes the first page. Therefore, under the LaTeX and LyX options tabs, enter This should include the entire PDF in ...

2

This solution does not rely on tables. Whether it will work with your template, however: that is anyone's guess. As Alan Munn pointed out, we cannot possibly know. I define two new commands: \imgfraction{<fraction>} takes a single argument which specifies the fraction of the text width to be occupied by the images e.g \imgfraction{.75} or ...

3

You can select the baseline for the tikzpicture; for example, using baseline=(current bounding box.north) as option you get The code: \documentclass[12pt,leqno]{article} \usepackage{amsmath, amsfonts, amssymb,amsthm} \usepackage[margin=1 in]{geometry} %margins \usepackage{tikz} %Vector Drawing and Graphs \usepackage{pgfplots} \usepackage{enumitem} ...

9

The tabular environment really is the simplest way to do this. Here's a solution using regular tabular. You can use it alongside the tabu package without any problem. Arrows are taken from Fancy arrows with TikZ Compatibility with siunitx The cellspace package is used here to get the vertical spacing around the images to be nice. cellspace defines an S ...

2

Here's one way to do it. I redefined \maketitle to name the title node and then used this named node to place two additional nodes with the logos. All you have to do is to use your images and options in \insertlogoi, \insertlogoii: \insertlogoi[<options>]{<logo1 file>} \insertlogoii[<options>]{<logo2 file>} and you can control the ...

2

The problem with your code is that you are using \captionof without a protecting box or environment and this, as you experienced, gives bad results. This is mentioned on page 18 of the caption documentation: ...so you should use both \captionof and \captionof* only inside boxes or environments,... You can add some enclosing environment, a minipage, ...

0

Thanks for the example. hiere are mine code what I did until yesterday: \documentclass[a4paper, 11pt, oneside]{scrbook} \usepackage{tikz,xcolor} \definecolor{tadruby}{HTML}{8B0000} \usepackage[left=2cm, right=1.5cm, top=1.5cm, bottom=1cm]{geometry} \begin{document} \begin{figure}[htb] \centering \begin{tikzpicture} \node[anchor=south ...

1

0

Here's a possible solution. I couldn't manage to make the "mouse-click-progress" work, but it will work if you click the right arrow. I'll try to have a look later and see if I can include that. Code \documentclass[step]{beamer} \usetheme{Boadilla} \usepackage{lmodern} \usepackage[absolute,overlay]{textpos} %\usepackage[frenchb]{babel} \usepackage{tikz} ...

0

\begin{tabular}{l <{\raggedleft\arraybackslash}p{50mm}c} \multirow{4}{*}{ \includegraphics[width=0.15\textwidth, height=30mm]{saeed.jpg} }\\ & {Address 1} \\ & {Street, Country} \\ & {Tel: }\\ & {Email:}\\ & \\ \end{tabular}

2

Using the answers of Caramdir and Jake to this question, you can do this: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[anchor=south west,inner sep=0] (image) at (0,0) {\includegraphics[width=0.5\textwidth]{mushroom}}; \begin{scope}[x={(image.south east)},y={(image.north west)}] ...

3

One way is to define a new command which takes as arguments the frame content before the image, the file name of the image and, optionally, any frame content following the image. So that these can be specified in their natural order, I use xparse's \NewDocumentCommand to define \fitimage{<content before>}{<image file name>}[<content ...

1

I'm not a ConTeXt user, but it looks as if you got simply caught by spurious spaces: \startluacode local function drawRow(row, row_num_total, row_num) local w = 1 local d = 0.2 row_num = row_num_total - row_num for i=1,#row do if row[i] == 1 then local x_shift = (i - 1) * (w + d) ...

2

I'd suggest you to use pgfplots; it offers you a lot of useful features to draw plots: The code: \documentclass[border=3pt]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ typeset ticklabels with strut, width=10cm, height=3cm, axis lines=center, x axis line style={-}, y axis line style={-}, ymax = 3, ...

2

With tikz Here we can change width of pulses with \omegac set to 2 in this case. We create two loops for putting nodes -2\pi, 2\pi, -\omega_c,\omega_c and a loop for drawing pulse You can reduce size of picture with option scale=0.5 \documentclass[tikz]{standalone} \def\omegac{2} \begin{document} \begin{tikzpicture} % draw axis \draw ...

0

I use this code: % on preamble \def\sign{\includegraphics[scale=.8]{fig-here}\\[-4ex]} % set up the value \def\myname{Euclides} \def\LocalData{City, \today} \begin{document} \begin{flushright}\LocalData\par\bigskip \begin{minipage}{6cm}\centering \sign\hrulefill\\\myname \end{minipage} \end{flushright} \end{document}

2

You can use the subfigure environment from the subcaption package: \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \begin{document} \begin{figure} \begin{subfigure}{.3\textwidth} \centering \includegraphics[width=3cm,height=3.5cm]{example-image-a} \caption{this is the first subfigure} \end{subfigure}\hfill ...

0

I found a workaround that may help. I downloaded the ImageOptim software: https://imageoptim.com/ (Free) and went to the folder Xamarin/Android.Support.v7.AppCompat/21.0.3/embedded and drag the images into the imageoptim and it deleted the metadata. And that fixed.

1

These solutions are too complicated IMHO, you don't need to install any new packages. \begin{figure}[h] \begin{tabular}{ll} \includegraphics[scale=1]{Figures/Race.png} & \includegraphics[scale=0.4]{Figures/Bearing.png} \end{tabular} \caption{Left: Diagram of angular contact bearing \cite{NBCBearing}. Right: Disassembled bearing} \label{Fig:Race} ...

1

Since you don't provide an MWE, it seems you are not looking for code. So I take it you just want a general pointer. The general approach is to use a package such as cooltooltips to enable pop-ups associated with hyperlinks.

2


4

The beamer class redefines \includegraphics to make it a robust command and overlay aware. It's a bit complicated to get the thing right, because the redefinitions happen at begin document. \documentclass{beamer} \usepackage{etoolbox} \AtBeginDocument{% \letcs\oig{@orig\string\includegraphics}% \renewcommand<>\includegraphics[2][]{% ...

3

You can use TikZ and put your images inside \nodes placed at the current page.center special anchor (\node is overlay aware). Compile the code twice so the images reach their final positions: \documentclass[12pt,utf8]{beamer} \usepackage{tikz} \begin{document} \begin{frame} \begin{itemize} \item<1,3,6-> item \item<3,6-> item \item<6-> ...

1

Just as an addition to Zarko, I'd use tikz \documentclass[a4paper]{memoir} \usepackage{tikz} \newcommand\PIC{\rule{5cm}{5cm}} \begin{document} \begin{tikzpicture} \node[inner sep=0pt,anchor=south west] at (0,0) {\PIC}; \node[anchor=north west] at (0,0) {\footnotesize \textbf{Source:} URL}; \end{tikzpicture} \end{document} Might be a bit simpler ...

2

You might want to add a key for \includegraphics: \documentclass[10pt,a4paper]{article} \usepackage{graphicx,etoolbox} \makeatletter \define@key{Gin}{path}{\def\Gin@path{#1}} \def\Gin@path@default{} \def\includegraphicsdefaultpath#1{\def\Gin@path@default{#1}} \patchcmd\Gin@ii {\toks@{\Ginclude@graphics{#2}}\setkeys} {\toks@{\Ginclude@graphics{\Gin@path ...

4

\myPicspath is not a path, because the macro is not expandable. A simple macro definition will do: \documentclass[10pt,a4paper]{article} \usepackage{graphicx} \newcommand*{\myPicspath}{pictures/} \begin{document} \includegraphics[angle=270,width=12cm]{\myPicspath Andromeda.jpg} \includegraphics[angle=270,width=12cm]{pictures/Andromeda.jpg} ...

2

As cfr mentioned in his comment, better looking way is not to use footnote references for pictures. Try to put reference immediately below picture like this: \begin{frame} \includegraphics[width=\textwidth]{example-image}\\[-1ex] {\tiny Source: \cite{foo12}} \end{frame} Edit: An attempt to make command for stack of figure and citation of image source. ...

4

I made the sidenotes package for this purpose. Here is an example. \documentclass{article} \usepackage{sidenotes} \usepackage{lipsum} % provides the dummy text \usepackage{mwe} % provides the example image \begin{document} \lipsum[1] \begin{marginfigure}% \includegraphics[width=\marginparwidth]{example-image-a}% \caption{This is in the margin.}% ...

0

There are a couple of packages for drawing Venn diagrams. One is venndiagram, which is based on TikZ. This works for simple cases. For example: \documentclass[tikz,border=20pt,multi]{standalone} \usepackage{venndiagram} \begin{document} \begin{venndiagram2sets}[labelA={}, labelB={}] \fillACapB \end{venndiagram2sets} \end{document} The package ...

3

You can use tikz if you don't mind: \documentclass{article} \usepackage{tikz} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture} \draw[dashed] (3,-0.5) circle (3cm and 2cm); \draw[dashed] (0,0) circle (3cm and 2cm); \clip (3,-0.5)circle (3cm and 2cm); \fill[dashed,pattern=north west lines] (0,0) circle (3cm and 2cm); ...

2

Here is an example which creates a 1 page document in which the text area is filled by a suitably scaled A4 image. I use width=\textwidth, height=\textheight, keepaspectratio. This means that the image will be as large as it can be subject to three constraints: width not to exceed \textwidth, height not to exceed \textheight image not be be distorted ...

5

I do not see a reason not to believe the error message, that the included PDF file is invalid. The application that has created the PDF file is buggy. Try pdfinfo Nomogram3d_v05a.pdf to get a hint, which program might be the culprit. Description of the error Pages are organized as page tree with a pages object as root, intermediate nodes and leaves, the ...

1

I've come across another solution to this problem that is slightly different because it takes up the entire page including margins. I have an analogous one for "fullheightgraphic" that uses \paperheight instead of paperwidth \newcommand{\fullwidthgraphic}[2] { { \usebackgroundtemplate{\includegraphics[height=\paperwidth]{#1}} \begin{frame}{#2} ...

0

Add \makecvtitle after \begin{document}to show to photo and resume title. But notice that the coverletter is not suppose to have a photo, only the resume.

1

There are two issues, it would appear from the OP's comments: 1) insetting an image, and 2) eliminating/masking the transparancy of the inset. I will address the issues in turn: IMAGE INSET Here I give two examples using \stackinset. The first flush to the bottom right corner, and the second with some border. I use \includegraphics for the images, but ...

3

This was done on a smaller scale for a map of Hawaii using a 20x20 grid. For the final version you set the opacity of the map to 1. I find using a checkerboard background helps when aligning links to the map. Using a \parbox instead of tikz \matrix is much faster. I stole the map from http://www.enchantedlearning.com/usa/states/hawaii/map.GIF and ...

4

Another solution which uses background package to include the background image and a tikzpicture to define the transparent node for text. \documentclass[a4paper]{article} \usepackage{graphicx} \usepackage{tikz} \usetikzlibrary{calc} \parindent=0pt \usepackage[pages=some]{background} \backgroundsetup{% ...

2

preface #1: I started working on this before the last comments so now I am afraid I misunderstood what you were looking for, however adaptations should be easy. preface #2: this is 100% not the best solution, but I am trying to learn stuff, so I gave it a shot Here's what I came up with \documentclass{article} \usepackage{graphicx} \usepackage{tikz} ...

4

Like this? \documentclass{article} \usepackage[papersize={11in,8.5in},margin=0in]{geometry} \usepackage{tikz} \usetikzlibrary{calc} \parindent=0pt \begin{document} \begin{tikzpicture}[remember picture,overlay]% \node[inner sep=0] (X) at (current page.center){\includegraphics[width=\paperwidth,height=\paperheight]{example-image-a}};% %% This makes all ...

4

It is possible to arrive at a fairly simple solution by the use of tikz: \documentclass{article} \usepackage[papersize={11in,8.5in},margin=0in]{geometry} \usepackage{tikz} \usetikzlibrary{calc} \parindent=0pt \begin{document} \begin{tikzpicture}% \node[anchor=south west, inner sep=0] (X) at (0,0){\includegraphics[width=10in]{ScreenShot}};% ...

1

To overlay the elements, I use stacks. To obtain "transparancy", just overlay a clipped version of the original image, using the decodearray parameter for color reinterpretation. \documentclass[a4paper]{article} \usepackage{graphicx,stackengine,trimclip} \begin{document} \noindent% \stackinset{c}{}{c}{}{% \parbox{.8\textwidth}{\sffamily\centering\Huge ...

1

I can't recommend making figures not to float. It's right, the caption is just for showing the reader what the figure is about. However, here's a way to cope with your problem: define an environment where you set up the format for the subfigure caption (otherwise it wouldn't be set, for some reason). \documentclass{article} % Article class of KOMA-script ...

0

Try use figure option [H] provided by package float: \documentclass{article} \usepackage[pdftex]{graphicx} \usepackage{caption} %for images \usepackage{subcaption} %for sub images \usepackage{float} %for figure option H \begin{document} \section{Doesn't float but not as pretty} \subsection{A} The below image details what results we got for subsection A ...

3

You could try overpic.sty: \documentclass[a4paper]{scrbook} \usepackage[textwidth=10cm]{geometry} \usepackage[abs]{overpic} \usepackage{graphicx,color,transparent} \begin{document} \begin{center} \begin{overpic}[unit=1mm,tics=10,width=1.0\linewidth]{example-image-a} \put(50,30){% \makebox[0pt]{% \transparent{0.5}% ...

Top 50 recent answers are included