All Questions

0
votes
0answers
5 views

Trouble with template using Ubuntu TeXstudio

I am new to latex and started using Linux Ubuntu with TeXstudio. I tried to compile this but getting all sort of errors. It was originally in a Windows platform , but I will like to continue in Linux. ...
0
votes
0answers
5 views

How to change default build in kile to Lulatex?

Even I went to Settings->Config kile->Tools->Build and changed the QuickBuild tool to "LuaLatex+ViewPDF". Every time I save the file, it just keeps running pdflatex. It is not unusable but it is ...
1
vote
2answers
13 views

How to center multiple figures and their descriptions

I am writing a paper for one of my classes on Catalan numbers. I have a section where I'm trying to include three different figures that I would like to be centered with their corresponding ...
0
votes
2answers
21 views

! Missing { inserted

\begin{align*} f_{y_1,y_2} (y_1,y_2) &= f__{X_1,X_2}(y_1, \frac{(1-y_1)}{2} - \sqrt{ \frac{y_2}{2} -\frac{{y_1}^{2}}{2} - \frac{(1-y_1)^{2}}{4}} ) \abs {J_1} + f__{X_1,X_2}(y_1, \frac{(1-y_1)}{2}...
0
votes
1answer
17 views

Include filename in a nested document

I have a large project split in multiple files. I'd like to get each subfile name in the pdf to monitor my document. From different posts on this forum i understand Currfile package could help by ...
1
vote
1answer
29 views

Summations of a summation without upper bound as a lemma

So I have a paper I'm writing for a class that requires me to include a proof. I have the proof all sorted out on paper but I'm having a very hard time figuring out where to begin in Latex. I need ...
1
vote
0answers
11 views

bibliography backreferences with hyperref: format individual page number

I would like to format the backreferences in italics when the citation is called from a custom command (but not otherwise). I've been playing with both \backrefxxx and \backrefalt inside the custom ...
0
votes
0answers
30 views

TikZ: Piping and instrumentation diagram (P&ID) shapes available?

To draw electrical wiring schemes in TikZ the nice package circuitikz is available. However, is there something similar existent for drawing piping and instrumentation diagrams? Example of such a ...
1
vote
0answers
11 views

Add url's to asmems4.bst

I'm having a problem integrating asmems4.bst supplied by my department for my thesis. Several of my references are websites and asmems4.bst doesn't output URLs in my bibliography. From an answer to ...
0
votes
0answers
18 views

Not Clickable Parts in Table of Contents

I have some problems with my table of contents in a LaTex document in Overleaf. I have added 6 subfiles that are appendices. They display as I want in ToC, but most of them are not clickable. This ...
0
votes
0answers
37 views

How to draw organometallic compounds?

I'm trying to draw this molecule using the chemfig package but honestly don't know where or how to start. Please help. Thank you.
0
votes
1answer
19 views

Disabling page numbering bottom of page

Newbie question here. I seem to have some trouble changing the page numbering. I want it in the header, instead of the bottom of the page. I got the header working, but I have been deleting and ...
1
vote
1answer
15 views

Minitoc won't work at my Report document

I am about 3 days deep into this whole minitoc issue. WHY doesn't it work? I mean, I want a simple mini table of contents at the beginning of each chapter in my report document. Let me show you ...
0
votes
0answers
15 views

Bibtex/Biber/Zotero - ! Illegal parameter number in definition of \abx@field@annotation

I'm using Biber with Zotero. Everything worked until I add a new reference to Zotero and a paragraph in my .tex and these lines appeared for two lines : ! Illegal parameter number in definition of \...
1
vote
2answers
27 views

Economise space with floats

Consider this example: \documentclass{report} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \lipsum[1-4] \lipsum[5]{1-14} \lipsum[6][1] \begin{figure}[htbp] \centering \...
4
votes
3answers
133 views

With indentation set to `0em`, when using a line break, there is still an indentation of a size of a space

Problem Description I am quite a newbie at *TeX, but I defined some \newcommands as some kind of paragraph styles (maybe not the proper way to do so, maybe someone could tell me how to accomplish ...
0
votes
2answers
28 views

Referencing equations in latex

I am trying to reference equations in latex (I am writing in overleaf) and am using the code as in the official overleaf documentation i.e. \begin{equation}\label{Emc2} E=mc^2 \end{equation} ...
2
votes
1answer
29 views

How to change the color of a specific character

I'm writing a paper for one of my classes that is on the Catalan numbers and I wanted to include an example about how they match up with the number of ways to "legally" arrange n pairs of parenthesis. ...
2
votes
1answer
14 views

“Patch failed” in EMNLP Style Template

I was trying to use the LaTeX files for the EMNLP 2019 conference (download link can be found here), but when I try to compile the provided example .tex file, it doesn't work and I get the following ...
0
votes
0answers
15 views

How to add pages of pages in footer without fancyhdr?

I've been searching Google to find an answer but I cannot! I find the same solution every time which is: \usepackage{lastpage} \usepackage{fancyhdr} \pagestyle{fancy} ... \cfoot{\thepage\ of \...
1
vote
0answers
14 views

How to delete parentheses for empty fields in references?

The same question has been answered here but that solution does not work for me since I am not sure what is the empty field. Is there a way to drop all empty items? Perhaps something like \...
0
votes
1answer
18 views

How can I use braces for cites in biblatex package

I am trying to put braces before and after my cite like this: The IoT environment are.... (IoT Book). instead of The IoT environment are.... IoT Book. How can I succeed this? My code in ...
1
vote
0answers
19 views

Undefined control sequence when running siunitx

Good morning, when I try to load the siunitx package, TeX Studio reports undefined control sequence and missing \begin{document}. The error can be replicated by compiling this piece of code: \...
1
vote
1answer
17 views

Closing table cells in a tabular environment involving multirow and multicolumn

Is there a way to close the cells containing "Field A" and "Field B" only, i.e. with excluding the cell on the top left? Below is a minimal working environment. Thanks for your hints and suggestions. ...
2
votes
1answer
36 views

What units are \pgfphysicalheight and \pgfphysicalwidth defined in?

I often use \pgfphysicalheight and \pgfphysicalwidth from the pgfpages package to define sizes dynamically based on the dimensions of my page (which vary). For example, here's a "dynamic" vertical ...
0
votes
0answers
6 views

How to define one display for several LilyPond fragments in LyX?

I would like to separate the notes from the score display using LyX and LilyPond, because I have several music fragments that should have the same display. Is there a way to define the display in a ...
1
vote
1answer
34 views

QR-code in beamer footline

For some reason, using a qrcode package in beamer footline produces an invalid QR-code. \documentclass{beamer} \usepackage{qrcode} \newcommand{\insertqrcode}{% \qrcode{http://www.ctan.org} } % ...
1
vote
2answers
20 views

Vertical alignment of nested aligns

I would like to align a rather complicated formula, consisting of an (outer) optimization problem with several (inner) constraint blocks, which should be aligned around equal signs. I have opted to ...
1
vote
0answers
10 views

pdftex.def Error when .eps file is saved on a network drive

Consider the following MWE: \documentclass{article} \usepackage{graphicx} \usepackage{epstopdf} \begin{document} \includegraphics[width=0.5\textwidth]{knightstour.eps} \end{document} where ...
1
vote
2answers
21 views

arrow mark to be in centre [duplicate]

1) I wish to have the arrow indicator to be in the center rather than touching the edge of the flowchart shapes. Is there a possibility to do so? 2) The connection between CCC ->> DDD; CCC->>FFF and ...
1
vote
1answer
19 views

Error with ! Extra }, or forgotten \right

Here is my latex code: \begin{document} \begin{align*} f_{Y_2}(y_2) &= \int_{\frac{1-\sqrt{2(-1+3y_2)}}{3}}^{1}\frac{1}{4\sqrt{R}} \mathrm{d}y_1 + \int_{0}^{1-\sqrt{-1+2y_2}}\frac{1}{4\sqrt{R}} \...
0
votes
0answers
20 views

Is there an indication of who is editing a LaTex file in Overleaf's collaboration mode? [on hold]

In Overleaf's LaTex editor collaboration is possible. Since I have a deadline soon and waiting for others to check (or finish checking), I need to know whether they have finished their review. I see ...
2
votes
1answer
27 views

How to typeset a number like 10.10.10 with the siunitx package?

I want to list the versions of some python modules I am using. The problem is that the format of the version has two dots, for example 10.10.10 or 1.04.5. When I try \num{10.10.10} I get the error: ...
0
votes
0answers
12 views

Xelatex created PDF printable standard

We are using xelatex for typesetting, and the xelatex will be created direct PDF only. can be the created PDF will be printable standards? Thanks Prasad
0
votes
0answers
18 views

Tikz node with a fixed and variable coordinate

In Tikz: how can I place a node A relative to the position of node B but with one coordinate fixed? Or put differently, how can one make two nodes share either the x or the y coordinate? For example, ...
0
votes
0answers
11 views

Force line break in tabu “X” environment

I would like to force a new line within a tabu 'X' column. Using \newline forces a new line, but includes some ghost spacing, making the text no longer centered. I have tried using \\ in combination ...
0
votes
0answers
22 views

pagenumbering, figure and tableofcontents in memoir document (overleaf)

I am making a booklet. It is almost done but 1) I realized that numbering of the pages has just dissapeared (expect in some pages like those one where begins a chapter) 2) I have only the title of ...
1
vote
3answers
38 views

Cannot split long subequations

I do not seem to be able to split two long sub-equations. I've tried multline, align, split and a few other possibilities but none of them have worked; I reckon a main issue is that I've got brackets ...
1
vote
1answer
15 views

How to embed lstlisting in table without much space

I want to embed code in table like the below photo. Firstly, I tried code 1. \begin{tabular}{p{8cm}} \hline \begin{lstlisting} code here ...... \end{lstlisting} \\ \hline \begin{lstlisting} code ...
1
vote
1answer
16 views

Issue with positioning the footer text and footer rule

Consider this MWE, why is the footer rule position different on page 1 compared to the rest of the pages? Also related to the footer, how can I move the footer text down without affecting the position ...
0
votes
1answer
16 views

Package pgf Error: No shape named java is known - problems with points in the name

I try to design a class diagram with tikz-uml: \documentclass{article} \usepackage{tikz-uml} \begin{document} \begin{tikzpicture} \umlemptyclass[type=interface ]{java.util.Collection} ...
2
votes
1answer
18 views

Change of bibtex style

So I am preparing my thesis for my Master's project and our university has a little bit different referencing style than the standards. The closest standard bibtex style is 'abbrvnat' style. Abbrvnat ...
0
votes
0answers
17 views

Line Break in \url in the footnote

There are many Posts about this Topic URL linebreak in footnote Line breaking of URLs at "-" I tried it by myself but it doesn't work oon my Tex-File. I added this in my Code for the url-...
2
votes
2answers
55 views

How to properly capture return value of a command?

I have a problem with capturing returned value of my command. Here is my preamble with command definition: \documentclass[convert={density=300,size=800x600,outext=.png}]{standalone} \usepackage[utf8]...
0
votes
0answers
11 views

Subtables on top of each other

I want the subtables to be placed vertically, i.e the one above the other at the center of the page. The following code is what I have, but the output is two horizontally aligned subtables. \begin{...
2
votes
1answer
34 views

mtpro2 in Overleaf

I want to use the mtpro2 package in Overleaf but it seems to work only in some cases. If I go to "new project", "blank project" and use this: \documentclass[]{article} \usepackage{lipsum} \...
0
votes
0answers
8 views

How to list portion of subsections

Right now I have a list of questions which I labeled. \documentclass[10pt]{article} \usepackage[hidelinks]{hyperref} \usepackage{enumitem} \begin{document} \newpage \section{Project} ...
2
votes
2answers
35 views

Converting CSV file into PDF dynamically [duplicate]

I have a simple CSV file that looks similar to: pens, 23 bottles, 5 spoons, 6 chairs, 5 books, 12 I want to convert this into a PDF document. I have no clue on how could I do this. I have installed ...
0
votes
0answers
6 views

Including a LaTex citation in a GraphViz graph

I am trying to generate a graph showing the relationships among papers in a bibliography. I use GraphViz inside a LaTex document to generate the graph. So far, so good: the graph is generated ...
0
votes
0answers
32 views

how to solve page numbering

I am writing my thesis via LaTeX and I have written list of abbreviation and it is 2 pages. I used page numbering \begin{termlist} and \end{termlist}. However, the second page of abbreviation ...

15 30 50 per page