# All Questions

5 views

### How to add the Cover Letter with Friggeri resume?

I want to add the cover letter with Friggeri Resume
5 views

### MikTeX Update corrupts the installation

I tried to Update MikTex as I have done before, with the Update (admin) console. I get a window with a few items checked and grayed out "Select All" and "Select None" buttons. I clicked on Next and ...
8 views

### Book: Top right side page numbering

I am trying to place the page number at the right top of the page, and it is working in the chapters, but at the beginning of the document it is not working as I was expecting. This are the lines I am ...
4 views

### Customizing header in gsm-l class

I use gsm-l class, a derived class from amsbook, to write my mathbook. However, it happened that on the header, the same number of chapter and section appear, like this (number 1 on the left is ...
14 views

### Numbers not showing up in \align

In the following \begin{align} \langle \u,\v \rangle_{\text {euc}} := \sum_{i=1}^n u_i v_i \quad \forall \u,\v \in \R^n \end{align} I cannot get the numbering of the equation to work, but the ...
6 views

I have 5 questions about the layout of my indices & for my index headers : I don't understand why the no indent first or the no page break between the title & the index prologue react ...
13 views

### Definition of a macro with multiple arguments and usage of \csname

Why does the following code not work ? \Requirepackage{amsthm} \renewcommand\newtheorem[2]{% \NewEnviron{\csname #1\endcsname}[1]{% ##1 : \BODY } } I have seen examples of the use ...
13 views

I am using titlesec and TikZ to customize my \part style. I would appreciate to use the \part style for the \tableofcontents title. Is there any way to do it ?
7 views

### List spacing is different inside and outside of minipage

I'm preparing an exam and I want an illustration next to a multiple-choice problem. Usually for this purpose I put the question and/or choices in a multicols environment; however for this particular ...
10 views

### Is there any way to suppress non-warnings and non-errors with XeLaTeX?

TeX.sx is full of questions about suppressing certain kinds of LaTeX warnings. As warnings can often be useful for debugging, I don't want to do that. But, I'd very much like to get rid of any ...
47 views

Could someone please show me how to make this diagram using LaTeX? I have no idea where to begin with something like this. Thank you so much for your help!!
50 views

### Simple Probability Tree

How do I make the following probability trees in LaTeX? Thanks for the help!! Probability Tree 1: Probability Tree 2: \forestset{my label/.style={if n=1{edge label={node [midway, above left, ...
23 views

### LaTeX /includepdf stacks images on top of eachother

I'm trying to insert a pdf with multiple images into my LaTeX document using \includepdf but either no image shows up (for page={1} or page={1-4} etc.) or it stacks them all on top of each other and ...
49 views

### how to add a key word beside a paragraph?

I would like to add a key word beside a paragraph for the sake of clarity as follows \documentclass[12pt]{article} \usepackage{blindtext} \begin{document} \blindtext \end{document} How can I ...
11 views

### Latex, two-column listing in an array

I am trying to display to codes side-by-side, using this: \begin{center} \begin{tabular}{c|c} \begin{lstlisting} while (x > 0) do x++; \end{lstlisting} & \begin{lstlisting} x = 0; ...
18 views

### How can I print beginning and end values of a counter within an environment?

I'm working on a formatting system for standardized tests. Within each section of a test, there are groups of consecutive questions that I might choose to contain inside an environment. ...
15 views

### Arrange multiple TikZ pictures

Can anybody tell me how to arrange 5 TikZ pictures like this? I am very sorry, but I have no idea how to. Thanks in advance!
10 views

### Pdftex Throwing Error

I have the following latex: \documentclass[12pt]{article} \title{Electrolysis of Water and Aqueous Solutions} \author{Carlo Abelli \\ AP Chemistry --- Mr.\ Kern} \date{February 19, 2015} ...
20 views

### beamer presentation with each figure on each slide using a foreach and pgfplots

Im doing a beamer presentation. With pgfplots I need to load a single column of a data file like this: 1 10 50 -50 2 11 51 -49 3 12 52 -48 4 13 53 -47 5 14 54 -46 6 15 55 -45 ...
10 views

7 views

### Use macro as totcount counter name

In the top level of the document environment, a macro defined (using \def) can be expanded into the name of a totcount counter. This, for some reason, does not work inside an environment definition. I ...
23 views

### Using the minted package font in normal listings

I've recently used the minted package with the pastie style to display code but I wasn't happy with the general output. However, I did like the font family. Now I'm trying to use the minted font for ...
64 views

### Creating a table with column headers not having vertical lines between them

I need to create a table where all the cells have vertical spacing between them except the column headers. It is like Please help me out with this. I have multiple tables like this one in my thesis ...
27 views

### Draw a special element (line with a cross in the middle) in circuitikz

I need to draw a wire that looks like That is the symbol my lecturer uses for the Josephson junction. I googled a bit and it seems to be the commonly used symbol for such an element, so it would ...
47 views

### Gradually changing opacity in a disk (pgfplots)

I want to make disk with a gradually changing opacity. I want opacity=1 on the black line for the red disk, and have this opacity gradually go down to zero going in both directions along the circle ...
52 views

### “ö ü ä ß” in Latex (Mac, German, TeXShop)

It sounds simple but I have a really heavy issue with the "ö ü ä ß" in Latex. I use a template from my university, i have a mac and i use TeXShop if that matters. Within there is a packages.tex with ...
20 views

### Can I cross-reference to an external document if path and filename have spaces?

PART I: BLANK SPACES IN PATH I am a tech writer trying to cross-reference to a file in a different folder. Both the folder name and the file name I inherited have one or more spaces. If I change the ...
12 views

### Robust handler of arguments with conditionals and complex elements

Context This question is a follow up of the answer of this question Spurious space on moderncv \cventry using \if Problem The problem is that complex content (for example, itemize on the content of ...
24 views

### Create new type of heading

I want to create a new type of heading. The heading should look like this. The name of the header should be "Myheader". Right now I have solved the problem as followed: \makeatletter ...
19 views

### siunitx error: “invalid-number” Invalid numerical input 'e'.

Well I've been working in some tables and for the number alignment I normally use the siunitxpackage since Mico helped me with this question. But I've had in these new tables an error I don't ...
31 views

### Is it possible to define a dotted version of \vrule?

The \vrule primitive has a nice charcateristic: it has the ability of adapting itself to the height and depth of the enclosing box: \documentclass{article} ...
13 views

### Using cleveref with 2 different styles

I like to style my \cref as following (Geophysical Prospecting): Type 1: Fig. 1, Fig. 1(a), Fig. 1(a,b), Figs 1 and 2 Type 2: (Fig. 1), (Fig. 1a), (Fig. 1a,b), (Figs 1 and 2) I have tried with ...
24 views

### How to use \ref to print the value of a counter the way it was originally produced?

I want to number the lines in a table with roman numerals, and then when I cross-reference them have the reference printed in the same way. For example, \documentclass{article} \begin{document} ...
16 views

### best way to capture R output into latex table

I am running a bunch of models in R using the caret package. This package is an interface to many modeling techniques and methodologies. There are certain output of each model I'd like to convert to ...
15 views

### Titlesec shows in ToC

I use titlesec to show the writer and translator of each chapter of my book as follows: \documentclass[10pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage{fontspec} \usepackage{titlesec} ...
8 views

### BibTeX: How to show article titles within apsrev4-1?

I'm writing an article using revtex4-1 format, and in order to generate the bibliography I use the BibTeX style apsrev4-1. Recently, the journal change the bibliography format and are now admitting ...
8 views

### minted with Texmaker on OS X

I'm trying to use minted with texmaker. The weird thing is, that it works, when I invoke pdflatex --shell-escape testfile in the system shell, but not from texmaker, though Options -> Configure ...
18 views

### Use multiple columns as y-axis for a plot pgfplots

I am plotting a set of graphs using pgfplots and I am loading the data from a csv file. The csv file contains the results of a test which has been executed 10 times, and a column showing the average. ...
59 views

### How can I reproduce this?

How can I reproduce this table?( ignore the text allignment below) ?
30 views

### two title pages in the book without restarting the pagenumbering

\documentclass[11pt,twoside]{book} \input{Brillpreamble} \begin{document} \frontmatter \include{titleBrill} \include{abbrevBrill} \include{prefaceandintroBrill} \mainmatter \input{./title1.tex} ...
26 views

### Placing footnotes at the end of the manuscript in apa6

I am writing a paper using the apa6 package. I have been asked to place all of the footnotes on a separate page after the reference list. This is indeed the style that sample manuscripts in the APA's ...
15 views

### How to keep Appendix (as is) in TOC but have heading capitalized in report

I am using report and I need to have chapter headings be in all caps (including the Appendix) but not in the TOC. E.g. instead of "Appendix A", it should appear as "APPENDIX A" inside the paper and ...
25 views

### Tikz : node in margin right to other node interacts with tcbtheorem

I am currently trying to use Gonzalo Medina's answer to create a framed environment for a margin note Consider the following simplified code : \documentclass[oneside]{book} ...
19 views

### How do I fix at least one of my attempts to reference a label in a file in another folder?

I am unsuccessful in trying to follow instruction to do a \ref to a \label in a different file. Ultimately, this will be for a file in a different folder; I have one folder for Installation Guide ...
16 views

### How to define the scope of a minitoc ? How to add a line break in a toc?

I've got a problem with my tables of contents (both local and global...) I want to include a section line in my main toc that does not appear in the minitoc of the previous chapter. Also I would like ...
145 views

### Define a command with an odd number of braces

In my code, I change to '2 columns' mode typing: \twocolumn[{ I'm trying to simplify this code, by creating a new command: \renewcommand{\twocolumn}{\twocolumn[{} Is this possible to insert a ...
22 views

### Remove “&” from bibliography in biblatex

I have the following file: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[backend=biber, style=apa,natbib=true]{biblatex} \usepackage[english]{babel} ...
36 views

### How to increase space between the bottom border of a boxed figure and its caption?

I am trying to generate a space (6pt) between the boxed figure and its caption. Since I am using tikz code \includegraphics did not work. Also I tried \setlength{\abovecaptionskip}{6pt}, ...