Now if I could only figure out how to do Chemistry and Graphs with LaTeX...
\begin{equation}
Fe_2O_3 + 2 Al \rightarrow 2 Fe + Al_2O_3
\end{equation}
\usepackage{xymtex}
.
.
.
\pyridinev{4==Cl}
\usepackage{lewis}
.
.
.
\lewis{F}{.}{.}{.}{.}{}{}{.}{.}--\lewis{F}{}{}{.}{.}{.}{.}{.}{.}
Its usually easier to graphs in an external package, and just add them to the document as images. Matlab works quite well for this as you can export directly to .eps.How do you actually add images?
Chemistry typesetting should be fairly easy. I can't see it being much more then a mixture of super and sub-scrips around a few basic symbols.:Code: [Select]\begin{equation}
Fe_2O_3 + 2 Al \rightarrow 2 Fe + Al_2O_3
\end{equation}Show Image(http://geekhack.org/attachment.php?attachmentid=3390&stc=1&d=1248805325)
For structural stuff take a look at chemtex and xymtex.
(note, I'm not a chemist, so I have no idea what this means)Code: [Select]\usepackage{xymtex}
produces an output like :
.
.
.
\pyridinev{4==Cl}Show Image(http://geekhack.org/attachment.php?attachmentid=3391&stc=1&d=1248806157)
There is a lewis package specifically for that, tho it doesn't seem to be overly elegant.Code: [Select]\usepackage{lewis}
produces :
.
.
.
\lewis{F}{.}{.}{.}{.}{}{}{.}{.}--\lewis{F}{}{}{.}{.}{.}{.}{.}{.}Show Image(http://geekhack.org/attachment.php?attachmentid=3392&stc=1&d=1248807062)
\usepackage{graphicx}
.
.
.
\begin{figure}
\includegraphics[]{img/dc-dc-l-graph}
\end{figure}
\begin{figure}
\begin{center}
\includegraphics[scale=.4]{img/dc-dc-l-graph}
\end{center}
\caption[Inductor selection guide]{DC-DC converter inductor selection guide.}
\label{dc-dc-inductor-selection-graph}
\end{figure}
\includegraphics[width=.8\textwidth, height=.45\textwidth]{res/car_res/pascar4_simple}\\
For drawing I'll be using Inkscape for now. Gnuplot graphs can be included easily, as the latter has an "epslatex" output terminal these days.
PNG are also vector based so they scale nicely as well. You can also add pages from other PDF files easily too.
PNG aren't vector graphics I'm afraid. Still, nothing's hindering you from exporting your vector graphics as PDF--almost any graphics program has that option.
-huha
Oh, does anyone know of a LaTeX package for logic gates?
"pgf" seems to be useable. These m4 macros (http://www.ctan.org/tex-archive/graphics/circuit_macros/) may also be useful.
I might prefer an external drawing app here.
Oh, does anyone know of a LaTeX package for logic gates?If you're just trying to get the ideas across it may be better to stick with Boolean notation, much quicker to type out and captures all the same information:
\begin{equation}
\lnot ( A \land B )\lor C
\end{equation}
PNG aren't vector graphics I'm afraid. Still, nothing's hindering you from exporting your vector graphics as PDF
Although, it seems easier to just incorporate it as an EPS...