Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to use powerdot to compose a document. I want to have a clock in the pdf file, but it does not show. If I am using Beamer, then how can I have a clock as in powerdot? Please help me.

\documentclass[size=12pt,
% style=husky,
% style= default
% style= elcolors
  style=tycja,
  paper=screen,
  mode =present,
  orient=landscape,
  display = slidesnotes,
  nopagebreaks,fleqn,clockformat]{powerdot}

\usepackage{fouriernc}

\begin{document}

\begin{slide}{First}
    Let $ABC$ be a triangle.
\end{slide}

\end{document}
share|improve this question
    
Use the clock option instead of clockformat. –  Paul Gaborit Oct 10 '12 at 5:53
1  
And with beamer, you can use the tdclock package. –  Paul Gaborit Oct 10 '12 at 5:58
    
I used clock, but I can not run.This is log file mediafire.com/?20o0771wny12h8w –  minthao_2011 Oct 10 '12 at 6:09
    
Maybe a bug with your version of hyperref: your version is v6.79k; my version is v6.83g. –  Paul Gaborit Oct 10 '12 at 8:57
add comment

2 Answers

up vote 3 down vote accepted

With powerdot, you can:

  • use the clock option,
  • compile via latex->dvips->ps2pdf,
  • and use a PDF Viewer with Javascript capacity (like Adobe Reader).
\documentclass[size=12pt,
  style=tycja,
  paper=screen,
  mode =present,
  orient=landscape,
  display = slidesnotes,
  nopagebreaks,fleqn,clock]{powerdot}
\usepackage{fouriernc}
\begin{document}
\begin{slide}{First}
    Let $ABC$ be a triangle.
\end{slide}
\end{document}

With beamer, you can:

  • use the tdclock package,
  • compile via pdflatex,
  • and use a PDF Viewer with Javascript capacity (like Adobe Reader).
\documentclass{beamer}
\usepackage[timeinterval=1,font=Helv]{tdclock}
\setbeamertemplate{background}{\hspace{.5em}\textcolor{red}{\tiny\bfseries\tdtime}}
\begin{document}
\begin{frame}
  \initclock
  \frametitle{First slide}
\end{frame}
\begin{frame}
  \frametitle{Second slide}
\end{frame}
\end{document}
share|improve this answer
    
The beamer example produces red framed boxes instead of working clock in AR 9. –  AlexG Oct 10 '12 at 11:03
    
@AlexG Here it's ok with Adobe Reader 9.4.1 on Ubuntu 12.10. –  Paul Gaborit Oct 10 '12 at 12:16
    
I am using up-to-date TeXLive-2012, AR-9.5.1 on Gentoo. –  AlexG Oct 10 '12 at 13:04
    
With original tdclock.sty, the clock in a second document open, such as tdclock-doc.pdf, will not work. I first opened tdclock documentation and then the beamer example. –  AlexG Oct 10 '12 at 13:32
add comment

Due to a bug in tdclock.sty, the clocks in more than one PDF opened in AR do not work except for the clock in the document opened first.

These are the steps to get clocks inserted using tdclock always working:

sed -i '/^global\.[ifd]/ s/^/%/' tdclock.sty
sed -i 's/global\.//g' tdclock.sty
sed -i 's/TextField\[/TextField\[readonly,/g' tdclock.sty

orig. tdclock.sty patched tdclock.sty

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.