{"id":22371499,"url":"https://github.com/eagleoutice/fancyqr","last_synced_at":"2026-02-27T19:28:10.212Z","repository":{"id":56849825,"uuid":"435938192","full_name":"EagleoutIce/fancyqr","owner":"EagleoutIce","description":"Package to create fancy QR-codes in LaTeX.","archived":false,"fork":false,"pushed_at":"2024-11-27T07:44:19.000Z","size":183,"stargazers_count":36,"open_issues_count":6,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-30T15:46:59.546Z","etag":null,"topics":["latex","qr","qr-code","qrcode"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EagleoutIce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-07T15:44:59.000Z","updated_at":"2024-11-30T13:53:12.000Z","dependencies_parsed_at":"2024-02-13T15:17:02.146Z","dependency_job_id":"beb277bf-9eb2-4ed3-851c-afe267104117","html_url":"https://github.com/EagleoutIce/fancyqr","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EagleoutIce%2Ffancyqr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EagleoutIce%2Ffancyqr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EagleoutIce%2Ffancyqr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EagleoutIce%2Ffancyqr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EagleoutIce","download_url":"https://codeload.github.com/EagleoutIce/fancyqr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228184270,"owners_count":17881751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["latex","qr","qr-code","qrcode"],"created_at":"2024-12-04T20:20:49.483Z","updated_at":"2026-02-27T19:28:10.200Z","avatar_url":"https://github.com/EagleoutIce.png","language":"TeX","readme":"# fancyqr\n\n[![made-with-latex](https://img.shields.io/badge/Made%20with-LaTeX-1f425f.svg)](https://www.latex-project.org/) [![PR's Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com) [![CTAN](https://badgen.net/badge/On/CTAN/cyan)](https://www.ctan.org/pkg/fancyqr) [![compile qr](https://github.com/EagleoutIce/fancyqr/actions/workflows/compile.yaml/badge.svg)](https://github.com/EagleoutIce/fancyqr/actions/workflows/compile.yaml)\n\n[\u003cimg src=\"https://github.com/EagleoutIce/fancyqr/blob/gh-pages/preview-1.png?raw=true\" width=\"600\"/\u003e](qr-example.tex)\n\nA simple package to create fancy qr-codes with the help of the [`qrcode`][qrcode]-package.\nYou may use `\\fancyqr` just like the normal `\\qrcode` (`\\fancyqr[\u003cqr-options\u003e]{\u003curl\u003e}`). See the [documentation](https://media.githubusercontent.com/media/EagleoutIce/fancyqr/gh-pages/build/fancyqr-doc.pdf). If you just want to create a simple qr-code, please refer to the [minimal example](qr-minimal.tex).\n\n*fancyqr* is actively developed by *Florian Sihler* (contact me at: \u003cflorian.sihler@uni-ulm.de\u003e) under the [LPPL Version 1.3c](LICENSE) (please note that this changed on 2026-02-27 from GPL\u0026nbsp;v3, versions **after** v2.2 are licensed with LPPL 1.3c). I am very happy about every contribution (see [CONTRIBUTING.md](CONTRIBUTING.md)). You can find it on CTAN (\u003chttps://www.ctan.org/pkg/fancyqr\u003e).\n\nIf you do want to hide a center square (e.g., because you want to embed an image), you can use `\\FancyQrDoNotPrintSquare{\u003cx\u003e}{\u003cy\u003e}` to hide a rectangle with radius x and y set from the center (with `\\FancyQrDoNotPrintRadius{\u003cfactor\u003e}` you can apply a [rounding](https://github.com/EagleoutIce/fancyqr/pull/41) to this!). If you choose this option, the default `\\FancyQrRoundCut` that rounds cut corners can be changed with `\\FancyQrHardCut`.\nAt the moment, there are five other styles (`flat`, `frame`, `blobs`, `glitch`, and `dots`) that you can load (locally) by using `\\FancyQrLoad{\u003cname\u003e}`. The default style is named `default` and can be 'reset' by `\\FancyQrLoad{default}` or `\\FancyQrLoadDefault`.\n\nThere are the following extra qr-options (you can set all of them with `\\fancyqrset{\u003ckeys\u003e}`):\n\n| Option            | Type        | Default  | Explanation                                                                                                                                |\n| ----------------- | ----------- | :------: | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `classic`         | boolean     |  `false` | Use the classic qr-code style (black with flat rectangles, this loads the `flat` style).                                                    |\n| `color`           | color       |          | Disables the `gradient` and sets the qr color accordingly.                                                                                 |\n| `compensate`      | length      | `0.15pt` | Compensating overlap to add to avoid glitches.                                                                                             |\n| `gradient angle`  | angle       |  `135`   | Change the gradient angle.                                                                                                                 |\n| `gradient`        | boolean     |   true   | Toggle the color gradient                                                                                                                  |\n| `image`           | LaTeX       |          | Automatically center an image (you have to care for the size and maybe adjust the `version` and `level` to keep the qr-code readable).[^1] |\n| `image padding`   | number      |          | Additionally hide blocks (x \u0026 y) around the image.                                                                                         |\n| `image x padding` | number      |   `0`    | Additionally hide blocks (x) around the image.                                                                                             |\n| `image y padding` | number      |   `0`    | Additionally hide blocks (y) around the image.                                                                                             |\n| `l color`         | color       | `purple` | Set the top left gradient color.                                                                                                           |\n| `left color`      | color       |          | Alias for `l color`.                                                                                                                       |\n| `level`           | L/M/Q/H     |   `M`    | [`qrcode`][qrcode] option affecting error correction (low, medium, quartile, high).                                                        |\n| `padding`         | flag        |          | [`qrcode`][qrcode] option adding sufficient additional space around the qr-code.                                                           |\n| `r color`         | color       |  `teal`  | Set the bottom right gradient color.                                                                                                       |\n| `random color`    | colors      |          | Allow to set a random color pool to pick from.                                                                                             |\n| `right color`     | color       |          | Alias for `r color`.                                                                                                                       |\n| `size`            | length      |          | Alias for [`qrcode`'s][qrcode] `height` option.                                                                                            |\n| `tight`           | flag        |          | [`qrcode`][qrcode] option adding no additional space around the qr-code.                                                                   |\n| `version`         | [0..40] ∈ ℕ |   `0`    | [`qrcode`][qrcode] option affecting the size (tries to be as small as possible).                                                           |\n| `width`           | length      |          | Alias for [`qrcode`'s][qrcode] `height` option.                                                                                            |\n\nThe defaults are set like this:\n\n```LateX\n\\fancyqrset{image padding=0,gradient=true,gradient angle=135,r color=teal,l color=purple}\n```\n\n[^1]: The package will automatically calculate the required `\\FancyQrDoNotPrintSquare` (you have to ensure that the qr-code still has enough information to be readable). Therefore, the image will not scale with the qr-code.\n\n[qrcode]: https://www.ctan.org/pkg/qrcode\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feagleoutice%2Ffancyqr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feagleoutice%2Ffancyqr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feagleoutice%2Ffancyqr/lists"}