考虑以下情节:
我想将“分析数据范围:... 2020-01-01”作为具有不同属性的副标题,即较小的字体。是否可以?截至目前,我在
plot
title="Cepstral Coefficients\nAnalysed data range: $(startdt) to $(enddt)"
因此,它是使用
\n
您可以尝试使用以下格式的
using LaTeXStrings
plot(rand(3), title=LaTeXString("Main title 1\n\$^\\textrm{subtitle\\ of\\ plot}\$"))
请注意,上标仅在数学模式下可用,因此空格格式更复杂。