-
Notifications
You must be signed in to change notification settings - Fork 382
Support for multi-line plot titles and introducing subtitles (also supporting multi-lines) #4562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Here, a \r means we should continue the title on the next line, while \n means we do the same but switch to subtitle font settings. We cannot mix \r and \n.
It's not that I dislike
|
Happy to entertain opinions on this. I can imagine a near future where @^ could work in any other setting as well (say axes lables), so in that case perhaps @^ is not a bad idea anyway. |
Now implemented with 18p size. |
and/or @^ seem fine to me. I agree with Joaquim that is very intuitive. |
Ok, so leave |
OK, will merge for now as is. If there were a consensus that |
Description of proposed changes
See #4557 for context. This PR implements two related features:
@^
(and#break;
) as markers that break a title or subtitle into multiple lines.I have added two examples that demonstrates these (longtitles_hat.sh.sh and longtitles_break.sh).
Given that
@^
is pretty unique for breaking the line, do we still need#break;
? Let me know if I can remove that before we merge.If you feel the subtitle could be a tad smaller (it is 20p while the title is 24p) let me know. Below is what it looks with 24p/18p, which I think looks better personally:
Later, I will introduce the same to subplot -Theading option as welo, but currently its implementation requires me to make some changes first.