Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/freeuser-blue/nihplod/htdocs/platex/index.php on line 12

Warning: include(http://daisam.sys.eng.shizuoka.ac.jp/~h-taki/log_analyzer/analyzer.inc) [function.include]: failed to open stream: no suitable wrapper could be found in /home/freeuser-blue/nihplod/htdocs/platex/index.php on line 12

Warning: include() [function.include]: Failed opening 'http://daisam.sys.eng.shizuoka.ac.jp/~h-taki/log_analyzer/analyzer.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/freeuser-blue/nihplod/htdocs/platex/index.php on line 12

platex no Memo

Top

丸でもじを囲む

プリアンブルで

\def\MARU#1{\leavevmode \setbox0\hbox{$\bigcirc$}%
\copy0\kern-\wd0 \hbox to\wd0{\hfil{\small{#1}}\hfil}}

使用例

\MARU{1}

で@を出力

captionと図の間隔を変更

プリアンブルで

\setlength\abovecaptionskip{0pt}

\chapter*を目次に

\chapter*{謝辞}
\addcontentsline{toc}{chapter}{謝辞}

図を並べて表示する.

\begin{figure}[htbp]
\begin{minipage}[t]{.47\textwidth}
\vspace{3cm} % Left Figure
\caption{Figure in the left.}
\end{minipage}
\hfill
\begin{minipage}[t]{.47\textwidth}
\vspace{3cm} % Right Figure
\caption{Figure in the right.}
\end{minipage}
\end{figure}

1行1列を行列の外にする.

\bordermatrixだと,行列が丸括弧なので, 角括弧に変更するためにプリアンプルに以下を定義する.

%%%%\bbmatrix{ }の定義 1行1列を行列の外にする。%%%
\makeatletter
\def\bbordermatrix#1{\begingroup \m@th
  \@tempdima 8.75\p@
  \setbox\z@\vbox{%
    \def\cr{\crcr\noalign{\kern2\p@\global\let\cr\endline}}%
    \ialign{$##$\hfil\kern2\p@\kern\@tempdima&\thinspace\hfil$##$\hfil
      &&\quad\hfil$##$\hfil\crcr
      \omit\strut\hfil\crcr\noalign{\kern-\baselineskip}%
      #1\crcr\omit\strut\cr}}%
  \setbox\tw@\vbox{\unvcopy\z@\global\setbox\@ne\lastbox}%
  \setbox\tw@\hbox{\unhbox\@ne\unskip\global\setbox\@ne\lastbox}%
  \setbox\tw@\hbox{$\kern\wd\@ne\kern-\@tempdima\left[\kern-\wd\@ne
    \global\setbox\@ne\vbox{\box\@ne\kern2\p@}%
    \vcenter{\kern-\ht\@ne\unvbox\z@\kern-\baselineskip}\,\right]$}%
  \null\;\vbox{\kern\ht\@ne\box\tw@}\endgroup}
\makeatother

使用例

\begin{eqnarray}
X = \bbordermatrix{
  & 1 & 2 & 3 \cr
1 & A & B & C \cr
2 & D & E & F \cr
3 & G & H & I \cr
}
\end{eqnarray}

行間隔の狭い \itemize

プリアンプルに以下を定義する.

\newenvironment{nitemize}{\begin{list}{$\bullet$}%
                                      {\setlength{ \topsep}{-5pt}%
                                       \setlength{ \parsep}{ 0pt}%
                                       \setlength{\itemsep}{-5pt}}}%
                         {\end{list}}

タイトルページのページ番号

\pagestyle{empty}

を指定しているにもかかわらず, タイトルページにページ番号が出力されます. これは \maketitle の定義中で \thispagestyle{plain} (jarticle では \thispagestyle{jplain}) が定義されているためです.

\thispagestyle{empty} を追加

数式番号に章番号を追加

\makeatletter
\@addtoreset{equation}{section}
\def\theequation{\thesection.\arabic{equation}}
\makeatother

定理環境

\usepackage{theorem}
\theorembodyfont{\upshape }
\theoremstyle{break}
\newtheorem{Def}{定義}[section]
\newtheorem{Thm}[Def]{定理}
\newtheorem{Lem}[Def]{補題}
\newtheorem{Ass}[Def]{仮定}
\newtheorem{Cor}[Def]{系}

大きなシンボル

\def\hugesymbol#1{%
	\mbox{\strut\rlap{\smash{\Huge$#1$}}\quad}}

Gポイントポイ活 Amazon Yahoo 楽天

無料ホームページ 楽天モバイル[UNLIMITが今なら1円] 海外格安航空券 海外旅行保険が無料!