我正在寻找一种设置来增加使用描述性图表生成的矩形的长度smartdiagram
。似乎大部分水平空间都没有得到利用。
下面是重现此问题的代码:
\usepackage{smartdiagram}
\smartdiagramset{uniform color list=grey for 3 items}
\smartdiagram[descriptive diagram]{
{Step 1,{UTF-8 and BOM encoding} to all (.csv) files before merging},
{Step 2,{Replace \& Merge 'NA' values of \textbf{title} column} to 'comments'},
{Step 3,{Filter and Merge topics that have atleast received a comment}}
答案1
使用description width
和description text width
论据\smartdiagramset
。
我还修复了代码中的一些问题,使其能够编译。
以下是 MWE:
\documentclass{report}
\usepackage{smartdiagram}
\begin{document}
\smartdiagramset{
uniform color list=gray for 3 items,
description width=12cm, % <-- width of a drawn bounding box
description text width=11cm % <-- width of a text within that box
}
\smartdiagram[descriptive diagram]{
{Step 1, {UTF-8 and BOM encoding to all (.csv) files before merging}},
{Step 2, {Replace \& Merge 'NA' values of \textbf{title} column to 'comments'}},
{Step 3, {Filter and Merge topics that have at least received a comment}},
}
\end{document}