TeX - LaTeX Asked by Rathijeet Bhattacharya on March 25, 2021
This is below the code
documentclass[10pt]{article}
usepackage{graphicx}
usepackage{asymptote}
begin{document}
newcommand{north}{$N$}
newcommand{south}{$S$}
newcommand{east}{$E$}
newcommand{west}{$W$}
begin{asydef}
texpreamble("newcommand{north}{$N$}
newcommand{south}{$S$}
newcommand{east}{$E$}
newcommand{west}{$W$}");
end{asydef}
begin{figure}
centering
begin{center}
begin{asy}
size (3cm, 0);
draw (N--S, Arrows);
draw (W--E, Arrows);
label ("north", N, N);
label ("south", S, S);
label ("east", E, E);
label ("west", W, W);
end{asy}
end{center}
caption{Cardinal directions}
label{fig:inline}
end{figure}
end{document}
this code generates only text not 3d objects
I am using win10 os
can any body help me please.
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP