PDF mathtext rendering utilities
Draw text with mathematical notation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pdf_context_core), | intent(inout) | :: | this | |||
| real(kind=wp), | intent(in) | :: | x | |||
| real(kind=wp), | intent(in) | :: | y | |||
| character(len=*), | intent(in) | :: | text | |||
| real(kind=wp), | intent(in), | optional | :: | font_size | 
Render a single mathematical text element in PDF
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pdf_context_core), | intent(inout) | :: | this | |||
| type(mathtext_element_t), | intent(in) | :: | element | |||
| real(kind=wp), | intent(inout) | :: | x_pos | |||
| real(kind=wp), | intent(in) | :: | baseline_y | |||
| real(kind=wp), | intent(in) | :: | base_font_size |