All Questions

0
votes
1answer
14 views

To search a specific histogram in root file

I have a huge root file i.e hist-sample.root in which there are thousands of histogrms. I was using to command to search a specific histogram. It was something like gDirectory->("Ptbb"). Something is ...
1
vote
0answers
8 views

Beamer, overlay and standalone

Short version Is it possible to use standalone to produce externally my figures with overlays and include them directly in my main document ? More details Using the answers of the question Beamer ...
0
votes
0answers
10 views

Listing code in beamer frame

I have a problem with the package listings in beamer, when used in a frame. I report below a MWE (actually, it gives an error message). If I don't use \begin{frame} \end{frame}, then the example below ...
1
vote
1answer
18 views

Frame with caption and image below

I want to create a slideshow. For some slides I want to have a caption above the image but the rest of the slide filled with the image. How is this possible? Maybe with \usepackage{tikz}? If so, could ...
2
votes
2answers
37 views

Crossed out red box fitting tightly around image

I can do \textcolor{red}{ \fbox{ \includegraphics{path} } } To get a red frame sitting tightly around an image inside a firgure environment. Now, is there a way to also get a red cross over ...
0
votes
0answers
14 views

java eclipse - how do i print out a statement [on hold]

how to priint statment plese? I try already print("hello") but it no wok. Help appresiated. english not my fist language so sorry for mistake.
0
votes
0answers
31 views

latex is not generating pdf due to unsupported characters such as 👗 [on hold]

Here is the sample code \begin{filecontents*}{example.eps} %!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: 19 19 221 221 %%CreationDate: Mon Sep 29 1997 %%Creator: programmed by hand (JK) %%...
4
votes
1answer
39 views

Tikz positioning above circle exact alignment

How can the balls b1 and b2 be aligned exactly above each other? Also, above=1cm of b1.center, anchor=center and all kinds of combinations with north - south, north east - south west does not yield ...
0
votes
0answers
17 views

change the default path where Latex looks for everything

I'm trying to throw different projects into one document that are in different folders. These folders include images and texfiles. I know that I can always include files with \input{} or \include{} ...
0
votes
0answers
8 views

Minted package does not recognize lexer inside listing

I have a problem with the minted package. I am using two different lexers, juliaand jlcon. The first one properly highlights code, but the second one only works if the code is not inside a ...
1
vote
1answer
21 views

How to remove reference items in IEEEtran using Zotero and Overleaf?

The \bibliographystyle{IEEEtran} in my IEEE Overleaf template produces: [1] D. C. Knill and A. Pouget, “The Bayesian brain: the role of uncertainty in neural coding and computation ”...
0
votes
1answer
38 views

How to typeset \left \right parenthesis in LuaLaTeX in 2019?

With pdflatex I often used \left( and \right) to scale the parenthesis of a function as in \[\exp\left(\frac{a}{b}\right) \] But this method was not perfect, because the code is difficult to read ...
0
votes
1answer
15 views

How to add caption to my figures

Here in my work there are two figures in which i want to add captions as Figure (i) and Figure (ii) separately. MWE: \documentclass{article} \usepackage[ a4paper,top=1in,bottom=1in,left=0.7in,right=...
1
vote
2answers
10 views

centre multirow horizontally

Consider this example: \documentclass{article} \usepackage{makecell} \usepackage{multirow} \begin{document} \begin{tabular}{|l|r|l|} \multirow{2}{*}{Sample} & \multicolumn{2}{c|}{AA}\\ ...
0
votes
1answer
18 views

Tikz figure in Table

Here is my code: \documentclass{article} \usepackage{fullpage} \usepackage{pgf-pie} \usepackage{tabularx} \usetikzlibrary{decorations.text} \usepackage{ifthen} \begin{document} \begin{table}[ht] %\...
1
vote
2answers
27 views

tikz-feynman: edge labels

I would like to understand how can I label edges of diagrams as at this picture: I assume that it possible to label vertices and than move each label, but I do not know how. Can anyone gives some ...
0
votes
0answers
8 views

Error Message in Displaying Algorithm

I am writing a thesis, and there I have three files, one is main, another one is Chapter and the last one is a.tex. main.tex is using to call the chapter. I have written main algorithm in a.tex. So ...
3
votes
1answer
69 views

Which fixes from mathtools were merged to the AMS packages already?

mathtools aims to fix bugs and problems with the AMS package set. Quote from the AMS site http://www.ams.org/publications/authors/tex/amslatex: In 2016, LuaTeX version 1 was released, and ...
0
votes
1answer
13 views

Raising errors when using fontawesome5 and XeTeX in Debian

I have been trying to compile my CV using the command xelatex cv.tex on a Debian-based TeXlive. I normally run it successfully on a MacOS with MacTex using the package fontawesome5. However, when I ...
2
votes
2answers
175 views

Drawing a german abacus as in the books of Adam Ries

I am teaching a course in history of mathematics and would like to draw something like the following: The bullet points should be possible to draw on the lines and in between. Can anyone help me? ...
1
vote
1answer
22 views

format box around text like this?

Can you help me format like this. Thank you so much! Problem 1. Let ACB be a right-angled triangle with right angle CAB… (Problem is a counter)
3
votes
1answer
18 views

Specifying coordinates in tikzcd arrows with a foreach loop

I'm trying to use a foreach loop to draw a whole bunch of arrows in a tikzcd environment by using the foreach loop to specify coordinates but I can't get it to compile. Here's a minimal example of ...
0
votes
0answers
22 views

Can anyone provide code for table below? [on hold]

How can we write this table in latex
0
votes
0answers
14 views

Changing keys appearing on the final pdf

My current state is and I would like to change this appearance of cites with a single number to three characters juxtaposed with two numbers, each of which denotes authors and years of a paper, ...
0
votes
0answers
18 views

Left and right parentheses won't appear in equation

I have a problem with \left( and \right) not showing up in the equations in a document. I have used both \usepackage{amsmath}, \usepackage{amssymb} and \usepackage{mathtools}. I tried with these three ...
2
votes
0answers
14 views

Tikz-dependency and gb4e Alignment Issues

I am using tikz-dependency and gb4e inside one example. I want them to be centered, but I could not managed to do so. Here's my self advancement: \documentclass{article} \usepackage[utf8]{inputenc} \...
5
votes
2answers
82 views

First instead of 1 when referencing

I'm using an enumeration with labels assigned to the items. Referencing to the items it works fine, but in some cases I would like to have "1st" or even "first" instead of just "1", with the former ...
0
votes
0answers
19 views

Font question (MIT) [duplicate]

I'm not sure if I'm on the right forum for this. I've been a TeX user for awhile now, and I like to play around with different fonts. I was wondering what font they are using in the link below, and if ...
2
votes
0answers
20 views

How to reduce top margin?

How can I reduce the margin between the first line of my document and the headerline? \documentclass[12pt, a4paper]{article} \usepackage[ top=0.6in,bottom=0.6in,left=0.7in,right=0.5in]{geometry} \...
1
vote
2answers
10 views

Shifting or stretching a float

I have got a float, that is minimal too high for a page. Is it possible to either shift it up a bit, so that it fits between the head- and footsepline or to stretch it with, say 0.9? My float ...
0
votes
1answer
26 views

Nocite like command in biblatex?

I'm trying to have all my references printed on the PDF, the thing is that I only cite 1 of all the entries in the .bib file. And looking at the documentation on biblatex it says I have to use the ...
0
votes
2answers
32 views

Prevent empty equations numbering?

\begin{align} fdsafdsadf\\ \end{align} will display two equation numbers. The trailing \ starts a new line... it is useful to add them so one can easily add or remove equations... or even comment ...
0
votes
0answers
10 views

Package morefloats Error: Too many floats requested. }

I get the following error: Package morefloats Error: Too many floats requested. } while trying to run a "*.tex" file, which runs OK on my desktop, on my Mac. The IDE that I am using is Texstudio. ...
2
votes
1answer
30 views

Alignment issue in a titlepage

Here is what I am trying to achieve, but I am getting this, with this syntax, \documentclass[14pt, a4paper]{article} \setlength{\oddsidemargin}{0.5cm} \setlength{\evensidemargin}{0.5cm} \...
1
vote
1answer
43 views

How to TeX this glyph?

It is 0x20 in this table. http://www.math.union.edu/~dpvc/jsmath/symbols/cmr10.html According to amsfonts and the structure of .afm files (See Chapter 8 of https://www.adobe.com/content/dam/acom/en/...
0
votes
1answer
23 views

Consecutive equation numbers with different section numbers in the front

I am looking for commands that enable me to have consecutive equation numbers with different section numbers in the front. For example, when the last equation of section 2 is (2.18), the next equation ...
0
votes
0answers
8 views

Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6

I have been using LaTeX the "Clas­sicTh­e­sis" template by Dr. André Miede v. 4.6, for my thesis document. I require to add Lists of definitions, abbreviations, symbols to this template. I was trying ...
0
votes
0answers
12 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
20 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
33 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
24 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
34 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
1answer
18 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 ...
1
vote
0answers
41 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
14 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
24 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 ...
3
votes
0answers
67 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. \documentclass{article} \usepackage{chemfig} \setcrambond{3pt}{}{} \...
0
votes
1answer
23 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
19 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
25 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 \...

15 30 50 per page