ShareLaTeX is an online LaTeX editor with an open-source backend. This tag should be used for questions that concern the backend; questions concerning use of the web service are probably better asked on tex.stackexchange.com.
Questions tagged [sharelatex]
18 questions
5
votes
3 answers
Overleaf API - How to programmatically upload an image?
I use overleaf to edit latex documents. The overleaf platform has a feature to upload an image file, which can then be referenced and included in the latex document.
I'm able to manually upload images into the overleaf platform, and use/reference…

s2t2
- 2,462
- 5
- 37
- 47
5
votes
1 answer
LaTeX: avoiding blank spaces
I am wondering how would it be possible to avoid these blank spaces that I keep having around my document (report). I am not really an expert in LaTeX, and the document is pretty big so I wouldn't know how to import a recreable example. Instead, I…

sdiabr
- 487
- 1
- 8
- 23
4
votes
1 answer
R - knitr - ShareLatex - install.packages(xyz)
How do I install packages in a ShareLatex knitr file (.Rtex)??
The R code
par(mfrow=c(1,1))
install.packages("tree")
library(tree)
model.tree.simpel <- tree(response~.,data=dat)
plot(model.tree.simpel)
text(model.tree.simpel)
Error…

user3711518
- 253
- 1
- 3
- 14
3
votes
1 answer
How to export Overleaf v2 project as a git repository
I want to see the history of my Overleaf v2 document in my favourite diff viewer, so I want to export it as a git repository. Unfortunately, Overleaf v2 has no git support yet (at least not for the general public).
How do I export my document's…

Christallkeks
- 525
- 5
- 18
3
votes
0 answers
local sharelatex compile too slow
I am running a sharelatex docker image (Docker version 1.13.1) on an ubuntu14.04 that installed in virtualbox(8 core, 16G memory). When I compile a project (scale of 4 pages of pdf), it was so slow that it takes more than ten times as that when I…

Jerrik Eph
- 368
- 2
- 12
2
votes
2 answers
How can I fix this error when using Tikz for Overleaf?
I'm trying to do a diagram with arrows. I have been able to produce the diagram but with no arrows using this code:
\begin{tikzpicture}
\node (a) at (0,0) {$a$};
\node (z1) at (3,2) {$z_1$};
\node (z2) at (3,0) {$z_2$};
\node (z3) at…

AgomezS93
- 35
- 1
- 5
2
votes
3 answers
New line in subscript in share latex
I am trying to shift this extra long subscript to the line below, because it is too long. The code is
\mathop{\mathbb{E}}_{x \in p_{data}(x), z \in p_{z}(z)}
And the expression looks like :
I want the characters z onwards to be in a new line,…

Tanvir
- 875
- 3
- 11
- 19
1
vote
1 answer
How to center this piece of text in ShareLateX (editor) or Latex (in general)?
I am writing a resume and want to center text at the top of the document which contains my name and email details, like this
I used \begin{center} and \end{center} but it doesnt seem to work
Here is my…

Dhruvil Patel
- 13
- 3
0
votes
1 answer
Overleaf Community Edition (Sharelatex) | How to read the changed LaTex file from disk?
I've installed Overleaf on my personal server (Ubuntu 20.04.2 LTS). After the installation, I figured out that Overleaf save the LaTex files (.tex, .bib, ...) and the compiled file (.pdf) in…

yoursbh
- 175
- 3
- 13
0
votes
1 answer
Sharelatex generates only dot on on first reference, instead of reference
I'm trying to compile a LaTex file online with sharelatex. It works fine, but on top of my generated references the first seems to be broken. It only shows " [1] ." . All other 25 references seem to be fine. It is also awkward that the [1] reference…

Alfred Kreuzer
- 23
- 4
0
votes
1 answer
How to remove authors names and affiliations for a double-blind review process?
How to remove authors names and affiliations for a double-blind review process?
0
votes
0 answers
Why my cursor can not delete the word in the correct place?
When I delete and write words in ShareLaTeX, the action does not occur in the right place. For example,
you can see the cursor is in line 4, when I click backspace to delete, it didn't delete the letter nearby, here is the result
As you can see,…

yahoo
- 293
- 1
- 4
- 10
0
votes
1 answer
Trying to use knitr with LaTeX (ShareLatex), but I'm not sure how to upload the datasets in ShareLatex?
My sharelatex document:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{comment}
\begin{document}
<>=
read_chunk("mycodeTesting.R")
@
The code must show up…

WoeIs
- 1,083
- 1
- 15
- 25
0
votes
2 answers
Input .Rtex file into Latex (knitr)
I am have problems tyring to input a .Rtex file into my shareLatex project using the /input{file} or include{file} commands.
Is there a way to include this as you can do with other .tex files?
The file looks like this :
<<>>=
# Create a sequence of…

Matthias Adriaens
- 332
- 1
- 4
- 17
0
votes
1 answer
How can I sync the literature from a Mendeley group with Sharelatex?
I have a group in Mendeley with a bunch of articles, and I would like to sync it with Sharelatex. However it only seems to sync with the articles in my personal Mendeley and I'm having a hard time making Sharelatex sync with only my desired…

WoeIs
- 1,083
- 1
- 15
- 25