lambdatex-0.1.0.3: Type-Safe LaTeX EDSL

Safe HaskellNone
LanguageHaskell2010

Text.LaTeX.LambdaTeX.Reference

Contents

Synopsis

Internal references

Labels

label :: Monad m => Text -> ΛTeXT m () Source

Label a part

ref :: Monad m => Text -> ΛTeXT m () Source

The safe version of LaTeX's ref

pageref :: Monad m => Text -> ΛTeXT m () Source

The safe version of LaTeX's pageref

External references

Defining references

makeReference :: ReferenceType -> Text -> [(Text, Text)] -> Reference Source

Define an external reference. Use cite or nocite to use this in your document.

Using references

cite :: Monad m => Reference -> ΛTeXT m () Source

Refer to an external reference.

nocite :: Monad m => Reference -> ΛTeXT m () Source

Put an external reference in your list of references without using it.

Reference Types