Skip to content

lumeng/AlphaTeX

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alphatex

========

AlphaTeX is down until the Wolfram Cloud becomes publicly available! Please check back soon!

AlphaTeX is a LaTeX package which incorporates the typesetting ease and control of LaTeX with the power of the Wolfram Language. The goal of AlphaTeX is to provide the most complete, powerful and self-sufficient typesetting environment.

Please see AlphaTeX-Demo.pdf for fuller documentation

Use Instructions

  1. Download alphatex.sty and put it in the same directory as your .tex document.
  2. Add \usepackage{alphatex} to your preamble.
  3. Compile your document using pdflatex --shell-escape your-document.tex (this step requires that curl is installed, wget compatibility coming soon)
  4. Enjoy cool documents!

AlphaTeX is a work in progress! For now it will only be available for a few months. Please email me with bugs/suggestions/comments!

Commands

\calc{}

This command evaluates a mathematical expression, taking Wolfram Language syntax. For example

\calc{Exp[I*Pi]}

will compile to

Neg1

\graphic{}

This command generates a graphic. For example,

\graphic{Plot[Sin[x],{x,0,2 Pi}]}{sin}

will generate the following graph and make it available to your LaTeX document in the image file sin.png.

\begin{figure} 
\centering
\includegraphics[width=0.8\textwidth]{sin.png}
\caption{Plot of sin(x) generated with the Wolfram API}
\end{figure}

Sin

\WolframAlpha{} and \WolframAlphaMath{}

Take in a Wolfram Alpha query. For example

$\WolframAlpha{ what is the biggest city in china }$

will compile to Shanghai.

\dataplotTXT{}

\dataplotTXT{} allows for data which is stored in the same directory as a .tex file to be graphed in the compiled document.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published