ocgtools preview

ols gtools gtools gtools gtools gtools gtools o t g oc oc oc oc oc oc oc ools cgtools cgtools cgtools cgtools cgtools cg...

0 downloads 56 Views 351KB Size
ols gtools gtools gtools gtools gtools gtools o t g oc oc oc oc oc oc oc ools cgtools cgtools cgtools cgtools cgtools cgtools ocgt o o o o o o ls ools cgtools cgtools OCGtools ools cand oopreview ools cgtools t t t t g g g g c c c o o o o o o o s s s s s s ool cgtool cgtool cgtool cgtool cgtool cgtools t g c o o o o o o o Maˇ ls ools cgtools cgtools cgtooRobert oorl´ıks cgtools cgtools o o o o ocgt o ocgt This is a demo file to test cooperation between ls Sec-tools preview to ools cgtools cocgtools ools and ools Go ools packages. oothe t t t t t g g g g g c c cg c c o tion 4 ono page 7 and o put youo mouse toothe o o s and ools following to figure ols greferrences ools cgtools cquestion ofigure oolappear ools marks ools cshould t t t t t g g g g equation. The and equation c c c o o o o o o ocgt same s s in minilayer s page. s s at the l l l ls ls l o o o o o o o o The concept is DoItYourself, tool .tex gt gtoosee othe gsource gtoo gt c c c c ocgt ocgt o o o ocfile and script ocgtools-preview.sh. s s l l oo cgtoo cgtools cgtools cgtools cgtools cgtools t g c o o o o o o o s s s s s s l l l l l l oo cgtoo cgtoo cgtoo cgtoo cgtoo cgtools t g c o o o o o o o s s s s s s ol ol ol ol ol ol ols o o o o o o o t t t t t t t g g g g g g g c ocCopyright c o2013 oc oc oc oc oc Last Revision Date: June 28, 2013 ools cgtools cgtools cgtools cgtools cgtools cgtools t g c o o o o o o o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols gtools gtools o t g oc oc oc ools cgtools cgtools ocgt o o 1.oIntroduction ols gtools gtools t g c oc o 2. Options oc of the package 3. A taste mathematics ols of ols gtools otests t 4.toFew more g g c c oc o o ools cgtools cgtools o ocgt o ools cgtools cgtools t g c o o o s s ool cgtool cgtools t g c o o o ools cgtools cgtools ocgt o o ools cgtools cgtools t g c o o o s s l l oo cgtoo cgtools t g c o o o s s ol ol ols o o o t t t g g g oc oc oc ools cgtools cgtools t g c o o o

ols gtools gtools o t g oc oc oc Table of Contents ools cgtools cgtools ocgt o o ools cgtools cgtools t g c o o o s s ool cgtool cgtools t g c o o o ools cgtools cgtools ocgt o o ools cgtools cgtools t g c o o o s s ool cgtool cgtools t g c o o o ools cgtools cgtools ocgt o o ools cgtools cgtools t g c o o o s s l l oo cgtoo cgtools t g c o o o s s ol ol ols o o o t t t g g g oc oc oc ools cgtools cgtools t g c o o o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols gtools gtools gtools gtools gtools gtools gtools gt3ools o t g oc oc oc oc oc oc oc oc oc 1. Introduction ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools ocgt o o o o o o o o This is test file for ocgtools package. You can (using pdflatex) insert ls hid-tools ls ls ls ls ls ls ls o o o o o o o o o o o o o o o o t t t t t t t t den T X material into PDF files and open/close by clicking active links. g cg E ocg oactive ocg ocg ocg ocThe ocg ocg ocg links in this document are pictures (like the picture in this paragraph) ls There ls two kinds ools cgtools orcgblue ootext. oolsof behavior ooare ools cgtools cgtools cgtools t t t t t g g g g c c c c o o o o o o o o o • OCG spans over allmost whole PDF pages (with black or transparent boundary) and can be ls bytoclicikng ls ols – Try ols anywhere oohidden opage ools cgtools cgtools cgtools ools incgthe oitohere! ocg o t ocgt o o o ocgt ocgt ocgt • OCG is small and can be hidden either with the same link which opens this text or with ls ls ls ls ls ls ls ls redtools o o o o o o o o o o o o o o o o t t t t t t t t mark on the right top corner – Try it here! o cg ocg ocg ocg ocg ocg ocg ocg ocg Note may darker onoLinux if you s optionools s package ls ls ools thatcgthe oolsinof Adobe o forlsexample oopictures oolslookboundary ooReader ooinluse oforolBeamer t t t t t t t t g g g g g g g transparent (means transparent the OCG’s, used demos c c c c c c c o o o o o o o o ocgt class and pdfscreen.sty package). For comparison you can look at the original picture here) or at ls ls ls ls ls trasparency ls ls ls ols which the gtodemos gtoouse oweb.sty gtoo ocgistoo gtooPDFoviewer gtoousesocanother gtoo rendering gtoo when gtoo package. c c c c c c occalled o o o o and this seems to be system dependent. So be carefull when combining transparent option s helpoto s and bitmap option this olresolve oolmay ools cpictures. ools The oolsfixcolor ools cgtools cgtools oolsproblem. t t t t t t t g g g g g g g c c c c c c o o o o o o o o o s s s s s s s s l l l l l l l l oo cgtoo cgtoo cgtoo cgtoo cgtoo cgtoo cgtoo cgtools t g c o o o o o o o o o s s s s s s s s ol ol ol ol ol ol ol ol ols o o o o o o o o o t t t t t t t t t g g g g g g g g g oc oc oc oc oc oc oc oc oc ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools t g c o o o o o o o o o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols gtools o t g oc oc ools cgtools ocgt o ools cgtools t g c o o s oo· lD = cρgtools t g ∇ c o o ∇ · lB = o s 0gtools o t g oc ∇ × E =oc− ∂B ∂t ls ls o o o∂D o t t ocg∇ × H =ocJg+ ∂t ools cgtools t g c o o ools cgtools ocgt o ools cgtools t g c o o s l oo cgtools t g c o o s ol ols o o t t g g oc oc ools cgtools t g c o o

Section 1: Introduction

ols gtools o t g oc oc ools cgtools ocgt o ools cgtools t g c o o s ol ools o(1) t t g g c c o o (2)ls oo ools ocgt (3) ocgt ools cgtools t g c o (4) o ools cgtools t g c o o ools cgtools ocgt o ools cgtools t g c o o s l oo cgtools t g c o o s ol ols o o t t g g oc oc ools cgtools t g c o o

ols gtools gtools gt4ools o t g oc oc oc oc ools cgtools cgtools cgtools ocgt o o o ools cgtools cgtools cgtools t g c o o o o s s s ool cgtool cgtool cgtools t g c o o o o Here we test ocg’s which are s s ols (Maxwell’s ools inside togroup tool tool equag g g c c c ocgt o o o tion in minipage) and which are tallerlthan wide (little golf s l oo player). oo s cgtools cgtools t t g g c c o o o o s s s ool cgtool cgtool cgtools t g c o o o o ools cgtools cgtools cgtools ocgt o o o ools cgtools cgtools cgtools t g c o o o o s s s l l l oo cgtoo cgtoo cgtools t g c o o o o s s s ol ol ol ols o o o o t t t t g g g g oc oc oc oc ools cgtools cgtools cgtools t g c o o o o

ols gtools gtools gtools gtools gtools gtools gtools gt5ools o t g oc oc oc oc oc oc oc oc oc 2. Options of the package ls ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools gtoiso some to seeothat wrapfig ocThis ocgtrandomotext o works and o wide pic-o o o tures are scaled properly. Several options are available for the packls ls ols gtotransparent, ols gtooinsertvisible, oocgtools: oolsnobutton, oonoocg, ools cgtools cgtools cgtools t t t t age inactive, g g g g c c c c c c o minimouseover, o o o o o active, noprogressmsg, o o o mouseover, nopageclose, fixs s s s s s s s l option l explanation). color minilayer ol oo(each oassociated ooan oolhas can ool cgwith ool cgtool cgtool cgtools t t t t t t g g g g g c c c c o the form oof demo files o Examplesodistributed owith the package o o based ono three packages o are in (beamer, web, pdfscreen). Each example has three variants with no panel, with panel on the ls ls ols gwith ocurrent olsthe left ols eachgtexample odifferent ols gThe ols isgtcompiled ols right o o o o o o ools o o t t t t t t and on and options. document g g g g oc the following ocminimouseover, oc oc oc ocgist occompiled with oc options: oc Note ools cgtthat ools cgused ools cgtools cgtools cgtools cand ools cg\def\defaultocgpapercolor{black} ools cgtwe ools t t t t g g c o o o \def\defaultocgfontcolor{green} o o on this page. o o o o s s s s s s s s ool cgtool cgtool cgtool cgtool cgtool cgtool cgtool cgtools t g c o o o o o o o o o ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools ocgt o o o o o o o o ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools t g c o o o o o o o o o s s s s s s s s l l l l l l l l oo cgtoo cgtoo cgtoo cgtoo cgtoo cgtoo cgtoo cgtools t g c o o o o o o o o o s s s s s s s s ol ol ol ol ol ol ol ol ols o o o o o o o o o t t t t t t t t t g g g g g g g g g oc oc oc oc oc oc oc oc oc ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools t g c o o o o o o o o o

ols gtools gtools gtools gtools gtools gtools gtools gt6ools o t g oc oc oc oc oc oc oc oc oc ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools ocgt o o o o o o o o ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools t g c o o o o o o o o o s s s s s s s s ool cgtool cgtool cgtool cgtool cgtool cgtool cgtool cgtools t g c o o o o o o o o o ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools o o o o o ocgt o o a o b ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools t g c o o o o Figure 1:oFloating figure o o o o s s s s s s s s ool cgtool cgtool cgtool cgtool cgtool cgtool cgtool cgtools t g c o 3. A tasteoof mathematics o o o o o o o s scaledooeasily ls ls (see ols floating ols gtools gtools gtools gtools Mfpic oopictures oolbe gtothe gtofigure). gt cgtcan c c c ocgtWe canoadd o o oc the textocWhy? inserted oc automatically oc o explanation to some computations easily (Note by redefining ools cgmacro ools\ocgtextend). ools cgtools cgtools cgtools cgtools cgtools cgtools t t t g g c c o o o o o o o Zo Zo 1 s s s s s s s s l l l l l l l l oo cgtoo cgtoo clngxtodxo = cgxtlnoox − cxgxtodxo cgtoo cgtoo c(5) ools t t g g c o o o o o o o o o = x ln x − x + C (6) ls s s s s s s s s ol ol ol ol ol ol ol ol o o o o o o o o oo t t t t t t t t g g g g g g g g oc oc oc oc oc oc oc oc ocgt ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools t g c o o o o o o o o o Section 3: A taste of mathematics

Why?

Why?

ols gtools gtools gtools gtools gtools gtools gtools gt7ools o t g oc oc oc oc oc oc oc oc oc 4. Fewlsmore testsls oo cgtools cgtools cgtools cgtools cgtools cgtools cgtools gtoo ocgtools.sty package. From ocPackage ocgt o redefinesooutput routine o via atbegshi.sty o o o this reason o it may belsincompatible with some other packages dealing with output routine. However, the package oo cgworks oolsfine.cgtools cgtools cgtools cgtools cgtools cgtools cgtools t t eso-pic.sty g c o o o o o o Test foroplacing OCG’s: o o s s s s s s s s ool lb ool cgtool cgtool cgtool cgtoollb cgtool cgtool cgtools t t g g c c rb o o o o orb o o o o lt lt ools rtcgtools cgtools cgtools cgtools cgtoolrts cgtools cgtools cgtools o equation o o o o ocgtWe inserted o (5) ? andoFigure 1 ? ino this document. ? ls The only ols via ools reference ools cequations ooworks ools c(1) ools to cgMaxwell ools if ccompiled ools con oLinux ools t t t t t t t t t g g g g g g g g c c c c ocgtools-preview.sh (called from ocgtools-test.sh automatically with correct parameter). o o o o o o o o o s s s s s s s s ool cgtool cgtool cgtool cgtool cgtool cgtool cgtool cgtools t g c o o o o o o o o o ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools ocgt o o o o o o o o ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools t g c o o o o o o o o o s s s s s s s s l l l l l l l l oo cgtoo cgtoo cgtoo cgtoo cgtoo cgtoo cgtoo cgtools t g c o o o o o o o o o s s s s s s s s ol ol ol ol ol ol ol ol ols o o o o o o o o o t t t t t t t t t g g g g g g g g g oc oc oc oc oc oc oc oc oc ools cgtools cgtools cgtools cgtools cgtools cgtools cgtools cgtools t g c o o o o o o o o o

ols gtools o t g oc oc Newlspage. ls oo gtoo ocgtSecondocline New oolspage. ools t t g g c c o Secondo line ools cgtools t g c o o ools cgtools o ocgt ools cgtools t g c o o s ool cgtools t g c o o ools cgtools ocgt o ools cgtools t g c o o s l oo cgtools t g c o o s ol ols o o t t g g oc oc ools cgtools t g c o o

Section 4: Few more tests

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols gtools o t g oc oc ools cgtools ocgt o ools cgtools t g c o o s ool cgtools t g c o o ools cgtools ocgt o ools cgtools t g c o o s ool cgtools t g c o o ools cgtools ocgt o ools cgtools t g c o o s l oo cgtools t g c o o s ol ols o o t t g g oc oc ools cgtools t g c o o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols t 8o g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols gtools o t g oc oc Plain page. ools cgtools ocgt o ools cgtools t g c o o s ool cgtools t g c o o ools cgtools o ocgt ools cgtools t g c o o s ool cgtools t g c o o ools cgtools ocgt o ools cgtools t g c o o s l oo cgtools t g c o o s ol ols o o t t g g oc oc ools cgtools t g c o o

Section 4: Few more tests

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols gtools o t g oc oc ools cgtools ocgt o ools cgtools t g c o o s ool cgtools t g c o o ools cgtools ocgt o ools cgtools t g c o o s ool cgtools t g c o o ools cgtools ocgt o ools cgtools t g c o o s l oo cgtools t g c o o s ol ols o o t t g g oc oc ools cgtools t g c o o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols t 9o g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols gtools gtools o t g oc oc oc Lastlspage. ls ols oo gtoono lastopage. cgto ocgtSecondocline ools cgtools cgtools t g c o o o s s ool cgtool cgtools t g c o o o ools cgtools cgtools o ocgt o ools cgtools cgtools t g c o o o s s ool cgtool cgtools t g c o o o ools cgtools cgtools ocgt o o ools cgtools cgtools t g c o o o s s l l oo cgtoo cgtools t g c o o o s s ol ol ols o o o t t t g g g oc oc oc ools cgtools cgtools t g c o o o Section 4: Few more tests

ols gtools o t g oc oc ools cgtools ocgt o ools cgtools t g c o o s ool cgtools t g c o o ools cgtools ocgt o ools cgtools t g c o o s ool cgtools t g c o o ools cgtools ocgt o ools cgtools t g c o o s l oo cgtools t g c o o s ol ols o o t t g g oc oc ools cgtools t g c o o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols o t g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o

ols o t 10 g oc ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ools ocgt ools t g c o ools t g c o ols o t g oc ools t g c o