New answers tagged

0

\documentclass{article} \usepackage[active,tightpage]{preview} \usepackage{amsmath} \pagestyle{empty} \begin{document} \begin{equation} 1-\strut\displaystyle\frac{2\,M}{r}, \quad \text{for}\, r>R, \end{equation} foo $ xy=f(x) $ bar foo \[ dy=g(x) \] bar \end{document} Latex to SVG cmd $latex test.tex $dvisvgm.exe ...


1

It's easy to use these icons with lua/xelatex and fontspec. Note they exist as a True Type font, with family name fontcustom, and font file foundation-icons.ttf: \documentclass{article} \usepackage[x11names]{xcolor} \usepackage{array} \usepackage{fontspec} \newfontface\FI{fontcustom}%[ \def\fiPhoto{\FI{\symbol{"F195}}} \def\fiFolder{\FI{\symbol{"F150}}} \...


2

You can use the \includesvglayer command from mycommands.sty (a package I've written to group common utilities of this kind). It calls the Python script inkscape2scenes.py (see branch dev) that calls inkscape to export the combinations of layers defined within the SVG to separate PDF + text overlayed using the picture environment within LaTeX (usual PDF+...


2

Since svg loads subfig, which is in turn incompatible with subcaption,there's not left: Use \subfloat inside of a figure environment. The subfigure package is obsolete and shouldn't be used any longer! \documentclass{article} \usepackage{graphicx} \usepackage{svg} \usepackage{subfig} \begin{document} \begin{figure}% \centering \subfloat[First.]{\...



Top 50 recent answers are included