@@ -1846,6 +1846,7 @@ The following code examples show how to apply the justification to equations in
18461846{% tabs %}
18471847
18481848{% highlight c# tabtitle="C# [ Cross-platform] " %}
1849+ {% raw %}
18491850// Create a new Word document.
18501851using (WordDocument document = new WordDocument())
18511852{
@@ -1861,9 +1862,11 @@ using (WordDocument document = new WordDocument())
18611862 document.Save(outputFileStream, FormatType.Docx);
18621863 }
18631864}
1865+ {% endraw %}
18641866{% endhighlight %}
18651867
18661868{% highlight c# tabtitle="C# [ Windows-specific] " %}
1869+ {% raw %}
18671870//Create a new Word document.
18681871WordDocument document = new WordDocument();
18691872//Add one section and one paragraph to the document.
@@ -1874,9 +1877,11 @@ WMath math = document.LastParagraph.AppendMath(@"\boxed{{x}^{2}+{y}^{2}={z}^{2}}
18741877math.MathParagraph.Justification = MathJustification.Left;
18751878//Save Word document.
18761879document.Save("Output.docx", FormatType.Docx);
1880+ {% endraw %}
18771881{% endhighlight %}
18781882
18791883{% highlight vb.net tabtitle="VB.NET [ Windows-specific] " %}
1884+ {% raw %}
18801885'Create a new Word document.
18811886Dim document As New WordDocument()
18821887'Add one section and one paragraph to the document.
@@ -1887,6 +1892,7 @@ Dim math As WMath = document.LastParagraph.AppendMath("\boxed{{x}^{2}+{y}^{2}={z
18871892math.MathParagraph.Justification = MathJustification.Left
18881893'Save Word document.
18891894document.Save("Output.docx", FormatType.Docx)
1895+ {% endraw %}
18901896{% endhighlight %}
18911897
18921898{% endtabs %}
0 commit comments