新题比对中添加一些让源文件更整齐的回车

This commit is contained in:
wangweiye7840 2024-01-24 16:01:28 +08:00
parent e61f5123e7
commit e24255890f
1 changed files with 2 additions and 2 deletions

View File

@ -17,11 +17,11 @@ for p in problems:
t = stringmaxsim(p_treated,treated_dict,3)
count = 0
for id,simrate in t:
output += "\\begin{tcolorbox}"+f"[colback = {colors[count]}!10!white, colframe = orange!10!white, breakable]\n"
output += "\n\\begin{tcolorbox}"+f"[colback = {colors[count]}!10!white, colframe = orange!10!white, breakable]\n"
output += f"{simrate:.3f} \\ {id}\n\n"
content = pro_dict[id]["content"]
output += f"{content}\n"
output += "\\end{tcolorbox}"
output += "\\end{tcolorbox}\n"
count += 1
output += "\n\n"
output += "\n\\end{enumerate}\n\n"