New answers tagged

1 vote

\scalebox clash with cleveref for custom equation tags

Make the command robust and scale using \fontsize. \documentclass[twocolumn]{article} \usepackage{amsmath,graphicx,hieroglf,cleveref} \makeatletter \newcommand{\hiersize}{\fontsize{\fpeval{0.6*\f@...
egreg's user avatar
  • 1.1m
1 vote

How to order 3 images horizontally?

You can use the subfig package. Just keep in mind, you may need to change the width value if you're working with two or more columns \usepackage{subfig} \begin{figure}[!b] \centering \...
Colpim's user avatar
  • 11
1 vote

Figures in the alternatives

One way is to use \includegraphics without surrounding \begin{figure}\end{figure} (as suggested in comments) and do the numbering manually. To top-align the images to the numbers you can use the ...
Marijn's user avatar
  • 35.9k
2 votes

How to compare aspect ratios?

You can use \fpeval to produce 0 if the ratio is smaller, 1 if it is larger. I added some extra descriptive information in the branches of \ifnum that you can remove for your actual use case. I also ...
mbert's user avatar
  • 3,378
1 vote

Cannot show my graph when I use the package for the conference

For reference, I obtain the same result as Marijn reorted in comment 1 and comment 2 on Windows with Texmaker+pdflatex. What I did: created a folder confPaper copied l4dc2024.cls and l4dc2024-sample....
MS-SPO's user avatar
  • 9,052
5 votes

How to make wrapfigure-width adjust to image?

You can make use of a savebox and put the desired content (in your case the image) into it. Subsequently, you can measure the box's width and use that in the width argument for the wrapfigure ...
Raven's user avatar
  • 2,963
1 vote

circle diagrams text included

Procrastination mode at full power... \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=2.5,>=latex,font=\scriptsize] \draw[thick](0,0)circle(1); \draw(0,1.5)node[...
campa's user avatar
  • 29.9k
2 votes

How do I make the squiggly line in metapost?

There is doubtless a superior way to do this since my knowledge of MetaPost is extremely limited. Caveat emptor You could use nccoil or nczigzag from the metaobj package. If you are used to basic ...
cfr's user avatar
  • 193k
3 votes

How do I make the squiggly line in metapost?

I don't know exactly what you want, but you probably want to loop. Below is a version that might use some MetaFun specifics, but hopefully you get the idea and can transform it into pure MetaPost if ...
mickep's user avatar
  • 8,445
3 votes

Sequence of Images

Here is a sketch how you can achieve something similar using beamer: \documentclass[11pt]{beamer} \begin{document} \begin{frame}{} \centering \only<1>{ This is ...
BanDoP's user avatar
  • 473
1 vote

Beamer: Inserting images

In the comments, it is revealed that the posted MWE was not accurate. In reality, the OP has the draft mode of beamer active which leads to the described behavior (as a feature).
2 votes

tikz - custom page dimensions, background image & centered text

Here the default settings in TikZ is to our advantage. When you do \node[inner sep=0pt,outer sep=0pt] at (0,0) {...}; The contents will be placed with its vertical and horisontal center at (0,0) (you ...
daleif's user avatar
  • 53k
0 votes

graphics in ArXiv

I had problems with specific characters (included in pdf figures) not showing up for an ArXiv submission. E.g. the letter "q" or the "%" sign. What solved the issue was to add \...
Holgerillo's user avatar
1 vote

How to put caption on top of a plot?

By use of tabularray package for organizing of images and \subfloats for inserting them in table: \documentclass{article} %\usepackage{svg} % not used in this example since I haven't installed this ...
Zarko's user avatar
  • 293k
1 vote

How to put caption on top of a plot?

Since you know the widths of the subfloats, you can create fake captions using \makebox. \documentclass{article} \usepackage{svg} \usepackage{graphicx} \usepackage{subfig}% see also subcaption %\...
John Kormylo's user avatar
4 votes

How to put caption on top of a plot?

Set each image construct in a tabular so you can structure them vertically - label at the top and image at the bottom. \documentclass{article} \usepackage{graphicx} \usepackage{subcaption} % Add the ...
Werner's user avatar
  • 598k
1 vote

when i exports a graph from geogebra then i got this axes without graph of function? why

In the f1.tex, you have 7 functions without id, there will only be one table created by Gnuplot (the last). You therefore need an identifier per function. [parametric,id=pgf-plot1] for the first ...
pascal974's user avatar
  • 3,282

Top 50 recent answers are included