Notes about Images: Difference between revisions

From Ben Works
Jump to navigation Jump to search
 
Line 41: Line 41:
|'''Test Cases'''
|'''Test Cases'''
|'''Line Coverage'''
|'''Line Coverage'''
|-
|}
</center>
</center>
</nowiki>
</nowiki>
</pre>
</pre>

Latest revision as of 17:57, 15 March 2013

Images

Because of the way PediaPress handles images, it's best if you put "Figures" into a paper like so:


<center>[[File:Sess-figure-1.png]]<br />
'''Figure 1. NVD's reported cyber vulnerabilities<sup>2</sup>'''</center>

Which should give you:


Figure 1. NVD's reported cyber vulnerabilities2

Code Figures

Code, it seems, is always handled OK, as long as you put the double spaces (MediaWiki standard) before it and then follow it up with a caption like so:

<center>'''Figure X. My Code'''</center>

Tables

Tables, it's best to do like normal MediaWiki tables, but you'd want to do the caption above, like so:

<center>'''Table Y. My Numbers'''</center>

And then start off with code like this:

<center>'''Table 1. Code Metrics for iTrust Fall 2007 (7707 LoC in 143 classes Total)'''
{| class="wikitable"
|-
|'''Package'''
|'''Java Class'''
|'''LoC'''
|'''Statements'''
|'''Methods'''
|'''Variables'''
|'''Test Cases'''
|'''Line Coverage'''
|}
</center>