我正在尝试在 LaTex(Texshop、scrbook)中重现图像。我该如何获取它?

我正在尝试在 LaTex(Texshop、scrbook)中重现图像。我该如何获取它?

我想重现下面的图像。我该怎么做?

在此处输入图片描述

\documentclass[paper=17cm:24cm,11pt,DIV=12,BCOR=10mm,headinclude=true,pagesize=false,headings=small,table]{scrbook}
\usepackage{graphicx}
\usepackage{float}
\usepackage{multicol}
\providecommand{\\}{\\}
\setlength{\columnseprule}{0.4pt}
\usepackage{titlesec}
\usepackage{xunicode}
\usepackage{fontspec}
\usepackage[osf]{libertine}
\usepackage{array}
\usepackage{verbatim}
\usepackage{longtable}
\usepackage{enumitem}
\usepackage{polyglossia}
\setdefaultlanguage[variant=uk]{english}
\setmainfont{Linux Libertine O}
\newfontfamily\ef{Linux Libertine O}
\usepackage{xltxtra}
\usepackage{xkeyval}
\usepackage{tabularx}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{tabu}
\begin{document}
\begin{tabbing}
Past \hspace{0.5cm} \= \hspace{3cm} \= | 1. \textit{avidyā}, ignorance (blind camel)\\
\hspace{0.5cm} \> \hspace{3cm} \> ~| 2. \textit{saṃskāra}, latent dispositions (pot-maker)\\
\hspace{0.5cm} \> ~| \textit{upapattibhāva} \hspace{3cm} \> ~| 3. \textit{vijñāna}, rebirth-consciousness (ape)\\
\hspace{0.5cm} \> ~| or Receptive \\
\hspace{0.5cm} \> ~| side of life\\
\hspace{0.5cm} \> ~| \hspace{3cm} \> ~| 4. \textit{nāmarūpa}, name and form (ferryman)\\
\hspace{0.5cm} \> ~| \hspace{3cm} \> ~| 5. \textit{ṣaḍāyatana}, six organs of knowledge (mask with holes)\\
Present \hspace{0.5cm} \> ~| \hspace{3cm} \> ~| 6. \textit{sparśa}, contact (arrow entering the eye)\\
\hspace{0.5cm} \> ~| \hspace{3cm} \> ~| 7. \textit{vedanā}, feeling (\textit{mithuna})\\
\hspace{0.5cm} \> ~| \textit{karmabhava} \hspace{3cm} \> ~| 8. \textit{tṛṣṇā}, craving (drinking man)\\
\hspace{0.5cm} \> ~| or Potential\\
\hspace{0.5cm} \> ~| side of life\\
\hspace{0.5cm} \> ~| \hspace{3cm} \> ~| 9. \textit{upādāna}, rooted ideas (gathering flowers)\\
\hspace{0.5cm} \> ~| \hspace{3cm} \> ~| 10. \textit{bhava}, action or character (pregnant woman)\\
Future \hspace{0.5cm} \> \hspace{3cm} \> ~| 11. \textit{jāti}, birth (child-birth)\\
\hspace{0.5cm} \> \hspace{3cm} \> ~| 12. \textit{jarāmaraṇaśokaparidevanāduḥkhadurmanaskatā},\\
\hspace{0.5cm} \> \hspace{3cm} \> ~| decay-death-sorrow-lament-suffering-despair. 
\end{tabbing}
\end{document}

答案1

与您的序言相同(所以我没有在这里重复),您可以使用 withtabular\multirow一些\multicolumns 来修复垂直线和一些额外的间距。

我把所有这些都放在单独的宏中以保持表格整洁。我还将“过去”和“未来”稍微下移了一点,这样它对我来说看起来比原来的好看。

\newcommand{\MR}[1]{\multirow{2}*{#1}}
\newcommand{\MRa}{%
  \multirow{6.5}={\textit{upapattibhāva} or Receptive side of life}}
\newcommand{\MRb}{\multirow{2}{*}{–}}
\newcommand{\MRc}{%
  \multirow{3}={\textit{karmabhava} or Potential side of life}}
\newcommand{\MRd}{\multirow{6}{*}{—}}

\newcommand{\NoV}{\multicolumn{1}{r@{}}{}} % No vertical line

% small vertical spaces (with and without vertical line)
\newcommand{\VSpace}{ &  & \multicolumn{2}{l}{} \\[-8pt]}
\newcommand{\VSpaceb}{ &\NoV  & \multicolumn{2}{l}{} \\[-8pt]}

\begin{tabular}{l r@{}| p{2.5cm} r@{}|@{\,} r@{\,} p{7.5cm}}
\MR{Past} & \NoV &  \MRa & \MRb & 1.& \textit{avidyā}, ignorance (blind camel)\\
          & \NoV &  &  &  2. & \textit{saṃskāra}, latent dispositions (pot-maker)\\
\VSpace
          &  &  & \MRd &  3. & \textit{vijñāna}, rebirth-consciousness (ape)\\
          &  &  &  &  4. & \textit{nāmarūpa}, name and form (ferryman)\\
          &  &  &  &  5.& \textit{ṣaḍāyatana}, six organs of knowledge (mask with holes)\\ 
Present   & –&  &  &  6.& \textit{sparśa}, contact (arrow entering the eye)\\  
          &  &  &  &  7.& \textit{vedanā}, feeling (\textit{mithuna})\\
\VSpace
          &  &\MRc & &  8.& \textit{tṛṣṇā}, craving (drinking man)\\
          &  &  &  &  9.& \textit{upādāna}, rooted ideas (gathering flowers)\\
          &  &  &  &  10.& \textit{bhava}, action or character (pregnant woman)\\
\VSpaceb
\MR{Future} & \NoV &  & \MRb &  11.& \textit{jāti}, birth (child-birth)\\
          & \NoV &  &  & 12.& \textit{jarāmaraṇaśokaparidevanāduḥkhadurmanaskatā},\\
          & \NoV &  & \NoV & & decay-death-sorrow-lament-suffering-despair. \\
\end{tabular}

在此处输入图片描述

相关内容