The 2024 Developer Survey results are live! See the results

# Tag Info

Accepted

### How to reproduce the following diagram with 3D packages in PSTricks?

Approach using only pst-solides3d UPDATE - A few improvements Instead of calculating the points E and F (altitudes of triangles ABSand ACS, respectively) with: \psProjection[object=point,definition=...
• 3,636

### Electric Circuit PsTricks

With pst-circ, you simply have to define a series of empty nodes corresponding to the input and output of each dipole component, then insert the dipoles and close the connections with 4 \ncangles ...
• 273k
Accepted

### Electric Circuit PsTricks

In circuitikz I would build something like this (hey, I have a repeated $R_4$, easy to fix!): \documentclass[border=10pt]{standalone} % need 0.9.0+ \usepackage[siunitx, RPvoltages]{circuitikz} \...
• 42.3k
Accepted

### PSTricks code automatically generated by GeoGebra doesn't comple?

You have not shown the error message just a summary missing the main information. the first error is ! Undefined control sequence. <recently read> \scalebox l.15 ...l{...
• 771k
Accepted

### Any idea to start drawing this dynamic figure?

If you want to use TikZ, here is a start for you: \documentclass[12pt,a4paper]{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,10) -- (5,10); % line between 2 points, ...
• 8,704
Accepted

### How to use \def command in \uput

The sequence specified as part of the mandatory argument for \psChart represents the proportions of the total pie being used for each segment. So, {20,20,20,20,20,20,20,20} will use the same ...
• 608k
Accepted

### How to compact two the parabol commands in the following example?

\psrotate is for more complex objects, not for simple rotations around the origin: \documentclass[border=15pt,pstricks,12pt]{standalone} \usepackage{pstricks-add} \begin{document} \begin{pspicture}[...
• 17.5k
Accepted

### What's idea to draw Lie E6?

A short version. If you do not want the diagonals then simply do not draw it: \documentclass[border=10pt]{standalone} \usepackage{pst-calculate} \usepackage{pstricks-add} \begin{document} \def\n{5} \...
• 17.5k
Accepted

### How to mark subticks at the end of a smooth curve?

You have to use a multiple distance of the ticks of the curve, which is not easy to know for a curve. However: \psparametricplot[algebraic]{-1}{1.53}{t|t^2+4}% \pscurvepoints{-1}{1.53}{t|t^2+4}{L}%
• 17.5k

### How to compact two the parabol commands in the following example?

It's simpler to plot with swapaxes: \documentclass[border=15pt, pstricks, svgnames, 12pt]{standalone} \usepackage{pstricks-add} \begin{document} \begin{pspicture}[showgrid](-3,-3)(3,3) \psframe[...
• 273k

### Current Helix Wire Wrapping a Magnet Bar

Here is a way to draw your example with PSTricks \documentclass[pstricks]{standalone} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(-7,-5)(7,5) \psset{viewpoint=100 60 20 rtp2xyz,...
• 949
Accepted

### Rotate PSTricks Object: Label Positioning

The trick (!!) is to not forget the polar axis, used for the direction along which the label is put, was also rotated. Whence: \documentclass{article} \usepackage{pstricks-add} \usepackage{auto-pst-...
• 273k
Accepted

### Current Helix Wire Wrapping a Magnet Bar

object "cylindrecreux" is useless, you can simply use the object "cylindre". Here is a slightly improved version. \documentclass[pstricks]{standalone} \usepackage{pst-solides3d} ...
• 949
1 vote

### How to put a pstricks figure inside of a tabular environment

Here is an alternative, that makes use of a p type column, the shift=* option of pspicture and \makegapedcells from the makecell package: \documentclass[12pt]{article} \usepackage{amsmath,amssymb} \...
• 63.1k
1 vote
Accepted

### How to put a pstricks figure inside of a tabular environment

Using the suggestion of the user @gigair in your comment with a minipage you can obtain this: \documentclass[12pt]{article} \usepackage{amsmath,amssymb} \usepackage{xcolor} \usepackage{pstricks-add} \...
• 56.7k
1 vote

### Problem with dotstyle=+

Here is the output with Overleaf and running xelatex
• 17.5k
1 vote

### how to draw like the following picture ( use pairs \gsave...\grestore):

\documentclass[pstricks,border=1cm]{standalone} \usepackage{pst-plot} % Best Practices: % do always enclose the parameters #1, #2, etc with () % do always enclose the most outside with () % Are you ...
• 47.2k
1 vote

### how to resize easily a pstricks picture?

There is also \psresizebox that was mentioned for a similar question here. This approach rescales everything in the figure including text which can be beneficial if you don't want to to mess up ...
• 11

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