Skip to main content
The 2024 Developer Survey results are live! See the results
10 votes
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=...
Ñako's user avatar
  • 3,636
7 votes

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 ...
Bernard's user avatar
  • 273k
7 votes
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} \...
Rmano's user avatar
  • 42.3k
5 votes
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{...
David Carlisle's user avatar
4 votes
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, ...
Mike's user avatar
  • 8,704
4 votes
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 ...
Werner's user avatar
  • 608k
4 votes
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}[...
user187802's user avatar
  • 17.5k
4 votes
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} \...
user187802's user avatar
  • 17.5k
3 votes
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}%
user187802's user avatar
  • 17.5k
3 votes

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[...
Bernard's user avatar
  • 273k
3 votes

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,...
user73104's user avatar
  • 949
3 votes
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-...
Bernard's user avatar
  • 273k
2 votes
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} ...
user73104's user avatar
  • 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} \...
leandriis's user avatar
  • 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} \...
Sebastiano's user avatar
  • 56.7k
1 vote

Problem with dotstyle=+

Here is the output with Overleaf and running xelatex
user187802's user avatar
  • 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 ...
Display Name's user avatar
  • 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 ...
Hotsndot's user avatar

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