# All Questions

178,773 questions
Filter by
Sorted by
Tagged with
3 views

### How to apply a clipping mask with TikZ

Without rewriting the code, I want the part where the circles overlap to be transparent so it appears white (or whatever colour is hiding behind the circles). Graphic designers might refer to this ...
6 views

### Appendix before references

It might be out of topic, but I have a very important question. As I didn't know where to ask, I thought I'd write here. I realized that for my master thesis, which i have to submit in 3 days, I put ...
7 views

### Changing the color of sections-subsections in the head

\documentclass[xcolor=dvipsnames]{beamer} \usecolortheme[named=blue]{structure} %------------------------\AtBeginSubsection[]---------------------- \AtBeginSubsection[]{ \begin{...
14 views

### Undefined control sequence. \Begin in algorithmx package

I have installed and include the required packages but it still gives me the error. Here is my code: \usepackage{algorithm} \usepackage{algpseudocode} \begin{algorithm} \caption{Mesh Reader}\...
17 views

### Beamer theme which gives looks similar to revealjs

I'm looking for a Beamer theme which mimics the look of the default reveal.js theme (demo here). ps: A simple google search revealed there are some reveal.js themes mimicing various Beamer themes, ...
31 views

### I need help to improve the drawing of my cylinder to match image of book

I need help to create a nice image/picture of the cylinder with tikz, something similar to the one below. Below you can see my current progress, first the image and below the code for it: The code:...
26 views

### How to define a style that will draw some lines on the background layer?

I use tikz to draw some computer architecture schematics and I want to highlight some wires. For that, I use a style that creates double lines to create a stabilo-like effect. I include a trick that ...
18 views

### How to create a table in single column in double column document [duplicate]

I am creating a document which is in double column format. I want to insert a table in the document and the span of the table will be two column. Basically, when I am inserting the table, I want to ...
28 views

### Asymmetrical margins on tikz drawing

I am working on this picture. It is almost completed, but for some reason I can't trim the left margin so there is some annoying extra space. (If you open the image on a new tab is easier to see). It'...
16 views

### writing multiple dots in formation

I would like to write multiple dots in some formation (in circle, in a row, etc.) within text or formulas. Somewhat similar like the token dots in petri nets, which made me look into the TeX/Tikz ...
31 views

### Help with Latex Gantt chart

I need a Gantt chart for my PhD proposal, and have found a simple example online. However, for 2019 I only need Q3 and Q4, but cannot see how to change this in the Latex code. Any help would be ...
15 views

### Single reference in bibtex in foreign language

\usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english, russian]{babel} \begin{document} bla bla bla bla \cite{reference} \begin{figure}[!htb] \centering \...
22 views

### New locally defined mathcal font for math equations

I want to make use of math fonts of mathcal namely: "pxtx" and "dutchcal" which is elaborated in this nice answer. However, I don't want to change the standard mathcal font but just use locally these ...
25 views

### Defining command part by part 2

This question is an extension to Defining command part by part thread. Let's say we have a command \foo with 1 argument. Can we produce a command \setfoo{aaa}{<some stuff>} which redefines \foo ...
12 views

### Undefined Citation natbib / Failing to print References

I am using the natbib package to manage my references for my thesis. Unfortunately the citations are undefined and it prints "?" in the pdf rather than the actual Citation from my bib file. Neither ...
24 views

### Citations in strange order (usepackage{cite} and \bibliographystyle{unsrt}

so i have the following problem: I want my citations to appear in the bibliography in the order i cited them in my text and to be referenced in the text in that order. Now when I try to do that the ...
27 views

### Draw parts of a split rectangle in a dashed/dotted style

I try to draw parts of a split rectangle in a dashed or dotted style. Thus I want the following code \node[draw,rectangle split,rectangle split parts=2,rectangle split horizontal] {foo \nodepart[...
39 views

### TikZ: How to avoid white space when using “seam allowance”?

Assumed we have this very simple Minimum Working Example (MWE) to draw a straight line: \documentclass[tikz]{standalone} \usetikzlibrary{intersections,decorations.pathmorphing} \begin{document} \...
13 views

### Linking to index entries outside of the index

I use the splitindex-option for imakeidx for multiple indices, but I decided to organize my index entries additionally another way in a table. Since I am keeping my indices, I was wondering if there ...
33 views

### How to make currently selected color automatically transition to “saveboxed” pgf shape through \usebox?

I have some macros that draw shapes. They grew quite big and take much space so I decided to give it a try and make a package by migrating those macros to an .sty file. But I ran into a problem: the ...
60 views

### What does <recently read> etc. mean in TeX's error message

TeX will encounter an error with the following code: \documentclass{article} \test \begin{document} \end{document} It will give a message as: ! Undefined control sequence. <recently read> \...
46 views

### XeLaTeX and PDFLaTeX give different outputs for Tikz in TeXLive 2019 [on hold]

Consider the following code: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0)--(0,1) node[midway,sloped]{ABCD}; \end{tikzpicture} \end{document} When I ...
35 views

### Node positioning in Venn diagram

Consider the following MWE: \documentclass{article} \usepackage{tikz} \usepackage{amsmath} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \draw (0,0) rectangle ...
31 views

### TikZ overlay doesn't work in book documentclass

I want to use \tikz[remember picture, overlay] option around an equation in a book class, but this doesn't seem to work. Whereas the same option works in beamer. Is there is any solution to this? ...
13 views

### \documentclass{scrartcl} not working in org-mode and emacs

I am trying to use org-mode for generating my documents in pdf format using MikeTex in Windows environment. When use the class \documentclass{scrartcl} in TexMaker, it is working properly. But in org-...
17 views

### ConTeXt: Introduce columnsets around chapters

Background The following screen shot shows four uneven columns, which is the desired result: Problem The beforesection and aftersection options to the setuphead command don't seem to have any ...
11 views

### How can I put all examples and theorems into boxes with different shaded in Lyx?

I am in the middle of writing a book with Lyx. I have definitions, theorems, examples, and solutions. Is there a way to put all definitions, theorems, examples, and solutions into boxes with ...
26 views

### Complete setup for XeLaTeX or LuaLaTeX in VSCode with Julia Code using Minted

I've asked the Julia community here my question, and have gotten some nice help. I thought I might cast a wider net for clarification. TL; DR: What is the complete setup for VSCode to run XeLaTeX or ...
33 views

### Equatorial plane intersecting a Bloch sphere

I have created a Bloch sphere and I would like to show the equatorial plane intersecting the sphere. I have tried the following but I am sure there is room for improvement. \documentclass[border=5pt]{...
15 views

### How to keep float page from going to end of document in two-column mode

I am using two-column mode with the revtex4-1 package. I want to place two large figures on their own page, but I want the page to be reasonably close to the location where it is written. I started ...
25 views

### Arabic, Greek & Hebrew in LuaLaTeX [memoir]

I have read this and looked at the babel package (link) and tried running the small Hebrew example (p. 24) in LuaTeX with document class memoir without any luck. Here is a simple example where I try ...
31 views

### Prevent line break after SOME (sub)section declarations

I am trying to prevent the automatic line break that happens after a (sub)section declaration, but only for some subsections. I know that I could use: \titleformat{\subsection}[runin] but this ...
46 views

### Spacing between rows latex table

I have extra space between the title and first numbered row of this table and it is driving me crazy, I don't know what is producing it. Any help greatly appreciated! \documentclass{article} \...
23 views

### Creating table with stacked variable names

I am having an issue with creating a regression table where I don't want the variable name to be super long and want it to sort of stack. For example, I want a variable name such as "first second ...
22 views

### Moderncvhead and moderncvbodyi warnings - ModernCV

I did my CV by using Texmaker on a PC; when I open the file on another PC it does not work, in particular the software gives me the following messages (I downloaded and updated MikTek as well): %-----...
54 views

### Setting Pi as colorbar tick with pgfplots

I am trying to set the colorbar ticks as -pi and pi. Is this possible within the colorbar style settings? This is what I have tried so far but it doesn't work. colorbar style={ %at={(0,1.0)}, ...
18 views

### TeX Live: “(lua): Not Enough Memory” | Chinese Fonts

I have a freshly installed and updated TeX Live system. I want to compile a simple LuaLaTeX document containing Chinese characters (see below, not a MWE, just for illustration). During the compilation ...
107 views

### Align the contents of a numerical matrix when you have minus signs

I have a matrix that looks like \begin{equation*} \left [\begin{array}{cccccc} 0 & 0 & 6 & -6 & 0 & 0 \\ 0 & 0 & -6 & 6 & 0 & 0 \\ 0 &...
34 views

### siunitx in tabular – align different types of data

I made a table with different types of data in a row. I'd like them to align along the decimal comma – as I thought the S would do. How can I achieve that? \documentclass{article} \usepackage[table]{...
35 views

### How to show page numbering after a specific page

I'd like to show page numbering after table of contents, but Latex starts showing page numbering on list of figures \documentclass[12pt,twoside]{report} \usepackage[utf8]{inputenc} \usepackage[...
54 views

### is anyone else having problems accessing Latexbase.com? [on hold]

i have a doc on latexbase.com that i can't get access to because the website seems to be down. is there someone out there that has a clever workaround? Or maybe some information about why/how long ...
30 views

### Shifting graphics vertically within figure

I'm sure this is answered somewhere. I've looked, but still having trouble getting exactly what I'm trying to do. Perhaps I need to use something I'm not familiar with. I'm trying to shift one of two ...
25 views

### Changing the color a the title frame

\documentclass[xcolor=dvipsnames]{beamer} \definecolor{myblue}{rgb}{0.00,0.00,0.50} \setbeamercolor{title}{bg=myblue!80!white} \setbeamerfont{frametitle}{series=\mdseries} \usecolortheme[named=blue]...
19 views

### urldate not being considered

I am using IEEEtran as my bibliography style and using a Citavi bibtex file in my latex document. The problem is that urldate is not being taken by the compiler i.e. it is not shown in the pdf ...
30 views

### Tree of arrays using tikz [on hold]

I'm trying to explain a backtracking algorithm with a tree of arrays and I want to replicate this picture I made using ipe: But using Tikz. I'd like the tree to be more symmetrically balanced and ...
29 views

### How to include a set of four subplots (2x2) as one subplot of another set of (2x2) subplots using groupplots?

What I am looking for is something like this: and I have tried the next MWE: \documentclass[10pt,a4paper]{article} \usepackage{tikz} \usepackage{pgfplots} \usepgfplotslibrary{groupplots} \begin{...
20 views

### Page range truncation in index with memoir class

This is a follow-up question to Page range truncation with imakeidx. I cannot get egreg's solution to work, but it is not an issue with memoir class. In the example below, the page range comes out to ...
19 views

### How can I make a block align with a textblock?

I am trying to make a poster with beamerposter. I am using the textpos package to position textblocks on the poster. Inside the textblock I am using block to get a title and a list of items with a ...