# All Questions

4 views

### Include graphic if the file is present

I am trying to create a latex document that has a graphic: temp.pdf \begin{figure} \centering \includegraphics[width=30cm,scale=1]{temp.pdf} \end{figure} This works fine if the graphic file is ...
10 views

### tikz \includegraphics not working with xelatex

I switched to using xelatex so I could use a specific font, but now some images don't render. Here's a simplified example that illustrates the failure: % The next lines tell TeXShop to typeset with ...
23 views

### Creating this image in TiKZ

Can anyone help me create this image using TiKZ? I've managed to draw the circles and such, but they are not in the correct placement and I haven't figured out how to draw the lines like I have ...
17 views

### Looking for a specific presentation template

Can somebody help me to find this template:
12 views

22 views

### How to properly parse […]{…} with expl3?

What would be the more efficient way of parsing [...]{...} with expl3, that is to get the content inside the brackets in one variable and the content inside the braces in another one? This question ...
8 views

### pgfplot table cannot compile 2

For some reason, I cannot compile my pgfplot table. Can you tell me what I am doing wrong? Thanks. Here is my code. \documentclass{book} \usepackage{pgfplotstable} \usepackage{longtable} ...
19 views

### Show the code example below the image if the width is greater than X

I've been studying answers like this one http://tex.stackexchange.com/a/120953/85210 to create "side by side" code examples but I'm not sure about the way to use it when it looks like this: I mean ...
28 views

### Writing text in a node that is sloped

The following code is rendered to depict three parallel lines k, \ell, and m, and two traversals s and t. The intersection of k and s is called A, the intersection of \ell and s is called B, and the ...
40 views

### Link to arbitrary part of text?

I have a long text and I want to create a link within the document to a particular paragraph (for example write something like "as shown here" where clicking on "here" will take the reader to that ...
44 views

### How to draw a specific table?

I need to draw above image. I tried but I am able draw only fixed length tables.
51 views

### How can I center a set of equations and make a line under one of them?

This is something I need to achieve, I have a problem with the last equation. How can I underline this the same way as above? I've tried writing it as one fraction, but the other fraction in ...
14 views

### Masking URL in moderncv with banking style

I am trying to make my CV with moderncv, and am looking for a way to mask an ugly url in the homepage command (right under my name in the title). The problem has been solved already here: Moderncv ...
15 views

### Shortcut for listinputlisting reference

I would like to know if it is possible to set up a command such that when the \ref of the Matlab \lstinputlisting is called, that the words "Matlab Algorithm X.X" itself becomes a hyperref link and ...
17 views

### Setting up enumerate list with custom titles

How do I change the beginning of each elements of an enumerate list. I have a list with 3 elements, all of them appearing as 1. 2. etc. How do I change that to become Example 1: Example 2: etc ...
12 views

### Beamer: Footnote vertical align problem

The usual trick to get rid of the Beamer navigation symbols and replace them only by a page number is to use % Make footline contain only page/pages \setbeamertemplate{footline}[page number]{} ...
43 views

### how can I highlight text with the following effect

how can I highlight text with the following effect? The darkness of the color indicates the importance of the text.
38 views

### Family tree as fan chart

Can someone please suggest/offer a solution for a family tree using a fan or circle chart in the format mentioned below? Individual boxes/cells should offer the possibility to add first name, ...
16 views

I have a \subsubsection{} in a table of contents. It is layered correctly in the table, however for some reason the section number doesn't appear. Every other section appears fine. Any ideas ? Thanks. ...
17 views

### How to highlight a specific section in beamer ToC?

I have a ToC with 5 sections, and I want 5 frames where there is on each one a table of contents with the ith section highlighted, and the other are shaded. What I have so far is the following : ...
10 views

### How to avoid “overfull” errors with tcblistings and parskip package?

Consider the following MWE: \documentclass{article} \usepackage{lipsum} \usepackage[breakable,listings]{tcolorbox} %%% this two following packages are used in the format I have to use ...
27 views

### Follow up question: How to insert custom text in place of figure - Alignment of replacement box

This question is a follow up for the question here: http://tex.stackexchange.com/a/56609/93064 The aim is to replace a figure with a box containing relevant text (e.g. Figure removed for copyright ...
15 views

### vertical space after \hrulefill

I use the following as a title for my draft document: \documentclass[12pt]{article} % Various packages \begin{document} %%% Title \begin{center} \hrulefill\\ \textit{\bfseries \Huge The name of ...
36 views

### Help with further TeXing

I wanted to recreate a diagram in LaTeX, so I did my best and created something with matrices. I am really content, but I still don't have the arrows with 'reële nulpunten' and 'complexe nulpunten' ...
6 views

### Problem with cross references in table and algorithm

I am having a problem with cross references, which I have not been able to solve. I have a table and an algorithm which cannot be referenced. However, the behaviour in both cases is different: when I ...
13 views

### Help, how would I create a report with this as a preamble? Link in desc

I need to create this report with size 11pt arial font. It needs to include an image at the top, a title in the middle and an area for a line or two of information. ...
19 views

### Latex IEEE template: Use single column table in multicolumn latex content

I am trying to use this IEEE template to write a report. I don't see any package named \usepackage{multicol} which is used for multi-column. So I can not change it from two column to single column. ...
10 views

### How to define a table with colored sections

I need to write a table like the image below in Latex. This table represents the data structure of a message, which some specific data of the message and other fields that are inserted into two ...
20 views

### Biblatex authorless editorless books

I am writing an academic essay and I need to cite a number of books which either have neither author nor editor name associated with them or, if they have an editor, are still not naturally referred ...
36 views

### How to create customized table

I need to create this table: I'm having problems on the second row, this is what I got: I'm not understanding where I'm wrong \documentclass[11pt]{report} \usepackage{outline} ...
19 views

### What is the pseudocode for strcpy? [on hold]

gets(name); strcpy(describe1, "Hello ! :D\n"); strcpy(describe2, "Welcome to travel fun\n\t\t\t\t\t\t\t\t\t- Travelling made special -\n");
39 views

### How to make exercises like this? [on hold]

I want exercises to look like this.
23 views

### tikz: positioning when using metrics without and with units

I am having some difficulties with my beamer theme, I think because I am using tikz with positions with and without units. I want a list that uses the page number (0,\pgnbr), which I defined as ...
409 views

### What is the history of the ß (Eszett) in the T1 encoding of Computer modern?

In the default font (Computer modern) the ß looks ugly to me. It really sticks out on a page as if it would come from a different font. Here's an image: What is the history of this character? ...
62 views

### Write an \unpar macro

I would like to write an \unpar macro which removes last \par. For example, the TeX code This is a \par \unpar paragraph should be equivalent to This is a paragraph (Note that by equivalent I ...
14 views

### Labelling the points of a line in xy-plane

see the given code. \documentclass[12pt,a4paper]{article} \usepackage[a4paper,bindingoffset=0.2in,left=0.7in,right=0.7in,top=0.7in,bottom=0.7in,footskip=.25in]{geometry} ...
22 views

### finding missing citation biblatex

I am working toward completing my book in xelatex and biber. The book has a master file and various chapters in different files. As I am correcting the final draft and creating the index before the ...
52 views

### Tikz drawing: child node positioning

I want to achive such drawing with n nodes in level n. (Ignore the irregularities of circle) From http://www.texample.net/tikz/examples/coin-flipping/, it has 4 nodes in level 3. When I cancel one ...
13 views

### How to write equation in this way [duplicate]

I have to write a equation in the form given below. Thanks in advance.
14 views

### Package hyperref Error: Wrong DVI mode driver option pdfmark', (hyperref) because pdfTeX or LuaTeX

what is the error " Package hyperref Error: Wrong DVI mode driver option pdfmark',(hyperref) because pdfTeX or LuaTeX is running in PDF mode."meaning...
16 views

### Footnote within a double column float

I have a double-column float that is used to insert a full-page box in a document. However, when I place footnotes in this box, the footnotes appear within the box (which is desired) but not in a ...
22 views

### How do I obtain arbitary precision calculation within LaTeX?

I'm interested in using a package that provides arbitrary calculation within LaTeX. I need mathematical functions such as exp(), sin(), cos(). Does such a package exist? If not, which package ...
11 views

### Problem with package moderncvheadiii' and package moderncvbodyiii' [duplicate]

I used a modercv template on overleaf. Yesterday, it worked pretty well. However I face a problem today. It is a warning: /usr/share/texlive/texmf-dist/tex/latex/moderncv/moderncvheadiii.sty: LaTeX ...
17 views

### Strange lines and missing content in PDF figure, only at normal size, not when zoomed in

https://www.dropbox.com/s/9fjpe2ybat29qqp/Presentation1.pdf?dl=0 In my Latex document I see strange lines and missing lines in a pdf figure used in the document. These are indicated by arrows in ...
25 views

### Vertical alignment in new macro

I have the following macro: \newcommand{\mycommand}[4]{ \begin{tabbing} \hspace{2cm} \= \kill \textbf{#1} \> {#3} \\ \textbf{#2} \> ...
15 views

### how to use flashcards package and print one per page?

I'm using the flashcards package to create a deck of cards. For home printing, I usually use the avery paper which works great (printed 10 to a page). I also want to print them professionally and ...
14 views

### rename theorem environment to proposition

How can I rename the theorem environment to proposition? In other words, I would like to print: Proposition 1 instead of Theorem 1/Lemma 1, etc Thanks in advance PS: I am using koma-script article ...
30 views

### longtable and for loop problem

Can anyone explain me the difference betweeen the following to tables? Why has the second one an additional line with one column? \newcounter{kartonnr} \newpage \begin{longtable}{|p{1.5 cm}|p{.8 ...