Re: 横並びの表のcaptionの出力がうまくいかないです。

名前: kuroky
日時: 2011-06-19 22:11:51
IPアドレス: 14.193.16.*

>>55974 一つ目の表の幅が .5\textwidth より長いんでしょうね.以下ならうまくいきます. (少し自分好みに変えています.) \documentclass[a4paper]{jreport} \begin{document} \begin{table}[h] \noindent \begin{minipage}[t]{.6\textwidth} \caption{実験8の入出力} \label{tb:exp8output} \begin{center} \begin{tabular}{@{}|ccc|cc|@{}}\hline J & K & Clock & Q & $\overline{Q}$ \\ \hline Low & Low & Low & High & Low \\ \hline High & Low & High & High & Low \\ \hline Low & Low & High & High & Low \\ \hline High & Low & High & High & Low \\ \hline High & Low & High & High & Low \\ \hline Low & High & Low & High & Low \\ \hline High & High & High & High & High \\ \hline \end{tabular} \end{center} \end{minipage} % \kern0pt % \begin{minipage}[t]{.4\hsize} \caption{正論理で示した真理値表} \label{tb:exp8turth_table} \begin{center} \begin{tabular}{@{}|ccc|cc|@{}} \hline J & K & Clock & Q & $\overline{Q}$ \\ \hline 0 & 0 & 0 & 1 & 0 \\ \hline 1 & 0 & 1 & 1 & 0 \\ \hline 0 & 0 & 1 & 1 & 0 \\ \hline 0 & 1 & 1 & 0 & 1 \\ \hline 1 & 0 & 1 & 1 & 0 \\ \hline 0 & 1 & 0 & 1 & 0 \\ \hline 1 & 1 & 1 & 1 & 1 \\ \hline \end{tabular} \end{center} \end{minipage} \end{table} \end{document}

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)