### Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 1 guest

## One-click compiling of code in the forum with writeLaTeX

Add tags Rules, announcements and news for this LaTeX Community

### One-click compiling of code in the forum with writeLaTeX

Hello,

starting today, we can use an online LaTeX compiler in the forum in collaboration with writeLaTeX.com, an online collaborative LaTeX editor with integrated rapid preview.

Above Code boxes in forum posts there's a new link: Open in writeLaTeX. By a single click, you will land in the editor which shows the code on the left side, and the output preview on the right side. Compilation is done in realtime.

Now, if a compilable example was posted, you can edit it and view it by a single click, modify and test it and provide a working answer even without having a local TeX installation.

Just try it with an MWE - click on Open in writeLaTeX:

Code: Select all  •  Open in writeLaTeX
% A simple graph with straight and bend arrows and loops% Stefan Kottwitz, http://texample.net\documentclass{article}\usepackage{tikz}\usetikzlibrary{arrows}\begin{document}% Start the picture, define node and arrow styles\begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=3cm,  thick,main node/.style={circle,fill=blue!20,draw,font=\sffamily\Large\bfseries}]  % Place the main nodes  \node[main node] (1) {1};  \node[main node] (2) [below left of=1] {2};  \node[main node] (3) [below right of=2] {3};  \node[main node] (4) [below right of=1] {4};  % Draw edges with nodes for description  % Use options loop and bend for loops and bent edges  % Specify left and right for bend direction and node placement  \path[every node/.style={font=\sffamily\small}]    (1) edge node [left] {0.6} (4)        edge [bend right] node[left] {0.3} (2)        edge [loop above] node {0.1} (1)    (2) edge node [right] {0.4} (1)        edge node {0.3} (4)        edge [loop left] node {0.4} (2)        edge [bend right] node[left] {0.1} (3)    (3) edge node [right] {0.8} (2)        edge [bend right] node[right] {0.2} (4)    (4) edge node [left] {0.2} (3)        edge [loop right] node {0.6} (4)        edge [bend right] node[right] {0.2} (1);\end{tikzpicture}\end{document}

Now it's even more beneficial if complete examples were posted. It basically works for small snippets too, adding a basic wrapping, which you can extend, such as here - click on Open:

Code: Select all  •  Open in writeLaTeX
$e = \lim_{n\to\infty} \left( 1 + \frac{1}{n} \right)^n = \lim_{n\to\infty} \frac{n}{\sqrt[n]{n!}}$

To learn more about the editor, just click the Help button there.

Enjoy the new feature!

Stefan