Giter Site home page Giter Site logo

kennywei815 / tex4office Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 3.0 9.71 MB

A Microsoft Office add-in which allows users to embed LaTeX codes into Word, Excel, and PowerPoint.

License: Apache License 2.0

TeX 1.36% Batchfile 1.55% Visual Basic 97.09%
office-addin image-processing image-manipulation imagemagick vba

tex4office's Introduction

TeX4Office

TeX4Office is a VBA- and C#-based Microsoft Office add-in which allows users to embed LaTeX codes into Word, Excel, and PowerPoint easily.

  • Support all MS Office products: Word, Excel, and PowerPoint.
  • Support MS Office 2003 to Office 2016.
  • Mac OS Support is also in massive development.

Prerequisite

You need to install these packages first:

  • Ghostscript for PDF file processing
  • A LaTeX distribution: MikTeX (easier to install on Windows, recommended) or TeX Live (cross-platform)

Quick Start

Install

  1. git clone https://github.com/kennywei815/TeX4Office.git
  2. cd TeX4Office/
  3. .\setup.bat

Usage

If you know how to use LaTeX, it is very easy to use TeX4Office. Select "New/Edit LaTeX display" from the "Add-Ins" tab of the ribbon, and you will get a editor where you can type your equation:

alt text

Type any valid LaTeX code, and click on "Output". TeX4Office will compile your code into LaTeX, generate an image from it and insert it into Office.

alt text

If you need to change something in the equation, just select the image, then click on "New/Edit LaTeX display" again, and the TeX4Office editor will re-appear so you can edit the LaTeX code.

You can also treat the equation as an ordinary PowerPoint image. For example, it can be grouped, animated, rotated, moved, and resized. Further editing of the equation will preserve all these changes.

When you save the presentation, both the image and the LaTeX code are stored. This means that you can display your presentation on any computer, even computers on which TeX4Office is not installed (no more missing fonts!). Of course, equations can only be edited if you install TeX4Office.

License

Copyright (c) 2017 Cheng-Kuan Wei Licensed under the Apache License.

This software contains code derived from Jonathan Le Roux and Zvika Ben-Haim's IguanaTeX project which is originally released under the Creative Commons Attribution 3.0 License and combined into TeX4Office as a whole under Apache License 2.0 .

tex4office's People

Contributors

kennywei815 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.