Skip to content

changing the font size with {\small} and \begin{small} \end{small} #19

@mantzaris

Description

@mantzaris

Been having difficulty changing the font size of parts of the string and attempting to put it into the title of a plot with using Plots and either a pyplot or gr backend. The string is produced and do not know if the error is isolated in the figure plotting. A LaTeXString() or latexstring() or L""" """" produce the same error

julia> ll=LaTeXString("an equation;$ 2+3 \beta^3 }$ \n $\begin{small} \tau_4\end{small}$")
L"an equation;$ 2+3 \beta^3 }$
$\begin{small} \tau_4\end{small}$"

julia> plot([1,2,3,4],[1,2,3,4],title=ll)
Error showing value of type Plots.Plot{Plots.PyPlotBackend}:
ERROR: PyError (ccall(@pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, arg, C_NULL)) <type 'exceptions.ValueError'>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions