upb-lea / Inkscape_electric_Symbols

Electrical symbol library for the vector graphics program Inkscape.
Creative Commons Zero v1.0 Universal
340 stars 51 forks source link
electric-circuits electrical-circuits electrical-engineering inkscape inkscape-svg inkscape-templates power-electronics symbols-collection

Electrical Drawing Symbols for Inkscape

Symbols for electrical engineering applications. Contains block diagrams and symbols. Typically used for technical drawings in

After doing so, open Inkscape_Symbols_All.svg and copy the symbols of interest to your Inkscape worksheet.

Optional: If you want to receive updates, clone this repository by using git:

cd /Documents/Folder/of/Interest   
git clone git@github.com:upb-lea/Inkscape_electric_Symbols.git

Optional: To update the symbols library, use

git pull

Optional: Click the watch button to receive update notifications.

Overview

Library overview

Using the library (Important!)

How to use the library

Examples

Example Boost Converter

Boost converter

Example Dual Active Bridge Converter

Dual active bridge

Example Switching Behavior

Switching behavior

Set drawing size

The best thing to do before you start drawing is to consider where the drawing will be used. For example, if the drawing will be used on an A4 (210 mm width) paper with 2.5 cm margins on each side, set the drawing width within Inkscape to 160 mm. For two-column text, use 80 mm image width. This way you will get good drawing results relative to the written text.

Use high quality vector graphics inside your documentation software

Follow the steps to use vector graphics in your documentation software. The vector graphics are rendered in very good image quality, unlike conventional png images. However, each program has its own characteristics and requires a different file format.

LaTeX

LibreOffice

Drag and drop the Inkscape .svg-file into your writer/impress document.

MS Office

Usage of Inkscape integrated symbols (Beta!)

Install the symbol sheet into the following directory:
Windows: C:\Users\your_usersname\AppData\Roaming\inkscape\symbols
Linux: ~/.config/inkscape/symbols
macOS: /Users/your_usersname/.config/inkscape/symbol

Open Object -> Symbols in a new document. In the symbol drop-down menu, choose Inkscape_Symbols_All. All symbols are searchable by name.

Note: Not all symbols from the main document are included here.

Use LaTeX font inside the figures for LaTeX documents

Option 1: Use font by LaTeX

Save your drawing as .pdf file. While saving, use the following option in the export dialog. pdf export dialog
Now, your figure is exported e.g. as example_figure.pdf_tex. Also, LaTeX formulas are supported using the .pdf_tex format.

LaTeX example code, to include this figure into your LaTeX document. Add the figure path \graphicspath{{figures/}} to your settings.

\begin{figure}[htb]
    \centering
    \def\svgwidth{\linewidth}
    \input{figures/example_figure.pdf_tex}
    \caption{This is a pdf figure, where the font is made by \LaTeX.}
    \label{fig:example_figure}
\end{figure}

Option 2: Inkscape integrated formula editor

Navigate to Extensions -> Text (or Render, depending on the Inkscape version) -> Formula (pdflatex) and type your formula using LaTeX syntax.

Option 3: Install LaTeX font as system font (Linux users only)

Debian based systems (untested):

apt install lmodern

Arch Linux based systems:

pacman install otf-latin-modern otf-latinmodern-math

Now, you will find the font Latin Modern Roman inside your Inkscape fonts.

Bug Reports

Please use the issues report button within GitHub to report bugs.

Contributing to this repository

For new symbol requests, please open an issue with a single example drawing attached. We will then redraw the symbol, modify it if necessary to fit with the other symbols, and add it to the library.

Changelog

Find the changelog here.

Troubleshooting