Author Style Guidelines
Articles submitted to mobiForge should adopt an informal, but clear style. The purpose of demanding this style guide is not to make it more difficult to write, but rather to reduce the time it takes to go from article submission to publication. Thus we regret that content submitted to mobiForge that does not follow these guidelines will not be published.
General Guidelines
- Content should submitted as HTML documents
- HTML should be simple and clean and valid
- You should avoid adding your own inline styles where possible
Headings and paragraphs
- Use
<h1>
for the heading of the article - Use
<h2>
,<h3>
,<h4>
for subsequent headings (observing correct nesting). Avoid unneccessary subheadings – use<h2>
where possible - Each separate paragraph should be contained within
<p></p>
tags.
Images
All images should be submitted already resized to desired display size, and should adhere to the following guidelines:
- Maximum width 650px
- Image filenames should follow a simple convention of abbreviated article name, followed by index of image e.g.
1my-article-im1.jpg, my-article-im2.jpg etc. - To style an image with respect to the surrounding text, the following options are available:
(1) Centered, with image caption below
12<p class="image-caption"><img src="my-article-1.jpg" alt="My image" title="My image" /><br /><strong>Figure 1</strong>: My image depicts my concept</p>(2) Inline left
1<p><img src="my-article-1.jpg" class="inline-left" align="left" />This is some of my content</p>(3) Inline right
1<p><img src="my-article-1.jpg" class="inline-right" align="right" />This is some of my content</p> - ALT attribute – you should include ALT text on all illustrative images
Code Excerpts
- All code excerpts should be enclosed in
<code></code>
tags. This will preformat the code excerpt, preserving indentation. - In addition, the language attribute can be used to further format the excerpt according to the syntax of the language of the code excerpt e.g.
<pre language="javascript">
My javascript code
</pre>
The possible language attribute values are:12345678910111213141516171819202122abap css latex railsactionscript delphi lisp regada diff lua robotsapache div m68k rubyapplescript dos matlab sasasm dot mirc schemeasp d mpasm sdlbasicautoit eiffel mysql smalltalkbash fortran nsis smartybasic4gl freebasic objc sqlblitzbasic genero ocaml-brief tclbnf gml ocaml textcaddcl groovy oobas thinbasiccadlisp haskell oracle8 tsqlcfdg html4strict pascal vbnetcfm idl perl vbc_mac ini per vhdlc inno php-brief visualfoxprocpp io php winbatchcpp-qt java5 plsql xmlcsharp java python xppjavascript qbasic z80 - filenames within text should be wrapped in
1
tags e.g.
1myfilename.ext - For command-line commands there are two options:
(1) inline1my-command(2) block – code tags and command appear on separate lines. This will surround the command with a grey box:
123my-command