簡單的表格運行在頁面之外

簡單的表格運行在頁面之外

我試圖使用表格來顯示一些訊息,但文字直接從頁面上消失。看一看:

\documentclass{article}

\begin{document}

\begin{flushleft}

\begin{enumerate} 

\item Rationale/Theoretical Reasoning (Hoe does your lesson target specific features of one or more of the five reform appraoches?)
\vspace{1cm}

\item Materials, Resources, Safety

 \begin{itemize}
 \item Battery
 \item Copper Wire 
 \item Screw/Bolt 
 \item Electrical Tape 
 \item Box Cutter 
 \item Wire Cutter 
 \end{itemize}    

\vspace{1cm}

\item NYS Learning Standards 

\begin{center}
\begin{tabular}{| c | c |}
\hline
Sequence & Performance Indicators\\
\hline
III.6 & A circuit is a closed path in which a current* can exist.\\
\hline
III.8 & Circuit components may be connected in series* or in parallel.* Schematic diagrams are used to represent circuits and circuit elements\\
\hline
III.9 & Moving electric charges produce magnetic fields. The relative motion between a conductor and a magnetic field may produce a potential difference in the conductor\\ 
\hline
\end{tabular}
\end{center}   
\end{enumerate}    

\end{flushleft} 

\end{document}

請幫忙!

答案1

l,c,r說明符用於單行單元格。您必須選擇允許文字換行的段落列類型。我建議tabularx您可以設定整體表格寬度的環境。這是一個代碼:

\documentclass{article}
\usepackage{tabularx} 

\begin{document}

\begin{flushleft}

\begin{enumerate}
\item Rationale/Theoretical Reasoning (Hoe does your lesson target specific features of one or more of the five reform appraoches?)
\vspace{1cm}

\item Materials, Resources, Safety

 \begin{itemize}
 \item Battery
 \item Copper Wire
 \item Screw/Bolt
 \item Electrical Tape
 \item Box Cutter
 \item Wire Cutter
 \end{itemize}
\vspace{1cm}

\item NYS Learning Standards

\begin{center}
\setlength{\extrarowheight}{2pt}
\begin{tabularx}{\linewidth}{| c | X |}
\hline
Sequence & Performance Indicators\\
\hline
III.6 & A circuit is a closed path in which a current* can exist.\\
\hline
III.8 & Circuit components may be connected in series* or in parallel.* Schematic diagrams are used to represent circuits and circuit elements\\
\hline
III.9 & Moving electric charges produce magnetic fields. The relative motion between a conductor and a magnetic field may produce a potential difference in the conductor\\
\hline
\end{tabularx}
\end{center}
\end{enumerate}

\end{flushleft}

\end{document} 

在此輸入影像描述

相關內容