2009年11月26日 星期四

Bibliography title

作者: hantis (呢呢是豬) 看板: Hantis
標題: [隨寫] Technical Notes: Bibliography title
時間: Thu Nov 26 16:01:27 2009


   article: \section
   book/report: \chapter

   If choosing book/report class but desire \section for the bibliography
   title, paste the following codes in the preamble.

\makeatletter
\renewenvironment{thebibliography}[1]
    {\section*{\bibname}% <-- this line was changed from \chapter* to \section*
     \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
     \list{\@biblabel{\@arabic\c@enumiv}}%
          {\settowidth\labelwidth{\@biblabel{#1}}%
           \leftmargin\labelwidth
           \advance\leftmargin\labelsep
           \@openbib@code
           \usecounter{enumiv}%
           \let\p@enumiv\@empty
           \renewcommand\theenumiv{\@arabic\c@enumiv}}%
     \sloppy
     \clubpenalty4000
     \@clubpenalty \clubpenalty
     \widowpenalty4000%
     \sfcode`\.\@m}
    {\def\@noitemerr
      {\@latex@warning{Empty `thebibliography' environment}}%
     \endlist}
\makeatother

2009年11月25日 星期三

bibunits

作者: hantis (呢呢是豬) 看板: Hantis
標題: [隨寫] Technical Notes: bibunits
時間: Wed Nov 25 11:06:24 2009


   要用多個bibliography
   可用bibunits這個package
   見PDF的說明檔

2009年11月2日 星期一

paper size of dvips

作者: hantis (呢呢是豬) 看板: Hantis
標題: [隨寫] Technical Notes: paper size of dvips
時間: Mon Nov  2 16:22:38 2009


   if the paper size is wrong when dvips

   then use, e.g.,  dvips -t a4 XXX