Commit e1e97a51 authored by Thomas Winkler's avatar Thomas Winkler
Browse files

Add code highlighting

parent 30964f3e
Loading
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ Source: [TU Darmstadt LaTex Thesis Template](https://github.com/zemirco/tu-darms

### Line graph

```
``` tex
\begin{figure}[htb] 
	\centering
	\begin{tikzpicture} 
@@ -156,7 +156,7 @@ Source: [TU Darmstadt LaTex Thesis Template](https://github.com/zemirco/tu-darms

### Bar charts

```
``` tex
\begin{figure}[htb] 
	\centering
	\begin{tikzpicture} 
@@ -204,7 +204,7 @@ Source: [TU Darmstadt LaTex Thesis Template](https://github.com/zemirco/tu-darms

### Stacked bar charts

```
``` tex
\begin{figure}[htb] 
	\centering
	\begin{tikzpicture} 
@@ -245,7 +245,7 @@ Source: [TU Darmstadt LaTex Thesis Template](https://github.com/zemirco/tu-darms

### Pie charts

```
``` tex
\newcommand{\slice}[4]{
  \pgfmathparse{0.5*#1+0.5*#2}
  \let\midangle\pgfmathresult
@@ -284,7 +284,7 @@ Source: [TU Darmstadt LaTex Thesis Template](https://github.com/zemirco/tu-darms

### Two y-axes

```
``` tex
\begin{figure}[htb] 
	\centering
	\begin{tikzpicture} 
@@ -347,7 +347,7 @@ Source: [TU Darmstadt LaTex Thesis Template](https://github.com/zemirco/tu-darms
Before
![Without text replacement](https://s3.amazonaws.com/zeMirco/github/latex-template/psfrag_without.png)

```
``` tex
\begin{figure}[htb]
	\centering
	\subfloat{
@@ -377,7 +377,7 @@ After

### Electronic circuits

```
``` tex
\begin{tikzpicture}[
	circuit ee IEC,
	set inductor graphic=var inductor IEC graphic,