# Micro QR and rectangular Micro QR in PDF

Small codes fit small spaces: Micro QR for tiny square marks and rectangular Micro QR for label edges.

Space-constrained codes: Micro QR for tiny square marks, rectangular Micro QR for label edges, auto-sized, fixed to a version or pinned to a height.

- PDF: https://legivel.com/examples/barcodes-qr-codes/micro-qr-rmqr.pdf
- Page: https://legivel.com/examples/barcodes-qr-codes/micro-qr-rmqr
- Open in the editor: https://legivel.com/markdown-to-pdf?sample=barcode-compact
- More barcodes and QR codes in Markdown to PDF: https://legivel.com/examples/barcodes-qr-codes

## Markdown source

````markdown
# Compact codes

Micro QR takes a quarter of a QR's footprint, for short payloads such as a serial number:

```barcode microqr
A-4172
```

A fixed version, for a run of labels that must all be the same size:

```barcode
type: microqr
data: LOT-0426
version: M3
ec: M
```

Rectangular Micro QR fits where a square never will, on the edge of a vial or a cable tag:

```barcode rmqr
https://example.com/t/AB12
```

Pin the height and the width is chosen for you:

```barcode
type: rmqr
data: TUBE-0418-07 KEEP COLD
fixed-height: 9
ec: H
```
````
