Skip to content

Instantly share code, notes, and snippets.

@takuma7
Created July 3, 2011 04:08
Show Gist options
  • Save takuma7/1061949 to your computer and use it in GitHub Desktop.
Save takuma7/1061949 to your computer and use it in GitHub Desktop.
表+図+表
\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}
\end{minipage}
\begin{minipage}{.30\textwidth}
\centering
\includegraphics[width=3cm]{and.pdf}
\figcaption{ANDの図記号}
\label{fig:and}
\end{minipage}
\begin{minipage}{.30\textwidth}
\begin{center}
\tblcaption{ANDの真理値表}
\label{table:and}
\begin{tabular}{|c|c||c|}\hline
A & B & F \\ \hline\hline
0 & 0 & 0 \\ \hline
0 & 1 & 0 \\ \hline
1 & 0 & 0 \\ \hline
1 & 1 & 1 \\ \hline
\end{tabular}
\end{center}
\end{minipage}
\end{tabular}
\end{figure}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment