All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
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 ...
0
votes
0answers
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 ...
0
votes
2answers
7 views

Changing the color of sections-subsections in the head

\documentclass[xcolor=dvipsnames]{beamer} \usecolortheme[named=blue]{structure} %------------------------\AtBeginSubsection[]---------------------- \AtBeginSubsection[]{ \begin{...
0
votes
0answers
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}\...
0
votes
0answers
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, ...
1
vote
0answers
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:...
2
votes
1answer
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 ...
0
votes
0answers
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 ...
0
votes
0answers
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'...
0
votes
0answers
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 ...
3
votes
1answer
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 ...
0
votes
0answers
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 \...
1
vote
0answers
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 ...
1
vote
1answer
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 ...
0
votes
0answers
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 ...
0
votes
0answers
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 ...
2
votes
2answers
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[...
3
votes
1answer
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} \...
1
vote
0answers
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 ...
1
vote
0answers
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 ...
5
votes
1answer
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> \...
2
votes
0answers
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 ...
4
votes
2answers
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 ...
0
votes
1answer
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? ...
2
votes
1answer
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-...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
2
votes
0answers
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 ...
2
votes
0answers
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]{...
0
votes
0answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
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 ...
2
votes
2answers
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} \...
2
votes
1answer
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 ...
1
vote
1answer
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): %-----...
1
vote
2answers
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)}, ...
0
votes
0answers
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 ...
5
votes
3answers
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 &...
1
vote
1answer
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]{...
3
votes
1answer
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[...
0
votes
0answers
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 ...
1
vote
1answer
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 ...
1
vote
1answer
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]...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
1
vote
2answers
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{...
1
vote
0answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
23 views

Plotting a surface with TikZ and pgfplots from a data set

I would like to plot a surface from the following data set (625 points) using tikz and pgfplots -0.5 -0.5 3.46623e-13 -0.5 -0.46 4.23572e-12 -0.5 -0.42 2.795e-11 -0.5 -0.38 1.30946e-10 -0.5 -0.34 4....
0
votes
0answers
26 views

Adding line numbers without lineno package

I've had several persistent issues with the lineno package and journal article templates (e.g., not numbering certain paragraphs). Is it possible to just add an "unaligned" column of line numbers on ...

15 30 50 per page