新题比对中添加一些让源文件更整齐的回车
This commit is contained in:
parent
e61f5123e7
commit
e24255890f
|
|
@ -17,11 +17,11 @@ for p in problems:
|
||||||
t = stringmaxsim(p_treated,treated_dict,3)
|
t = stringmaxsim(p_treated,treated_dict,3)
|
||||||
count = 0
|
count = 0
|
||||||
for id,simrate in t:
|
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"
|
output += f"{simrate:.3f} \\ {id}\n\n"
|
||||||
content = pro_dict[id]["content"]
|
content = pro_dict[id]["content"]
|
||||||
output += f"{content}\n"
|
output += f"{content}\n"
|
||||||
output += "\\end{tcolorbox}"
|
output += "\\end{tcolorbox}\n"
|
||||||
count += 1
|
count += 1
|
||||||
output += "\n\n"
|
output += "\n\n"
|
||||||
output += "\n\\end{enumerate}\n\n"
|
output += "\n\\end{enumerate}\n\n"
|
||||||
|
|
|
||||||
Reference in New Issue