Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated examples to use Text.LaTeX instead of Text.LaTeX.Base.

  • Loading branch information...
commit 6fcb014e00486e5e9eacf95589b2d936bd4c3f5e 1 parent 12343c6
@Daniel-Diaz authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  Examples/comments.hs
  2. +1 −1  Examples/fibs.hs
  3. +2 −2 Examples/simple.hs
View
2  Examples/comments.hs
@@ -1,6 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
-import Text.LaTeX.Base
+import Text.LaTeX
main :: IO ()
main = execLaTeXT example >>= renderFile "Comments.tex"
View
2  Examples/fibs.hs
@@ -1,6 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
-import Text.LaTeX.Base
+import Text.LaTeX
main :: IO ()
main = execLaTeXT example >>= renderFile "Fibs.tex"
View
4 Examples/simple.hs
@@ -10,7 +10,7 @@ using 'fromString' everywhere.
{-# LANGUAGE OverloadedStrings #-}
-import Text.LaTeX.Base
+import Text.LaTeX
-- By executing 'execLaTeXT' you run the 'LaTeXT' monad and make a 'LaTeX' value as output.
-- With 'renderFile' you render it to 'Text' and write it in a file.
@@ -42,4 +42,4 @@ theBody = do
textbf "Enjoy!"
" "
-- This is how we nest commands.
- textbf (large "Yoohoo!")
+ textbf (large "Yoohoo!")
Please sign in to comment.
Something went wrong with that request. Please try again.