Tag Info

Hot answers tagged

6

Since you're using Tikz, here's an alternative version. Output Code \documentclass[margin=10pt]{standalone} \usepackage{tikz} \usepackage{amsmath} \usepackage{amssymb} \usetikzlibrary{calc,arrows.meta,positioning} \tikzset{ rect/.style={draw, rectangle, minimum width=1.8cm}, circ/.style={draw, circle, path picture={\draw (path picture bounding ...


4

atbegshi can be used to capture the page being shipped out. Below I've captured \AtBeginShipoutBox inside my own \mysavedpage for use later: \documentclass{article} \usepackage{atbegshi,graphicx,lipsum} \newsavebox{\mysavedpage} \begin{document} % Capture the page being shipped out next \AtBeginShipoutNext{% ...


3

Many options are available for placing two figures side-by-side. See this question and the answers therein, for example. Here is a solution using the the subfig package: \documentclass[12pt,a4paper]{article} \usepackage[demo]{graphicx} \usepackage[margin=1in,showframe]{geometry} \usepackage{subfig} \renewcommand{\thesubfigure}{Figure \arabic{subfigure}} ...


2

It seems that by default, \sbRelier always draw arrows, but you can change the line style with \sbStyleLien. As this command affects all further lines, it's better to define inside a local scope {\sbStyleLien{...}\sbRelier...} Also looks like \sbEntree defines an undrawn node with certain size but you can still use its .center as reference. This is what ...


2

It's a feature of the subcaption package. When subfigure is used, the figure counter is stepped independently on whether \caption is used. More precisely, this is done if the caption is expected to be at the bottom, which is usual for figures. The reason is simple: the caption to a subfigure needs to know the number of the main figure caption, which however ...


1

Here is a solution using answers package and based on write18 compilation. Edit: update this main file should be compiled with (pdf or xe)latex with option --enable-write18. No output here, but 2 files mtafile.tex and mtBfile.tex will be created and compiled with pdflatex and outputs mtafile.pdf and mtBfile.pdf \documentclass{article} \usepackage{answers} ...


1

You have to repeat the resetting at every \section in the appendix. \documentclass{article} \usepackage[demo]{graphicx} \usepackage[nofiglist,notablist]{endfloat} \usepackage{etoolbox} \begin{document} \section{Section one} The main figure is Figure~\ref{Figure-1}, and the main table is Table~\ref{Table-1}. Supplemental material includes ...


1

Without specifying coordinates for pspicture it uses 10cm x 10cm! However, package subfigure is obsolete, usesubfig` instead: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage{subfig} \usepackage{pstricks} \begin{document} \begin{figure*} \centering \subfloat[]{% \centering ...


1

\sbRelier[$\Delta P_{c}(s)$]{r1.center}{a}


1

Why do you specify the float option if you don’t want the listing to float at all? You can have a caption option and a label option (beware: not \label) even without creating a floating object. Try this: \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[italian]{babel} \usepackage{color} % or xcolor \usepackage{listings} ...


1

\@xdblarg is an internal command that handles the optional argument to \caption making \caption{zzz} the same as \caption[zzz]{zzz}. So either you have a misplaced {} or [] or (more likely) a fragile command in the main argument, that should be prefixed with \protect



Only top voted, non community-wiki answers of a minimum length are eligible