# All Questions

175,560 questions
9 views

### Remove PDF restrictions

I am using Texstudio to write my thesis. But the resulting pdf has Document Assembly and Page Extraction restrictions. How can I remove these two restrictions?
14 views

### Arrow with superscript in math mode and tikz-cd

I have two scenarios where I use arrows with a super-scripted asterisk: math mode and tikz-cd diagrams. I would like to be able to show such an arrow in both scenarios such that the arrows look the ...
16 views

### Is there an alternative for Excel2Latex in Mac OS X?

When I try to export a table to latex, the Excel does not allow to copy the code. I tried with Excel 2016 and last version 16.25. I don't know if the problem is the plugin or app.
23 views

### How to write “Nosé–Hoover thermostat” in latex?

I want to write following in latex - Nosé–Hoover thermostat I tried this but it didn't work - Nos$\ {\prime} e$--Hoover thermostat
15 views

### Same main.tex but compile pdfs with dynamic name & use variable in other file

i use Texmaker. Is possible, when main.tex create many different pdf output. i want to definite variable for output pdf name in "pdfoutputname.tex" and then use this variable to main.tex My ...
12 views

### How to color each item per slide and revert back to black on other slides?

I want to highlight by color each item per slide so that it appears animated. That is to say I have two items under the label A. Now I want to highlight the first item with the color red on slide 2. ...
18 views

### Justified text with usepackage typewriter

The text when using usepackage typewriter is not justified. Is there a way to do that? \documentclass[12pt,a4paper]{scrartcl} \usepackage{lipsum} \providecommand\ttgreyone{0.1} \...
22 views

### What's the purpose of \use_none_delimit_by_q_nil:w and friends in LaTeX3?

The LaTeX3 documentation for the l3basics package lists three functions \use_none_delimit_by_q_nil:w ... \q_nil \use_none_delimit_by_q_stop:w ... \q_stop \...
16 views

### Beamer content disappears when notes are shown besides slides

I have finally encountered an exciting TeX-related problem to post here: Using beamer slides with notes, certain parts of my slides disappear in the main slide when the option \setbeameroption{show ...
10 views

### Biblatex Problem for authors with same surname [duplicate]

I work with the authoryear style in biblatex and cite articles via \citet{Name}. When citing a paper where the authors share the same last name, I however get problems. For example, with the bib entry ...
15 views

### align* environment issues

I cannot see what is wrong with the following and would appreciate any pointers. \documentclass[margin=1mm]{standalone} \usepackage{amsmath} \usepackage{blkarray, bigstrut} \usepackage{setspace} \...
19 views

### How to recognise all figure commands as figure*

I have a long tex file with many "figure" commands inside. I included this source tex file in my main document. In the beginning of my file I am trying to renew the command figure as figure* but it ...
33 views

### MetaPost not working

The recent update seems to have broken metapost. Anyone else having problems? The following is a MWE taken from the document that used to compile. Thanks for any help. \documentclass[11pt]{article} \...
16 views

### \url with # and & inside \footnote

I have trouble with \url and \footnote \documentclass[margin=5mm]{standalone} \usepackage{hyperref} \begin{document} my text \footnote{\url{https://webbook.nist.gov/cgi/cbook.cgi?ID=C69727&Type=...
11 views

### Authors get duplicated in Index

I want to create an author index with backend=bibtex and indexing=cite using biblatex. However, some authors get duplicated when I have cited both books and inproceedings published by the same author. ...
16 views

### Algorithm 2e - removing semicolons on lines with comments

I am using \DontPrintSemicolonin algorithm2e but the semicolons at the end of lines with comments are still there. This was a problem that was supposed to have been resolved in version 5.0, but I am ...
17 views

### How to span a float over a fixed width in two-column mode

In a two column mode, \begin{algorithm} spans over a single column, while \begin{algorithm*} spans over the entire page. But what if I want it to span a fixed size, e.g., 0.5\linewidth? I am ...
10 views

### BibLaTeX: How to catch author's name for categories?

I've been trying to implement author name categories in BibLaTeX based on this answer while using biber. However, I don't seem to be able to catch the author name using \iffieldequalstr in \...
52 views

### Passing arguments from TeX to a Lua function

The following code is a simple example of passing arguments from TeX to Lua. Just passing the arguments directly (the version without \luastringN) gives an error. (./luafunction.aux)./luafunction.lua:...
32 views

### Equation with Fractions and with Text and Numbers [duplicate]

I need to introduce the following formula in a Latex document, I've been consulting several online manuals, but I can't find anything. I hope you can help me.
26 views

### Create table using exact horizontal and vertical cell sizes with intentional cell overlap

I need to create a table where each cell is 1em x 1em. The contents of each cell in the table will be a single glyph from a special Unicode font. Each glyph is 1.1em x 1.1em. There is intentional ...
50 views

### Why does a perfectly-identical repetition of a drawing command given within an earlier loop 𝘯𝘰𝘵 produce exactly the same line?

Question. Why does the following code produce a line from vertex 0 to vertex 1 which does not perfectly coincide with the analogous line drawn earlier (by way of the foreach-loop)? \begin{...
56 views

### Text at the right of icon

I want make a CV and I want a list of icon with text at the right. Now I have this: But I want something like this: This is my "code": \begin{document} \header{name}{name} %starts a new page and ...
21 views

### LaTeX changing the order of problems on a test [duplicate]

The following code is that for the first two problems enumerated as 11.) and 12.) on a page of a test. Why is LaTeX changing the order of them? (I guess the table environment is doing this.) How do I ...
8 views

### Changing the Part label in a Beamer Presentation [duplicate]

I want to change the "Part" sectioning header in a presentation from "Part I", "Part II" etc. to "Lesson 1", "Lesson 2" etc. I'll also use "Lesson I", "Lesson II" etc if this is easier. Any ...
6 views

### Using biblatex-chicago with the authordate option on a file that uses headlesscite

I usually use biblatex-chicago with the notes option, but I need to convert a document to authordate format. My document uses \headlesscite quite a lot, which results in an error because apparently ...
24 views

### newtx font makes arrows bigger in tikz-cd

I noticed that the newtx font somehow makes the arrows in tikz-cd diagrams appear significantly bigger. I wonder why that is and if there would be any way to solve this issue. MWE below. The code \...
20 views

### beamer: Adding pause between two equations II

\documentclass{beamer} \usepackage[T1]{fontenc} %----- \usepackage{amsmath,amssymb,amsfonts} %math \usepackage{graphicx} \usepackage{color} \usetheme{Madrid} \begin{document} ...
18 views

### pgfplots: Adding vertical lines with labels to a graph

I wanted to replicate the following graph in latex. I'm using the pgfplots package. The main areas I'm struggling with is how to implement vertical lines with labels, how to make the tick-marker on ...
36 views

### Uptex, issue with fonts

I am actually testing upTex because I have to write some japanese texts with a vertical alignment. Unfortunately I do not find enough resources about it. However, I found some examples in some ...
19 views

### nodes near coords from table

I want to add a non-numerical value as a node on a histogram. The labels come from a column in a table, fairly similar to this other question, i.e. using value \thisrow{<column>} as <macro>...
23 views

### Alignment of Roman enumeration list

I am trying to create Roman enumerating list. I am using package: \usepackage{enumerate} Here is my code: \begin{enumerate}[label=\Roman*] \item \textbf{\textit{First}} \item \textbf{\textit{...
17 views

### How to hyphenate in a \synt{} with the syntax package?

Consider the following example: \documentclass[draft]{article} \usepackage{syntax} \begin{document} blah blah blah blah blah blah blah blah blah blah blah blah blah \synt{blahblah-blahblah} blah. ...
49 views

### keyval - function for keyB should act dependent on value of keyA - how to do this?

I'm new to LaTeX. I learn and I use article class. I struggle learning working with keyval package: I try to write macro \macro which only uses one mandatory argument where user can provide key value ...
27 views

### Default font used by Overleaf editor [on hold]

I'm desperately looking for the name of the font used as default in the overleaf editor (see pic below). And how can I use it as a font in my documents? thanks
18 views

### pgfplots: Reducing Marker Size

Do you know how can I reduce the size of the markers? code: \documentclass{book} \usepackage{caption} \usepackage{subcaption} \usepackage{epsfig} \usepackage{contour} \usepackage{bm} \...
50 views

### What fonts are used in this book? [on hold]

Can someone identify the text and equation fonts used in this book? How can i use these in my own document? As suggested in the comments, i tried to get the fonts from the pdf document: However i ...
34 views

When I try to installed MIKTEX in my window 10 machine I got windows api error 5: Access denied. I tried several solutions found on the web: Windows API error 5: "Access is denied" when ...
37 views

### Typing source of a math problem in LaTeX

I use the following line for my problem statement environment, ‎\newenvironment{statement}[1]{\smallskip\noindent\color[rgb]{1.00,0.00,0.50} {\bf #1.}}{}‎ And in my document, ‎\begin{statement}{1} ...
24 views

### beamer: Adding pause between two equations

\documentclass{beamer} \usepackage[T1]{fontenc} %----- \usepackage{amsmath,amssymb,amsfonts} %math \usepackage{graphicx} \usepackage{color} \usetheme{Madrid} \begin{document}...
95 views

### pic versus macro in TikZ

Consider this code in the TikZ - PGF manual, which uses a macro % Main code from % The TikZ - PGF manual % Author: Till Tantau et al % Version 3.1.3, released May 9, 2019 % Page 40 \...
99 views

### How to use Palladio font in text body but Computer Modern for Equations?

i want my text body to be set in a Palladio-like font, but my equations to be set in Computer Modern. \documentclass[12pt,a4paper]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
88 views

### How to use “ shadow ” in pstricks?

\documentclass[border=.8cm,pstricks]{standalone} \usepackage{pst-eucl} \def\a{4} \begin{document} \begin{pspicture}(4,3.5) \psset{linejoin=1,PointSymbol=none} \pstGeonode[...
12 views

### Two authoryear-style citation call-outs with text in between

I am using natbib to format my references. I know how to add text to citations using \citep[e.g.][](Darwin_origin_1859) But now I would like to have say something like this: some more text (Darwin, ...
47 views

### How i make like this figure? [duplicate]

Bonjour, Comment produire un document avec des exercices dont les corrigés apparaissent à la fin du document et quels soient clickable avec latex. J'aimerais avoir quelque chose comme ça:
26 views

Is it possible, when defining a node, to give external (hierarchical) access to the subnode? Consider the following MWE, where I would like to give a stable access to the internal node, like something ...
17 views

### The twoside document class option in Microsoft Word [migrated]

Is it possible to replicate the twoside document class option in Microsoft Word? I am asking because I am writing in LaTeX with page size A4 and I am supposed to use standard Microsoft Word margins ...
24 views

### Difference between \baselinestretch, and \doublespacing in the setspace package

Am I wrong in thinking that there is a difference between the doublespacing options of \renewcommand{\baselinestretch}{2} and the \doublespacing option in the setspace package? The code \...