User Tools

Site Tools


jwlua:enigmastrings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
jwlua:enigmastrings [2013/10/18 20:18]
jariw [Enigma Strings - General Syntax]
jwlua:enigmastrings [2013/10/18 21:25]
jariw [Examples]
Line 7: Line 7:
 Only the text strings that support formatting are stored as Enigma strings in Finale. For example: a Staff name is an Enigma string, a Bookmark name is not. Only the text strings that support formatting are stored as Enigma strings in Finale. For example: a Staff name is an Enigma string, a Bookmark name is not.
  
 +===== Examples =====
 +
 +Full Enigma string might look like this:
 +
 +| ''​^fontMus(Font0,​0)^size(24)^nfx(0)F''​ | "​mf"​ (mezzoforte) text expression marking using the category'​s default font name. |
 +| ''​^fontTxt(Times New Roman,​4096)^size(12)^nfx(2)subito ^fontMus(Font0,​0)^size(24)^nfx(0)p''​ | "​subito p" text expression (with font change before "​p"​) |
 +| ''​^font(Times New Roman,​4096)^size(12)^nfx(0)^title()''​ | A text with a "​title"​ text insert. |
 ===== Text Storage ===== ===== Text Storage =====
  
Line 21: Line 28:
 === ^nfx(integer) === === ^nfx(integer) ===
  
-The font styles as a bit set coded as an integer. Use ''​FCFontInfo:​CreateEnigmaStyleString()''​ to get the string to use from an existing style.+The font styles as a bit set coded as an integer. Use ''​FCFontInfo:​CreateEnigmaStyleString()''​ to get the string to use from an existing style. The ''​FCFontInfo.EnigmaStyles''​ property can get/set the numerical style data directly in a FCFontInfo object.
  
 ''​^nfx(0)''​ would mean a plain font style. ''​^nfx(0)''​ would mean a plain font style.
Line 37: Line 44:
 | ''​^fontNum''​ | The category number font | | ''​^fontNum''​ | The category number font |
  
-In addition to using traditional font names (such as ^fontTxt(Times New Roman, 0)), these commands can also use a "​special"​ font name called ''​Font0'',​ that would represent the default category font (such as ''​^fontTxt(Font0,​0)''​).+In addition to using traditional font names (such as ''​^fontTxt(Times New Roman, 0)''​), these commands can also use a "​special"​ font name called ''​Font0'',​ that would represent the default category font (such as ''​^fontTxt(Font0,​0)''​).
 ===== Formatting ===== ===== Formatting =====
  
Line 47: Line 54:
 ===== Text Inserts ===== ===== Text Inserts =====
  
-These commands will insert special contents to the string:+These commands will insert special contents to the string. Some text inserts might not make sense for certain types of Enigma strings.
  
 | ''​^arranger()'' ​ | The arranger name text insert (defined in the File Info). | | ''​^arranger()'' ​ | The arranger name text insert (defined in the File Info). |
jwlua/enigmastrings.txt ยท Last modified: 2014/11/30 10:26 by jariw