Safe Haskell | None |
---|---|
Language | Haskell2010 |
Text.LaTeX.Packages.QRCode
- qrcode :: PackageName
- data ErrorLevel
- data CodeOptions = CodeOptions {
- includePadding :: Bool
- link :: Bool
- errorLevel :: ErrorLevel
- defaultOptions :: CodeOptions
- qr :: LaTeXC l => CodeOptions -> Text -> l
- draft :: LaTeXC l => l
- final :: LaTeXC l => l
qrcode package
qrcode :: PackageName Source #
qrcode package. Use it to import it like this:
usepackage [] qrcode
qrcode commands
data ErrorLevel Source #
The degree of error-correction redundancy to include in the generated code.
Constructors
Low | Error recovery up to 7%. |
Medium | Error recovery up to 15%. |
Quality | Error recovery up to 25%. |
High | Error recovery up to 30%. |
Instances
data CodeOptions Source #
Options to use when generating a QR code.
Constructors
CodeOptions | |
Fields
|
Instances
defaultOptions :: CodeOptions Source #
The default QR code generation options.
qr :: LaTeXC l => CodeOptions -> Text -> l Source #
Generates a QR code with specified options and content.
This uses the qrcode command from the package, but the identifier
qrcode
is already in use as the PackageName
.