# Latex template for vigre modules: general guidelines  (Page 2/2)

 Page 2 / 2

## Rules for converting latex source

Connexions generally does a fine job translating LaTeX source code into the native Connexions mark-up language.However, one may need to adapt one's usual typesetting habits to work around a few idiosyncrasies.Firstly, one should not invest effort in adjusting page margins, line spacing, and fonts: the converter will strip away much ofthis veneer and replace it with the standard Connexions stylings. Equations will not be converted into graphics (as is commonin LaTeX to HTML conversion), but will rather be translated into MathML fonts that can be subsequently edited in Connexions.Do not include a title or abstract in your LaTeX document: these must be entered into Connexions manually when you set up your module.

The Connexions converter will not properly handle several LaTeX commands, as noted in the online help(http://cnx.org/help/UsingLaTeX ).

• The \mbox command is not supported.
• Nested tables are not supported.
• LaTeX allows functions like \sqrt to be followed by asingle argument without brackets, e.g., \sqrt\pi .The Connexions translator misses this syntax; one instead needs to use brackets \sqrt{\pi}.

## Future editing

You will likely want to make changes to your file at some point after you have uploaded the LaTeX document into Connexions.Should you edit the LaTeX document, then re-import, or should you alter the code directly in Connexions?If you have major mathematical edits, it may well be easiest to directly alter the LaTeX source. Beware that when you upload, any changes thatyou made to the previous version directly in Connexions will be overwritten. This is not such a concern if you can make all the edits you desiredirectly in LaTeX; however, this is not always the case: some things must be done in Connexions. (For example, see the comments aboutthe verbatim environment in "Incorporating code" below.)

## Importing equations

We list a few sample equations to test the ability of the converter. For example, we have the Pythagorean Theorem, ${a}^{2}+{b}^{2}={c}^{2}$ . This is an example of an inline equation, as is the integral ${\int }_{0}^{\infty }{e}^{-{x}^{2}}\phantom{\rule{0.166667em}{0ex}}dx$ . The same integral can also be typeset as a displayed equation,

${\int }_{0}^{\infty }{e}^{-{x}^{2}}\phantom{\rule{0.166667em}{0ex}}dx.$

To typeset a matrix, use the LaTeX array environment:

$A=\left[\begin{array}{cc}a& b\\ c& d\end{array}\right].$

(Note that the TeX \matrix command does not properly translate.)

## A sample figure

shows the gap between consecutive prime numbers; see  . Beware: though the original image was drawn in precise vector graphics, theconverter has turned it into a bitmap of substantially diminished quality. Make sure you make your fonts large enough that they remain legible afterthe translation (unlike this figure). The translator also seems to place the figure directly after the reference,so the location of the figure in your Connexions document will generally differ from its placement in your LaTeX document (often for the better).Notice that if you choose the print the Connexions module as a .pdf file, the output will include the bitmapped image, rather than the sharpversion in your original document.

## A sample table

provides a list of the first seven Mersenne primes.(Beware: The Converter does not properly handle the caption command for tables. For example,if a caption precedes the table itself, as is the usual custom, the reference does not translate properly.Moreover, Connexions seems to draw boxes around all cells, regardless of the formatting in the LaTeX source.)

 $k$ 1 2 3 4 5 6 7 $k$ th Mersenne prime 3 7 31 127 8191 131071 524287

## Incorporating code

You might naturally want to include small snippets of code with your report, which you would incorporate in LaTeX using the verbatimenvironment. For example, the following MATLAB commands produce the Mersenne prime datagiven in .

p=[1:20]';

pmer = p(isprime(2.^p-1));

disp([[1:length(pmer)]' 2.^pmer-1])

At present, the Connexions LaTeX translator does not properly handle the verbatimenvironment, though this is expected to improve in an updated translator that will be available in a few months.In the meantime, it is best to leave code out of your LaTeX document, and paste it into Connexions manually as a<code>block.

Connexions works well with LaTeX's bibliography tool, BibTeX. This tool allows you to create a .bibfile that contains a database of papers and books that you regularly reference.For example, this template is accompanied by a file called mybibfile.bibthat contains the three references cited here.You add citations in your LaTeX document using the \citecommand. See Lamport  for details.

## Acknowledgements

This Connexions module describes work conducted as part of Rice University's VIGRE program, supported by National Science Foundationgrant DMS–0739420.

how to know photocatalytic properties of tio2 nanoparticles...what to do now
it is a goid question and i want to know the answer as well
Maciej
Do somebody tell me a best nano engineering book for beginners?
what is fullerene does it is used to make bukky balls
are you nano engineer ?
s.
what is the Synthesis, properties,and applications of carbon nano chemistry
Mostly, they use nano carbon for electronics and for materials to be strengthened.
Virgil
is Bucky paper clear?
CYNTHIA
so some one know about replacing silicon atom with phosphorous in semiconductors device?
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
Do you know which machine is used to that process?
s.
how to fabricate graphene ink ?
for screen printed electrodes ?
SUYASH
What is lattice structure?
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
what's the easiest and fastest way to the synthesize AgNP?
China
Cied
types of nano material
I start with an easy one. carbon nanotubes woven into a long filament like a string
Porter
many many of nanotubes
Porter
what is the k.e before it land
Yasmin
what is the function of carbon nanotubes?
Cesar
I'm interested in nanotube
Uday
what is nanomaterials​ and their applications of sensors.
what is nano technology
what is system testing?
preparation of nanomaterial
Yes, Nanotechnology has a very fast field of applications and their is always something new to do with it...
what is system testing
what is the application of nanotechnology?
Stotaw
In this morden time nanotechnology used in many field . 1-Electronics-manufacturad IC ,RAM,MRAM,solar panel etc 2-Helth and Medical-Nanomedicine,Drug Dilivery for cancer treatment etc 3- Atomobile -MEMS, Coating on car etc. and may other field for details you can check at Google
Azam
anybody can imagine what will be happen after 100 years from now in nano tech world
Prasenjit
after 100 year this will be not nanotechnology maybe this technology name will be change . maybe aftet 100 year . we work on electron lable practically about its properties and behaviour by the different instruments
Azam
name doesn't matter , whatever it will be change... I'm taking about effect on circumstances of the microscopic world
Prasenjit
how hard could it be to apply nanotechnology against viral infections such HIV or Ebola?
Damian
silver nanoparticles could handle the job?
Damian
not now but maybe in future only AgNP maybe any other nanomaterials
Azam
Hello
Uday
I'm interested in Nanotube
Uday
this technology will not going on for the long time , so I'm thinking about femtotechnology 10^-15
Prasenjit
can nanotechnology change the direction of the face of the world
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
Berger describes sociologists as concerned with
Got questions? Join the online conversation and get instant answers!