This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\makeatletter | |
\newcommand{\figcaption}[1]{\def\@captype{figure}\caption{#1}} | |
\newcommand{\tblcaption}[1]{\def\@captype{table}\caption{#1}} | |
\makeatother |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{figure}[htbp] | |
\begin{tabular}{ccc} | |
\begin{minipage}{.33\textwidth} | |
\centering | |
\includegraphics[width=4cm]{foo.eps} | |
\caption{fooのキャプションだよ!} | |
\label{fig:foo} | |
\end{minipage} | |
\begin{minipage}{.33\textwidth} | |
\centering |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{figure}[h] | |
\begin{tabular}{ccc} | |
\begin{minipage}{.30\textwidth} | |
\begin{tabular}{lc} | |
論理演算 & AND \\ | |
論理式 & $F=A\cdot B$\\ | |
真理値表 & 表\ref{table:and}\\ | |
図記号 & 図\ref{fig:and} | |
\end{tabular} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float ra=200; | |
float rb=ra/2; | |
float rc=ra/3; | |
float xa,ya,xb,yb,xc,yc; | |
float px, py; | |
float omega; | |
float t; | |
float vb, vc; | |
float phib, phic; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias javac='javac -J-Dfile.encoding=UTF8' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias less='/usr/share/vim/vim73/macros/less.sh' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias grep='grep --color' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CLICOLOR=1 | |
export LSCOLORS=Gxfxcxdxbxegedabagacad |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface PlaneFigure{ | |
public static final String TYPE="plane figure"; | |
public float getArea(float base, float height); | |
} | |
class Figure{ | |
String type="figure"; | |
public String getType(){ | |
return type; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class Arbeit{ | |
int kingaku=0; | |
abstract void calc(int hour); | |
void hyouji(){ | |
System.out.println("got " + kingaku + " yen."); | |
} | |
} | |
class Convenience extends Arbeit{ | |
void calc(int hour){ |