2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/documents/siunitx-pixel/siunitx-pixel.tex

16 lines
638 B
TeX
Raw Normal View History

2014-10-02 14:05:26 +02:00
\documentclass[a4paper,9pt]{scrartcl}
\usepackage{amssymb, amsmath} % needed for math
\usepackage[utf8]{inputenc} % this is needed for umlauts
\usepackage[ngerman]{babel} % this is needed for umlauts
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
\usepackage[margin=2.5cm]{geometry} %layout
\usepackage{hyperref} % links im text
\usepackage[binary-units = true]{siunitx} % this package is for units!
\DeclareSIUnit\px{px}
\begin{document}
My display has a resolution of $\SI{1366}{\px} \times \si{768}{\px}$.
The speed of a modem is $\SI[per-mode=symbol]{57.6}{\kilo\bit\per\second}$
\end{document}