Category Archives: Uncategorized

Pine64

Pine64
Two New Boards from PINE64,

FreeBSD

FreeBSD on Allwinner (sunxi) systems
RaspBSD on the Pine64
github.com/tomtor/image-freebsd-pine64

Linux

Pine A64 Software Release, PINE A64(+)
SOPINE Software Release, PINE A64-LTS
Pine A64 Board Quick Start Guide & Benchmarks with Android 5.1
armbian Pine64

Windows IoT

Microsoft Azure IoT SDKs
Windows 10 IoT Core for Pine64 Release Note (Beta_20160809)
How to Deploy a Windows 10 IoT for PINE64 or BPI-M64

LaTex Cheat-Sheet

Symbole und Zeichen

LaTeX/Page Layout
LaTeX-Kompendium: Für Mathematiker
LaTeX-Kompendium: Sonderzeichen
Liste mathematischer Symbole

Abstände / Leerzeichen

Abstände in LaTex (PDF)
Leerzeichen

Silbentrennung

LaTeX-Wörterbuch: Silbentrennung

Mehrspaltige Umgebung

LaTeX-Wörterbuch: multicols
Multiple columns

\usepackage{multicol}

\begin{document}	
    \begin{multicols*}{2}
        \lipsum[1-8]
    \end{multicols*}
\end{document}

Unterschiedliche Spaltenbreiten

Different column widths using multicol

\usepackage{vwcol}

\begin{document}	
    \begin{vwcol}[widths={0.6,0.4},
                  sep=.8cm,
                  justify=flush
                  rule=0pt
                  indent=1em]
        \lipsum[1-8]
    \end{vwcol}
\end{document}

Anderes Papierformat

\usepackage[
    left=3mm,
    right=6mm,
    top=5mm,
    bottom=5mm,
    papersize={8cm,28.5cm}
]{geometry}

Einfügen externer LaTex Dateien ins aktuelle Dokument

When should I use \input vs. \include?

\input
\include

Schriftart (Font) setzen

LaTeX font size

Zeilenabstand innerhalb eines Ansatzes

baselineskip, Legt den Zeilenabstand innerhalb eines Absatzes fest.

\baselineskip <Abstand>
\setlength{\baselineskip}{<Abstand>}

Textbreite

Textbreite

\textwidth
\columnwidth
\linewidth          (number of characters per line) 

\showwidth{textwidth}
\showwidth{columnwidth}
\showwidth{linewidth}

Zellen einer Tabelle (array,tabular) zusammenführen (merge)


How to merge columns in a table?

Tabellen Abstände zwischen Zeile/Spalte

How do I change column or row separation in LaTeX tables?
Horizontal Line Separating Steps in Aligned Equation

\setlength{\tabcolsep}{20pt}
\renewcommand{\arraystretch}{1.5}

\arraycolsep=1.5pt\def\arraystretch{1.2}

mdframed – Horizontale Linien

How to create Multilevel Colored Boxes using tcolorbox/any other package?

\cline{1-2}
\hline
\midrule
\rule{length}{thickness}
\noindent\rule{\textwidth}{1pt}
% \draw[option] (x,y) (w,h)
\newcommand{\sepline}[2]{
	\vspace{#1}
	\par\noindent\makebox[\linewidth][l]{%
		\hspace*{-\mdflength{innerleftmargin}}%
		\tikz\draw[thick,dashed,gray!60] (0,0) --%
		(\textwidth+\the\mdflength{innerleftmargin}+\the\mdflength{innerrightmargin},0);
	}\par\nobreak
	\vspace{#2}
}

\begin{document}
	\begin{mdmath}
		\begin{flalign*}
			y' &= C \cdot f'(x)
		\end{flalign*}
		\sepline{-1.3cm}{-1.2cm}
		\begin{flalign*}
			y' &= f_1'(x) + f_2'(x)
		\end{flalign*}
	\end{mdmath}
\end{document}

SVG Einbinden in LaTex

SVG -> PDF mit Inkscape

"C:\Program Files\Inkscape\inkscape.exe"
-z -D
--file=2017_aufgabe3_img.svg
--export-pdf=2017_aufgabe3_img.pdf
--export-latex

Abstand zwischen Formel und Text

Abstand vor und nach den Gleichungen
Wie stelle ich die Abstände vor und nach abgesetzten Gleichungen bzw. Formeln ein?

\abovedisplayskip      % 10pt plus 2pt minus 5pt
\abovedisplayshortskip % 0pt plus 3pt
\belowdisplayskip      % 10pt plus 2pt minus 5pt
\belowdisplayshortskip % 6pt plus 3pt minus 3pt

\setlength\abovedisplayshortskip{0pt}
\setlength\belowdisplayshortskip{0pt}
\setlength\abovedisplayskip{20pt}
\setlength\belowdisplayskip{20pt}
\apptocmd\normalsize{% 
	\setlength\abovedisplayshortskip{0cm}% 
	\setlength\belowdisplayshortskip{0cm}% 
	\setlength\abovedisplayskip{0.2cm}% 
	\setlength\belowdisplayskip{0.25cm}% 
}{}{\undefined} 

Bezeichnungen beim Paket german
Original Übersetzung ggf. Alternativen
\preface Vorwort
\ref Literatur
\abstract Zusammenfassung
\bib Literaturverzeichnis
\chapter Kapitel
\appendix Anhang
\contents Inhaltsverzeichnis Inhalt
\listfigure Abbildungsverzeichnis Abbildungen
\listtable Tabellenverzeichnis Tabellen
\index Index oder Sachregister
\figure Abbildung
\table Tabelle Tafel
\part Teil
\encl Anlage(n) Beilage(n)
\cc Verteiler Kopien an
\headto An
\page Seite
\see siehe
\also siehe auch
\proof Beweis (babel)
\glossary Glossar (babel)

Qt

Tutorials

Crash course in Qt for C++ developers, Part 1
Qt für C++-Anfänger

Installation

Qt

Build

$ qmake project.pro

Switch between Qt4 and Qt5

How do I change which version of Qt is used for qmake?

$ qtchooser -list-versions
4
5
default
qt4-x86_64-linux-gnu
qt4
qt5-x86_64-linux-gnu
qt5

c$ QT_SELECT=qt4 qmake --version
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory

$ QT_SELECT=qt5 qmake --version
QMake version 3.1
Using Qt version 5.9.1 in /usr/lib/x86_64-linux-gnu

Serial

Project ERROR: Unknown module(s) in QT: serialport

$ QT_SELECT=qt5 qmake candle.pro 
Info: creating stash file /home/andreas/src/Candle/src/.qmake.stash
Project ERROR: Unknown module(s) in QT: serialport

$ sudo apt-get install libqt5serialport5-dev

How to use CMake / CMake HowTo

stackoverflow

Debug vs Release in CMAKE
How can I add a flag at the end of the linking command line using CMake?
Cmake target_link_libraries not linking my library
cflags ‘-Wl,-export-dynamic’ vs linker flags ‘-export-dynamic’

Microsoft

Create a CMake Linux project in Visual Studio
Download, install, and set up the Linux workload
Create a Linux MSBuild C++ project in Visual Studio

Blog

Henry Schreiner

CMake: Best Practices (PDF)
ISciNumPy (Blog), A random collection of Science, Numerics, C++, CMake, and Python related topics.
An Introduction to Modern CMake (eBook)
HSF – More Modern CMake (Workshop)
gitlab.com/CLIUtils/modern-cmake-interactive-talk (Talk), A talk first given for PICSciE
LinkedIn: Henry Schreiner

dmerej’s blog

Let’s Build Chuck Norris! – Part 1: CMake and Ninja
Let’s Build Chuck Norris! – Part 2: SQLite and conan
Let’s Build Chuck Norris! – Part 3: A C wrapper
Let’s Build Chuck Norris! – Part 4: Python and ctypes
Let’s Build Chuck Norris! – Part 5: Python and cffi
LinkedIn: Dimitri Merejkowsky

The Ultimate Guide to Modern CMake
LinkedIn: Rico Huijbers

SCHNEIDE BLOG – Softwareschneiderei GmbH

Modern CMake with target_link_libraries

Flameeyes’s Weblog

Why would an executable export symbols?

Meson Build

  • Meson
  • CMake
  • SCons
  • Premake
  • Autotools

A simple comparison

GitHub

github.com/GENIVI/vsomeip/blob/master/CMakeLists.txt