heading default font name/size

chris's Avatar

chris

16 Feb, 2013 03:41 AM

It seems that setting:

heading = { 
fontName = Menlo
};

Should obviate the need to specify the name again in a subsequent:

heading1 = {}

declaration. But it does not appear to work that way. For example, the following doesn't work to set the heading1 font size:

heading =  {
    backgroundColor = 0c000000;
    fontName = Menlo; 
};
heading1 = {
    fontSize = 20;
};

but this does:

heading =  {
    backgroundColor = 0c000000;
};
heading1 = {
    fontName = Menlo;
    fontSize = 20;
};
  1. Support Staff 1 Posted by Fletcher on 16 Feb, 2013 03:46 AM

    Fletcher's Avatar

    heading1, etc. overrules heading

    F-

  2. 2 Posted by chris on 16 Feb, 2013 03:53 AM

    chris's Avatar

    So the default is only the default if there are no further header declarations, not the default until a specific attribute is overridden?

    I guess that seems conter-intuitive. I, like most, would assume that the individual properties set in the heading{} block would only be overridden if they were specifically overridden in a further headingX{} block. Like CSS, which the syntax closely resembles.

  3. Support Staff 3 Posted by Fletcher on 16 Feb, 2013 03:55 AM

    Fletcher's Avatar

    It looks a little like CSS, but its completely different.

    F

    Fletcher T. Penney
    Manager
    mmd Software, LLC

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac