Questions tagged [inkscape]

{inkscape} concerns the free vector-based drawing software InkScape

Filter by
Sorted by
Tagged with
72
votes
2answers
79k views

Exporting from Inkscape to LaTeX - via TikZ

I know only the very basics of TikZ, having only used it to produce a pretty flow chart for one of my documents. I recently learned that you can use Inkscape and export to TikZ. What are the ...
25
votes
3answers
1k views

Aligning a text in 3d diagram

This question led to a new library in TikZ: perspective (PGF manual, chapter 63) I have a 3d object created with inkscape as shown below: Now I am trying to place a text in the same orientation as ...
20
votes
6answers
12k views

sharelatex: PDF inclusion: required page does not exist <5>

I checked the other question similar to this issue yet I could not find a proper solution for the issue I am facing for including an .svg file which is converted using inkscape with pdf+latex option ...
19
votes
2answers
7k views

Creating a drop shadow with guassian blur

How can I add a drop shadow to a \includegraphics picture? The effect should be very minute just to be a little bit eye pleasing. I know you can use \shadowbox in fancybox package but the output would ...
16
votes
6answers
5k views

Inkscape SVG with opacity exported to PDF in pdflatex document not displayed correctly on Mac OS X

I use Inkscape to create graphics which I export to PDFs in order to include them into a LaTeX documents (with \includegraphics and using pdflatex). I didn't notice that there is something wrong until ...
14
votes
1answer
3k views

svg from inkscape -- doesn't work in xelatex?

I want to make use of "svg in tex" technology. Here's a tex: \documentclass{article} \usepackage{color} \usepackage{graphicx} \newcommand{\executeiffilenewer}[3]{% \ifnum\pdfstrcmp{\...
12
votes
4answers
20k views

How to use LaTeX with Inkscape (MAC OS X)

I've seen somebody asked this question a year ago, but no answers given so I'm hoping this might attract some more/new/different attention. Simple question. I want to use LaTeX with Inkscape on mac. ...
11
votes
1answer
846 views

inkscape2tikz: exact text positioning

Take the following screenshot from Inkscape: where the "baseline" of strings Pa and pa are snapped to the black line. This is the LaTeX output once the graphic is converted with inkscape2tikz: As ...
11
votes
6answers
9k views

Ensure position of latex code in Inkscape Graphic?

I use Inkscape to create some vector graphics, but I want any text on that graphic being compiled by Latex. Therfore I use the option of Inkscape to create a seperate .pdf_tex file which contains the ...
10
votes
3answers
8k views

How to scale text in SVG

I use Inkscape to convert an SVG to pdf latex, after the conversion I want to scale the image so it matches the second image. But the text does not scale accordingly to the boxes. I use the following ...
10
votes
2answers
8k views

Inkscape "pdf + latex" export: linebreak in exportet text

sorry for this question without working example. I am exporting MANY graphics from Inscape to "pdf + latex". All texts over 2 lines appear online in one line. Here is the code (but you don't have the ...
10
votes
3answers
805 views

How do I make a script to make inkscape TikZ more human readable

When I export a svg file from inkscape to TikZ, the result is often huge, and not very human readable. I would like to write a perl script for post processing the output. The script should be able to: ...
9
votes
3answers
4k views

LibreOffice + Inkscape EPS-Latex

I'm trying to import a graphic created in LibreOffice Draw in a LaTeX document. So far I've tried the Way: Export Document to SVG file. Open with Inkscape and Export using eps+latex Including ...
8
votes
1answer
17k views

Text size in inkscape

I use the pdf+tex output for inkscape drawings so image fonts match document fonts and TeX can render the mathematics. When I scale the image for inclusion in my document, text does not scale (a well ...
8
votes
1answer
714 views

proper tool for charts in tex

I have scanned data graphics in a large ms written in TeX (of course). For copyright reasons I need to redraw these. My publisher may (sadly) decide not to use my source directly, so will need access ...
8
votes
1answer
7k views

Export to TikZ path in Inkscape

I'm currently using Inkscape 0.48.4 (64 bits) on Windows 8. I downloaded the inkscape2tikz extension, copied the three files on the lower left and put them in the inkscape/share/extensions directory. ...
8
votes
0answers
259 views

Included PDFs alter Beamer colors [closed]

I am compiling a Beamer presentation on Ubuntu using PDF figures output from Inkscape. The colors on certain slides are wrong. This appears to be caused by including certain figures, and based on my ...
7
votes
1answer
46k views

Including pdf_tex images from inkscape

I am trying to use pdftex to lay out a document including images made in inkscape. From inkscape I can output the images as pdfs with accompanying pdf_tex files and put these in a figure environment. ...
7
votes
1answer
2k views

SVG from Inkscape to LaTeX ruins typesetting

I would like to use the .pdf_tex option for my SVG images exported from Inkscape because it's an amazing feature but it doesn't work as intended. What I do: Export image from Inkscape Integrate into ...
6
votes
2answers
2k views

svg package \includesvg with underscores in svg

I have an SVG file that includes text with underscores. When I include the svg with the \includesvg command (from svg package), I get an error that results from the .pdf_tex file containing text with ...
6
votes
1answer
636 views

Pictures from Inkscapes pdf+LaTeX export positioned wrong in nodes

Sometimes I use Inkscape to add some graphical elements and text to my pictures. Inkscape allows to export this as pdf+LaTeX, where the pdf contains the picture and all graphical elements and the ...
5
votes
2answers
438 views

Standalone picture with Tikz gets an extra white space

I am trying to play with Tikz, to create standalone figures, with the snippet below: \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage{tikz} \begin{document} \definecolor{cff0000}{...
5
votes
2answers
893 views

Big diagram in LaTeX with the help of PGF/TikZ

I managed to make this big diagram in Inkscape adding the codes in LaTeX using the plugin textext. See this question for more. I wish I knew how to draw the big diagram about dual linear spaces with ...
5
votes
1answer
944 views

How to draw a Black Hole/Near Horizon Geometry in TikZ?

In general relativity and high energy physics people are often using visualizations of black holes or special geometries like the near-horizon geometry of a black hole. How would someone draw those ...
5
votes
2answers
8k views

change the size of the text when \input .pdf_tex file generated by Inkscape

I am trying to use inkscape to draw mathematical figures. Thre are example codes given in Inkscape manual and to include the PDF file with LaTex overlay (which is generated by file -> save as PDF and ...
5
votes
1answer
3k views

pdf_tex file not found

I'm trying to include an image (edited in Inkscape) in my document. However, everytime I run the file , it says "File not found". In Inkscape i have saved the document as .pdf and used the latex ...
5
votes
1answer
7k views

Problem inserting .pdf_tex file from Inkscape

I am trying to insert an image from Inkscape. I saved it as a pdf, checking the PDF + Latex option. Inside my Latex file, I wrote the following code : \begin{figure} \centering \def\svgwidth{...
5
votes
1answer
1k views

Resize braces arbitrarily

I'm trying to get arbitrarily big braces in some graphs I have to make, using Inkscape with the PDF+LaTeX option. The problem I have is that simply resizing a bracket makes it stretch: I'm aware that ...
5
votes
2answers
3k views

Font problem when editing TeX produced pdf in external software [closed]

When I try to import TeX/LaTeX produced pdf code in Inkscape, then I loose a lot of the interletter and interword spacing, almost all interword spacing is shown wrong, the exponents are not at their ...
5
votes
2answers
1k views

How not to extract text when using \includesvg?

When using the includesvg macro that is provided by the svg package to include an svg image, all "text components" of the image (see the manual) are separated into a pdf_tex file (which is basically a ...
5
votes
1answer
3k views

Can TexText in Inkscape only load certain packages? - Or, how to recreate a page from a thread-bound Chinese book?

I've finally managed to install Inkscape 0.48 on my Mac OS X Mountain Lion. My TeX distribution is TeX Live. I've installed TexText 0.4.4. and I can use the extension to write simple LaTeX text (I ...
4
votes
1answer
296 views

How to draw a tree-like diagram with partially shaded nodes? [closed]

I would like to draw this figure but I don't know how I can do this. Can someone help me and give me advice? I appreciate any help! Here are at least the input symbols: \documentclass{article} \...
4
votes
2answers
1k views

Extract code LaTeX from a figure create with Inkscape

I'm trying to understand how Inkscape works with LaTeX? What are the steps to export any figure drawn with this program in LaTeX language? Is the code TikZ or something else? Could someone suggest me ...
4
votes
2answers
1k views

Replacement for \curveto in the tikz library - Inkscape export svg to tikz

I need to draw a complex curve and I wanted to help a vector program Inkscape. In first step I tried to use Inkscape to TikZ exporter (http://code.google.com/p/inkscape2tikz/)to convert curve to tikz, ...
4
votes
1answer
714 views

How to escape underscores in the resulting .pdf_tex file?

According to this: https://tex.stackexchange.com/a/2107/41370 I have to use inkscape to generate a PDF file and a corresponding .pdf_tex file. Since my original SVG file contains a class diagram it ...
4
votes
1answer
3k views

Error while including inkscape image in tex file

I am using the Tex Live 2013/Debian on my Ubuntu 14.04 I exported an image as PDF in Inkscape (and checked the PDF+Latex option). To include the image in my latex file, I used the following command \...
4
votes
3answers
567 views

Insert MathTime Pro 2 math in Inkscape

I'm using Inkscape (and TeX Live 2009/Debian, with MTPro2 fonts installed), and I want to insert LaTeX math code in images created in Inkscape and have the math rendered in the MTPro2 font. I'm aware ...
4
votes
1answer
2k views

Perfect-centering characters in a box

I have made in Inkscape a page layout with some boxes here and there that should contain a single Kanji character. These Kanji should be horizontally and vertically centered in the box. At the very ...
4
votes
0answers
538 views

Svg to Tikz doesn't work

I'm using inkscape to draw a simple picture and i saved with svg extension I want to convert this svg file to Tikz code for latex I download the extensions from github https://github.com/paaguti/...
4
votes
0answers
2k views

Scale svg according to font size [closed]

Assume this example document: \documentclass[12pt,leqno,a4paper]{article} \usepackage{graphicx} \usepackage{svg} \begin{document} \begin{figure}[htbp] \centering \resizebox{0.75\textwidth}{!}{\...
3
votes
2answers
3k views

How to convert an SVG image with LaTeX in Inkscape, to PNG?

I'm using Inkscape to draw images, together with the ability to produce the separate LaTeX file with all the text, as described here. So far, this has been working great, but now I am restricted to ...
3
votes
2answers
2k views

Including and updating of pdf_tex files from svg with inkscape in directory of choice

I'm working on a way to have my .svg exported with inkscape to .pdf_tex if the .svg file was changed. That allows me to change the figure, hit Ctrl+S and then just compile my tex file. I adapted some ...
3
votes
1answer
2k views

Inkscape LaTeX output throws "undefined control sequence" error

I'm trying to include a graphic I make in inkscape into my LaTeX file. Here is the code that inkscape generated: %LaTeX with PSTricks extensions %%Creator: inkscape 0.48.4 %%Please note this file ...
3
votes
1answer
3k views

How to ensure the text position importing a draw from Inkscape?

I'm doing my draws using inkscape, but when put them in LaTeX, the text appears randomly. The following picture is the draw that I made in inkscape The code that I use to put it in LaTeX is: \...
3
votes
1answer
416 views

WARNING: File path includes directory that doesn't exist

Version Information ConTeXt mtx-context | ConTeXt Process Management 0.63 mtx-context | mtx-context | main context file: /opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv ...
3
votes
1answer
4k views

Change text color when inserting a pdf_tex image

I am inserting an image from Inkscape using the pdf + LaTeX option since I want the text to appear in the same font and size as in the rest of my document. Can I change the color of the text? \...
3
votes
1answer
782 views

Add text to .eps before adding compound labels with chemstyle

I am writing a chemistry report and I have a few graphs that I need to insert. As the series labels I want to have the compound number (assigned by chemstyle) + some more text. I use ggplot2 to ...
3
votes
1answer
2k views

Inkscape unable to render latex text

I am trying to render some Latex text in Inkscape on Windows, but I keep getting the error Problem during opening C:\Program Files\pstoedit\drvmagick.dll: Unable to find the specified module. I ...
3
votes
1answer
7k views

Avoiding the floating symbols when exporting (eps + Latex) from Inkscape

I am following the CTAN documentation for exporting an SVG image with LaTeX symbols from Inkscape to embed as an EPS figure in my latex document. MWE is below: \documentclass[]{article} \usepackage{...
3
votes
1answer
3k views

Matlab->plot2svg->Inkscape->pdf+latex->includesvg = slow rendering pdf + large file. How to solve that?

I have the following workflow. I use matlab to produce 3D plots with transparency and I want to use the workflow of setting the text inside the figure in latex. I am using Texniccenter and MikTex the ...