summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/nassflow/add.lse
blob: 9d7592777d117a62f74295783bc8ddf35baa98f7 (plain)
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
!
! Add the following defenition in the menu list in the placeholder
! "environments" in the file LATEX_ENVIRONMENTS.LSE

"structure"		/placeholder

! Add the following definitions also somewhere in the same file


DELETE TOKEN "\struct" -
    /LANGUAGE=LATEX
DEFINE TOKEN "\struct" -
    /LANGUAGE=LATEX -
    /PLACEHOLDER=structure

delete placeholder "structure" /language = latex
define placeholder "structure" /language = latex -
  	/descr = "Full structure definition for Flow or NS diagram" -
	/topic_string = "LATEX Commands Environments structure" 

"\scriptsize%"
"\STRUCT{<struct-name>}{<<struct-description>>}{%"
"  <<statement>>..."
"}%"
"\normalsize"
""
end define