Automize command
Herbert Voss
Herbert.Voss at fu-berlin.de
Wed Apr 5 11:21:17 UTC 2023
Am 05.04.23 um 13:05 schrieb Patrick Dupre:
>> Am 05.04.23 um 12:22 schrieb Patrick Dupre:
>>> Which my configuration I need really need to run
>>> export Latex (plain); latex ; bibtex ; latex ; dvipdf -dALLOWPSTRANSPARENCY
>> You never told us _why_ do you need the dvi route and cannot use
>> pdflatex or one of the newer engines??
> Because, it just do not work with pstricks
Except of pst-text I run _all_ examples with lualatex and get directly
my PDF. Only for some functions which needs heavy calculations, the
old dvi route is faster.
run with lualatex
\DocumentMetadata{}% delete the line for old TeXlive before 2020
\documentclass[pstricks,border=10mm]{standalone}
\usepackage{pst-plot}
\usepackage{pst-math}
\begin{document}
\psset{yunit=1.5}
\begin{pspicture} (0,0)(10,5)
\psaxes[tickstyle=bottom]{->}(0,0)(10,5)[$x$,0][$f(x)$,90]
\psset{linewidth=1.5pt,plotpoints=500}
\psplot[linecolor=blue]{1}{10}{%
1 x div GAMMA 4 x mul sub x 1 add GAMMA div abs }
\psplot[linecolor=red,algebraic]{1}{10}{50/(x+2)^3}
\end{pspicture}
\end{document}
Herbert
More information about the lyx-users
mailing list