# All Questions

178,568 questions
Filter by
Sorted by
Tagged with
8 views

### Identify font used

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?
5 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" ...
12 views

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

I have a docker container; I've 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 Dockerfile: FROM node:12.6.0-...
11 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 ...
9 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 ...
18 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} ...
5 views

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

Context: Two groups (sample A / sample B) were asked tp express their opinion in six categories. However, some people did not give an answer. Hence, I am trying to integrate this information in my ...
9 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 ...
26 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 ...
8 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 ...
24 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, \...
14 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 ...
17 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 ...
8 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 ...
16 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 ...
27 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 ...
7 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 ...
21 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} \...
15 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 ...
8 views

### Cross-referencing multiple index entries

I need to create some 'collective' entries in my index, that cross-reference all the relevant entries in a certain category; however, the default behavior of makeindex seems to be to repeat the word ...
62 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 ...
32 views

### Add a line in 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} \...
32 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, ...
37 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 ...
26 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 ...
29 views

### Plus sign not aligned in tikz node

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 ? \...
32 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} \...
13 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}...
28 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 ...
13 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 ...
16 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). ...
7 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, and the page number is starting from ...
24 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} \...
3 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 ...
29 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,...
61 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 ...
13 views

### Setting color for numbers in code listing

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 ...
14 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. ...
36 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,...
22 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] ...
18 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!
19 views

### LyX interface too large

I am having a problem with LyX on my laptop. I am running Windows 10 at a resolution of 3840x2160. When I open LyX, the interface is simply too large: So large in face, I can't even "apply" any ...
21 views

### Two Flowing Frames per Page

I want to write a document where the history, geography, culture of a certain place is the main text. Together with that, I want to present a timeline of events but, rather than a separated topic or ...
44 views

### How can I define a section-like command?

I would like to define a \case command that acts like a section, meaning that when I type \case{Some Case}, it will: End the current paragraph if there is one Write \textsc{Some Case} End the line ...
10 views

### Texstudio tooltip help on mouseover only displaying for about 1 second

In texstudio, if I mouse over a command e.g. /caption, a tooltip will appear that describes the command. This option is toggled on and off via configure -> adv. options -> special options -> Show help ...
75 views

### TikZ: How to decorate one or more rectangle sides?

How can I change the left and the right line of a rectangle to 'zigzag'? \documentclass[margin=5pt, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{decorations.pathmorphing} \begin{document} \...