Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
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 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.
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 Source # | |
Defined in Text.LaTeX.Packages.QRCode (==) :: ErrorLevel -> ErrorLevel -> Bool # (/=) :: ErrorLevel -> ErrorLevel -> Bool # | |
Ord ErrorLevel Source # | |
Defined in Text.LaTeX.Packages.QRCode 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 Source # | |
Defined in Text.LaTeX.Packages.QRCode readsPrec :: Int -> ReadS ErrorLevel # readList :: ReadS [ErrorLevel] # readPrec :: ReadPrec ErrorLevel # readListPrec :: ReadPrec [ErrorLevel] # | |
Show ErrorLevel Source # | |
Defined in Text.LaTeX.Packages.QRCode showsPrec :: Int -> ErrorLevel -> ShowS # show :: ErrorLevel -> String # showList :: [ErrorLevel] -> ShowS # |
data CodeOptions Source #
Options to use when generating a QR code.
CodeOptions | |
|
Instances
Eq CodeOptions Source # | |
Defined in Text.LaTeX.Packages.QRCode (==) :: CodeOptions -> CodeOptions -> Bool # (/=) :: CodeOptions -> CodeOptions -> Bool # | |
Show CodeOptions Source # | |
Defined in Text.LaTeX.Packages.QRCode showsPrec :: Int -> CodeOptions -> ShowS # show :: CodeOptions -> String # showList :: [CodeOptions] -> ShowS # |
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
.