Skip to content

rogolop/Enriques-diagram-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enriques diagram editor

Enriques diagram editor is a web-based graphical editor for Enriques diagrams.

Features

Tips

How to include the downloaded TikZ file in LaTeX

A TikZ file is a plain text file containing a tikzpicture LaTeX environment from the pgf/tikz package, which describes a vector image. It can be embedded into a LaTeX document using the \input command. Alternatively, its contents can be copied directly into the document.

Example:

\documentclass[12pt]{article}
\usepackage{tikz}
\begin{document}

\begin{figure}[htbp]
    \centering
    \resizebox{0.5\linewidth}{!}{
        \input{diagram.tikz} % image here
    }
    \caption{An Enriques diagram from a TikZ file.}
\end{figure}

\end{document}

How to include the downloaded SVG file in LaTeX

An SVG file is a plain text file defining a vector image in the SVG format (an XML-based format compatible with browsers). It can be embedded into a LaTeX document using the \includesvg command of the svg package (this package needs the compile option --shell-escape and depends on Inkscape).

Example:

\documentclass[12pt]{article}
\usepackage{svg}
\begin{document}

\begin{figure}[htbp]
    \centering
    \resizebox{0.5\linewidth}{!}{
        \includesvg{diagram.svg} % image here
    }
    \caption{An Enriques diagram from an SVG file.}
\end{figure}

\end{document}