Notes about Images: Difference between revisions
Jump to navigation
Jump to search
Programsam (talk | contribs) Created page with "Because of the way PediaPress handles images, it's best if you put "Figures" into a paper like so: <pre> <nowiki> <center>File:Sess-figure-1.png<br /> '''Figure 1. NVD's ..." |
Programsam (talk | contribs) |
||
| (5 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 12: | Line 14: | ||
<center>[[File:Sess-figure-1.png]]<br /> | <center>[[File:Sess-figure-1.png]]<br /> | ||
'''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 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> | |||
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>