Most voted "latex" questions
Latex is a macro package implemented in Donald Knuth’s Tex programming language and is mainly used for creating high-quality written documents. Note that http://tex.stackexchange.com (in English) is dedicated specifically to Latex (and Tex, and other related technologies).
Learn more…87 questions
Sort by count of
-
10
votes2
answers1509
viewsMatplotlib + Latex: Writing Text on the Axes in English
Let’s start from the beginning, the versions I have are: Ipython: 1.1.0 Matplotlib: 1.3.1 Latex: pdftex 3.1415926-2.4-1.40.13 (Tex Live 2012/Debian) OS: Ubuntu 12.04 I want to plot what is below, in…
-
10
votes3
answers1812
viewsQuestions about Latex
My experience of 2 days writing this markup language has given me to understand so far to be certainly very limited in various appendices, although I do not know and know how to expand directly with…
latexasked 9 years, 7 months ago Murilo Man 439 -
9
votes3
answers1784
viewsHow to format a table (data.frame) with pdf publishing quality (latex) in R?
Suppose the following table: tabela <- structure(list(Sexo = structure(c(1L, 1L, 2L, 2L), .Label = c("Homem", "Mulher"), class = "factor"), Grupo = structure(c(1L, 2L, 1L, 2L), .Label = c("A",…
-
8
votes1
answer8916
viewsRows with same height in table in Latex
I need to play in Latex a table with 3 columns and 5 rows. It should use the entire paragraph width, center the cell contents both horizontally and vertically, and auto-adjust longer texts. But most…
latexasked 10 years, 5 months ago Luiz Vieira 34,160 -
7
votes1
answer3109
viewsabntex2 compilation error
I’m running abntex2 to compose a graduation work. I follow the canonical model distributed by abntex2 here with some modifications to produce my work. The main modification is the separation of the…
-
6
votes1
answer219
viewsStargazer changing position of dependent variable
Considering the quantile regressions. library(quantreg) > x=rnorm(100,12,2) > y=rnorm(100,0,4) a<-rq(y~x,tau = .10) b<-rq(y~x,tau = .15) c<-rq(y~x,tau = .20) d<-rq(y~x,tau = .25)…
-
5
votes2
answers5841
viewsStyle quote: "(Author, Date)" to "Author (Date)"
I’m using abntcite. I would like to know how to change the style of just a few quotes from (Autor, Data) for Autor (Data). I tried using \citeauthor{chave}, but it didn’t work. Thank you.…
latexasked 9 years, 11 months ago samuel.nascimento.junior 51 -
5
votes1
answer4125
viewsLatex - Quote from natbib without brackets
I wish that, in some places, the command " citep{XX}" makes the reference in the format [XX] and in others appears only XX. XX is the reference number (1, 2, 3, ....). Package definition:…
-
5
votes1
answer5050
viewsList of figures/tables in the abntex2 model
Hello, I’m using the abntex2 model for theses. I put the figures and tables indexed by the chapter. However, now I would like there to be a space between the figures/tables of the same chapter.…
-
5
votes1
answer3573
viewsLine in a flow chart in Xelatex tikz
Below is the code and the result of the flowchart I’m building: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,backgrounds} \begin{document} \begin{figure}[!ht] \centering % Define…
latexasked 7 years, 10 months ago Marcus Nunes 17,915 -
5
votes3
answers10243
viewsInsert author and image description. Latex
How can I place the author below the image and a description above. As shown in the figure?…
-
5
votes1
answer57
views -
4
votes2
answers1746
viewsLarge figure disturbs the positioning of other
In a Latex report I’m writing, I’m trying to insert a large figure at the beginning of the chapter. It’s a page-sized flowchart: \begin{figure}[!htb] \centering…
-
4
votes1
answer3950
viewsChange figures numbering in Latex
Is there any way to change the numbering of figures in Latex? For example it starts the figure as: Figure 01: Legend I would like it to be in this format starting in 2.1 Figure 2.1: Legend…
-
4
votes1
answer864
viewsImport Latex to R Markdown
Hello! Probably this question has already been addressed here but I did not find... I use R Markdonw to generate manuals on certain R commands, but I made a diagram in Latex and wanted to know if…
-
4
votes2
answers3708
viewsHow to prevent Item started on one page from continuing on another in Latex?
I work with a template from COPPE/UFRJ Coppetex in my dissertation work. I made a numbered list with the command \item but as the list was at the end of the page has one of the points that started…
latexasked 9 years, 6 months ago Adolfo Correa 258 -
4
votes1
answer8943
viewsDoubt about Latex image reference
I’m trying to put sequential numbering on two figures. Example: figura 3a, figura 3b. But when I do \ref{fig1a} in the text, it shows the later numbering (4b): \documentclass[jou,apacite]{apa6}…
latexasked 7 years, 3 months ago Diego Vidal 41 -
4
votes0
answers379
viewsHow to change document language in rmarkdown using latex?
I’m writing a document in Rmarkdown and using Latex for figures and tables. I need the titles of figures and tables in Portuguese, so I tried the following: Rmarkdown file: --- Output: pdf_document:…
-
4
votes1
answer175
viewsHow do I center all the contents of a table in Latex using Overleaf?
All the contents of my table are located to the left of it. How do I center the contents of the columns and rows of this table? Table photo. Table code. \begin{table}[H] \centering \footnotesize…
-
3
votes1
answer962
viewsBibliographic reference in Latex
I’m trying to create a file .bib, but my file .tex only displays the first. What I’m doing wrong? @book{Boaventura, title={Grafos: Teorias, modelos, algoritmos}, author={Boaventura Netto, P. O.},…
-
3
votes2
answers1247
viewsLatex Text Block Formatting
Good afternoon! I am trying unsuccessfully to put this block of text in this photo formatting: How do I do it in Latex? Thanks for your help. PS.: I’m using Texstudio to edit.…
-
3
votes1
answer767
viewsWhat is the symbol for direct product?
what is the symbol for direct product, as shown in the example? Ex.: (1,2,3,4)*(1,2,3,4) = (1, 4, 9, 16)
latexasked 9 years ago Wagner Jorge 1,377 -
3
votes2
answers5730
viewsProblem with Latex Figures Skipping Paragraphs
Hello, a little more than a month ago I started using Latex to write my tcc, from a few days ago I started to insert figures and everything was going well, until suddenly when inserting more…
latexasked 8 years, 8 months ago Yuri Pires 579 -
3
votes1
answer19956
viewsText settings in latex
Good afternoon, I am having some doubts in certain settings in latex. I will divide into parts. Cape: 1) How do I put a specific font size in certain parts? For example title(\title{}) with letter…
-
3
votes1
answer46
viewsLatex command to create C file
Hello, I wonder if there is a way to generate a file from the PDF prepared in Latex. What I want to do: I write Latex code, compile and I write his PDF. At some point, I want to show a code that is…
latexasked 7 years, 6 months ago Carlos Adir 128 -
3
votes1
answer711
viewsHow to add euro currency symbol (€) on a . tex page in Latex?
I’m doing my TCC monograph on Overleaf and I’m having trouble inserting the euro symbol (€) on a page. tex template that my college offers to develop the monograph. Concluding: I wanted to rename…
-
3
votes1
answer86
viewsHow to make the output of the Kable() command appear in Rstudio Viewer?
I’m trying to get a Latex table with the knitr package R, but I’m not getting the output to appear on Rstudio Viewer. For example, when trying to convert head(mtcars): kable(mtcars, "latex") I get…
-
2
votes2
answers5436
viewsHow to change the language of natbib in Latex?
I’m doing my master’s thesis at Latex, and I’m using the natbib with the mendeley to make the bibliography. However, the final bibliography appears in English. Is there any way to change the default…
-
2
votes1
answer4751
viewsLatex reference, IEEE model
Hello I am writing texts in latex by online editor Overleaf (https://www.overleaf.com/) which I think is very good. This one has several models of various articles, including in IEEE, which I am…
-
2
votes1
answer3637
viewsAlign table in latex?
Hello I’m trying to align this table on a page only but I’m not getting anyone has any tips that can help me? \documentclass{article} %…
latexasked 7 years, 6 months ago Matheus Francisco 650 -
2
votes1
answer4262
viewsLatex and Python integration
I need to generate and save a PDF file with some data I treated in a script I did to generate report, however, I do not know how to do it. Do these data need to go through a . tex file before…
-
2
votes2
answers1628
viewsI want to generate an R table for Latex
I want to generate a table with the R Summary data with the results I got, I know there’s a library called Stargazer that does, but I couldn’t find the documentation.
-
2
votes1
answer1142
viewsHow to reference in LATEX text without parentheses
I am working on my TCC using Sharelatex and a template from my university. I have already set up the file .bib and I can perform citations using the \cite{}. But in this way it always generates for…
-
2
votes1
answer642
viewsList of Figures formed by name+number
I used the model risethesis for the creation of my dissertation, but it does not suit abnt as to the lists (figures, tables...). For example, the list of figures is being presented as: 1 Legenda1…
-
2
votes1
answer231
viewsAlternative to Miktex
Hello. I am making a document in RMD in Rstudio and would like to export it to word or pdf. I saw that for this I need to install Miktex. However, even following all the steps ( the most brief…
-
2
votes1
answer532
viewsProblems to generate pdf file and equations in the file via R Markdown
I am trying to run the following function via R Markdown, seeking to generate a pdf, and with equations using Latex I already installed all the necessary packages, so with Miktex 2.9 full version…
-
2
votes0
answers24
viewsABNT6023 Latex Bibliographic References
I have a question regarding Latex, more specifically in ABNT 6023:2018 standards. I would like to know how I can change the year of a reference in the Bibtex archive. Example:…
-
2
votes0
answers18
viewsHow to enable katex symbols in latex rendered via mathjax?
In the company where I work we have a content production team that writes all the content in Notion using the Equations functionality that they provide. To parse this content we create a lib which…
latexasked 3 years, 9 months ago Bruno Mello 21 -
1
votes0
answers87
viewsBibtex gives error in abbreviation
I’m having trouble putting the name of the magazines in my quotes. The following error appears: ? ! Undefined control sequence. l.103 \newblock {\em \apj}, 615:209--221, Nov. 2004. The term \apj…
latexasked 9 years ago Matheus Lima 187 -
1
votes1
answer32
viewsHow to create a command that sums using latex
I need to put page numbering in the document I’m creating, but this document starts from page 20 for example, so I should use a command that does something like: \cfoot{Página \thepage+20 de (Número…
latexasked 7 years, 4 months ago André Carvalho 138 -
1
votes1
answer6249
viewsInsert caption footnote in Latex
How do I insert a footnote into a figure’s caption? With the code: \begin{figure}[htb] \centering \begin{subfigure}[b]{.4\textwidth} \centering \includegraphics[width=\textwidth]{imagens/gui/atom}…
latexasked 8 years, 5 months ago fernandoandrade 1,070 -
1
votes1
answer91
viewsIncluding Trust Interval in a Row of a Matrix
I want to create an array of 38 rows and two columns with coefficients on odd lines and confidence intervals for parameters on even lines. Then call the Stargazer. My code is: library(quantreg) y…
-
1
votes1
answer97
viewsPlace final line in a Latex Table
I’m building a Latex Table and it’s giving me an error in the final horizontal line I put. \begin{table}[t] \begin{center} \begin{tabular}{|c|r||l|} \hline \emph{Fases} & \emph{Descrição} &…
latexasked 7 years ago João Sampaio 125 -
1
votes0
answers53
viewsHow to pass an HTML tag inside a Javascript
I’m trying to perform a mathematical activity on Moodle using Ardora as the creator of the activities. It does the javascript, css and html part by me, so the language activities are "simple". My…
-
1
votes2
answers547
viewsImage and text in Latex
When I write in Latex I have the following problem that I will try to explain with an example: When I start writing I want the text to follow the following structure: Text1 Image1 Text 2 Imagem2…
-
1
votes0
answers16
viewsPack problem tikz-fillin Latex
I’m having trouble finding this package \RequirePackage{tikz-fillin} in CTAN to download, someone would know to inform me the link ? From now on, thank you!
latexasked 6 years, 5 months ago Gustavo Henrique 11 -
1
votes0
answers43
viewsLatex file to open a file on the computer
Hello, I have a question about opening files through PDF. Class 02 is a file that contains links to open other files. If I click on "1-ola_mundo. c" inside the pdf, it should open the code…
-
1
votes1
answer857
views"Error: caption Outside float" in R Markdown
When I try to compile my Markdown R code, I get the following error: ! Package caption Error: caption Outside float. See the caption package Documentation for Explanation. Type H for immediate help.…
-
1
votes0
answers571
viewsCreating a Latex cover with picture
Good night, I recently moved to France and I’m beginning to have to write reports here. As in Brazil, I will use Latex to make them, but in Brazil I had a cover provided by a teacher for reports and…
-
1
votes0
answers90
viewsIntegrating mathematical calculus programs with Tex files
I usually work with software called Wolfram Mathematica. With this software I run mathematical calculations and get your results. Use also applications that compile Tex files, but are only to…