Notes about Images: Difference between revisions

No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Images ==
Because of the way PediaPress handles images, it's best if you put "Figures" into a paper like so:
Because of the way PediaPress handles images, it's best if you put "Figures" into a paper like so:


Line 13: Line 15:
'''Figure 1. NVD's reported cyber vulnerabilities<sup>2</sup>'''</center>
'''Figure 1. NVD's reported cyber vulnerabilities<sup>2</sup>'''</center>


== 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 <pre><nowiki><center>'''Figure X. My Code'''</center></nowiki></pre>.
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:
 
<pre><nowiki><center>'''Figure X. My Code'''</center></nowiki></pre>
 
== Tables ==
 
Tables, it's best to do like normal MediaWiki tables, but you'd want to do the caption above, like so:
 
<pre><nowiki><center>'''Table Y. My Numbers'''</center></nowiki></pre>
 
And then start off with code like this:
 
<pre><nowiki>
<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>
</nowiki>
</pre>