Jump to content

Talk:PlanetPhysics/Inkscape Graphics on PlanetPhysics

Page contents not supported in other languages.
Add topic
From Wikiversity

Original TeX Content from PlanetPhysics Archive

[edit source]

%%% This file is part of PlanetPhysics snapshot of 2011-09-01 %%% Primary Title: inkscape graphics on PlanetPhysics %%% Primary Category Code: 00. %%% Filename: InkscapeGraphicsOnPlanetPhysics.tex %%% Version: 16 %%% Owner: bloftin %%% Author(s): bloftin %%% PlanetPhysics is released under the GNU Free Documentation License. %%% You should have received a file called fdl.txt along with this file. %%% If not, please write to gnu@gnu.org. \documentclass[12pt]{article} \pagestyle{empty} \setlength{\paperwidth}{8.5in} \setlength{\paperheight}{11in}

\setlength{\topmargin}{0.00in} \setlength{\headsep}{0.00in} \setlength{\headheight}{0.00in} \setlength{\evensidemargin}{0.00in} \setlength{\oddsidemargin}{0.00in} \setlength{\textwidth}{6.5in} \setlength{\textheight}{9.00in} \setlength{\voffset}{0.00in} \setlength{\hoffset}{0.00in} \setlength{\marginparwidth}{0.00in} \setlength{\marginparsep}{0.00in} \setlength{\parindent}{0.00in} \setlength{\parskip}{0.15in}

\usepackage{html}

% this is the default PlanetMath preamble. as your knowledge % of TeX increases, you will probably want to edit this, but % it should be fine as is for beginners.

% almost certainly you want these \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsfonts}

% used for TeXing text within eps files \usepackage{psfrag} % need this for including graphics (\includegraphics) %\usepackage{graphicx} %\usepackage{pstricks,pst-all} %\usepackage[pdftex]{graphicx} \usepackage[dvips]{graphicx} % for neatly defining theorems and propositions %\usepackage{amsthm} % making logically defined graphics %\usepackage{xypic} %\usepackage{import}

% there are many more packages, add them here as you need them

% define commands here %\import{./}{inkscapeTest2.pdf_tex}

\begin{document}

Test image using Inkscape

\begin{figure}[h] \centering \includegraphics{inkscapeTest}

\centerline{Figure 1: Latex and eps images} \label{Figure1} \end{figure}

Save Inkscape drawing to eps with option export area is drawing, then include the package pdftex graphicx and psfrag (see preamble)

Even better, the newest version 0.48 has option to save as \htmladdnormallink{pdf}{http://planetphysics.us/encyclopedia/LebesgueMeasure.html} and then choose option to use Latex. (not working on PP yet)






\end{document}