New answers tagged

2

\documentclass{article} \usepackage{tikz} \usepackage{halloweenmath} \newtheorem{definition}{Definition} \newtheorem{theorem}{Theorem} \newtheorem{formula}{Formula} \setlength{\voffset}{-0.5in} \setlength{\topmargin}{-0.2in} \setlength{\textheight}{240mm} \setlength{\textwidth}{142mm} \setlength{\evensidemargin}{0.3in} \setlength{\oddsidemargin}{0.3in} \...


0

\begin{figure[ht] \centering \begin{tikzpicture]\draw[step=0.5cm,opacity=0.5] (-5,-5) grid (5,5); \draw[Triangle-Triangle,ultra thick] (-5,0)--(5,0) node[below right]{$x$}; \draw[Triangle-Triangle,ultra thick] (0,5) node[above left]{$y$}--(0,-5); \end{tikzpicture} \end{figure}


4

Another solution with TikZ but using intersections and shift. Output Code \documentclass[tikz, margin=10pt]{standalone} \usetikzlibrary{calc, intersections, arrows.meta} \newcommand\bisec{3cm} % distance from corner to center \newcommand\myshift{\bisec*2.5} % shifting polygon \begin{document} \begin{tikzpicture} \draw[thick, name path=triangle] ...


3

Using TiKz: \documentclass[tikz,margin=3mm]{standalone} \usetikzlibrary{shapes.geometric} \begin{document} \begin{tikzpicture} \node (H) at (0,0)[regular polygon, regular polygon sides=6, minimum size=4cm, draw, dashed] {}; \draw (H.corner 1)--++(120:2)coordinate(U)--(H.corner 2); \draw (H.corner 3)--++(240:2)coordinate(L)--(H.corner 4); \draw (H....


5

Here is a way to go with pst-eucl: \documentclass{article} \usepackage{pst-eucl} \begin{document} \begin{pspicture} \psset{linejoin=1, PointSymbol=none, dash=3pt 2pt, arrowsize=3pt, arrowinset=0.12} \pstGeonode[PosAngle=90](0,3){A} \pstTriangleSSS[PosAngle={-135,-45}](U){A}(4,4,4){B}{C} \pstHomO[HomCoef=0.65, PosAngle={...


1

Wide beams don't support arrows. Basically, they are filled areas, and must also be able to handle curved edges. In general, you would need to draw additional beams for the arrows. In your case, this is not a problem, because all wide beams which should get an arrow can be replace with \drawbeam, which take the standard arrows parameter. Note, that I ...


2

object "cylindrecreux" is useless, you can simply use the object "cylindre". Here is a slightly improved version. \documentclass[pstricks]{standalone} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(-7,-5)(7,5) \psset{viewpoint=100 60 20 rtp2xyz,Decran=100,lightsrc=viewpoint,solidmemory} \psframe(-7,-5)(7,5) % helix ...


3

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,Decran=100,lightsrc=viewpoint,solidmemory} \psframe(-7,-5)(7,5) % helix R \codejps{/a 1 def}% radius \defFunction[algebraic]{HR}(t) {a*cos(2*t)} {2*t} {-...


Top 50 recent answers are included