Wednesday, June 23, 2010

Using pdfscreen package in LaTeX

Today i am going to discuss with you that how you are able to get both print form and screen viewable document by changing single option in this pdfscreen package. You just need to include following code in preamble part:-

\documentclass[a4paper,11pt]{article}
\usepackage{xspace,colortbl}
\usepackage[screen,panelleft,gray,paneltoc,sectionbreak]{pdfscreen}
\margins{.75in}{.75in}{.75in}{.75in}
\screensize{6.25in}{8in}
\overlay{lightsteelblue.pdf }
\begin{document}
in the very third line if you change screen to print format it will make a form called print which acts as your report format.
\screensize is used when you need to view it on your screen or in short you can say that you want to make presentation.
\sectionbreak is used so that a pagebreak can be inserted in your screen view after you write each section.
If you want to view example click on PRINT and SCREEN
But let me clear you one thing if you are going to compile it on texmaker it will surely give you problem you may try but each time you will not get desired
output see my output which i got when i was using texmaker SEE.
So, from my this experience i will prefer to use console mode for tex compilation rather than gui softwares for compiling tex files.
So, follow the same command which i discussed on the JUNE 4 i.e.
using command $pdflatex file.tex
Then you will get desired output. Also preferably use Acro reader in ubuntu to view your pdf files.

No comments:

Post a Comment