Featured Book

LaTeX Beginners Guide

Supporters and Partners

Sponsored by DANTE e.V.: The German speaking TeX Users Group
TeXnique.fr - questions & réponses sur LaTeX
TeXwelt - Fragen und Antworten zu LaTeX
TikZ Library for Structural Analysis PDF Print E-mail
(20 votes, average: 4.90 out of 5)
LaTeX - Graphics, Figures & Tables
Written by Jürgen Hackl   
Sunday, 10 March 2013 11:58

At university it is always a very time consuming work to create new assignments, and tests; especially when those tasks include drawing graphics.

In the field of structural engineering those small structures are a key part for teaching. For this reason I developed, in cooperation with the Institute for Structural Analysis at the Graz University of Technology, a TikZ library for Structural Analysis.

There are two different types of libraries available: one for 2D structures (structuralanalysis.sty) and one for 3D structures (3dstructuralanalysis.sty). In the following article only the 2D library will be discussed, but the principles and methods are the same for 3D structures.



TikZ is a very powerful tool; however, unfortunately not everyone is used to this part of LaTeX. Therefore, in addition to the creation of the library the second goal was to keep the usage as simple as possible. So that:

  • anyone can use this library without (deeper) knowledge in TikZ
  • skilled users can easily modify and customise the code
  • the principle of this library can be used for any other library

Getting Started


Download the .sty file in the right directory and add it to the LaTeX file like:

LaTeX Environment

Like every TikZ graph, needs also this library the


Basic Commands

The library provides 10 different commands:

  • \point
  • \beam
  • \support
  • \hinge
  • \load or \lineload and \temperature
  • \internalforces
  • \dimensioning
  • \influenceline
  • \notation
  • \addon

For each element (command) are different options available. Obligatory options are marked with {curley brackets} and optional values are marked with [square brackets]. The first type is a must have criteria. In contrast, the optional input is not required to be entered.

An easy example is the following single force:

\load{type}{insertion point}[rotation][length or included angle][loaddistance];


More specific information about the elements and their options can be found in the manual. The manual is written in German, but section 1 provides a table with all elements and options; furthermore, the code is also given for each picture in the manual.


The easiest way to create a structure is the list above, starting with \point and ending with \addon.

The following examples shall give a first impression how drawings can be generated. In the manual both examples are explained in detail.

2D Simplified Roof









     \notation{1}{b}{$2$}[below right=2mm];

2D Simplified Roof

3D Support Construction

By using the library 3dstructuralanalysis, the following graph can be created in a very short time:









     \dnotation{1}{f}{$q=10~kN/m$}[above left=3mm];
     \dnotation{1}{b}{$A$}[below left];
     \dnotation{1}{d}{$B$}[below left];

3D Support Construction



List item
Name *
Email (For verification & Replies)
ChronoComments by Joomla Professional Solutions
Submit Comment

Latest Forum Posts

Re: Font of enumerate
04/10/2015 11:08, Johannes_B

Re: \hspace before \section
04/10/2015 10:54, Johannes_B

Re: how is /Library/TeX/texbin added to $PATH
04/10/2015 10:43, josephwright

Re: Trying to compile a template no avail
04/10/2015 00:24, Stefan_K

Re: Trying to compile a template no avail
03/10/2015 23:29, mescal

Re: Trying to compile a template no avail
03/10/2015 22:50, Stefan_K

Re: Trying to compile a template no avail
03/10/2015 20:13, Johannes_B

Re: Noob here...trying to compile a template but to no avail
03/10/2015 20:05, mescal

Trying to compile a template no avail
03/10/2015 19:53, mescal

Re: Lyx & El Capitan
03/10/2015 19:52, bobbydd21