[powerdot] Re: Slides without logo - resolved

  • From: Alex <alex@xxxxxx>
  • To: powerdot@xxxxxxxxxxxxx
  • Date: Sun, 19 Nov 2006 00:05:18 +0100

Dear Hendri,

I found a most common solution. I have slightly modified the
powerdot.cls to suit my needs.

I am not sure that my modifications are correct, but the behaviour
is that I would expect from the logo command, i.e. no logo on title,
wide and empty slides.

Maybe there is a much better solution, I am not a TeX master. :)

Alex



Hendri Adriaens wrote:
> Alex,
> 
>> I have checked it in the docs, and I found it in the .cls as well.
>> I do this in lyx and When I try to set the logopos to empty,
>> it has no effect.
>>
>> I tried your example that works well!
> 
> You must have made a mistake as lyx runs the same code in the end.
> When exported to latex, it looks a bit differently, but it does
> exactly the same.
> 
>> Earlier, I had problems with my language extentions, but this not the
>> case. The file using english language. (I would like to use hungarian
>> later...)
> 
> If only I had some free time, I would look at that...
> 
> -Hendri.
> 
> 
> 
diff -Naur old/powerdot/powerdot.cls powerdot/powerdot.cls
--- old/powerdot/powerdot.cls   2006-11-18 23:24:43.000000000 +0100
+++ powerdot/powerdot.cls       2006-11-18 23:44:04.000000000 +0100
@@ -561,11 +561,6 @@
         (\pd@tempb,\pd@tempc)}%
     }%
   \fi
-  \ifx\pd@@logopos\@empty\else
-    \ifx\pd@logobox\@undefined\else
-      \rput[\pd@@logohook](\pd@@logopos){\usebox\pd@logobox}%
-    \fi
-  \fi
   \ifpd@@clock
     \ifnum\c@slide=\@ne
       \rput(0,-1){%
@@ -630,6 +625,11 @@
       \pd@puttoc0%
       \ifnum\pd@usedtocorient=\z@\end{minipage}\fi
     }%
+  \ifx\pd@@logopos\@empty\else
+    \ifx\pd@logobox\@undefined\else
+      \rput[\pd@@logohook](\pd@@logopos){\usebox\pd@logobox}%
+    \fi
+  \fi
   \fi
   \ifx\pd@@stocpos\@empty\else
     \rput[\pd@@stochook](\pd@@stocpos){%
@@ -639,6 +639,11 @@
       \pd@puttoc1%
       \ifnum\pd@usedtocorient=\z@\end{minipage}\fi
     }%
+  \ifx\pd@@logopos\@empty\else
+    \ifx\pd@logobox\@undefined\else
+      \rput[\pd@@logohook](\pd@@logopos){\usebox\pd@logobox}%
+    \fi
+  \fi
   \fi
   \ifx\pd@@ntocpos\@empty\else
     \rput[\pd@@ntochook](\pd@@ntocpos){%
@@ -648,6 +653,11 @@
       \pd@puttoc2%
       \ifnum\pd@usedtocorient=\z@\end{minipage}\fi
     }%
+  \ifx\pd@@logopos\@empty\else
+    \ifx\pd@logobox\@undefined\else
+      \rput[\pd@@logohook](\pd@@logopos){\usebox\pd@logobox}%
+    \fi
+  \fi
   \fi
   \ifx\pd@@lfpos\@empty\else
     \rput[\pd@@lfhook](\pd@@lfpos){\pd@@lffont\pd@@lf}%

Other related posts: