Hot answers tagged

5

This is a first test with tcolorbox. If you can consider it, it could be further customized. \documentclass{article} \usepackage[most]{tcolorbox} \usepackage{bbding} \newtcolorbox[auto counter, number within=section]{mytip}% {enhanced, width=.8\linewidth, before upper={Tip\par}, notitle, overlay={\node[align=center, text width=2cm, anchor=north west, ...


3

Just a simple way, easy to adapt, (but the lines or not dashed). \documentclass{article} \usepackage{tkz-euclide} \begin{document} \begin{tikzpicture} \tkzInit[xmin=-5,xmax=5,ymin=-5,ymax=5] \tkzGrid[sub,color=gray, subxstep=.5,subystep=.5] \tkzAxeXY[very thick] \tkzGrid \end{tikzpicture} \end{document}


2

Use \rnode. And, by the way, test your own examples! \documentclass{article} \usepackage[a3paper,margin=0cm]{geometry} \usepackage{pst-node} \usepackage{pst-blur} \usepackage{auto-pst-pdf} \begin{document} \small‎ \psset{shadowcolor=black!70,shadowangle=-90,blur=true,unit=0.69,nodesep=3pt}‎ \begin{pspicture}[showgrid=false](-1.5,0)(50,-10) \rput(4,-1){\...


1

The image has no transparent colors. The reason why it may make sense to rewdraw the red lines. \documentclass[pstricks,crop]{standalone} \usepackage{pst-optic,pst-node,graphicx} \begin{document} \begin{pspicture}(-8.5,-3)(8.5,3) \rput(0,0){% \lens[focus=3.333,OA=-10,AB=2,XO=2,xLeft=-8.5,xRight=8.5,rayColor=red]% \pcline[linestyle=none](A)(B)\ncput{\...


1

Use the beamer documentclass with a plain canvas: \documentclass{beamer} \usepackage{auto-pst-pdf} \usepackage{pstricks-add} \setbeamertemplate{navigation symbols}{} \begin{document} \frame[plain]{% \psset{unit=0.75} \begin{pspicture}[showgrid](-1,-1)(10,10) \rput(0,0){\psaxes[labels=none,ticks=none]{->}(0,0)(8,8)} \psline(1,1)(5,6) ...


1

xelatex doesn't work with this package. Use instead pdflatex --shell-escape and \documentclass{article} \usepackage{pstricks} \usepackage{pst-dosage} \usepackage{auto-pst-pdf} \begin{document} \psset{unit=0.5cm} \dosageAfBF[pKA=4.75,VA=20,CB=0.1,CA=0.05,dpHunit=0.25,pH1=6,tangentes=true] \end{document}


1

use always local settings without \psset which makes more or less only sense for global settings: \documentclass[pstricks]{standalone} \begin{document} \begin{pspicture}(2,4) \pscircle[linecolor=blue](1,3){1} \pscircle[linewidth=4pt](1,2){1} \pscircle[linecolor=red](1,1){1} \end{pspicture} \end{document}


1

You can use a group {% begin a group % Set new local style \psset{linewidth=4pt, linecolor=black} % Draw middle circle \pscircle(1,2){1} }% end the group Then the settings are local. % !TeX program = xelatex \documentclass[pstricks]{standalone} \begin{document} \begin{pspicture}(2,4) % Set new style \psset{linecolor=blue} ...



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