About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account
Latest news 2024-12-13: Ebook sale (12th December 2024 – 1st January 2025): cybercrime fiction short stories Unsocial Media and Smile for the Camera free; crime fiction short story The Briefcase free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99.

Sample PDF Document

You can download the source code for a PDF document here. You can either download the files individually:

  • pdfdoc.tex
  • pdfdoc.sty
  • pdfdoc.bib
  • docinfo.png
  • docinfo.eps
  • Makefile
  • or you can download all files in a tar gzip file: pdfdoc.tar.gz

    Notes

    This document is designed to create either an A4 document intended for printing or a 6inx4in document intended for on-line viewing. A boolean variable, online, was defined to determine which version to produce, and to save editing the file each time a different version is required, a file called switch.tex is read in, if it exists. The Makefile contains the line:

    echo "\onlinetrue" > switch.tex
    

    when the 6inx4in version is being created, and the line:

    echo "\onlinefalse" > switch.tex
    

    when the A4 version is being created. So, to create the 6inx4in version, all that is needed is to do:

    make pdfdoc-screen.pdf
    

    and to create the A4 version, all that is needed is to do:

    make pdfdoc-a4.pdf
    

    This sample document is an old version of the document Creating a PDF Document using PDFLaTeX. The most recent version is rather more complicated, as I wanted it to work under both PDFLaTeX and LaTeX2HTML.

    © 2012 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

    Terms of Use Privacy Policy Cookies Site Map FAQs