我的一位同事请我帮忙使用 tex 代码创建下面的图片。
(来源:红木网)
有人可以分享一些代码吗,也许是前两行?
=======================================================================================
感谢以下建议和以下链接:
我可以执行以下操作:
\documentclass{article}
\usepackage[table]{xcolor}
\begin{document}
\rowcolors{1}{white}{gray!20}
\begin{tabular}{|l|p{8cm}|}
\hline
Strengths &
- Increase the number of tourists\newline
- Easy to start a business\newline
- Favorable tax System\\
\hline
Weakness &
- Limited Resources\newline
- High start-up costs\\
\hline
Opportunities &
- target markets by country of origin or interests\\
\hline
Threats &
- High level of competition\newline
- Difficulty in attracting and maintaining customers\\
\hline
\end{tabular}
\end{document}
结果就是这张图片。我的同事很感激。
答案1
大致如下:
\begin{tabular}{|l|p{6cm}|}
\hline
Strenghts & \begin{itemize}
\item{Increase the number of tourists}
\item{Easy to start a business}
\item{Favorable tax System}
\end{itemize}\\
\hline
Weakness & \begin{itemize}
\item{Limited Resources}
\item{High start-up costs}
\end{itemize}\\
\hline
Opportunities & \begin{itemize}
\item{target markets by country of origin or interests}
\end{itemize}\\
\hline
Threats & \begin{itemize}
\item{High level of competition}
\item{Difficulty in attractingand maintaining customers}
\end{itemize}\\
\hline
\end{tabular}