Ignore external pages

This commit is contained in:
James Allen 2014-07-08 13:36:08 +01:00
parent 8067432e09
commit d9d1499dae
9 changed files with 1 additions and 1107 deletions

View file

@ -66,4 +66,4 @@ Gemfile.lock
*.swp
.DS_Store
app/views/external

View file

@ -1,43 +0,0 @@
extends ../layout
block content
.content
.container
.row
.col-md-8.col-md-offset-2
.page-header
h1 About us
h2 Meet the team behind your favourite online LaTeX editor.
p.team-profile
span.img-container.img-circle
img(src='/img/about/henry_oswald.jpg')
strong Henry Oswald
| built an experimental LaTeX editor in 2011 which later became ShareLaTeX. He is a trained software engineer who lives in London.
| Henry has been responsible for building up a reliable platform for ShareLaTeX that allows instant real-time collaboration.
| Henry is a strong advocate of Test Driven Development and makes sure we keep the ShareLaTeX code clean and easy to maintain.
a(href='https://twitter.com/henryoswald') Follow me on Twitter
| .
p.team-profile
span.img-container.img-circle
img(src='/img/about/james_allen.jpg')
strong James Allen
| started working with Henry early in 2012 and finished his PhD in theoretical physics early in 2013. James began working on
| one of the first online LaTeX editors, ScribTeX, in 2008 and he has played a large role in developing the technologies and
| concepts that made ScribTeX and now ShareLaTeX possible. James is also slightly too obsessed with typography and learning the internals of how LaTeX works.
p(style="clear: both")
h3 Motivation
p Our first priority with ShareLaTeX is to build a tool which makes life easier for all the LaTeX users out there.
| The "thank you"s and success stories are a strong motivator for us, and we hope to always be able to offer a fully-functional
| LaTeX editor which anyone can use for free.
p We also believe that charging money for tools like ShareLaTeX is important since it helps to guarantee the future of the site and
| the safety of your work, as well as allowing us to focus on it full time to develop new features. We prefer to provide a valuable
| service at a fair price rather than having to try run the site from adverts, or worse. As our customers, we are answerable to you and only you.
h3 Technologies
p
| We use a lot of exciting technologies to run ShareLaTeX. We have mutliple APIs behind the scenes that we've written in Node.js, but the one exception is our
a(href='https://github.com/scribtex/clsi') open sourced compiler API.
| This is written in Ruby on Rails. We generally write in
a(href='http://coffeescript.org/') coffee-script
| as we find it helps to speed up development and make our code more readable. Your data is stored in MongoDB, Redis and Amazon S3. We practice Test Driven Development (TDD) to help produce robust and clean code which is easy to refactor.

View file

@ -1,113 +0,0 @@
link(rel='canonical', href='https://www.sharelatex.com')
extends ../layout
block content
.masthead
.container
.row
.col-md-12
h1 LaTeX,
col-md- Evolved
p Introducing the first real-time collaborative LaTeX editor.
.row
.col-md-12
img(src="img/screen.png")
.container-fluid
.row
a(href="/register").btn.btn-lg.btn-hero Start Free Trial
a(href="/user/subscription/plans").btn.btn-lg.btn-primary.btn-hero Buy Now
.universities
.container
.row.row-spaced-small
div.small Used by over <strong>200,000</strong> students and academics at:
#slides.container-fluid
.row.row-spaced
.col-md-3
img(src="/img/crests/harvard.gif", alt="harvard university logo")
.col-md-3
img(src="/img/crests/mit.gif", alt="mit university logo")
.col-md-3
img(src="/img/crests/oxford.gif", alt="oxford university logo")
.col-md-3
img(src="/img/crests/tokyo.png", alt="tokyo university logo")
.row.row-spaced
.col-md-3
img(src="/img/crests/cambridge.png", alt="cambridge university logo")
.col-md-3
img(src="/img/crests/liverpool.jpg", alt="liverpool university logo")
.col-md-3
img(src="/img/crests/icl.png", alt="icl university logo")
.col-md-3
img(src="/img/crests/yale.png", alt="yale university logo")
.row.row-spaced
.col-md-3
img(src="/img/crests/durham.png", alt="durham university logo")
.col-md-3
img(src="/img/crests/nasa.png", alt="nasa university logo")
.col-md-3
img(src="/img/crests/toronto.gif", alt="toronto university logo")
.col-md-3
img(src="/img/crests/stanford.png", alt="stanford university logo")
.pattern-container
.container
.long-form-features
.row
.col-md-4.col-md-offset-2
h2.h1 Seamless Collaboration
p Keep your LaTeX collaborators up to date by letting everyone access and edit the same LaTeX document.
.col-md-3.col-md-offset-1
h2.h1
i.fa.fa-group.fa-5x
.row
.col-md-2.col-md-offset-3
h2.h1
i.fa.fa-thumbs-up.fa-5x
.col-md-4.col-md-offset-1
h2.h1 Easy to Use
p ShareLaTeX is the easiest LaTeX editor to get started if youve never used LaTeX before. No installation required!
.row
.col-md-4.col-md-offset-2
h2.h1 Work Anywhere
p You can access our LaTeX editor and compile your LaTeX documents from any computer with an internet connection.
.col-md-3.col-md-offset-1
h2.h1
i.fa.fa-globe.fa-5x
.row
.col-md-2.col-md-offset-3
h2.h1
i.fa.fa-dropbox.fa-5x
.col-md-4.col-md-offset-1
h2.h1 Sync with Dropbox
p Keep all of your LaTeX projects synced to your Dropbox folder.
.row
.col-md-12
p.text-center
a(href="/user/subscription/plans").btn.btn-primary.btn-lg Sign up now!
.row-spaced
script(src=jsPath + "libs/jquery.slides.min.js")
script(type="text/javascript").
$(function() {
$('#slides').slidesjs({
width: 940,
height: 100,
play: {
active: false,
auto: true,
interval: 5000
},
navigation: {
active: false
},
pagination: {
active: false
}
});
});

View file

@ -1,714 +0,0 @@
extends ../layout
block content
.container
.row
.offset2.span8
#bodyContent
h1 Positioning images and tables
#mw-content-text.mw-content-ltr(lang='en', dir='ltr')
p
span.texhtml(style='font-family: \'CMU Serif\', cmr10, LMRoman10-Regular, \'Times New Roman\', \'Nimbus Roman No9 L\', Times, serif;')
| L
span(style='text-transform: uppercase; font-size: 70%; margin-left: -0.36em; vertical-align: 0.3em; line-height: 0; margin-right: -0.15em;') a
| T
span(style='text-transform: uppercase; margin-left: -0.1667em; vertical-align: -0.5ex; line-height: 0; margin-right: -0.125em;') e
| X
| is an editing tool that takes care of the format so you only have to worry about the contents of your document. Nevertheless, sometimes a better control of floating elements is necessary. This article explains how to position images and tables in a
span.texhtml(style='font-family: \'CMU Serif\', cmr10, LMRoman10-Regular, \'Times New Roman\', \'Nimbus Roman No9 L\', Times, serif;')
| L
span(style='text-transform: uppercase; font-size: 70%; margin-left: -0.36em; vertical-align: 0.3em; line-height: 0; margin-right: -0.15em;') a
| T
span(style='text-transform: uppercase; margin-left: -0.1667em; vertical-align: -0.5ex; line-height: 0; margin-right: -0.125em;') e
| X
| document.
table#toc.toc
tbody
tr
td
#toctitle
h2 Contents
span.toctoggle
| [
a#togglelink.internal(href='#') hide
| ]
ul
li.toclevel-1.tocsection-1
a(href='#Introduction')
span.tocnumber 1
span.toctext Introduction
li.toclevel-1.tocsection-2
a(href='#Positioning_images')
span.tocnumber 2
span.toctext Positioning images
ul
li.toclevel-2.tocsection-3
a(href='#Basic_positioning')
span.tocnumber 2.1
span.toctext Basic positioning
li.toclevel-2.tocsection-4
a(href='#The_figure_environment')
span.tocnumber 2.2
span.toctext The figure environment
li.toclevel-2.tocsection-5
a(href='#Multiple_images_in_one_figure')
span.tocnumber 2.3
span.toctext Multiple images in one figure
li.toclevel-2.tocsection-6
a(href='#Wrapping_text_around_a_figure')
span.tocnumber 2.4
span.toctext Wrapping text around a figure
li.toclevel-1.tocsection-7
a(href='#Positioning_tables')
span.tocnumber 3
span.toctext Positioning tables
ul
li.toclevel-2.tocsection-8
a(href='#Basic_positioning_2')
span.tocnumber 3.1
span.toctext Basic positioning
li.toclevel-2.tocsection-9
a(href='#The_table_environment')
span.tocnumber 3.2
span.toctext The table environment
li.toclevel-2.tocsection-10
a(href='#Wrapping_text_around_a_table')
span.tocnumber 3.3
span.toctext Wrapping text around a table
li.toclevel-1.tocsection-11
a(href='#Reference_guide')
span.tocnumber 4
span.toctext Reference guide
li.toclevel-1.tocsection-12
a(href='#Further_reading')
span.tocnumber 5
span.toctext Further reading
h1
span#Introduction.mw-headline Introduction
p
| The default alignment for images and tables is set to
i left
figure.wikifigure
.row-fluid
.span6
pre(data-number)
| \nLorem ipsum dolor sit amet, consectetuer adipiscing elit.
| Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra
| sollicitudin.
br
br
| Praesent imperdiet mi nec
| ante. Donec ullamcorper, felis non sodales commodo, lectus velit
| ultrices augue, a dignissim nibh lectus placerat pede.
| Vivamus nunc nunc, molestie ut, ultricies
| vel, semper in, velit. Ut porttitor.
.span6
a(href='/learn/File:PositioningTnIEX1.png')
img(alt='PositioningTnIEX1.png', src='/learn-scripts/images/thumb/2/23/PositioningTnIEX1.png/300px-PositioningTnIEX1.png', width='300', height='233')
figcaption
strong Figure 1.
| Positioning floats within a document.
p
p
| This is a simple example, for a description of this and other ways to include images in your
span.texhtml(style='font-family: \'CMU Serif\', cmr10, LMRoman10-Regular, \'Times New Roman\', \'Nimbus Roman No9 L\', Times, serif;')
| L
span(style='text-transform: uppercase; font-size: 70%; margin-left: -0.36em; vertical-align: 0.3em; line-height: 0; margin-right: -0.15em;') a
| T
span(style='text-transform: uppercase; margin-left: -0.1667em; vertical-align: -0.5ex; line-height: 0; margin-right: -0.125em;') e
| X
| file see the article
a(href='/learn/Inserting_Images', title='Inserting Images') Inserting Images
| .
p
a.external.text(rel='nofollow', href='https://www.sharelatex.com/project/new/template?zipUrl=/project/532cda2653f42c100f002b56/download/zip&templateName=PositioningTablesandFigures&compiler=pdflatex')
img(alt='Open.png', src='/learn-scripts/images/7/7f/Open.png', width='24', height='24', style='vertical-align: middle;')
| Open an example in ShareLaTeX
h1
span#Positioning_images.mw-headline Positioning images
h2
span#Basic_positioning.mw-headline Basic positioning
p
| To change the default alignment of a image from
i left
| or
i right
| an easy manner is to add
.mw-geshi.mw-code.mw-content-ltr(dir='ltr')
.latex.source-latex
pre.de1.
p
| to the preamble of your file and then use an additional option in your image importing statement
p
figure.wikifigure
.row-fluid
.span6
pre(data-number)
| \nLorem ipsum dolor sit amet, consectetuer adipiscing elit.
| Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra
| sollicitudin.
br
br
| Praesent imperdiet mi nec
| ante. Donec ullamcorper, felis non sodales commodo, lectus velit
| ultrices augue, a dignissim nibh lectus placerat pede.
| Vivamus nunc nunc, molestie ut, ultricies
| vel, semper in, velit. Ut porttitor.
.span6
a(href='/learn/File:PositioningTnIEX1.png')
img(alt='PositioningTnIEX1.png', src='/learn-scripts/images/thumb/2/23/PositioningTnIEX1.png/300px-PositioningTnIEX1.png', width='300', height='233')
figcaption
strong Figure 1.
| Positioning floats within a document.
p
| The package
b adjustbox
| enables an additional option in the
code \includegraphics
| command, in the example the picture is aligned to
code right
| . The available values are:
i left
| ,
i right
| ,
i center
| ,
i outer
| and
i inner
| , the last two are intended for two-sided documents.
p
a.external.text(rel='nofollow', href='https://www.sharelatex.com/project/new/template?zipUrl=/project/532cda2653f42c100f002b56/download/zip&templateName=PositioningTablesandFigures&compiler=pdflatex')
img(alt='Open.png', src='/learn-scripts/images/7/7f/Open.png', width='24', height='24', style='vertical-align: middle;')
| Open an example in ShareLaTeX
h2
span#The_figure_environment.mw-headline The figure environment
p
| The figure environment (see
a(href='/learn/Inserting_Images', title='Inserting Images') Inserting Images
| ) is intended to provide automatic positioning.
p
figure.wikifigure
.row-fluid
.span6
pre(data-number)
| \nLorem ipsum dolor sit amet, consectetuer adipiscing elit.
| Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra
| sollicitudin.
br
br
| Praesent imperdiet mi nec
| ante. Donec ullamcorper, felis non sodales commodo, lectus velit
| ultrices augue, a dignissim nibh lectus placerat pede.
| Vivamus nunc nunc, molestie ut, ultricies
| vel, semper in, velit. Ut porttitor.
.span6
a(href='/learn/File:PositioningTnIEX1.png')
img(alt='PositioningTnIEX1.png', src='/learn-scripts/images/thumb/2/23/PositioningTnIEX1.png/300px-PositioningTnIEX1.png', width='300', height='233')
figcaption
strong Figure 1.
| Positioning floats within a document.
p
| This environment uses a positioning parameter passed inside brackets, it can take the next values:
table.wikitable
tbody
tr
th
| Parameter
th
| Position
tr
td
tt h
td
| Place the float
i here
| , i.e.,
i approximately
| at the same point it occurs in the source text (however, not
i exactly
| at the spot)
tr
td
tt t
td
| Position at the
i top
| of the page.
tr
td
tt b
td
| Position at the
i bottom
| of the page.
tr
td
tt p
td
| Put on a special
i page
| for floats only.
tr
td
tt !
td
| Override internal parameters LaTeX uses for determining "good" float positions.
tr
td
tt H
td
| Places the float at precisely the location in the
span.texhtml(style='font-family: \'CMU Serif\', cmr10, LMRoman10-Regular, \'Times New Roman\', \'Nimbus Roman No9 L\', Times, serif;')
| L
span(style='text-transform: uppercase; font-size: 70%; margin-left: -0.36em; vertical-align: 0.3em; line-height: 0; margin-right: -0.15em;') a
| T
span(style='text-transform: uppercase; margin-left: -0.1667em; vertical-align: -0.5ex; line-height: 0; margin-right: -0.125em;') e
| X
| code. Requires the
code float
| package. This is somewhat equivalent to
tt h!
| .
p
| You can put more than one value in the parameter, for instance, if you write
code [ht]
span.texhtml(style='font-family: \'CMU Serif\', cmr10, LMRoman10-Regular, \'Times New Roman\', \'Nimbus Roman No9 L\', Times, serif;')
| L
span(style='text-transform: uppercase; font-size: 70%; margin-left: -0.36em; vertical-align: 0.3em; line-height: 0; margin-right: -0.15em;') a
| T
span(style='text-transform: uppercase; margin-left: -0.1667em; vertical-align: -0.5ex; line-height: 0; margin-right: -0.125em;') e
| X
| will try to position the figure
b here
| , but if it's not possible (the space may be insufficient) then the figure will appear at the
b top
| of the page. It is recommended to use more than one positioning parameter to prevent unexpected results.
p
a.external.text(rel='nofollow', href='https://www.sharelatex.com/project/new/template?zipUrl=/project/532cda2653f42c100f002b56/download/zip&templateName=PositioningTablesandFigures&compiler=pdflatex')
img(alt='Open.png', src='/learn-scripts/images/7/7f/Open.png', width='24', height='24', style='vertical-align: middle;')
| Open an example in ShareLaTeX
h2
span#Multiple_images_in_one_figure.mw-headline Multiple images in one figure
p
| It is possible to insert several images in one figure, each one with its own reference and label
p
figure.wikifigure
.row-fluid
.span6
pre(data-number)
| \nLorem ipsum dolor sit amet, consectetuer adipiscing elit.
| Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra
| sollicitudin.
br
br
| Praesent imperdiet mi nec
| ante. Donec ullamcorper, felis non sodales commodo, lectus velit
| ultrices augue, a dignissim nibh lectus placerat pede.
| Vivamus nunc nunc, molestie ut, ultricies
| vel, semper in, velit. Ut porttitor.
.span6
a(href='/learn/File:PositioningTnIEX1.png')
img(alt='PositioningTnIEX1.png', src='/learn-scripts/images/thumb/2/23/PositioningTnIEX1.png/300px-PositioningTnIEX1.png', width='300', height='233')
figcaption
strong Figure 1.
| Positioning floats within a document.
p
| First, you must import the package
b subcaption
| by adding to the preamble
.mw-geshi.mw-code.mw-content-ltr(dir='ltr')
.latex.source-latex
pre.de1.
p
| then you can use the environment
code \subfigure
| that takes one parameter, the width of the figure. This environment must be used inside a
code figure
| environment, captions and labels can be set to each
i subfigure
| .
p
a.external.text(rel='nofollow', href='https://www.sharelatex.com/project/new/template?zipUrl=/project/532cda2653f42c100f002b56/download/zip&templateName=PositioningTablesandFigures&compiler=pdflatex')
img(alt='Open.png', src='/learn-scripts/images/7/7f/Open.png', width='24', height='24', style='vertical-align: middle;')
| Open an example in ShareLaTeX
h2
span#Wrapping_text_around_a_figure.mw-headline Wrapping text around a figure
p
| The package
b wrapfig
| provides a useful feature, text can be floated around the images.
p
figure.wikifigure
.row-fluid
.span6
pre(data-number)
| \nLorem ipsum dolor sit amet, consectetuer adipiscing elit.
| Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra
| sollicitudin.
br
br
| Praesent imperdiet mi nec
| ante. Donec ullamcorper, felis non sodales commodo, lectus velit
| ultrices augue, a dignissim nibh lectus placerat pede.
| Vivamus nunc nunc, molestie ut, ultricies
| vel, semper in, velit. Ut porttitor.
.span6
a(href='/learn/File:PositioningTnIEX1.png')
img(alt='PositioningTnIEX1.png', src='/learn-scripts/images/thumb/2/23/PositioningTnIEX1.png/300px-PositioningTnIEX1.png', width='300', height='233')
figcaption
strong Figure 1.
| Positioning floats within a document.
p
| First import the package
i wrapfig
| by adding
.mw-geshi.mw-code.mw-content-ltr(dir='ltr')
.latex.source-latex
pre.de1.
p
| to the preamble.
p
| After that you can use the environment
code wrapfig
| , it takes two parameters that are passed inside braces: the alignement that can be
i l
| ,
i r
| ,
i c
| ,
i i
| or
i o
| ; this letters stand for left, right, centre, inner and outer (the last two intended for two-sided documents). The second parameter is the width of the figure, in the example is 0.25 the width of the text. See the
a(href='#Reference_guide') reference guide
| for a list of possible length units.
p
a.external.text(rel='nofollow', href='https://www.sharelatex.com/project/new/template?zipUrl=/project/532cda2653f42c100f002b56/download/zip&templateName=PositioningTablesandFigures&compiler=pdflatex')
img(alt='Open.png', src='/learn-scripts/images/7/7f/Open.png', width='24', height='24', style='vertical-align: middle;')
| Open an example in ShareLaTeX
h1
span#Positioning_tables.mw-headline Positioning tables
p
| Options for table positioning are similar to those available for figures
h2
span#Basic_positioning_2.mw-headline Basic positioning
p
| Default position of the tabular environment is
i centre
| .
p
figure.wikifigure
.row-fluid
.span6
pre(data-number)
| \nLorem ipsum dolor sit amet, consectetuer adipiscing elit.
| Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra
| sollicitudin.
br
br
| Praesent imperdiet mi nec
| ante. Donec ullamcorper, felis non sodales commodo, lectus velit
| ultrices augue, a dignissim nibh lectus placerat pede.
| Vivamus nunc nunc, molestie ut, ultricies
| vel, semper in, velit. Ut porttitor.
.span6
a(href='/learn/File:PositioningTnIEX1.png')
img(alt='PositioningTnIEX1.png', src='/learn-scripts/images/thumb/2/23/PositioningTnIEX1.png/300px-PositioningTnIEX1.png', width='300', height='233')
figcaption
strong Figure 1.
| Positioning floats within a document.
p
| To learn about how to create tables see the
a(href='/learn/Tables', title='Tables') Tables
| article.
p
a.external.text(rel='nofollow', href='https://www.sharelatex.com/project/new/template?zipUrl=/project/532cda2653f42c100f002b56/download/zip&templateName=PositioningTablesandFigures&compiler=pdflatex')
img(alt='Open.png', src='/learn-scripts/images/7/7f/Open.png', width='24', height='24', style='vertical-align: middle;')
| Open an example in ShareLaTeX
h2
span#The_table_environment.mw-headline The table environment
p
| The table environment is intended to automatically position tables so they fit nicely in the flow of your document.
p
figure.wikifigure
.row-fluid
.span6
pre(data-number)
| \nLorem ipsum dolor sit amet, consectetuer adipiscing elit.
| Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra
| sollicitudin.
br
br
| Praesent imperdiet mi nec
| ante. Donec ullamcorper, felis non sodales commodo, lectus velit
| ultrices augue, a dignissim nibh lectus placerat pede.
| Vivamus nunc nunc, molestie ut, ultricies
| vel, semper in, velit. Ut porttitor.
.span6
a(href='/learn/File:PositioningTnIEX1.png')
img(alt='PositioningTnIEX1.png', src='/learn-scripts/images/thumb/2/23/PositioningTnIEX1.png/300px-PositioningTnIEX1.png', width='300', height='233')
figcaption
strong Figure 1.
| Positioning floats within a document.
p
| A position parameter, inside brackets, can be passed to the
b table
| environment. This parameter can take the next values:
table.wikitable
tbody
tr
th
| Parameter
th
| Position
tr
td
tt h
td
| Place the float
i here
| , i.e.,
i approximately
| at the same point it occurs in the source text (however, not
i exactly
| at the spot)
tr
td
tt t
td
| Position at the
i top
| of the page.
tr
td
tt b
td
| Position at the
i bottom
| of the page.
tr
td
tt p
td
| Put on a special
i page
| for floats only.
tr
td
tt !
td
| Override internal parameters LaTeX uses for determining "good" float positions.
tr
td
tt H
td
| Places the float at precisely the location in the
span.texhtml(style='font-family: \'CMU Serif\', cmr10, LMRoman10-Regular, \'Times New Roman\', \'Nimbus Roman No9 L\', Times, serif;')
| L
span(style='text-transform: uppercase; font-size: 70%; margin-left: -0.36em; vertical-align: 0.3em; line-height: 0; margin-right: -0.15em;') a
| T
span(style='text-transform: uppercase; margin-left: -0.1667em; vertical-align: -0.5ex; line-height: 0; margin-right: -0.125em;') e
| X
| code. Requires the
code float
| package. This is somewhat equivalent to
tt h!
| .
p
| You can set more than one value in the parameter, for instance, if you write
code [ht]
span.texhtml(style='font-family: \'CMU Serif\', cmr10, LMRoman10-Regular, \'Times New Roman\', \'Nimbus Roman No9 L\', Times, serif;')
| L
span(style='text-transform: uppercase; font-size: 70%; margin-left: -0.36em; vertical-align: 0.3em; line-height: 0; margin-right: -0.15em;') a
| T
span(style='text-transform: uppercase; margin-left: -0.1667em; vertical-align: -0.5ex; line-height: 0; margin-right: -0.125em;') e
| X
| will try to position the table
b here
| , but if it's not possible (the space may be insufficient) then the table will appear at the
b top
| of the page. It is recommended to use more than one positioning parameter to prevent unexpected results.
p
| Notice also the command
code \centering
| . This changes the alignment of the table within its container to
i centre
| instead of the default
i left
| .
p
a.external.text(rel='nofollow', href='https://www.sharelatex.com/project/new/template?zipUrl=/project/532cda2653f42c100f002b56/download/zip&templateName=PositioningTablesandFigures&compiler=pdflatex')
img(alt='Open.png', src='/learn-scripts/images/7/7f/Open.png', width='24', height='24', style='vertical-align: middle;')
| Open an example in ShareLaTeX
h2
span#Wrapping_text_around_a_table.mw-headline Wrapping text around a table
p
| If your table don't take all available space and you want to put text next or before it, is possible with the package
b wraptable
| .
p
figure.wikifigure
.row-fluid
.span6
pre(data-number)
| \nLorem ipsum dolor sit amet, consectetuer adipiscing elit.
| Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra
| sollicitudin.
br
br
| Praesent imperdiet mi nec
| ante. Donec ullamcorper, felis non sodales commodo, lectus velit
| ultrices augue, a dignissim nibh lectus placerat pede.
| Vivamus nunc nunc, molestie ut, ultricies
| vel, semper in, velit. Ut porttitor.
.span6
a(href='/learn/File:PositioningTnIEX1.png')
img(alt='PositioningTnIEX1.png', src='/learn-scripts/images/thumb/2/23/PositioningTnIEX1.png/300px-PositioningTnIEX1.png', width='300', height='233')
figcaption
strong Figure 1.
| Positioning floats within a document.
p
| First, import the package
.mw-geshi.mw-code.mw-content-ltr(dir='ltr')
.latex.source-latex
pre.de1.
p
| then you can use the environment
i wraptable
| which takes two parameters: The first one is the alignment that can be
i l
| ,
i r
| ,
i c
| ,
i i
| or
i o
| for left, right, centre, inner and outer respectively. The second one is the width of the table container, keep in mind that this latter parameter must be the same as the width of the table, otherwise things may not be properly aligned.
p
a.external.text(rel='nofollow', href='https://www.sharelatex.com/project/new/template?zipUrl=/project/532cda2653f42c100f002b56/download/zip&templateName=PositioningTablesandFigures&compiler=pdflatex')
img(alt='Open.png', src='/learn-scripts/images/7/7f/Open.png', width='24', height='24', style='vertical-align: middle;')
| Open an example in ShareLaTeX
h1
span#Reference_guide.mw-headline Reference guide
p
b
span.texhtml(style='font-family: \'CMU Serif\', cmr10, LMRoman10-Regular, \'Times New Roman\', \'Nimbus Roman No9 L\', Times, serif;')
| L
span(style='text-transform: uppercase; font-size: 70%; margin-left: -0.36em; vertical-align: 0.3em; line-height: 0; margin-right: -0.15em;') a
| T
span(style='text-transform: uppercase; margin-left: -0.1667em; vertical-align: -0.5ex; line-height: 0; margin-right: -0.125em;') e
| X
| units and lengths
table.wikitable
tbody
tr
th
| Abbreviation
th
| Definition
tr
td
tt pt
td
| A point, is the default length unit. About 0.3515mm
tr
td
tt mm
td
| a millimetre
tr
td
tt cm
td
| a centimetre
tr
td
tt in
td
| an inch
tr
td
tt ex
td
| the height of an
b x
| in the current font
tr
td
tt em
td
| the width of an
b m
| in the current font
tr
td
tt \columnsep
td
| distance between columns
tr
td
tt \columnwidth
td
| width of the column
tr
td
tt \linewidth
td
| width of the line in the current environment
tr
td
tt \paperwidth
td
| width of the page
tr
td
tt \paperheight
td
| height of the page
tr
td
tt \textwidth
td
| width of the text
tr
td
tt \textheight
td
| height of the text
tr
td
tt \unitleght
td
| units of length in the
i picture
| environment.
h1
span#Further_reading.mw-headline Further reading
p
| For more information see the full package documentation
p
a.external.text(rel='nofollow', href='http://tug.ctan.org/tex-archive/macros/latex/contrib/floatrow/floatrow.pdf')
b floatrow
| package for advanced caption managing of floating elements (tables and figures)
p
a.external.text(rel='nofollow', href='ftp://ctan.tug.org/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf')
b sidecap
| package documentation, for side-figure captions
.printfooter
| Retrieved from "
a(href='http://www.sharelatex.com/learn-scripts/index.php?title=Positioning_images_and_tables&oldid=2521')
| http://www.sharelatex.com/learn-scripts/index.php?title=Positioning_images_and_tables&oldid=2521
| "
include ../general/small-footer

View file

@ -1,16 +0,0 @@
extends ../layout
block content
.content
.container
.row
.col-md-8.col-md-offset-2
.page-header
h1 Planned Maintenance
p There is currently no planned maintenance

View file

@ -1,26 +0,0 @@
extends ../layout
block content
.content
.container
.row
.col-md-8.col-md-offset-2
.page-header
h1 Privacy Policy
h3 Information gathering
p When you register for ShareLaTeX we collect information such as your name and email address. ShareLaTeX uses this information to be able to provide our service, for identification and authorization of users, and to be able to contact you.
p The information we collect is not shared with other organisations except as detailed below for the provisioning and improvement of our service. The data we collect will never be sold to third parties for commercial purposes.
h3 Cookies
p ShareLaTeX uses a cookie, which is a small amount of data stored by your web browser on your computer. The cookie stores your current session and allows you to stay logged in. Cookies are required to use the ShareLaTeX service.
h3 Data storage
p ShareLaTeX uses third parties to host our services and store your data. You retain all rights to the data you upload to ShareLaTeX.
h3 Credit cards and billing details
p We use a third party vendor,
a(href="recurly.com") Recurly
| , to store and process credit card transactions. Your email address, credit card details and billing address are passed on to Recurly and are not stored with ShareLaTeX.
h3 Third party tracking
p We use Google Analytics to track users' interactions with ShareLaTeX. This data is used for the improvement of our service.

View file

@ -1,98 +0,0 @@
extends ../layout
block content
.content
.container
.row
.col-md-8.col-md-offset-2
.page-header
h1 Security
p
| Keeping your data safe is one of our top priorities.
| We work hard to make sure that ShareLaTeX is as secure as we can make it,
| and your input and feedback on our security is always appreciated.
h3 Responsible disclosure
p
| Please send reports of any urgent or sensitive security issues to
a(href="mailto:team@sharelatex.com") team@sharelatex.com.
| Use our
a(href="/sharelatex-security.pub") public key
| to encrypt your message and please provide us with a secure way to
| contact you.
p
| Note that the URLs at <strong>/learn</strong>, <strong>/help</strong>
| and <strong>ctan.sharelatex.com</strong> are not under our direct control,
| and vulnerabilities should be reported to either MediaWiki or TenderApp
| respectively.
p
| We are very grateful for all the responsibly reported security vulnerabilities,
| however listing on the hall of fame is reserved for people who report
| vulnerabilities that were previously unknown and we regard as serious.
h3 Acknowledgements
p
| We'd like to thank the following people who have responsibly disclosed
| vulnerabilities to us and helped improved the security of ShareLaTeX:
ul.unstyled
li
a(href="https://twitter.com/Abdulahhusam", rel="nofollow") Abdullah Hussam Gazi
li
a(href="http://adamziaja.com", rel="nofollow") Adam Ziaja
li
a(href="http://alihassanpenetrationtester.blogspot.com/", rel="nofollow") Ali Hasan Ghauri
li
a(href="https://twitter.com/EhArvindSingh") Arvind Singh Shekhawat
li
a(href="https://www.facebook.com/Dakshxss", rel="nofollow") Daksh Patel
li
a(href="https://twitter.com/dibsyhex", rel="nofollow") Dibyendu Sikdar
li
a(href="https://www.facebook.com/c.hari1997", rel="nofollow") Hari Krishnan
li
a(href="https://www.facebook.com/jaymark.pestano", rel="nofollow") Jaymark Pestaño
li
a(href="https://twitter.com/korapsyon", rel="nofollow") Jerold Camacho
li
a(href="https://twitter.com/kamilsevi", rel="nofollow") Kamil Sevi
li
a(href="https://twitter.com/kingkaustubhp", rel="nofollow") Kaustubh Padwad
li 'KoF2002' &amp; 'Sr33h4r!(XSS no0B)'
li
a(href="http://twitter.com/umenmactech", rel="nofollow") Manish Bhattacharya
li
a(href="http://twitter.com/Manjesh24", rel="nofollow") Manjesh S
li
a(href="https://www.facebook.com/Shahmeer.1994", rel="nofollow") Muhammad Shahmeer
li
a(href="http://nbsriharsha.blogspot.in", rel="nofollow") N B Sri Harsha
li
a(href="http://www.linkedin.com/in/osandamalith", rel="nofollow") Osanda Malith Jayathissa
li
a(href="https://twitter.com/prasadk14", rel="nofollow") Prasad Kancharla
li
a(href="https://www.facebook.com/c0m4dr3404", rel="nofollow") Praveen Nair (Kerala Cyber Squad - India)
li
a(href="https://twitter.com/iAmPr3m", rel="nofollow") Prem Kumar
li
a(href="https://www.facebook.com/HardNocksHittnHard", rel="nofollow") Sherin Panikar (Kerala Cyber Squad - India)
li
a(href="https://twitter.com/Simon90_Italy", rel="nofollow") Simone Memoli
li
a(href="https://twitter.com/pranavvenkats", rel="nofollow") S.Venkatesh
li
a(href="https://twitter.com/tareksiddiki", rel="nofollow") Tarek Siddiki
li
a(href="https://twitter.com/venugopalt", rel="nofollow") Venugopal Thotakura
li
a(href="http://softproweb.blogspot.com/", rel="nofollow") Waqeeh Ul Hasan
li
a(href="https://twitter.com/zerodayguys", rel="nofollow") Zeroday Guys (Rakesh Singh &amp; V.Harish Kumar)
li
a(href="https://twitter.com/_prashantnegi", rel="nofollow") Prashant Negi
span and
a(href="https://twitter.com/AjaySinghNegi", rel="nofollow") Singh Negi
li
a(href="https://twitter.com/mohitnitrr") Monendra Sahu

View file

@ -1,62 +0,0 @@
extends ../layout
block content
.content
.container
.row
.col-md-8.col-md-offset-2
h1 ShareLaTeX CSS Style Guide
h2 Headings
p Here are our heading styles:
h1 Heading level 1
p Lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
h2 Heading level 2
p Lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
h3 Heading level 3
p Lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
h4 Heading level 4
p Lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
h2 Buttons
p Our primary button is red:
p
a.btn.btn-primary(href="#") Primary Button
p Our secondary button is blue:
p
a.btn.btn-info(href="#") Secondary Button
p All button styles
p
.btn-toolbar
a.btn.btn-primary(href="#") Primary
a.btn.btn-info(href="#") Info (secondary)
a.btn.btn-default(href="#") Default
a.btn.btn-success(href="#") Success
a.btn.btn-warning(href="#") Warning
a.btn.btn-danger(href="#") Danger
h2 Hyperlinks
p Hyperlinks are highlighted
a(href="#") as shown
|.
h2 Alerts
.alert.alert-danger An <code>.alert-danger</code> alert
.alert.alert-success An <code>.alert-success</code> alert
.alert.alert-info An <code>.alert-info</code> alert
.alert.alert-warning An <code>.alert-warning</code> alert
.content.content-alt
.container
.row
.col-md-8.col-md-offset-2
.card
p Cards look best on a <code>.content.content-alt</code> background

View file

@ -1,34 +0,0 @@
extends ../layout
block content
.content
.container
.row
.col-md-8.col-md-offset-2
.page-header
h1 Terms of Service
p
| Thank you for taking the time to read our terms of service.
| We've tried to keep it simple, but you must agree to these terms in order to use ShareLaTeX.
h3 You must provide a valid email address
p
| We expect you to register with a valid email address.
| This will be our only way to communicate with you.
| Changes to these terms of service and any other notifications about updates
| to the service will be sent to the email address you provide.
| We will not be held responsible for any information not being received.
h3 You own your content, not us
p You retain all ownership, copyright and intellectual property rights to any content uploaded to ShareLaTeX. Your content will only be shared with other users of your choosing and we will never share your content with third parties without your consent. The staff of ShareLaTeX have access to your content, but we make an effort to only access it when absolutely necessary.
h3 You're not allowed to abuse the service
p ShareLaTeX is provided assuming users will act in good faith. However, we retain the right to remove any account or content that we feel is abusing the service. In the rare event of this happening, it will most likely be for one of the following reasons: using the service for illegal reasons; uploading illegal, unauthorised or objectionable content; consuming an excessive amount of computing resources.
h3 We're not infallible
p ShareLaTeX is provided on an 'as is' basis, without future promise of availability. ShareLaTeX is not liable for any damages caused by the loss or inability to access your data.
p [Founder's note: We try hard to provide a service which is reliable, secure and regularly backed up. While the above paragraph sounds grim, we need it there to cover ourselves incase something does go wrong. We certainly aren't planning to need to fall back on it. This assurance aside, it's always good practice to back up your own data.]
h3 Cancellation and refunds policy
p ShareLaTeX's services are paid for monthly or yearly in advance and are non-refundable. There will be no refunds or credits for partial months/years of service or downgrades. Subscription downgrades and cancellations will come into effect when your next payment is due. Upgrades to your plan will be billed immediately at the new rate for the remainder of the billing period. You may cancel your account at any time from your account subscription settings.
h3 Paypal Reference Transactions
p PayPal Reference Transactions are used to allow ShareLaTeX to make subsequent transactions on a monthly or annual basis until you cancel your account.
h3 Pricing changes
p We will notify you of any changes to our pricing plans that affect you at least 30 days before your next payment is due. We will notify you via the email address you provided when subscribing for a paid plan.
h3 You must be human
p To protect ourselves from accidental or malicious abuse, automated scripts and programs are not permitted to register an account or access the service.