# All Questions

178,760 questions
Filter by
Sorted by
Tagged with
52 views

### Exercises database (for school, e.g. math problems) [on hold]

I'm a math teacher to undergraduate level students in France. I want to set up an efficient and easy to handle exercises database (written in LaTeX). I'm not so sure of the best way to proceed. I ...
24 views

### Scaling of frame creates a little point

I am trying to figure out why latex puts a little point after at the beginning of align environment I am scaling to fit the pagewidth. As an example: \documentclass{article} \usepackage{amsmath} \...
19 views

### Reference writes “pages” instead of “pp”

I have the following reference in the bib file. @inproceedings{pour2016clustering, author="Pour, Shahrzad M. and Benlic, Una", editor="Madureira, Ana Maria and Abraham, Ajith and Gamboa, Dorabela ...
37 views

### Aligned environment effecting tabular environment

I have successfully incorporated an aligned environment in my tabular environment, but now my second column is not aligned with my first. I think that I need to remove the automatic line break after ...
34 views

### ArXive file, how do I read the source?

I have an important file here but I do not know how do I extract it so that I can read it in WinEdt 9. I have Win 8.1. What (at best signed one) file should I download and install to unzip it? What ...
24 views

### Retrieve bibliographic data from DOI code using command line

I am trying to find a way to retrieve some bibliographic data starting from a DOI code using the Linux/MacOS command line. For example, suppose I want to get the bibtex entry for the following DOI: ...
22 views

### Identify font used [duplicate]

I'm looking for the font used in this fragment: Anybody could guide me on the family name, and how to use it by myself?
11 views

### TeXShop 4.27 preferences panel doesn't have Theme tab. How can I fix this problem?

I installed MacTeX-2019 distribution and, as the title says, I don't have the Theme tab in the preferences panel of TeXShop which allows me to change the source page colours. Moreover, the "OK" ...
178 views

### MiKTeX Linux Docker : LaTeX Error: File l3backend-xdvipdfmx.def' not found

I have a Docker container and installed MiKTeX, but when I try to generate a PDF, I get an error: LaTeX Error: File l3backend-xdvipdfmx.def' not found. Here is the Docker file: FROM node:12.6.0-...
31 views

### Some problems with toc and usage of fancyhdr package

Firstly, I would like to have my introduction the same as my bibliography(font and location) (Photo 1) the introduction is better seen in photo 2 Secondly, I want to remove the "contents" from the ...
42 views

### How to add extra leftmargin only for the body in an environment?

How to add extra left-margin only for the body in an environment? The extra margin should be of same space as the environment-head occupies. For example, what I am getting is this: And what I want is ...
31 views

### Problem setting font with XeTeX

I want to use a font that's installed on my computer as my main font on a LaTeX document, which I'm compiling using XeLaTeX. Following this answer, I am using the following code \usepackage{fontspec} ...
32 views

### Single separator line in a grouped bar chart (pgfplots)

Context: Two groups (sample A / sample B) were asked to express their opinion in six categories. However, some people did not give an answer. Hence, I am trying to integrate this information in my ...
21 views

### How to use otftotfm with LGR encoding

I have an OTF font with 4 variants (regular, italic, bold, and bold italic). The font includes upper and lower case Greek symbols in all of the appropriate slots. I'd like to use this font with ...
53 views

### TikZ append does not overwrite – what does?

Main Question I want to change all properties of certain TikZ elements in the style of TikZ’ append. However, unlike its name suggests, append provides only defaults. By contrast, I wish to override ...
26 views

### Inputting only a single environment from a file inside an enumerate environment using xcomment?

I am trying to input problem assignments into an exercise template from individual problem files, that also happen to contain the right answers to the exercises in question. The assignments and right ...
40 views

I'm fairly new to latex so I would like to know how do I insert a table of contents? I have four chapters each with subsections so how must I add table of contents? P.S. I tried using, \...
29 views

### Adjust space between base and superscript

I noticed that, in math mode, the top right corner of some letters, such as N or K, seems to clip into the superscript that follows the letter. I'm attaching an example: I guess a local solution ...
44 views

### Distance between top (or bottom) margin and header (or footer)

I am preparing a camera-ready book. My publisher has given me a stylesheet that is based on a Microsoft Word template. I am having trouble setting the exact measurements of the sheet with the geometry ...
29 views

### how to set the width of a custom column type and make the first row / title of a threeparttable fit that particular width

I have the following table I would like : to fix a row to a certain width of the custom \newcolumntype{L}{D{.}{.}{2,5}} (which allows to align the decimal of the item of the column instead of the ...
37 views

### Custom Labels right side of the axis

I am having problems with custom labels and its position, especially with negative values in the coordinates. I do not get the position on the right side of the y axis and its height is shifted if the ...
31 views

### Can't Build my PDF

I am trying to build my pdf but this issue comes up, " Error : could not start the command : pdflatex -synctex=1 -interaction=nonstopmode "4.6 notes variation of parameters".tex " I may have ...
12 views

### Long abstract for technical report orphaning Abstract title due to vfil

When using a custom template to prepare a report I noticed that long abstracts split across pages, fine, but it leaves the abstract title hanging by itself on it's own page. How can I structure the ...
26 views

### How to shrink a large table within the default margins?

I have this large table and wish to squash it to fit the default margins, is a solution please? \documentclass[12pt, a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
30 views

### Add image in Two - Column CV

Please find the format of two-column CV in https://www.sharelatex.com/templates/cv-or-resume/two-column-cv I wish to add my photograph within the yellow box. But when I am adding it, the yellow ...
66 views

### 1920s maths textbook font [duplicate]

I was wondering if the font used in this old mathematics textbook (which I've seen in so many other books as well) is available on LaTeX, and if it covers maths as well. Thanks. PS I've looked at ...
15 views

### Autosizing for expectation with additional index

I was trying to define a new command for an expectation which scales the vertical dash (in case of conditional expectation) and parenthesis to the argument, respectively. Additionally, I want to have ...
87 views

### I Would Like to Add a Line to a Table Plot with Tikz

I am plotting data with pgfplots. I would like to add a line to this plot. My code is as follows \documentclass{article} \usepackage{pgfplots} \usepackage{tikz} \begin{document} \begin{tikzpicture} \...
39 views

### Is there a way to create a database and extract data from it through a command?

I have looked up packages such as datatool, but I am not quite sure if they would be able to perform this function. The basic idea is that I would like to have a database similar to a bibtex file, ...
55 views

### How to “clean” article source code before submitting to ArXiv?

ArXiv requires uploading TeX sources. The justifications they give for this are rather weak IMHO, but that is beside the point. What is the easiest way to clean up an article for submission? ArXiv ...
168 views

### Adjusting vertical spacing in fractions?

Consider the following MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} t = \frac{\dfrac{T_1}{T_2}}{1+\dfrac{Q_1}{Q_2}} \end{equation*} \end{document} It ...
54 views

### Is there a way to fix an unaligned plus sign in Tikz?

I use Tikz to transform MATLAB plots in Latex but I use exponential notation for numbers in these plots. However the output features a "plus" sign that is a bit off. Is there a way to fix this ? \...
41 views

### center caption of image

i have code but caption does not in center and not below of image MWE: \documentclass{article} \usepackage{caption} \usepackage{tikzpagenodes} \begin{document} \begin{figure} \begin{center} \...
26 views

### Evaluate variables for coordinates in newcommand

I'm trying to plot a graph and put annotation on it, with arrows pointing to the curves. Here is a simplified working code : \documentclass[border=2pt]{standalone} \usepackage[utf8]{inputenc}...
41 views

### Always* insert a fixed slide after the title slide

I'm implementing my institution's PP templates -- like so many others. At our organisation we're often presenting classified stuff and we're supposed to include a slide with information about ...
14 views

Problem: This issue is related to the following post: Align enumerate to text and items to numbering for exercises and answers - but it deals with a different aspect of the package tasks, namely how ...
19 views

### \includegraphics Package inputenc error and Undefined control sequence

**EDIT: The solution to my problem was editing the graphicspath to: \graphicspath{‪{images/}} ** I am trying to include a figure but I'm getting a myriad of error messages for the same line of code. ...
10 views

### Induce line break between number and unit in siunitx in cases latex does not do it autmatically

I have a question related to this one: How to line break a siunitx unit. In my case I have paragraphs where even with allow-number-unit-breaks=true no break happens in some cases (see example below). ...
35 views

### How to to insert a footer (copyright and page number) IEEE Conference

I am using two packages to deal with the footer: standard letter document class (def) and (fancyhdr). I want that the copyright has to be only on the first page on the right side, and the page number ...
30 views

### Increase distance of bars in bar chart in pgfplots

I have this code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplots} \pgfplotsset{compat=1.16} \usetikzlibrary{patterns} \definecolor{trolleygrey}{rgb}{0.5, 0.5, 0.5} \...
5 views

### Cross-reference in memoir with mention of Part

I am using the memoir document class. When referring to a section or chapter I would like to display the roman number of the corresponding part as well. E.g. that \ref{something in chapter 2 of part ...
40 views

### UTF-8 comment highlighting in lstlisting

I am writing a document full of UTF-8 characters and code, so I am using CJKutf8 package with lstlisting. However, it seems that there is something wrong with text highlighting. In the example below,...
96 views

### Stylized punctuation marks for mathematical formulas

I'm looking for a a set of stylized punctuation marks for use in mathematical formulas. Package stix has a symbol \typecolon that looks like this This is just the kind of thing I am looking for, but ...
20 views

### Setting color for numbers in code listing [duplicate]

I am trying to mimic the behavior of Gedit's code highlighting in listing. For example, Gedit makes all numbers (int, float) in Python pink, but I have trouble implementing this. I tried numberstyle ...
17 views

### Overleaf IEEE report only shows 21 of of 46 of my references

I need heed help. I have changed to write my paper in IEEE paper, so I copied and pasted everything from another document to the IEEE paper. The issue now is only 21 out of 46 of my references shows. ...
44 views

### Modify arrows on a parametric plot

How to change the arrows in the below plot to blue ones with a -latex tip? \documentclass{article} \usepackage{amsmath} \usepackage[x11names]{xcolor} \usepackage{tikz} \usetikzlibrary{calc,...
36 views

### Environment with mdframed

The following mwe showcases the environment I am currently working with: \documentclass{article} \usepackage[tikz]{mdframed} \definecolor{greentitle}{RGB}{165,224,168} \newenvironment{notation}[1] ...
20 views

### page layout using geometry and minipage

I am needing to make a page layout that has these dimensions, am thinking the geometry package and minipage? unsure - am new to this so if anyone is able to help that would be greatly appreciated!