# All Questions

178,870 questions
Filter by
Sorted by
Tagged with
21 views

### How to adjust list of nomenclature (text overflow) using elsarticle package

I'm using elsarticle package for journal publication and I have created my list of nomenclature. How can I let the texts in the list of nomenclature page overflow to the next page (as I'm having quite ...
29 views

### Color interpolation (shader) does not work when using Matlab2tikz

I am trying to improve the quality of my plots in MATLAB and so I used Matlab2tikz to transform the MATLAB plots in pgfplots. I want to perform a color interpolation but this does not work and after ...
64 views

### How to create a point cloud in a 3D coordinate system with TikZ?

I want to create a simple point cloud in a coordinate system similar to this one: but without the axes being annotated by their values. For these example points: \pgfplotstableread{ X Y Z 2.2 14 4 ...
239 views

### How to color a tag in a math equation?

I have a math equation with a \tag operator. \documentclass{article} \usepackage{amsmath,amssymb} \usepackage{xcolor} \begin{document} This is my favorite equality: \begin{align*} \color{red}\...
43 views

### the second example is indented in linguex

I'm new to LaTeX so excuse my naive question. I use \usepackage{linguex} to generate linguistic examples but when I try to write two or more examples, the second one is indented. How can I make all ...
26 views

28 views

### Increase spaces above and below theorems

I realize that the spacing between my theorems and the remaining texts of the document is so small and below is the latex code in question. I need there to be some reasonable space above and below ...
22 views

If I load fontspec, without unicode-math or mathspec, in LuaLaTex or XeLaTeX, I can no longer use \mathsf{\Phi}, \mathbf{\Phi}, and maybe other variants. Demo: \documentclass[a4paper]{article} \...
39 views

### Having problem with the numbering of references

I have a problem with my bibliography. I made a poster document but only the first reference got numbered and the rest did not. \documentclass[20pt,a0paper, margin=0mm, colspace=5mm,...
18 views

### to specify a certain paragraph with a vertical line to which adhered an English letter

My question seems to be chalenging!!! How can I specify a paragraph with a vertical line in the close of that? For example, below picture contains a shape includes two paragraph. The first paragraph ...
73 views

### Change position of footnote number

Thanks to TexStackExchange community, I have learned to insert a footnote after a word. Same as: But when I have Fransson et al [2] I want the 2 to be between the 'Fransson' and the et al. How ...
31 views

### How to use \newfam properly?

Consider the following example: \newfam\myfam \font\myfont=msam10 \textfont\myfam=\myfont $A\mathchar"2850 B$ \end Notice that family "8" is specified explicitly, because \mathchar allows only ...
27 views

### Custom minipage: combine options

Following the answer to another question of mine, which had custom minipage settings for quotes, \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ ...
30 views

### Different file extension .WVPbbl instead of WVP.bib

I have downloaded and extracted 2 files from this ArXiVe file. They have file extensions .tex and .bbl. However when I compile the WVP.tex with LaTeX, it complains that there doens't exist a WVP.bib ...
39 views

### Passing arguments using pgfkeys to a macro for including PDF files, using pdfpages

This is a slightly simplified version of a macro I've been writing (using pgfkeys and pdfpages) to include PDF files. This seems to be working. I ran into one bump. includepdf does not like it when ...
38 views

### Same bibliography works in one project but not in the other [on hold]

so I'm writing my thesis report and am trying to do the referencing thing. If I use this simple code, it works fine in one project: \documentclass[12pt,twoside]{report} \usepackage{biblatex} \...
31 views

### After a completed TeX Live installation on Linux: how can I run just the “Create symlinks to standard directories” option?

On CentOS 7 I have installed TeX Live 2019 via CLI by running install-tl from an ISO image. This install was identified as x86_64-linux and finished successfully. Now, I want to activate the symlinks ...
49 views

### Can anyone explain to me that why \def is used together with @ in this cls file

Recently, I have found a CV template class here in GitHub In the file awesome-cv.cls, there are some definitions confuse me, like: % Define writer's name % Usage: \name{<firstname>}{<...
18 views

### How to make two columns in lstlisting with one column caption?

I want make two columns in one lstlisting with one column caption. When I use multicols option, the caption also is inserted in left-side column. But I want just body of the lstlisting is divided ...
17 views

### glossaries package won't accept some symbols generated via graphicx

I'm having issues with the glossaries package. For some reason, it just will not accept even simple symbols constructed via certain commands, e.g. from graphicx. Consider the following MWE: \...
39 views

I like this type of style for greek letter (the red part in the picture), can anybody tell me how to realize in latex and which package is necessary, Thanks in advance!!!
183 views

### Question about exercise 17.22 in TeXbook

What is the meaning of the following sentences from the answer to this exercise? On the other hand, \left will balk if the following character is a left brace. Therefore it’s best to have control ...
39 views

### Multiple errors with trying to wrap a figure

I want to wrap a figure so that it is on the right side of the paragraph but when I try to compile it, I get these errors: This is my code for that part: \documentclass[12pt]{extarticle} \...
147 views

### Question about exercise 17.16 in TeXbook

The answer to the exercise is: \def\sqr#1#2{{\vcenter{\vbox{ \hrule height.#2pt \hbox{\vrule width.#2pt height#1pt \kern#1pt \vrule width.#2pt} \hrule height.#2pt}}}} \def\square{\mathchoice\...
33 views

### “Tex capacity exceeded, sorry [save size=8000]” on Texpad

I use the Texpad on my iPad. A "TeX capacity exceeded, [save size=8000]" issue occurred when compiling the project. How to fix?
91 views

### Convert a macro from Latex2e to expl3

I'm trying to implement a \Scontents command inside a small package that behaves in two different ways: \Scontents*[opt]<del>argument<del> \Scontents[opt] { argument } With the star it ...
92 views
+100

### Make decrease the space between title of list of figures and list of tables on the same page

I try to reduce the space between the title name of list of figure ("Liste des Figures" on the image below) and the list of figures. I would like to do the same for the title name of list of tables ("...
63 views

### Automatic solution for nice roots - but problem with nested ones

Please look at the following MWE. I found an automatic solution for nice roots. The depth of letters ist ignored and subscripts do not influence the depth. But when I nest the roots, it gets ugly. ...
29 views

### Reledmac / geometry: text going over bottom margin

I am struggling to have a text typeset within a specific frame. However, this is not the case. As you can see from the example I have attached, the text goes beyond the bottom margin. I'm not sure if ...
12 views

### \algstore & \algrestore : Without changing the algorithm number [on hold]

My algorithm is too long to be fitted into one page. So I am \algstore & \algrestore in \usepackage{algorithm}. However, even if I can successfully split the algorithm, I think it is just making ...
11 views

### Text-Wrapped Figures with CatchFileBetweenTags

I've been trying to develop a clutter-free workflow for writing the content of LaTeX documents, and have nearly achieved it using the catchfilebetweentags package (I can write the text in a separate ...
22 views

### Simple specification of the global size of smartdiagrams

I am thinking of using smartdiagram package in beamer presentation. I found various size options, but my interest is simplest so as to fit the size of the diagram within the beamer slide size without ...
31 views

### Error when trying to add an image

I am a LaTeX newb and I am trying to learn how to add an image, picture etc. in my text. However, I don't understand why it doesn't work. Can someone point me out in the irght direction? \...
27 views

### How to get chapter title better aligned?

this question : Margins of Section Title is Out of Bounds unfortunately does not help me. When I run the bottom code, the top line is shorter than the bottom which seems awkward in documents where ...
16 views

### bibliography citation not defined [closed]

I have a .tex file and library.bib file in the same directory. When I run my .tex file, why do I get that "There were undefined references?" You can see below I am only citing one thing, and the ...
23 views

### Making “Figure 1” bold breaks references to it [duplicate]

I have a figure with a caption. Normally, the caption shows up as Figure 1 MyCaption. However, I want the "Figure 1" part to be in bold. I found the answer to this on this website; the fix is to use \...
23 views

### Using other than skak chess fonts

I want to use other fonts than skak (merida, cases etc.). I've downloaded enpassant fonts, and even copied them to skaknew folder. However, I cannot use fonts, which do not have .pfb files, describing ...
33 views

### Horizontal space within proof

I am typesetting a few proofs in LaTeX that have multiple cases, and sometimes I wish to indent each case to make my proof clearer (with about the same amount of horizontal space as a \qquad). I have ...
48 views

### Put percentage symbol on the x axis

How do I put the percentage "%" symbol on the x axis? \documentclass{standalone} \usepackage{subcaption} \usepackage{caption} \usepackage{pgfplots, pgfplotstable} \usetikzlibrary{positioning} \...
52 views

### Problems with 2d plot

When I compile this code in python, I get the following output, sorted from the greatest to smallest: On the other hand, when I compile it in latex, I get the following reversed output. What's ...
19 views

### Using the MICR E13-B font with XeLaTeX

After a number of searches I can't seem to find an obvious answer to this so I'm hoping someone can help me. What is the correct / most straightforward way to use the E13-B font for printing MICR ...
31 views

### Reledmac: in-text Bible verse numbers

A nice little macro on reledmac allows replace line numbers with verse numbers. This is particularly useful for Bible verse. My question elaborates on this feature of reledmac. What should I do if, in ...
14 views

### Change order of fields for @inproceedings type of references while using ieeetr bibliography style

I am using the ieeetr bibliography style and have a specific problem concerning @inproceedings type of references. My tex file is as follows: \documentclass{article} \begin{document} \cite{...
28 views

### \ifthenelse statement inside includemedia options

I try to enable / disable some options for my 3D view with \ifthenelse. \documentclass[fontsize=12pt,paper=a4]{scrbook} \usepackage{media9} \usepackage{graphicx} \usepackage{ifthen} \begin{document} ...
23 views

### LaTeX error after killing 'latexpdf': text line contains invalid character

After forcing TeXstudio to shut down in the midst of writing my thesis (due to some unlucky circumstances beyond my control), I tried to reopen the files that I had been working on in the previous ...
24 views

### Understanding assertion matching in l3regex

This question is a bit specific and beyond the official interface of the l3regex library, but I'm trying to understand how exactly the library works here. Given the following example document: \...
28 views

### non-continuous numbering equation

From the beginning of my document which contains two pages, I have several equations. Equation in page 2 must be started from 1 (numbered from 1) How can I perform this procedure?
54 views

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

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 ...