@@ -11,10 +11,10 @@ struct TeXer {
11 return """
11 return """
12 \\\(style.section(for: 1)){Описание классов и структур}
12 \\\(style.section(for: 1)){Описание классов и структур}
14− \\begin{longtable}{|p{0.55\\textwidth} | p{0.4\\textwidth}|}
14+ \\begin{longtable}{| >{\\raggedright\\arraybackslash}p{0.55\\textwidth} | >{\\raggedright\\arraybackslash}p{0.4\\textwidth}|}
16 \\textbf{Класс или стркура} & \\textbf{Описание} \\\\ \\hline
16 \\textbf{Класс или стркура} & \\textbf{Описание} \\\\ \\hline
17− \( objects.map {"\\texttt{\($0.declaration)} & \($0.documentation ?? "{\\color{red} TODO}") \\\\ \\hline"} .joined(separator: "\n") )
17+ \( objects.map {"\\texttt{\($0.declaration)} & {\\color{red} TODO} \\\\ \\hline"} .joined(separator: "\n") )
18 \\end{longtable}
18 \\end{longtable}
@@ -26,7 +26,7 @@ struct TeXer {
26 return """
26 return """
27 \\\(style.section(for: 2))*{\\texttt{\($0.declaration)}}
27 \\\(style.section(for: 2))*{\\texttt{\($0.declaration)}}
29− \\begin{longtable}{|p{0.55\\textwidth} | p{0.4\\textwidth}|}
29+ \\begin{longtable}{| >{\\raggedright\\arraybackslash}p{0.55\\textwidth} | >{\\raggedright\\arraybackslash}p{0.4\\textwidth}|}
31 \\textbf{Поле} & \\textbf{Описание} \\\\ \\hline
31 \\textbf{Поле} & \\textbf{Описание} \\\\ \\hline
32 \( $0.fields.map {"\\texttt{\($0.declaration.prefix {$0 != "="})} & {\\color{red} TODO} \\\\ \\hline"} .joined(separator: "\n") )
32 \( $0.fields.map {"\\texttt{\($0.declaration.prefix {$0 != "="})} & {\\color{red} TODO} \\\\ \\hline"} .joined(separator: "\n") )
@@ -47,10 +47,10 @@ struct TeXer {
47 return """
47 return """
48 \\\(style.section(for: 2))*{\\texttt{\($0.declaration)}}
48 \\\(style.section(for: 2))*{\\texttt{\($0.declaration)}}
50− \\begin{longtable}{|p{0.55\\textwidth} | p{0.4\\textwidth}|}
50+ \\begin{longtable}{| >{\\raggedright\\arraybackslash}p{0.55\\textwidth} | >{\\raggedright\\arraybackslash}p{0.4\\textwidth}|}
52 \\textbf{Метод} & \\textbf{Описание} \\\\ \\hline
52 \\textbf{Метод} & \\textbf{Описание} \\\\ \\hline
53− \( $0.methods.map {"\\texttt{\($0.declaration)} & \($0.documentation ?? "{\\color{red} TODO}") \\\\ \\hline"} .joined(separator: "\n") )
53+ \( $0.methods.map {"\\texttt{\($0.declaration)} & {\\color{red} TODO} \\\\ \\hline"} .joined(separator: "\n") )
54 \\end{longtable}
54 \\end{longtable}