forked from aarondwolf/yalescheme
-
Notifications
You must be signed in to change notification settings - Fork 1
/
iefonts.sthlp
71 lines (50 loc) · 2.01 KB
/
iefonts.sthlp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{smcl}
{* 04feb2022}{...}
{vieweralsosee "Inclusion Economics scheme" "help iescheme"}{...}
{cmd:help iefonts}
{hline}
{marker title}
{title:Title}
{phang}
{cmd:iefonts} {hline 2} A helper command to configure graph fonts for use with the {it:Inclusion Economics} graph color schemes.
{title:Syntax}
{phang}
{cmd:iefonts} [{cmd:,} {it:options}]
{synoptset 10 tabbed}{...}
{synopthdr}
{synoptline}
{synopt :{opt serif}}Set graph fonts to Lora rather than Montserrat.{p_end}
{synopt :{opt restore}}Restore default Stata graph fonts.{p_end}
{marker description}
{title:Description}
{pstd}
The {helpb iescheme:Inclusion Economics scheme} is intended to be used with the {bf:Inclusion Economics} brand fonts, Montserrat and Lora, which can be downloaded and installed from Google Fonts.
Fonts are specified independently of schemes.
{pstd}
This helper command, {cmd:iefonts}, helps configure {it:Inclusion Economics} fonts.
Once Montserrat and Lora are installed to your system, you can run {cmd:iefonts} to configure Stata to use them in graphs.
{marker installation}
{title:Installation}
{pstd}
Before this command has any effect, you must download and install Montserrat and Lora.
Both are available from Google Fonts. Install the entire families.
{pstd}
{bf:Note:} This command cannot install Montserrat and Lora for you, nor can it check that they are properly installed.
{marker usage}
{title:Usage}
{pstd}
To set graph fonts to Montserrat, the {it:Inclusion Economics} sans-serif font:
{cmd:.} {cmd: iefonts}
{pstd}
To set graph fonts to Lora, the {it:Inclusion Economics} serif font:
{cmd:.} {cmd: iefonts, serif}
{pstd}
{bf:Note:} Our brand guidelines state that graphs should use sans-serifs unless there is a compelling reason to use serifs.
{pstd}
In either case, the configuration is permanent.
Therefore there is also an option to restore graph fonts to the Stata defaults:
{cmd:.} {cmd: iefonts, restore}
{marker author}
{title:Author}
{pstd}Nils Enevoldsen, {it:Inclusion Economics}{p_end}
{pstd}[email protected]{p_end}