早上好
我有下面的源代码。问题是项目不在文本区域item
中itemize
,而是在文本区域之外。我尝试获取$$
每一\item
行,但结果是一样的。我用文本替换了黑色球标记。结果在图片上。
谢谢你的帮助。
\documentclass[10pt,a6paper]{book}
\usepackage[utf8]{inputenc}
\usepackage[main=english,slovak]{babel}
\usepackage[cm]{fullpage}
\usepackage[a6paper, top=10mm, left=10mm, right=10mm,
bottom=10mm,foot=5mm,marginparsep=0mm,showframe]{geometry}
\usepackage{tipa}
\usepackage{tabularx,booktabs}
\usepackage{multirow}
\usepackage{rotating}
\usepackage{graphicx}
\begin{document}
\catcode`\-=12
\sloppy
%************************************************************
\newpage
%************************************************************
\section*{\foreignlanguage{slovak}{Opytovacie zámená}}
\begin{itemize}
\item[kto? koho?] %$ $
\begin{tabular}{p{2cm}p{2cm}}
\toprule
{\sffamily who?} & {\sffamily which of?} \\
\textsl{[\textipa{hu:}]} & \textsl{[\textipa{wItS 6v}]} \\
\bottomrule
všeobecne & z určitého počtu osôb\\
\end{tabular}
\item[čo?] %$ $
\begin{tabular}{p{2cm}p{2cm}}
\toprule
{\sffamily what?} & {\sffamily which?} \\
\textsl{[\textipa{hu:}]} & \textsl{[\textipa{wItS}]} \\
\bottomrule
všeobecne & z určitého počtu vecí\\
\end{tabular}
\begin{itemize}
\item vždy keď nasleduje predložka {\sffamily of}
\end{itemize}
\item[aký? ktorý?] %$ $
\begin{tabular}{p{2cm}p{2cm}}
\toprule
{\sffamily what?} & {\sffamily which of?} \\
\bottomrule
všeobecne & z určitého počtu osôb a vecí\\
\end{tabular}
\item[koľko] %$ $
\begin{tabular}{p{2cm}p{2cm}}
\toprule
{\sffamily how much?} & {\sffamily how many?} \\
\textsl{[\textipa{haU m2tS}]} & \textsl{[\textipa{haU \textprimstress men.i}]} \\
\bottomrule
s ne\-po\-čí\-ta\-teľ\-ný\-mi pod\-sta\-tný\-mi menami & s počítateľnými podstatnými menami\\
\end{tabular}
\end{itemize}
\end{document}
答案1
像这样?
\documentclass[10pt,a6paper]{book}
\usepackage[utf8]{inputenc}
\usepackage[main=english,slovak]{babel}
\usepackage[cm]{fullpage}
\usepackage[a6paper, top=10mm, left=10mm, right=10mm,
bottom=10mm,foot=5mm,marginparsep=0mm,showframe]{geometry}
\usepackage{tipa}
\usepackage{tabularx,booktabs}
\usepackage{multirow}
\usepackage{rotating}
\usepackage{graphicx}
\begin{document}
\catcode`\-=12
\sloppy
%************************************************************
\newpage
%************************************************************
\section*{\foreignlanguage{slovak}{Opytovacie zámená}}
\begin{description}
\item[kto? koho?] \mbox{}
\begin{tabular}{p{2cm}p{2cm}}
\toprule
{\sffamily who?} & {\sffamily which of?} \\
\textsl{[\textipa{hu:}]} & \textsl{[\textipa{wItS 6v}]} \\
\bottomrule
všeobecne & z určitého počtu osôb\\
\end{tabular}
\item[čo?] \mbox{} %$ $
\begin{tabular}{p{2cm}p{2cm}}
\toprule
{\sffamily what?} & {\sffamily which?} \\
\textsl{[\textipa{hu:}]} & \textsl{[\textipa{wItS}]} \\
\bottomrule
všeobecne & z určitého počtu vecí\\
\end{tabular}
\begin{itemize}
\item vždy keď nasleduje predložka {\sffamily of}
\end{itemize}
\item[aký? ktorý?] \mbox{}
\begin{tabular}{p{2cm}p{2cm}}
\toprule
{\sffamily what?} & {\sffamily which of?} \\
\bottomrule
všeobecne & z určitého počtu osôb a vecí\\
\end{tabular}
\item[koľko] \mbox{}
\begin{tabular}{p{2cm}p{2cm}}
\toprule
{\sffamily how much?} & {\sffamily how many?} \\
\textsl{[\textipa{haU m2tS}]} & \textsl{[\textipa{haU \textprimstress men.i}]} \\
\bottomrule
s ne\-po\-čí\-ta\-teľ\-ný\-mi pod\-sta\-tný\-mi menami & s počítateľnými podstatnými menami\\
\end{tabular}
\end{description}
\end{document}