Tag Info

New answers tagged

0

The following suggestions work with the code in the master branch of MetaUML, but not with MetaUML 0.2.5. It is possible to explicitly mark class features as abstract or static: metaUML class diagram: set some methods as abstract in an abstract class Text can be underlined as follows: Picture.a("foo"); a.info.textDecoration := "underline"; The use of ...


0

You can use Class_noVisibilityMarkers. Class.A("Point") ("#x:int", "#y:int") ("+toString():String"); Class_noVisibilityMarkers.A; drawObject(A); Class_noVisibilityMarkers was not available in MetaUML 0.2.5, but it is now available from the master branch of https://github.com/ogheorghies/MetaUML .


4

Another way: using the latexmp package and its textext macro. Contrary to the classical btex…etex flags, it allows you to use loops inside your labels. input latexmp; setupLaTeXMP(packages="amssymb"); beginfig(1); label.urt(textext("$\mathfrak{b}$"),(100,0)); for i = 1 upto 5: label(textext("$\mathcal{X}_{" & decimal i & ...


4

Try verbatimtex %&latex \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} etex; prologues:=3; beginfig(1); label.urt(btex $\mathfrak{b}$ etex,(100,0)); label(btex $\mathcal{X}_{\eta}$ etex,(-15,55)); endfig; end.



Top 50 recent answers are included