# All Questions

4 views

### How to align the quotient when using polynom

I am using the polynom package to illustrate long division with polynomials. Typically, when I do these problems by hand, I have the first term in the quotient aligned with the first term in the ...
3 views

### tikz and pdfpages conflict

I have a LaTeX document that uses both the tikz and pdfpages package. When I compile, I got the following error. LaTeX Warning: You have requested package `eso-pic', but the package ...
22 views

### Continuos Footnotes by separate even and odd pages

I have a latin text in odd pages and its translation on even pages. But I need different footnotes for the odd and even pages. Nevertheless, I don't want them to restart in every page: I need them to ...
59 views

### KOMA - Footnote for enclosure?

How can I add footnotes to enclosures using \encl? The code below is not working. \documentclass[version=last]{scrlttr2} \usepackage[ngerman]{babel} \begin{document} \begin{letter}{Markus Kohm} ...
27 views

### Separation between paragraphs on formal Letters

I want to create a formal letter in which I have to add a separator between paragraphs, just as the ones in the picture Is there a way to create a this but not by typing each asterisk below the ...
8 views

### blank lines in user-defined lists in htlatex

Consider the following latex code: \documentclass{article} \begin{document} \begin{list}{*}{} \item one \item two \end{list} \end{document} It should produce: one two But the htlatex output has ...
9 views

### Spurious Vertical Space Introduced by multicols (Additional Case)

This seems to be a duplicate of Spurious [?] vertical space introduced by multicols, but the solution from there does not seen to work for me. Basically I want the case of using multicols to not ...
85 views

### Greek typewriter font

Hello I want to use a greek typewriter font. So far I can't manage to find any font of that kind. Can someone tell me where I can find one?
15 views

### How to define frequently used variables in pseudocode?

To generate the above pseudocode, I used the following code: \begin{algorithm} \caption{sample}\label{sample} \begin{algorithmic}[1] \Require $\mathbf{D} \in \mathbb{R}^{M \times N}$ \State ...
13 views

### Counters for Chapter and Section environments when using tcolorbox for listings

This is a followup question of this question. With my MWE I'm getting wrong Listing numbers, wrong toc (including Chapter and Section environments from listings) and wrong bookmarks in pdf toc. Any ...
61k views

### Adding tabs or creating my own command

I have a problem adding tabs and I can't use a tabular environments (like tabular or tabbing) because I can't mix it with enumerate environments. Is there a way to add a simgle tab like in any text ...
33 views

### How to indent entire section heading and indent second line, if it comes, further

I am formatting my CV in latex, and I currently have all my section headings indented by 2em. The first item is the date of the \NewEntry and after that I have \hspace{1.5em} inserted to separate the ...
65 views

### Custom separator for CSV import via csvsimple

I have successfully used csvsimple to import .csv files. But I would like to have commas as number separators, so I modified the .csv file to use semicolons as separators and as csvsimple manual says, ...
68 views

151 views

### Completely expandable loop macro that also works in tabular

Since I normally use tikz in my documents, I mostly use the \foreach \x in \list loop to repeat things. However, this famously fails in tabular environments and also everywhere where things must be ...
33 views

### Using Titlesec, titletoc, and titleps together affects the command \tableofcontents

Writing a book of probability in arabic, I want to use the titleps package for different beautiful headpages, in my files where I use titletoc for partial table of contents. All was good until I used ...
22 views

### Available width inside algorithm2e

I wanted to use an environment inside an algorithm2e and it turned out, that it is too wide. I tried to draw some boxes to see the width, and it turned out that \textwidth is too large inside the ...
89 views

### Randomize a section of code lines

This is similar to a previous question, but I didn't really understand the answer given. One possible use of what I'm asking is in the following code for a Matching style of question, where lines of ...
28 views

### Conditional Zebra Tables

First, I'm using LyX with a rather long preamble because I want things fairly specific, but almost all the code in the preamble is cut-n-pasted from the 'Net with a couple modifications. I'm not a ...
16 views

### Verse Package: unwanted vertical space between lines

This is an issue that's been bothering me for a while. I'm interested in typesetting poetry on narrow pages. I'm using the verse package to set the poem and the geometry package to manage the page ...
46 views

### pythontex on Ubuntu 14.04

After installing the package pythontex via latex pythontex.ins, I tried the following example to test it: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
26 views

### How to specify a direct color in a tikz picture

I want to model gradients in TikZ for a paper covering color gradients. These are rather special, so a cannot rely on a TikZ shade alone. Thus, I want to model the gradient using consecutive TikZ ...
33 views

### Sorted bibliography not displayed

I have a tex file that was working perfectly with several bibliography parts with different sorting options. It is no longer working! Some bibliography parts are not displayed. My OS is Windows 7 Pro ...
5k views

### How to change the background color only for the current page?

How can I change the background color only for the current page? I found that I can change the color with \pagecolor{color} but that unfortunately changes the color for all pages after this command. ...
44 views

### How can I adjust the positions of the tables and the images so that the large space between the table and the image can be avoided?

How can I adjust the positions of the tables and the images so that the large space among the text, the table and the image can be avoided? There is also a problem that on the last page, the page ...
27 views

### nextfoot in scrlttr2

I do not understand some of the features the nextfoot variable has in the scrlttr2 KOMA-script class. \documentclass[]{scrlttr2} \pagestyle{headings} \usepackage{fontspec} \setmainfont{Linux ...
55 views

### Workaround how to use expl3 functionality in tikz

What I want to do I want to create a command \planfigur{<edges>}{<angles>} which draws a triangle using TikZ. \planfigur should have 2 mandatory arguments, which let me specify edges ...
14 views

### Multiline equations within parentheses [duplicate]

I have two equations which need to be broken into multiple lines. One of the equations has a coeficiente factored out, so that it is of the form X = A(...very long...). The other does not. The ...
33 views

### how to underline the enumerate number automatically

\begin{enumerate}[\textit{Step} \itshape 1 :] I want italic and underline "Step 1". What should I add to underline "Step 1"?
243 views

### Color first row in a xtable generated table

I am trying to color the FIRST row of my table. But if I add \rowcolor[gray]{0.95} to the FIRST row the colored row will be the SECOND. Indeed it is quite straight forward to modify from the second ...
21 views

### two variables foreach loop problem

I want to draw a pulse train on which I write some information like the corresponding angle, etc... But I think I've got a problem with the two variables foreach loop because I can't even compile ...
24 views

### Customization of List of Tables and List of Figures title

I'm working on my thesis, and need a list of figures and list of tables. However, in the book document class I'm using the default format is not a format I can use. I did find a fix for the Table of ...
67 views

I have some problems with the headers for some of my chapters within my Latex document. I’m using a password secured template so I’m a bit afraid to post every detail below. Just considering the ...