Questions tagged [graphics]
{graphics} is about inclusion of external graphic files in your document. For questions about vector graphics created programmatically inside a (La)TeX document, use {diagrams} instead, or preferably the tag for specific packages like {tikz-pgf}, {pstricks}, or {metapost}.
7,328 questions
3
votes
0
answers
92
views
What packages are useful for drawing topological surfaces? [closed]
I'm writing a mathematical paper that studies the fundamental groups of surface bundles, hence I need to create images of surfaces of genus greater than 1 with loops drawn on surface. What packages ...
1
vote
0
answers
59
views
Context: positioning figures in pages with texts having different column widths
Good evening everyone,
I am facing a problem with the placement of figures in a multicolmn document. The code below shows what I have in mind regarding the layout of this document:
\setuphead[section]
...
3
votes
1
answer
136
views
Why does this pdf figure crash lualatex?
I have an old workflow that uses LaTeX itself to process diagrams and plots. I've used this generate hundreds of figures over the years. This has suddenly started producing invalid pdf figure files: ...
1
vote
3
answers
82
views
Extend custom \IMG macro: add percentage-based overlay label (white box + letter) at (x%, y%) with separate scale
I have a basic macro that inserts a figure with \includegraphics, caption, and label:
\documentclass{report}
\usepackage{graphicx}
\usepackage{float}
\newcommand{\IMG}[4]{
\begin{figure}[H]
\...
2
votes
2
answers
85
views
Automatic numbering of multiple images
I would like to number the following images as shown in the reference image, but what I have so far is only an idea.
Other (better) suggestions are more than welcome.
Is there perhaps a specific ...
1
vote
0
answers
85
views
Images confuse with 3D asymptote
I'm trying to add a 2d image into a 3d graph using this Inserting graphics into asymptote or pgfplots but when i do this it creates 2 separate images one at the center and one at the coordinates (in 2 ...
6
votes
2
answers
467
views
Drawing a porous sandwich beam
Can we reproduce this image in LaTeX Tikz?
I try this
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{patterns,arrows.meta,decorations.pathmorphing}
\...
3
votes
1
answer
71
views
Making a Vertical Adjustment to a Side-by-Side Image with a Minipage
Consider the code:
\documentclass[11pt]{book}
\usepackage{graphicx,lipsum}
\begin{document}
\thispagestyle{empty}
\begin{minipage}{3in}
\lipsum[13]
\end{minipage}
%\vspace{35pt}
\hspace*{20pt}
\...
3
votes
2
answers
236
views
LaTeX pgfornament package in ConTeXt?
Since the pgfornament package is PGF/TikZ (and it appears from the pgfornament site that there is a version that uses Lua), is it possible to use the package in ConTeXt somehow?
I've used it by adding ...
4
votes
2
answers
82
views
Images bookleaf
I have some wide figures that I would like to set on facing pages so they can be compared. In this example the images fall on pages 3 and 4 which are overleaf.
The images are a CFD profile and the ...
2
votes
1
answer
220
views
Including graphics in a Latex document
I am trying to include a simple diagram in a Latex document. My Latex file looks like this
\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[...
3
votes
1
answer
87
views
How to tagging documents with figures mixed latex/pdf from fig
I want tagged pdf from latex and for that specify tagging=on in \DocumentMetatdata.
I know that if including PDF figures thePic with \includegraphics,
an alt text must be given like so:
\...
2
votes
1
answer
87
views
Make Ipe use local LaTeX document formatting
I'm trying to export an Ipe figure so that whatever math in the figure will use the font in my document. Here is my preamble:
\documentclass{amsart}
\usepackage{comment}
\usepackage{tgtermes}
\...
1
vote
4
answers
526
views
How to recreate a DuPont scheme
I'd like to recreate a DuPont scheme as the image below.
I’m not necessarily asking for the exact code used to recreate the graphic, but rather for the packages and commands that would allow me to do ...
1
vote
2
answers
94
views
overlay latex on vector image
I am generating some complex plots programmatically. They are exported into PDF and use native PDF features.
However, I would like to (1) include them in a paper written in LaTeX, and (2) use LaTeX ...