New answers tagged

1 vote

Best way to deal with many small pictures

Use one (1) float figure but with n (2,3 ...) minipages, each with a width set to some less than 1/2, 1/3 ... of the \linewidth of the text, an image (always with width=\linewidth, i.e., all the ...
user avatar
  • 73.3k
0 votes

Place double-column figure right below section heading

I was just made aware of the nidanfloat package which can set a double-wide figure at the bottom of the page.
user avatar
  • 1
1 vote

Latex: Add figure with references

Is there a reason to use PowerPoint in the first place? If not, you could use TikZ to produce an image like yours. In this image you can use references and the text will be printed in the same font as ...
user avatar
0 votes

replace caption of figure

A solution with the floatrow package: \documentclass{article} \usepackage{graphicx} \usepackage{floatrow} \begin{document} \begin{figure} \centering \begin{floatrow} ...
user avatar
  • 261k
0 votes
Accepted

replace caption of figure

Fixed it by removing the % between the two minipages by \hspace{5mm}
user avatar
  • 1
1 vote
Accepted

Alignment of overflowing rotated \parbox

One option might be to use \smash and \llap/\rlap, and use the origin= setting for \rotatebox: \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \lipsum[1]% dummy ...
user avatar
  • 36.7k
0 votes

How to fix image on specific page using latex,

You can insert wrapfigure into the middle of a paragraph, but in this case it isn't needed. Note the \intextsep gap above the image. \documentclass[a4paper,10pt]{article} \usepackage{lipsum} \...
user avatar
  • 70.2k
2 votes
Accepted

How do I stack two or more figures on top of each other?

Most likely you'd want to use the subcaption package, which defines a subfigure environment: \documentclass{article} \usepackage{graphicx} \usepackage{float} \usepackage{subcaption} \begin{document} \...
user avatar
  • 36.7k
0 votes

How can I change the polarity of a voltage source?

According to the circuitikz documentation: Voltage directions: until v0.8.3, there was an error in the coherence between american and european voltages styles (see section 5.2) for the batteries. ...
user avatar
0 votes

How can I hide a figure but keep its numbering?

Redefine \includegraphics To hide all figures, add the following line after declaring packages (i.e. after usepackage commands). Here you redefine \includegraphics to do nothing instead of showing the ...
user avatar
1 vote

How can I add an image to the bottom of my page while ignoring the bottom margin?

Here is a solution without additional packages. It uses the shipout/background hook. \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \def\bgimage{} \AddToHook{shipout/background}{\...
user avatar
  • 2,913
0 votes
Accepted

How can I add an image to the bottom of my page while ignoring the bottom margin?

As I mentioned in my comment: Don't use float. Insert this image in tikz node which is positioned at bottom of page. \documentclass{article} \usepackage{tikz} \usepackage{graphicx} \begin{document} ...
user avatar
  • 255k
0 votes
Accepted

Setting @fptop and @fpbot doesn't change default float alignment on a float only page

The parameters \@fptop and \@fpbot apply to single-column layouts. For dual-column layouts, the relevant parameters are \@dblfptop and \@dblfpbot, respectively. The LaTeX kernel provides the following ...
user avatar
  • 439k
1 vote
Accepted

Give "hitbox" to overlay tikzpicture

You could patch the \@makechapterhead. And patch the \@makeschapterhead as well, if you want the star version \chapter*{} have a banner too (e.g. \tableofcontents). By default, the floats won't appear ...
user avatar
  • 4,388
1 vote

Text on Subfloat images

This uses \llap, \makebox and \raisebox to overlap the text. The first step is to measure the width and height of the image using a savebox. I used \subfloat for familiarity, but since you know the ...
user avatar
  • 70.2k
1 vote

Center figure that is wider than \textwidth

There is a far more simpler answer from this post. The solution is : \centerline{\includegraphics{...}}
user avatar
  • 161
0 votes

Figures and Subfigures in LaTex

Here's a possible example: \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \usepackage{caption} \captionsetup{font=small, labelfont=bf} \captionsetup[sub]{labelsep=period, ...
user avatar
  • 1,443
0 votes

Left align text inside figure environment

Here you are: a simple \hfill is enough. \documentclass{amsbook} \usepackage{tabularx} \begin{document} \begin{figure}[b] City, June 6, 2022\hfill \vspace{...
user avatar
  • 261k
0 votes

Fixing Image When Pausing Texts

Do you want this: \documentclass{beamer} \begin{document} \begin{frame}{Funciones Crecientes y Decrecientes} La gráfica que se muestra en la figura-- sube desde $A$ hasta $B$, desciende desde $B$ ...
user avatar
  • 772
0 votes

Misaligned side by side pictures - how to resolve?

A small variation of nice @joh answer (+1): for inserting of images is used \adjincludegraphics by \adjustboxset is determined size of images consider is default baseline of image (at their bottom) \...
user avatar
  • 255k
1 vote

Misaligned side by side pictures - how to resolve?

I take it you want to align the tops of the images and align the captions separately. This uses a tabular. I found previous examples aligning the tops and using a tabular, but not both. \...
user avatar
  • 70.2k
3 votes

How to add a hint (arrow up/down) at the reference for direction in which to look for the referenced figure/float?

This approach is not foolproof and, at best, can only work if one use [ht] positioning of one's figures. What it does is use up/down arrows to indicate whether a \label has already been defined or ...
user avatar
0 votes
Accepted

How to left-align figures in beamer?

In your code, you ask for the image to be centered in your minipage. If you'd rather have it left-aligned, try this: \documentclass{beamer} \usepackage{graphicx} \begin{document} \begin{frame}{some ...
user avatar
  • 5,403

Top 50 recent answers are included