Login
Remember
Register
PlantUML Q&A
*NEW* Discord server
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Can I use monospaced fonts as default setting?
0
votes
asked
May 19, 2017
in
To be sorted
by
anonymous
retagged
May 22, 2017
I don’t feel like write ""monospace"" every time when using monospaced fonts.
Can I set any parameters at command or file?
activity-beta
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail]
(--------)
To avoid this verification in future, please
log in
or
register
.
1 Answer
0
votes
answered
May 22, 2017
by
plantuml
(
295,000
points)
Best answer
Hello,
Yes, you can use -config flag in the command line. See
http://plantuml.com/command-line
Hope this help!
commented
May 23, 2017
by
anonymous
Thanks for answer.
I'm using skinparam with [-config filepath] as you wrote.
I want to use monospace without escape.(not FontName parameter)
Is it in skinparam ?
I saw
http://plantuml.com/skinparam
Maybe no usage there.
commented
May 23, 2017
by
plantuml
(
295,000
points)
You can use "skinparam defaultFontName monospaced"
@startuml
skinparam defaultFontName monospaced
alice -> bob : help
@enduml
result :
http://www.plantuml.com/plantuml/uml/3SpB3O0W303GErDq0HVmO3XvT8S2DHBx8RJihs-0bprmnX9E_dOTE56WqOsBupID2uL0JCq7Lce9kLU2xO1Y1NPuY4VAfEqFFW00
So if you put "skinparam defaultFontName monospaced" in your config file, it should work.
commented
May 24, 2017
by
anonymous
It was work fine and very helpful.
I didn't understand parameter to set.
so, I thought defaultFontName is must set like SansSerif.
Thanks for your help!
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
How to use "as" in the new activity syntax? How to have multiple input/output arrows?
How can I use the "document" shape in the activity diagram?
How can I overline a symbol, such as xbar in statistics, in a message label?
Can use line brake in note generated from variable?
Can I use a Scrollbar in a salt Plantuml?
All categories
Question / help
(1,464)
Bug
(1,637)
Wanted features
(1,420)
Closed question / help
(88)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(12)
Can't help
(9)
To be deleted
(10)
To be sorted
(429)
...