2008年6月21日 星期六

Beamer文字上色

作者: hantis (小劉) 看板: Hantis
標題: Notes for beamer
時間: Sat Jun 21 00:58:21 2008


   1. 不支援subfig
   2. 似乎不能讓子方程式連續編號,否則compile會錯誤
   3. \alert{...}可以讓...變紅色(看colortheme而定)
      但是有對齊的equation左右(還有中間的等號之類的)要分開上色
      直接用\color應該也是一樣不能橫跨左右 否則會出錯
   4. 多行的equation 要對齊的東西用&&包起來 例如&=&
      這也意味著斷行後以&&開頭 則會對齊上一行的&=&
   5. equation著色只要有&&都要分開著

2008年6月2日 星期一

How to define new font size?

作者: hantis (小劉) 看板: Hantis
標題: swp notes
時間: Mon Jun  2 11:53:19 2008


   How to define new font size?

   In the preamble, type: \newfont{\newfontname}{fontname scaled X}
   newfontname is the new font name you want, such as newhuge, newlarge, ...
   fontname is the existing fontname installed, such as times, timesbd, ...
   existing fontname is written in the Tex Name, not in Windows Full name.
   One can check in the TrueTeX DVI Previewer from the Installed Font List
   to see what names should be typed. X is the scale number, such as 300.

   Example: \newfont{\whuge}{times scaled 5000}
   Then putting "\whuge" in front of "HALLO" will take effect of the newly
   defined font on the text HALLO.

   Palatino font is with normal font weight is named, pplr8r.
   Bold face Palatino is named pplb8r. These cannot be shown in the DVI
   previewer, and are not consistent with the one shown in the Installed
   Font List, where "pala, palab, etc." appear but not work. These two
   names are found from the warning when trying to use Palatino (by using
   package "mathpazo") and preview by DVI previewer. They are okay only
   when doing PDF.