| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Text.LaTeX.Packages.QRCode
Synopsis
- 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 #
qrcode package. Use it to import it like this:
usepackage [] qrcode
qrcode commands
data ErrorLevel #
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
| Eq ErrorLevel # | |
Defined in Text.LaTeX.Packages.QRCode | |
| Ord ErrorLevel # | |
Defined in Text.LaTeX.Packages.QRCode Methods compare :: ErrorLevel -> ErrorLevel -> Ordering # (<) :: ErrorLevel -> ErrorLevel -> Bool # (<=) :: ErrorLevel -> ErrorLevel -> Bool # (>) :: ErrorLevel -> ErrorLevel -> Bool # (>=) :: ErrorLevel -> ErrorLevel -> Bool # max :: ErrorLevel -> ErrorLevel -> ErrorLevel # min :: ErrorLevel -> ErrorLevel -> ErrorLevel # | |
| Read ErrorLevel # | |
Defined in Text.LaTeX.Packages.QRCode Methods readsPrec :: Int -> ReadS ErrorLevel # readList :: ReadS [ErrorLevel] # readPrec :: ReadPrec ErrorLevel # readListPrec :: ReadPrec [ErrorLevel] # | |
| Show ErrorLevel # | |
Defined in Text.LaTeX.Packages.QRCode Methods showsPrec :: Int -> ErrorLevel -> ShowS # show :: ErrorLevel -> String # showList :: [ErrorLevel] -> ShowS # | |
data CodeOptions #
Options to use when generating a QR code.
Constructors
| CodeOptions | |
Fields
| |
Instances
| Eq CodeOptions # | |
Defined in Text.LaTeX.Packages.QRCode | |
| Show CodeOptions # | |
Defined in Text.LaTeX.Packages.QRCode Methods showsPrec :: Int -> CodeOptions -> ShowS # show :: CodeOptions -> String # showList :: [CodeOptions] -> ShowS # | |
defaultOptions :: CodeOptions #
The default QR code generation options.
qr :: LaTeXC l => CodeOptions -> Text -> l #
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.
Package Options
This package option sets the qrcode package to generate draft-quality placeholders for QR codes.