---
title: "LatexFragment"
url: "https://reference.aspose.com/pdf/python-net/aspose.pdf/latexfragment/"
product: "Aspose.PDF for Python via .NET API Reference"
description: "Represents TeX fragment."
---


## LatexFragment class

Represents TeX fragment.

The LatexFragment type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|LatexFragment(text)|Initializes a new instance of the LatexFragment class|
|LatexFragment(text, remove_indents)|Initializes a new instance of the LatexFragment class|
## Properties
| Name | Description |
| :- | :- |
|vertical_alignment|None|
|horizontal_alignment|None|
|margin|None|
|is_first_paragraph_in_column|None|
|is_kept_with_next|None|
|is_in_new_page|None|
|is_in_line_paragraph|None|
|hyperlink|None|
|z_index|None|
|te_x_load_options_of_instance|Gets or sets TeXLoadOptions that will be used for loading (and rendering) of LaTeX into this instance of class.<br/>            Please use it when it's necessary use specific setting for import of LaTeX for this or that instance<br/>             (f.e when this or that instance should use specific BasePath for imported LaTeX or should use specific loader of external resources)<br/>            If parameter is default (null), then standard LaTeX loading options will be used.|
|latex_load_options_of_instance|Gets or sets TeXLoadOptions that will be used for loading (and rendering) of LaTeX into this instance of class.<br/>            Please use it when it's necessary use specific setting for import of LaTeX for this or that instance<br/>             (f.e when this or that instance should use specific BasePath for imported LaTeX or should use specific loader of external resources)<br/>            If parameter is default (null), then standard LaTeX loading options will be used.|
## Methods
| Name | Description |
| :- | :- |
|clone()|Clones fragment.|

### See Also

* namespace [aspose.pdf](/pdf/python-net/aspose.pdf/)
* assembly [Aspose.PDF](/pdf/python-net/)

