A live preview for TikZ drawings
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmake
data
dist
docs
modules
screenshots
.gitignore
CMakeLists.txt
LICENSE
README.md
ZoomImage.cpp
ZoomImage.h
ZoomScrollImage.cpp
ZoomScrollImage.h
logo.png
logo.svg
main.cpp
mainwindow.cpp
mainwindow.h
makedeb.sh
resource.qrc

README.md

LiveTikZ

A live preview for TikZ drawings.

Usage

LiveTikZ is a split-window application, consisting of a powerful text editor for writing TikZ code and a live preview which automatically renders the TikZ code as image.

LiveTikZ uses KDEs KatePart as powerful rich-text editor component and thus provides all the features known from Kate text editor, which includes

  • Syntax Highlighting
  • Text and bracket completion
  • Code folding
  • Automatic indentation
  • Search and replace including escape sequences and regular expressions
  • Dynamic and static word wrap
  • Block selection mode
  • VI Input mode

To render the TikZ code, LiveTikZ relies on pdflatex (either directly or through the latexrun wrapper) to compile the code and Poppler to render the PDF file.

Installation

LiveTikZ is a Qt application with KDE dependencies for the editor component. LiveTikZ can either be installed using the provided Debian packages or compiled from source.

Prerequisites

The following packages are required to compile from source:

  • build-essential
  • cmake
  • extra-cmake-modules
  • qt5-default
  • libkf5parts-dev
  • libkf5texteditor-dev
  • libpoppler-qt5-dev
  • libpoppler-cpp-dev
  • libpoppler-glib-dev
  • kdelibs5-dev
  • ktexteditor-katepart
  • gettext

Compile

To compile LiveTikZ, simply run

mkdir build
cd build
cmake ..
make -j

The produced binary is build/livetikz. The binary can also be installed for system-wide usage using

sudo make install

Screenshots

LiveTikZ 0.1 LiveTikZ 0.1 - Beamer support