2024-05-11 14:54:13 +02:00
|
|
|
# Wi-Fi printer
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Put [`wifi.cls`](./wifi.cls) file along with your `.tex` file.
|
|
|
|
|
|
|
|
In your `.tex` file :
|
|
|
|
|
|
|
|
```latex
|
|
|
|
\documentclass{wifi}
|
|
|
|
```
|
|
|
|
|
|
|
|
Options available:
|
|
|
|
|
|
|
|
| Option | Meaning | default |
|
|
|
|
| :------: | :--------------------- | --------- |
|
|
|
|
| `size` | Font size | `45` |
|
|
|
|
| `qrcode` | QR codes height | `7cm` |
|
|
|
|
| `border` | Border around QR codes | No border |
|
|
|
|
|
|
|
|
Commands available:
|
|
|
|
|
|
|
|
| Command | Meaning |
|
|
|
|
| :-----------------------: | :--------------------------------------- |
|
2024-05-11 15:02:50 +02:00
|
|
|
| `\qrc{password}{ssid}` | Insert a QR code |
|
2024-05-11 14:54:13 +02:00
|
|
|
| `\insertspaces{password}` | Insert a little space every 4 characters |
|
|
|
|
|
2024-05-11 15:00:39 +02:00
|
|
|
## [Examples](./examples)
|
2024-05-11 14:54:13 +02:00
|
|
|
|
|
|
|
See [examples](./examples) of use.
|
2024-05-11 15:00:39 +02:00
|
|
|
|
|
|
|
| [`one.tex`](./examples/one.tex) | [`two.tex`](./examples/two.tex) |
|
|
|
|
| :-----------------------------------: | :-----------------------------------: |
|
|
|
|
| ![](https://i.imgur.com/l1cxXGW.jpeg) | ![](https://i.imgur.com/9yAS9sD.jpeg) |
|