| Categories: graphics,printing | Status: ALPHA |  |
| Author: Christoph Schmidt-Hieber | wxWidgets supported ports: all |
| Current maintainer: Christoph Schmidt-Hieber | wxWidgets supported versions: 2.9 |
| Latest version: 0.1 | Build system: Bakefile-based |
| Programming language: C++ | Samples provided: 1 |
| External dependencies: none | Documentation: hand |
|
| Description: wxLatexDC is a device context that will generate a LaTeX2e file from graphics and text that were drawn onto it. It makes use of PSTricks (http://tug.org/PSTricks) to create Tex-compatible PostScript macros. You can create a wxLatexDC in exactly the same way as a wxSVGFileDC. At present, only a small part of the DC drawing functions have been implemented. The major advantage of using LaTeX output rather than directly writing PostScript is that typesetting can be done in LaTeX, so that graphics seamlessly integrate into documents. A positive side effect is that the PSTricks macros are more easily readable than plain PostScript. |
|
| Links for wxLatexDC: › Website | › Screenshots | › Documentation | › Browse Subversion | › Download | › Edit this component's info (for maintainers only) |
Integrate drawings into LaTeX documents
wxLatexDC latexDC(filename,GetRect().width,GetRect().height,72.0);
Draw(latexDC);
% You can then include the output in a LaTeX document
% In your header, you need to include PSTricks:
\usepackage{pstricks}
% In your document, you simply integrate the tex file:
\input{./filename}
The documentation for this component is available online
<<<<<<< .mine
here.
=======
here.
>>>>>>> .r726
None. To submit a bug report please look at wxCode support page.
None. To submit a feature request please look at wxCode support page.