New answers tagged

2

remove loading xcolor package add option svgnames (or dvipsnmaes) to options of book document class instead lavender use Lavender for color name: \documentclass[12pt,svgnames]{book} \usepackage{tikz} \usetikzlibrary{decorations.pathmorphing} \begin{document} \thispagestyle{empty} \begin{tikzpicture}[pencildraw/.style={ % decorate, decoration={random ...


1

I will insist with the solution provided in Unequal height with \tcbincludepdf raster, i.e., forget rasters and print every page with an independent tcolorbox. I don't know what OP really wants, he/she says (in comments) I want to be able to control rasters (which may contain pdf pages or images of different sizes) position in the document. Without the ...


1

Avoid circuitikz elements inside a tikz pic. Here is a rather minimal example producing a similar error as the original code. \documentclass{standalone} \usepackage{circuitikz} \tikzset{pics/mypic/.style={code={\draw (0,0) to[short](1,0);}}} \begin{document} \begin{tikzpicture} \pic (p) {mypic}; \end{tikzpicture} \end{document} The source of the problem ...


3

When you want to use a path in some fashion but don't want the actual path to be drawn then the way to achieve this is usually to define the path using \path rather than \draw. In addition, if all you want to do is decorate the path then you can use the decoration on the path directly and not via a postaction. Looking at the rest of the code, I'd also ...


1

\documentclass{article} \usepackage[papersize={200mm,200mm},margin=0mm]{geometry} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \draw node[inner sep=0, ] {\includegraphics[width=200mm]{example-image}}; \draw node[xshift=4cm]{page 5 line 1 }; \draw node[] {page 5 line 2 }; \end{tikzpicture} \end{document} The other ...


Top 50 recent answers are included