Graphics, Figures & Tables ⇒ No Output of LaTeXDraw in Document
-
- Posts: 35
- Joined: Sun Apr 08, 2012 5:48 am
No Output of LaTeXDraw in Document
I used a package LaTeXDraw, and got some code for the drawing I made in that, when I used the source code generated in LaTeXDraw and use this in my editor which is TeXmaker, I am not getting the result (output).
Both files are attached for your reference. I am attaching the output which I got in LaTeX as well for reference.
Please guide.
Regards,
Sachin Sharma
- Attachments
-
- test diagram.tex
- (1.64 KiB) Downloaded 413 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
No Output of LaTeXDraw in Document
Perhaps its is better to use PSTricks directly instead of relying on bad export by third part software.
Code: Select all
% !TeX program = pdflatex
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{pstricks-add}
\usepackage{auto-pst-pdf}
\begin{document}
\begin{pspicture}[showgrid=false](0,-2)(6,4)
\begin{psclip}{\psframe(0,0)(4,4)}
\psframe[fillstyle=hlines](2,2)(6,-2)
\end{psclip}
\psframe(2,2)(6,-2)
\end{pspicture}
\begin{pspicture}[showgrid=false](-2,-4)(4,2)
\begin{psclip}{\pscircle(0;0){2}}
\pscircle[fillstyle=vlines](2;315){2}
\end{psclip}
\pscircle(2;315){2}
\end{pspicture}
\end{document}
Remarks:
Thorsten
- Attachments
-
- ytmp.png (4.37 KiB) Viewed 4889 times
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10