# All Questions

9 views

### Moving todo notes to other side of page

I am using the todo notes package, documentation of which can be found here. The current document I am working on is in a book style format - in particular, there are wider margins on the left for ...
24 views

### How can I change a glyph in a Verbatim environment?

I have a document which contains example program code in Verbatim environments. The caret symbol produced by typing ^ looks too flat to me, so I defined a macro to produce a sharper version. ...
15 views

### changing font in a particular environment

For a book, I want to change the default font in the Examples environment (declared in the same way as theorem) to the usual roman (not italic) so that there are not very large areas of italic font. ...
11 views

### Sweave and R 3.1.0: no pdfs generated

After upgrading R to version 3.1.0 (from some version 2.x.x), the following sweave code does not produce any pdfs for the plots anymore: \documentclass[a4paper,10pt]{article} \SweaveOpts{echo=FALSE} ...
17 views

### csquotes: Using Auto Quotes to Create Block Quotes if Required

One of the great features of csquotes is that, using \MakeAutoQuote, we can simply type proper hard-coded quotation marks and have csquotes do the rest, i.e. turn them into the correct format (as ...
30 views

### Table with width assignment

I am trying to create a matrix in texmaker when using the wizard-->quick tabular i get a table, but I want to have equal spacing between the columns , so at the option i choose fixed column width when ...
35 views

### Curved cylinders in Tikz

I would like to draw this figure here using tikz. However I do not know how to draw curved cylinders in Tikz. Can someone give a hint with it? Thanks
31 views

### Formatting this table

I am terrible at creating tables, the following is the code from Excel2Latex % Table generated by Excel2LaTeX from sheet 'Sheet1' \begin{table}[htbp] \centering \caption{Add caption} ...
64 views

### How to tell TikZ to first compute and then display a variable?

I want TikZ to first compute and then display the value of a variable. The question is, for sake of simplicity, based on this concrete example from TeXample.net: \documentclass{article} ...
10 views

### List of listing (using tcblistof) vertical spacing, group by chapter

I'm currently trying to set the vertical spacing within \tcblistof command. The template which causes my problems can be found here: https://github.com/ManuelRauber/LaTeX-Template At first here are ...
19 views

### Install listings package manually

How do I install the listings package manually ?. With other packages I used to download all the files needed and copied in the right folders and then refreshing the packages and it worked perfectly, ...
17 views

### Biblatex not referring to article

I have recently switched to biblatex and facing some problems. MWE follows: \documentclass[12pt]{article} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} \usepackage{setspace} ...
16 views

### makeglossaries doesn't work

I'm trying to run makeglossaries in TexStudio (and TexMaker). It seems that this doesn't have any effect on the glossary printed. This problem persisted after switching from windows to linux I run ...
24 views

### Beamer: hyperlink to bottom of slide with stepwise overlay-specification

I am making a presentation where I move from one frame to another through a hyperlink to a hypertarget and then back to a hypertarget at the last position in the first frame. This works fine, but when ...
28 views

### How do I make the first Part and Section in my ToC appear without a number to their right?

In the preamble I have: \documentclass[11pt,a4paper]{book} \setcounter{secnumdepth}{4} \setcounter{tocdepth}{4} \setcounter{part}{-1} \setcounter{subsection}{0} Which works out great for the Part ...
38 views

### Horizontal alignment of equation and text

I want to make a list of Quantum Mechanics formula like the format of the following picture. But I am confused about how to make the equations align to the left while the text to the right. Usually, ...
20 views

### Customization on moderntimeline

Referring to artcile with moderntimeline, I tried to implement the same. I wish to have the entries which are in the tabular form: To like this(similar structure): But, with the use of ...
31 views

### Remove additional space before section in tcolorbox

When I set the parbox option of a tcolorbox to false, every section, even the first one, is preceded with additional whitespace. Is there any way to tell tcolorbox to handle the first section ...
44 views

### How to remove page numbering for particular pages of your document in LaTeX?

\thispagestyle{empty} is not working...
14 views

### Possibilty to ref link different areas of an image to different labels?

I do have a diagram as an image. There are described different components which are later described and marked with \label tags. Can I ref link different areas/sections of one image to different ...
41 views

### Drawing Graph of Markov Chain with “Patches” using Tikz

First time using Tikz. Haven't found any documentation on drawing graphs like these, so I have been reading other examples and trying to modify their code to fit my example. I am trying to reproduce ...
48 views

### Calculating the ink coverage of a page

Is it possible for LaTeX or any of its derivates to calculate, how much of a page is covered in ink? I came to this question via a link to ecofont posted on TeXhax, ecofont sells carved out versions ...
15 views

### Cannot compile latex on Ubuntu 14.04

I used Ubuntu 14.04. I install latex live full: sudo apt-get install texlive-full I typed: pdflatex file.tex and get this error: ! Undefined control sequence. \GenericError ... #4 \errhelp ...
70 views

### add (a little bit long) comment on the equal sign?

There are posts here explained how to Add a comment on top of "equal" and "approximate" symbols , the idea is to use \stackrel{text}{=}, however, if the text is a bit long, for ...
25 views

A small indentation appears on the first line of the paragraph when I add \pagestyle{myheader} to the MWE. I don't want it there. Thanks to Gonzalo Medina's answer I did the part described in Section ...
34 views

### \renewcommand not working for subsection

15 views

### Indexing in ltxdoc dtx using doc package

I've combed the documentation for a solution to this, and Googled like crazy, but haven't been able to come up with anything. I'm working on a fairly complex dtx file and have gotten the index ...
36 views

### æ ø å giving “Package inputenc Error: Keyboard character used is undefined”

I am having a problem with my masters project, i can not write my name as it have a ø in it. when i compile do i get the error. Package inputenc Error: Keyboard character used is undefined (inputenc) ...
20 views

### Remove underline of header [duplicate]

I want to remove the underline of the header "NOT FOR DISTRIBUTION" in the following document: \documentclass[conference,letterpaper]{IEEEtran} \setlength{\headheight}{12pt} ...
37 views

### How do I get a straight line in \begin{tikzpicture}[decoration=Koch snowflake]?

The following code \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{decorations.fractals} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[scale=3,decoration=Koch snowflake] ...
19 views

### Customize sections' numbering [duplicate]

I want to customize my sections to look like the following but I don't know how to do it. Can somebody help ?
43 views

So basically I want to create a Table of Contents in my latex document (class - article). But I don't want the first half sections to be printed. For examples, suppose there are four sections in my ...
29 views

### tabu to textwidth yields a table wider than textwidth

I have a code for a table that should fit to textwidth, but for some reason it doesn't. Any ideas why? \documentclass {article} \usepackage [T2A] {fontenc} \usepackage [utf8] {inputenc} \usepackage ...
53 views

### How to plot a complicated multi-variable function in a tex document automatically, not just importing an image

I have the following Tex functions and I want to plot them in my tex thesis, but I don't know how. I mean, I want the Tex to draw the function, not just to include an external image to it. I have ...
37 views

### Selectively modify some citations appearance

I am using biblatex with the following setup: \usepackage[style=nejm,hyperref,natbib,backend=biber,maxnames=2,minnames=1]{biblatex} Let us consider, as an example, this citation. ( ...
31 views

### Mixing cleveref, vref and ref: Argument of \@firstoftwo has an extra }

I am using varioref and cleveref together. This works pretty well. I had to add a hack though, which modifies the strings used by varioref (in german it should read "ab Seite X" ("starting on page X") ...
20 views

### no new lines in lyx output from the latex code insertion

\begin{widetext} \begin{displaymath} a+b=c;\\ d+e = f;\\ e+m = n;\\ \end{displaymath} \end{widetext} I am using the above code as an inserted Tex Code in Lyx ...
36 views

### Error in using package “mwe” in Latex

I am trying to run the following code in Latex, but it gives me this error: ! LaTeX Error: File `mwe.sty' not found. Code: \documentclass{article} \usepackage{mwe} \usepackage{subfig} ...
335 views

### How to number the letters of a sentence?

I need to number the letters of a sentence consecutively. Every letter should have the corresponding small number centered below it (see image below). Does anybody know how to do this? I tried ...
72 views

### minipage horizontal alignment

I'm using minipage to put two tables next to each other, and instead it is putting them in vertically. It seems like this is usually caused by having blank lines between the minipages, but that isn't ...
20 views

### Extented titles for subsections gets my TOC all pilled-up

Some of the sections and subsections of my work has extended titles, i.e.: \section{bla bla bla ....... bla}, so when pdflatex creates my pdf, the toc gets all pilled-up, as show in picture. How ...
16 views

### tdplotsetcoord length scale

I'm trying to define that dynamic coordinate which specifies also Xxy,Xxz,Xyz plain coordinates etc. However, such coordinate seems to be with different length scale than my coordinate system is. ...
45 views

### Debugging Friggeri's CV - Underfull \hbox (badness 10000)

I am trying to debug my CV made using Friggeri's CV template but there is still a recurrent warning I cannot get rid of no matter what I try... I am using the same friggeri-cv.cls file, I have only ...
23 views

### How to make \note{…} to show current frame in beamer?

I am preparing slides for a large presentation using the beamer class. In the beginning I write \usepackage{pgfpages} \setbeameroption{show notes} \setbeameroption{show notes on second screen=left} ...
217 views

### How to write two equations as part of one equation?

\begin{align} \mathbf{x_{t}=f_{t}(x_{t-1},u_{t})}\\ \mathbf{y_{t}=g_{t}(x_{t},v_{t})} \label{eq:state-space&obs-equ} \end{align} I want that y(t) equation should ...
32 views

### Background image used for a whole section/chapter at once

I've seen a few examples with \BgThisPage being used to specify a background image for 1 single page (or another command to set one for ALL pages at once). Those two extremes are the only options I ...
59 views

### How to fix this problem with tikz knots and decorations?

Using the knots package, which is part of Andrew Stacey's spath3, one can draw beautiful paths that cross each other. However, there are problems when combining it with decorations: ...
22 views

### Longtable with dynamic footer

In the example below, what I want is for the foot row, which longtable adds on every page break, to be the opposite background color of the row above it. It seems that the footer code is evaluated ...