# All Questions

172,787 questions
54 views

### Why a specific \color does not work on \author?

On beamer document class, in the part of \author does not let me put an specific color. I have \author{\pink{ my name} \\ other name} Specifically does not work with \pink but it does for \blue,\...
677 views

### Drawing ramified coverings with tikz

I want to draw a diagram similar to this one: For that I started with the following code: \begin{tikzpicture} \draw (0,0) node {$Y$}; \draw (0,2) node {$X$}; \draw[<-] (0,0.35) -- (0,1.65) node[...
48 views

### Fontspec isn't changing digits in math mode

I had been using the following in my preamble: \documentclass{article}[12pt] \usepackage[lite,subscriptcorrection,zswash,slantedGreek,nofontinfo]{mtpro2} \usepackage{fontspec} \setmainfont[Ligatures={...
30 views

### bibliographystyle 'splncs04': URLs citation

I am using bibliographystyle 'splncs04' I want to cite few URLs. I don't know how to include URLs in bibtex file? Below is a part of my latex file and Bibtex file Latex File: \documentclass[...
123 views

### How do I color the graph in \datavisualization?

MWE: \documentclass[tikz,border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{datavisualization} \usetikzlibrary{arrows,calc} \usetikzlibrary{shapes,positioning} \usetikzlibrary{decorations....
40 views

### Using \maketitle with custom title page

I have created a custom title page format within the titlepage environment. I'd like to put that in a class or package, and be able to use that format in every document by simply specifying the \title ...
47 views

### How to pass to a new slide on Beamer?

On beamer document class I would like to know how to start writing on a new slide? There is a bunch of text that the current slide had not enough space, so the text is not complete. I know that for ...
26 views

### Issue with ciruitikZ package

I'm trying to use the option RPvoltages for the package circuitikZ version 0.8.3 but I get the following error message: ! LaTeX Error: Unknown option RPvoltages' for package circuitikz'. This ...
46 views

### Description list with enumitem

I would like to use enumitem package to create a description list so that the label has no indent, the item immediately follows the label, and the second line of the item has no indent. Is it this ...
31 views

### Kerning numbers of endnotes

The management of kerning appears in LaTeX not so effective in the case of note numbers. A magnificent solution for footnotes has been provided by David Purton in this thread: Lining numbers for ...
24 views

### Subfigures with different heights

I have a subfigure with an image on the right side and text on the other side. \begin{figure}[h] \begin{subfigure}{.475\textwidth} \centering \includegraphics[scale=0.16]{img/...
28 views

### Error: ! Package inputenc Error: Unicode char ⊘ (U+2298)(inputenc) not set up for use with LaTeX

I have got a Problem. I added the pages and editions in Mendeley for my literature (Right klick and "update Details"). After compiling, I got the error: ! Package inputenc Error: Unicode char ⊘ (U+...
10 views

### Uneven spacing between glossary entrances in the list

I am trying to make a glossary list and there is something weird going on: the spacing between entrances is uneven for no obvious reason. The minimal example of the code is below: \documentclass{...
17 views

### Macro for expanding macro arguments to gb4e's \gll

This is a followup question to Problem with gb4e's spacing when using datatool, where I was trying to loop over glosses stored in a CSV with datatool and print them with gb4e's \gll. The issue was ...
15 views

### how to change the space between inside a slide

I am trying a presentation \documentclass[11pt] {beamer} \begin{document} \begin{frame} \begin{figure}[h!] I have a sentence here \footnote{\tiny I have a reference here \vspace{1.5ex}} \...
26 views

### Automatic labelling of equations, based on the automatic numbering that some environments has [duplicate]

I have searched the internet for ages but I never found a solution to my problem. So my question is, when you start writing equations in a specific environment, they automatically get a number. ...
14 views

### When using imakeidx, how can I make some text link to an index entry? [duplicate]

I'm using the imakeidx package to create indices. On the generated index, page numbers links (well, sort of) to the mentions of each indexed item in the main document. However, the other way isn't ...
81 views

### Print all theorems

\documentclass[french]{book} \usepackage[french]{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \begin{document} { \newtheorem{theorem}{Théorème} \newtheorem*{theorem*}{...
105 views

### Symbol used to indicate indivisibility

In the following definition, I am denoting the condition that $a$ is not an integral multiple of $b$. Why is there such a big space between $b$ and the vertical bar with a slash through it? \...
10 views

### Spelling checker [on hold]

In the edit option change case and spelling cheker option is not showing. In spelling checker option only none is visible. But earlier it was visible with various option.
23 views

### How to force to start to write in the right column in a twocolumn document

If I want to start to write in the right column of the document in a twocolumn document class how should I do? I have already tried \newpage but it startss new page and \columnbreak results ...
28 views

### Do line breaks help synctex at indexing?

Do line breaks help synctex? Does it for example help to add hard line breaks after 80 characters instead of writing a paragraph per line?
44 views

### Expand one more time as needed? To compose with a macro that requires a maximally expanded argument?

Consider the case below as a minimal example. But the questions concerns understanding nonfragile composition of macros each which parse using something like xparse. (code below thanks to egreg) \...
17 views

### Pandoc font family not changing

I tried to set the font family to Source Sans Pro, but pandoc gives me the following error: pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. \AtBegShi@Output ......
34 views

### How to keep whitepaces between words in algorithm

I am new to LaTeX. When I tried to write an algorithm all spaces between words get removed after \gets. See the image. \begin{algorithm} \caption{Filtering lexicon file} \label{algo1} \begin{...
44 views

### Absolute Value Symbols in LyX

I've been looking for a way to use the \abs command in LyX (Version 2.3.0, using MikTex) but unfortunately I didn't find a solution. For a reason I'm not aware of, this command does not appear as an ...
11 views

### space between legend images of variable length and text entries

I have a two-column legend with variable image entries, namely solid lines and markers used in a scatter plot. I left aligned the legend content, but while this option aligns the text entries to the ...
58 views

### Is there a TeX symbol that looks like this reverse uppercase gamma? [duplicate]

I am reading a 1946 paper on the Dirac equation (H. Chandra, “The correspondence between the particle and the wave aspects of the meson and the photon,” Proc. R. Soc. London, Ser. A 186(1007), 502–525 ...
32 views

### How much negative space needed? To recognizably remove a space by letting something be added? For macros whose argument is another macro?

Suppose that one has brea + (notice the space at the end). brea + is not printed yet. A macro \m{brea +} will replace + with \added ... how then does one define added, imagine it prints a d but only ...
105 views

### copy and scale one figure (wheel)

i want continues in previous post: custom colour wheel This Minimal Code: \documentclass{article} \usepackage[a5paper,landscape,left=1.0cm,right=0.3cm,top=0.5cm,bottom=0.5cm]{geometry} \usepackage{...
22 views

### How to write in greek with xelatex polyglossia

I'm using TeXshop on Mac. I'm writing an article in french using Xelatex and I need to type some sentences in ancient greek, so i tried : \documentclass[12pt,a4paper]{article} \usepackage{fontspec} ...
104 views

### No pdflatex.exe file in miktex directory

After installing MiKTeX and TexMaker, I tried using TexMaker to create a simple first script. When I tried to compile it using PdfLaTeX, I got an error message saying: Could not start the command. ...
26 views

In the MWE below, the first and second references link to eq. (I.1), and the third and fourth equation references both link to eq. (2.1). While they should link to eq. (I.1), (1.1), (II.1) and (2.1), ...
18 views

### Missing \endcsname inserted. \end

I am trying to import existing .tex files into a larger document, but I am running into this error. How can I fix it? Below is the offending code. \documentclass{article} \usepackage[subpreambles=...
19 views

### specialized legends aligned with changing text margins in two-sided documents

I have a figure with multiple subfigures and tikz-type of figures therein. This figure contains a \pgfplotslegendfromname{named} type of legend. This legend, which is wider than the text width, is ...
17 views

### single caption under multiple figures using floatrow

I am trying to place a single caption underneath four figures. I can place a caption underneath each figure, but that is not what I want. I am using the floatrow package. \documentclass{article} \...
50 views

### How to put the block diagram on the left side of the slide

I have created a block diagram using Tikz package. Now where ever I run the block diagram comes in the middle. I want the block diagram to be placed on the left side so that I can use the right side ...
35 views

### LaTeX gives error in the following code

\documentclass{article} \hyphenation{op-tical net-works semi-conduc-tor} \usepackage{csquotes} \usepackage{graphicx} \usepackage{mathtools} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{...
22 views

### Lyx: Choose option from .cls file

I would like to use the sigconf style from acmart.cls. I have already downloaded the acmart.cls file into the latex folder, run texhash and copied a minimal .layout file: #% Do not delete the line ...
32 views

### Overlapping citation problem

I am doing multiple citation together, but in the compiled pdf all of the references are overlapping. I am using cleveref package. I am using article document class. Question : Is there any easy ...
153 views

### How to write values with uncertainty and units with brackets: (339+-14) m/s

This code \documentclass[a4paper]{article} \usepackage[separate-uncertainty=true,multi-part-units=single,list-units=repeat]{siunitx} \begin{document} $\SI{339\pm14}{\meter\per\second}$ \end{...
13 views

### flalign inside list has extra space even after \setlength{\abovedisplayskip}{0pt}

I have defined this environment: \newenvironment{proofln}{\par \textbf{Proof}\list{}{\leftmargin=10pt\rightmargin=0pt\topsep=0pt}\item\relax}{\endlist\textbf{Q.E.D}} Now I use it like this: \...
56 views

### Context images / figures and linenumbering

When typesetting a document with linenumbering, I get heavy problems with images. The linenumbering becomes a mess. What do I do wrong? Here is an MWE: \setuppapersize[A5] \setupexternalfigures[...
82 views

### Create a torus from many arcs

I need to create this tikzpicture It was taken from A Homomorphic Encryption Illustrated Primer. All I have managed to create so far was this using this code \documentclass{article} \usepackage{...
26 views

### LaTeX braces around a letter [duplicate]

Hello...I don't know the technical term for the above braces and so unable to find anything online. I would be grateful if someone can tell me what they're called. Thanks, HP
8 views

### TexLive pkg psv. Error message “Unable to open display device”

TeX Live is running on a Windows 10 PC. I have installed the psv package into the TeX Live by means of the Manager. psv complains when run. The error message mentions "display device" and I do not ...
32 views

### Importing entire R Script file into Latex

Is there a way to import an entire RScript (.R) file into Latex directly without manually using listings and copying the code into Latex?
62 views

### Is there a way to convert \def macro in \newcommand macro automatically?

I have a big file of macros, they are all in this form : \def\eclaire{\mathbb} \def\R{\ensuremath{\eclaire R}} I want to have them in \newcommand form, for those macro it's quite easy, i just have ...