- Timestamp:
- 02/05/12 17:26:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionLatexFormatter.cs
r7446 r7451 123 123 strBuilder.Append(@" \left( "); 124 124 } else if (node.Symbol is And) { 125 strBuilder.Append(@" \left( ");125 strBuilder.Append(@" \left( \left( "); 126 126 } else if (node.Symbol is Or) { 127 strBuilder.Append(@" \left( ");127 strBuilder.Append(@" \left( \left( "); 128 128 } else if (node.Symbol is Not) { 129 129 strBuilder.Append(@" \neg \left( "); … … 298 298 // replace "." with ".&" to align decimal points 299 299 var constStr = string.Format(System.Globalization.NumberFormatInfo.InvariantInfo, "{0:G5}", constant); 300 if (!constStr.Contains(".")) constStr = constStr + ".0";300 if (!constStr.Contains(".")) constStr = constStr + ".0"; 301 301 constStr = constStr.Replace(".", "\\negthickspace&."); // fix problem in rendering of aligned expressions 302 302 strBuilder.Append("c_{" + i + "}& = & " + constStr);
Note: See TracChangeset
for help on using the changeset viewer.