Skip to content

Commit

Permalink
test cases #557
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhughes committed Aug 26, 2024
1 parent e4f20ba commit 0fa25b3
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test-cases/oneSentencePerLine/issue-557-mod1.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
\begin{table}[ht"]
\centering
\caption{Empfohlene Prozessparameter für die Entgratung mit Fräser \& Ausgleichshalter}
\label{tab:empfohlene_parameter_frser}
\begin{tabular}{@{}lll@{}}
\toprule
\textbf{Parameter} & \textbf{Einheit} & \textbf{Wert} \\ \midrule
Drehzahl $n$ & $\tfrac{U}{min}$ & 6.000 - 8.000 \\
max. Drehzahl $n_{max}$ & $\tfrac{U}{min}$ & 10.000 \\
Vorschub $v_f$ & $\tfrac{mm}{min}$ & 2.000 - 10.0000 \\
Zustellung axial $a_p$ & $[ mm ]$ & ca. $0,25*d_t$ \\
Zustellung radial $a_e$ & $[ mm ]$ & ca. $0,3*d_t$ \\ \bottomrule
\end{tabular}
\end{table}
14 changes: 14 additions & 0 deletions test-cases/oneSentencePerLine/issue-557.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
\begin{table}[ht"]
\centering
\caption{Empfohlene Prozessparameter für die Entgratung mit Fräser \& Ausgleichshalter}
\label{tab:empfohlene_parameter_frser}
\begin{tabular}{@{}lll@{}}
\toprule
\textbf{Parameter} & \textbf{Einheit} & \textbf{Wert} \\ \midrule
Drehzahl $n$ & $\tfrac{U}{min}$ & 6.000 - 8.000 \\
max. Drehzahl $n_{max}$ & $\tfrac{U}{min}$ & 10.000 \\
Vorschub $v_f$ & $\tfrac{mm}{min}$ & 2.000 - 10.0000 \\
Zustellung axial $a_p$ & $[ mm ]$ & ca. $0,25*d_t$ \\
Zustellung radial $a_e$ & $[ mm ]$ & ca. $0,3*d_t$ \\ \bottomrule
\end{tabular}
\end{table}
5 changes: 5 additions & 0 deletions test-cases/oneSentencePerLine/issue-557.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
modifyLineBreaks:
oneSentencePerLine:
manipulateSentences: 1 # 0/1
sentencesDoNOTcontain:
other: (?:\\begin|\\\\)
2 changes: 2 additions & 0 deletions test-cases/oneSentencePerLine/one-sentence-per-line.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ latexindent.pl -s issue-514 -m -o=+-mod1 -l=issue-514.yaml

latexindent.pl -s issue-527 -m -o=+-mod1 -l=issue-527.yaml

latexindent.pl -s -l issue-557.yaml -m issue-557.tex -o=+-mod1

[[ $noisyMode == 1 ]] && makenoise
[[ $gitStatus == 1 ]] && git status

Expand Down

0 comments on commit 0fa25b3

Please sign in to comment.