Code Monkey home page Code Monkey logo

texvar's Introduction

Description

TexVar (short tVar) is a basic LaTeX math calculations tool written in Lua. For integration into LaTeX, it has to be used together with LuaLaTeX. Compared to software like Mathcad TexVar is a lot more flexible. You can fill custom designed tables with results, do calculations within text documents and print beautiful LaTeX equations. The current version also supports 2D-plotting with gnuplot.

Currently the following operations are supported:

  • Basic math operators
  • Lua math library
  • Matrix and Vector calculations
  • 2D Plots with Gnuplot

Upcoming features/task:

  • Calculations with units
  • Launch project on CTAN

For a better understanding on what TexVar does you should have a look at this presentation on SlideShare.

Download

The download contains the LuaLaTeX-Package and the TexVar-Library,

Dependencies

  • Lua 5.1-5.3
  • LuaLaTeX (contained in MiKTex, TeX Live and MacTeX)
  • GnuPlot 5.0 (only for plotting)
  • Latex Modules
    • luacode
    • amsmath
    • siunitx
    • graphicsx (plotting)
    • color (debuging)

License

TexVar is a free software distributed under the terms of the MIT license.

Getting Started

Manual

The best way to start with TexVar is by reading the manual.

TexVar Manual

Installation

There is no installation needed. The folders tVar and lib only need to be in the same folder your executable file is. For plotting you need to change the path to your gnuplot install with the command:

% Linux and Mac
tPlot.gnuplot_library = "gnuplot"
% Windows
tPlot.gnuplot_library = [==["WINDOWSPATH"]==]

Need more Help?

In case you need further information or help on using TexVar, just send me an email.

Tips

How to disable TexVar calculations

When working together with others on one LaTeX document, using TexVar can cause problems, when only one person has a working version. To temporarily disable TexVar execution you can easily redefine the tVar environment. The following code requires the listings package.

% Instead of
% \usepackage{texvar}
% write
\lstnewenvironment{tVar}{}{}

The advantage of converting the tVar environment into a listings environment is, that the code is still visible but not executed.

texvar's People

Contributors

sebastianpech avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.