Conversion Tools ⇒ lwarp and tikz
lwarp and tikz
--><img src="lateximages/lateximage-1.svg" alt="image" style="" class="lateximage"></span> <br />""" in the html and nothing in lateximages.
Something not understood here but what? please help,
Cheers, janwillem
The source:
\documentclass{book}
%
%use XeLaTeX
\usepackage{fontspec}
\usepackage[mathjax]{lwarp}
%
%\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\setlength\parindent{0pt}
\begin{document}
The equation: $ x = \sqrt{2} $ \\ \\
Figure embedded\\ \\
\begin{tikzpicture}[thick,scale=0.5, every node/.style={scale=0.5}]
\draw[green, fill=green]
(10.000000,2.688000) --
(7.273000,2.688000) --
(7.273000,3.883000) --
(5.758000,3.883000) --
(5.758000,2.688000) --
(4.243000,2.688000) --
(4.243000,3.883000) --
(2.727000,3.883000) --
(2.727000,2.688000) --
(0.000000,2.688000) --
(0.000000,1.195000) --
(2.727000,1.195000) --
(2.727000,0.000000) --
(4.243000,0.000000) --
(4.243000,1.195000) --
(5.758000,1.195000) --
(5.758000,0.000000) --
(7.273000,0.000000) --
(7.273000,1.195000) --
(10.000000,1.195000) --
(10.000000,2.688000) ;
\end{tikzpicture}\\
Figure shown
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
lwarp and tikz
From the command line, enter "lwarpmk limages" to process the LaTeX images, then reload the web page to update the display.
If you remove the mathjax option, thus selecting SVG math images, then "lwarpmk html" followed by "lwarpmk limages" will create SVG images for the math as well. Recent versions use a hash function to reuse inline math where possible, and also process images in parallel.
Recent versions of the lwarpmk utility also can automate the processing of indexes and glossary, and batch convert the user's PDF figures into SVG images.
As of this writing lwarp has support for more than 300 packages. Many are nullified and provided only for source-level compatibility, but a large number of additional packages work as-is.
The next version supports asymptote, and dvi plus postscript may be coming some day as well.
Brian
BDTechConcepts.com
lwarp and tikz
BDTechConcepts.com