如何复制此模板?

如何复制此模板?

我想在 Latex 上的工作中使用下面这种类型的例子。我是这个程序的新手。

使用社区其他成员的反馈,我设法解决了上述问题的一部分。但是,我无法使函数 lettrine 或自动编号。您能帮助解决这两个问题吗?

在此处输入图片描述

这是我当前的 MWE:

\documentclass[oneside,12pt]{article}
\usepackage{tikz}
\usepackage{xcolor}
\usetikzlibrary{shadows}
\usepackage{tabularx}
\usepackage{enumitem}
\usepackage{lettrine}
\usepackage[utf8]{inputenc}
\usepackage[spanish,activeacute]{babel}
\newcommand{\mipbox}[2]{\indent\hspace{2mm}\parbox{#1} {\includegraphics[scale=0.35]{#2}}}
\setlist{leftmargin=3.9mm}

\newcommand{\mylist}{\tikz[overlay]\draw[ ultra thick,blueline](-.2,-.2)--(-.2,.4) [path fading=east](-.2,.15)--(.3,.15); $\;$}
\newcommand{\myitem}{\item[\mylist]}

\newcommand{\mylists}{\tikz[overlay]\draw[ ultra thick,blueline](-.2,-.2)--(-.2,.4) [path fading=east](-.2,.15)--(.5,.15); $\;$}
\newcommand{\myitems}{\item[\mylists]}
\newcommand{\ita}{\textit}


\usepackage{colortbl}

\definecolor{blueline}{HTML}{2F74D0}
\begin{document}

{\setlength{\arrayrulewidth}{1mm}
\arrayrulecolor{blueline}
\begin{tabularx}{\textwidth}{ l  | X  }

    \multicolumn{2}{>{\mdseries}p{\textwidth}}{\ita{First row of the table - some long text in bold font with background color. This needs to wrap properly. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc venenatis nunc dui, sed pellentesque ante laoreet nec}.}\\ \hline
   2&\vspace{1mm}\hspace{5mm}\textcolor{blueline}{\textbf{Respuestas}}\\
 22& \begin{itemize}  \parbox{10cm}{
    \myitem a)  kkk enenatis nunc dui, sed pellentesque ante laoreet nec enenatis nunc dui, sed pellentesque ante laoreet nec.
    \myitem b) enenatis nunc dui, sed pellentesque ante laoreet nec enenatis nunc dui, sed pellentesque ante laoreet nec enenatis nunc dui, sed pellentesque ante laoreet nec. }\mipbox{1cm}{optiM2.png}
    \myitem c) hshsg gsfdg  hshsgddc h hgddh  sed pellentesque ante laoreet nec enenatis nunc dui, sed pellentesque ante la
    \begin{itemize}[topsep=-5pt,leftmargin=14.5mm,itemsep=0.8pt,labelsep=.5cm]
    \myitems i) kshdg
    \myitems ii) jsjshdfgf
    \end{itemize}
    \myitem  sed pellentesque ante laoreet nec enenatis nunc dui, sed pellentesque ante la  sed pellentesque ante laoreet nec enenatis nunc dui, sed pellentesque ante la
    \end{itemize} \\ \hline \hline    
\end{tabularx}

\end{document}

相关内容