# All Questions

175,526 questions
7 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}...
9 views

### Using single newtheorem counter on multiple environnements with different reference styles

I am currently working with multiple \newtheorem environnements which all use the lemm counter: \newtheorem{lemm}{Lemma}[] \newtheorem{lemmo}[lemm]{Lemma} \newtheorem{coro}[lemm]{Corollary} \...
20 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 \...
18 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} \...
20 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[...
10 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, ...
30 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:
10 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 ...
16 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 \...
36 views

### How could I print the table on the left of the page

I want to make a math exam paper via exam package but with the information of students on the left of the first page. We may deal with this by rotated line. However, it is the table I have to print. ...
10 views

### Adding Chapter word and dotted contents in chapter name using tocbasic package?

For adjusting figure and tables content spacing, I use tocbasic package. This is the example what I want to get: This is a part of a code before \begin{document} \usepackage{tocbasic} \...
15 views

### I have four logo graphic image that I want to put in four different pages of my title slide. beamer presentation

I am trying to put four images in one title slide at four different places and not in one single line.
22 views

### Beamer/TikZ: Uncover nodes in segment

I want to uncover the text nodes of a tikzpicture. This is the desired result: Slide 1 Slide 2 MWE \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \begin{tikzpicture} \...
39 views

### How to connect equation signs with vertical line?

I would like to create a layout like below, but more automated so that I don't have to adjust the spacing by hand in every case (as done below). Who knows how to do that? \documentclass{minimal} \...
41 views

### How to draw more complicated geometric diagrams [on hold]

I would like to make diagrams which are a bit more populated than just a circle or a rectangle, and can contain a reasonable amount of information, like this one below: But I'm quite inexperienced ...
30 views

### How to generate lined paper with 52 degree slant dotted line

I've seen numerous questions answered for generating lined paper. I want to add a 52 degree slanted dotted line for cursive practice. Is there any package that can help? Line height should be 5mm and ...
18 views

### Placing affiliation in footnote without using \thanks

This is my first message. I have tried over multiple days to find a way to place affiliations and corresponding authorship for a Journal manuscript using wlscirep.cls in the footnotes, while keeping ...
21 views

### Narrower kerning of symbols generated by Tikz [duplicate]

I'm using LaTeX to render a set of custom glyphs. Each glyph is perfectly rectangular, at a 3.5 x 5 aspect ratio, and they're defined something like this (the following example just lines the borders ...
16 views

### Plotting parametric, scalar-valued function over parametric surface using pgfplots

I think this is a relatively simple question but I can't seem to find the answer anywhere. Suppose I have a set of parametric equations for a cylinder that I can plot using the following snippet of ...
28 views

### How to add table and figure label to table number and figure number in list of figures and list of tables?

When I use overleaf by following code: \usepackage{tocbasic} \DeclareTOCStyleEntry[ entrynumberformat=\entrynumberwithprefix{\figurename}, dynnumwidth, numsep=1em ]{tocline}{figure} \...
46 views

### Create definitions of symbols using LateX

I am trying to create legend for fraction some text $Y = \frac{X_{A}}{X_{AB}}$ \$\begin{array}{l l} X_{A}: & \text{Lorem Ipsum is simply dummy text of the printing and typesetting ...
34 views

### How to prevent \raggedright from removing left-indent of \parshape?

Output with \raggedright looks good when greater indentation is specified for \parshape, but \raggedright eats up smaller indentation. If a word doesn't fit on a line, is there a way to prevent ...
33 views

### How to add a logo to an Overleaf template for a newspaper article?

I have this code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{microtype} \usepackage{newspaper} \date{\today} \currentvolume{1} \currentissue{1} %% [...
45 views

### Moving a point along a “multi-node path”

I would like to create a gif (as explained in this answer) of a point moving along a crooked "multi-node path". I would like this path to be specified as below: a sequence of nodes connected by edges. ...
12 views

### using xkeyval for circling a number in a given color with tikz

I've been trying all day to use xkeyval, but it seems like I just can't get the hook of it. This is what I'm trying to do: I've got this number in a circle filled by a certain color. The code for it ...
33 views

### \section causes citations to display as [0]

I have a main .tex file where I input some chapters which are other .tex files. Then I have a bibliography that I input in the main. If I have some \section in my input file, some citation become "[0]"...
26 views

### Do not count inserted blank pages, but keep track of them

I have a question on my MWE, well rather WE, because minimal isn't really applicable to it anymore... Let me first tell you what my expected output is. So for a twoside document, I need the first ...
33 views

### Tcolorbox and tikz package for colored page [on hold]

Bonjour. How to code these two pages in latex using tikz package.
34 views

### XeLatex file works at online OVERLEAF editor but not in my TexStudio editor

I have a problem with xelatex file which I copied from the overleaf online compiler. It works normally with no errors at overleaf but when I compiled it on my TexStudio editor it does not work even (I ...
22 views

### Why does the section header look different when using lmodern vs. not using it? [duplicate]

I noticed from the good answer here that when I use \usepackage{lmodern} with \addtokomafont{sectioning}{\boldmath} then the section header looks different that when I omit the lmodern package. It ...
25 views

### biblatex: automatically abbreviate year ranges

For consistency's sake I need to abbreviate all number-ranges in my document. While biblatex can easily be made to abbreviate page ranges the equivalent command for the year ranges breaks compilation ...
22 views

### Problems when defining a general inline code command with listings or verb

I am trying to define an inline \code command (not language specific, just a smarter \texttt{} without the need to escape underscores or tildes, for example). I tried the three versions below based on ...
26 views

### How to make math fonts have same weight as text when in section or subsection header?

I am using scrbook and some of my section and subsection header have small math in them. There is no problem doing this, other than I noticed the headers have bold font (which is good and I want ...
11 views

### How to display vertical lines at indents in lstlisting?

I want to display vertical lines in indentations. I already found this thread: Lstlisting and indentation lines, but it isn't what I want. This is how my attempt looks like: This is how I want it to ...
15 views

### How to change indexing while using \begin{enumerate}?

I am writing theoretical solutions for an exercise with multiple parts. However, not all questions are theoretical and so let's say that out 5 questions, I only need the indices 1, 3 and 5. I can ...
32 views

### Why \parbox makes inter-word spacing very wide and how to fix it?

How to keep \parbox and at the same time get rid of excessive spacing between words? \documentclass[varwidth]{standalone} \begin{document} \parbox{40mm} { \everypar{\parshape 2 0mm 40mm 5mm ...
49 views

I was trying to draw a flow diagram in latex and the mini-chart is bigger the rectangle. How can I adjust the outside rectangle to fit everything inside it. Is it also possible to rotate text in the ...
12 views

### No text in pdf + tex files (inkscape generated) if text is put on path

As the title says. Simply write some text in inkscape plus a line Put the text on the path use the includesvg in latex and the resulting figure has no text whatsoever. The log indicates an already ...
210 views

### How to illustrate the Mean Value theorem?

What packages can I use and what code to draw these functions?
16 views

### expanding \ref in \write with \classicthesis

The following code: \documentclass{scrbook} % \usepackage{classicthesis} \newwrite\myauxfile \immediate\openout\myauxfile=test.myaux \begin{document} \begin{figure} This is a figure \caption{...
39 views

### How can I get a similar chapter style in the report class?

I'm relatively new to LaTeX, and I'm trying to find the right style for my PhD thesis. I want something simple and elegant, inspired by the layout of some books published by Oxford University Press. ...
32 views

### Combining side by side image files controls for a video in Beamer

I am using the animate package in latex for a beamer presentation. I have two sets of figures that I want to turn into animations which I was able to do with the following commands \begin{frame} \...
24 views

### Again tabular. What is the best way to color a cell or a table? What is the problem?

Hi again (I´m sorry by English mistakes). I've learned a lot here. This week I learned several ways to create a table joining cells, and also how to put colors in it. However for some reason, two ...
39 views

### Making two figures the same scale and fit on a line

Let's say I have a bunch of images, (two in this MWE) \begin{figure}[h] \begin{subfigure}{\linewidth} \includegraphics[width=.95\linewidth]{whacknot} \caption{Fritz-Qualdor count of greezable ...
44 views

### LuaLaTeX engine, babel and pdfx package

There is one error with the combination of spanish babel, pdfx package, and LuaLaTex engine, how it is very easy to test with this MWE: \documentclass{article} \usepackage[spanish]{babel} \...
14 views

### \right not working in beamer [duplicate]

\documentclass{beamer} \usepackage{graphics} \mode<presentation> { \usepackage{breqn} \usetheme{Frankfurt} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{align*} ...
62 views

### Alignment: “Breaking out” of environment (enumerate / minipage)

I have an enumerate environment inside a minipage (the minipage might not be needed, I only included it here to show the margins). Each item has a paragraph of descriptive text and contains smaller ...
47 views

### LaTeX \chapter introduction

My supervisor wants me to write an introduction for each chapter, between the chapter number and the chapter title. I don't know how am I supposed to do it.This is what I want: Chapter 2: blabla ...
42 views

### TiKZ broken with MacTeX2019

I have update my Latex distribution to MacTeX 2019 (My laptop is a MacBookPro). Now TiKz is broken, for example, compiling the following with TexShop \documentclass{article} \usepackage{tikz} \begin{...

15 30 50 per page