# All Questions

2answers
1k views

### No space between section heading and numbering

I'd like my section headings to be displayed directly after the section numbering with no space in between. This should be the case regardless of the number. Something like this: 1. A section heading ...
2answers
1k views

### sidewaystable is positioned before normal table when using the apa6 document class

I tried to use a normal table together with a sidewaystable in an apa6 class document. Following the APA guidelines, the table order should equal the order of appearance. However, if the normal table ...
1answer
10k views

### Is there a left-handed equivalent of \implies?

I’m aware of and use the \implies and \iff commands to denote right-handed implication and if and only if (so A=>B and A<=>B). I’ve been looking for a similar command for left-handed implication (i....
0answers
91 views

### Is there a \text… command for Cyrillic characters? [duplicate]

I am trying to get the Cyrillic variant of the Serbian alphabet and was wondering if there was an easy \text command for Cyrillic characters? For example, I can easily get the letter З by typing \...
1answer
836 views

### Change on click in beamer

Is the following possible using the beamer class: You have two images image1.jpg and image2.jpg You define two "clickable" areas (a1 and a2) of your frame which you can overlay by an picture or ...
1answer
174 views

### Arcs not being properly drawn for some special coordinates

While attempting to draw some geometry diagrams in TikZ, I was having problems drawing an arc to mark off an angle. The arc kept falling too short and would not intersect both rays of the angle. (It ...
1answer
6k views

### GNUplot and LaTeX (linestyles)

I've just started using GNUplot to create graphs. I've been using the epslatex terminal and my issue is, when I create my graph in the wxt terminal, and then replot it in the epslatex terminal, the ...
2answers
4k views

### How can I add an explanation under an equal sign in Lyx (/Tex)?

When I write some equation with pen and paper I usually do something like in the following picture: Is there a way to do something similar in Lyx (my working environment) /Tex ? That is: having an ...
1answer
305 views

### How to make tex appear in the middle of a line in Lyx?

When I write, for example, in Math.SE and I want some equation to appear in the middle of the line I just use  instead of just one dollar sign. How can I do something similir in Lyx ? doing ...
0answers
41 views

### Determine OS in which the TeX compilation is taking place [duplicate]

Possible Duplicate: Print ‘system information’ in LaTeX doc Is there any way to determine whether the TeX document is compiling in Windows, Linux or Mac OS?
0answers
256 views

### Add column headings for ToC entries [duplicate]

Possible Duplicate: How to put the list of figures into a table Table of Contents modifications required By default, the Table of Contents starts directly with content. However, we require ...
1answer
472 views

### How to align \vrule partial vertical lines in a pgfplotstable

I had a look at this post on Misaligned multicolumn but it doesn't really solve my problem. I have the code below which is supposed to produce a table with a blue line for the first row and red lines ...
1answer
126 views

### Vertical height of \longtable

How can I reduce vertical height of the \longtable. Note that all the document is double-spaced. I need the vertical spaces in the tables to be exactly adjusted as in the \tabular. Example: \...
1answer
1k views

### space between paragraph and list

In this code, I'm confused about why the space between First paragraph and Second paragraph is not equal to the space between Second paragraph and First bullet. How can I make them equal? \...
3answers
2k views

### Class for my thesis (amsbook currently)… should I use memoir or KOMA-Script?

I am in the process of writing up a PhD thesis (on an Engineering topic) in the LyX environment, and I'm trying to decide what class/layout to use. I'm new to LyX & LaTeX. My supervisor seems to ...
0answers
444 views

### Make latexmk and pdfviewer robust against latex errors [closed]

Sometimes latexmk fails because the file was saved premature. For example the user forgets to close a { bevore he saves the .tex file. The user has to get latexmk back on the road again and usually ...
1answer
109 views

### authors being left out in one bibliography entry

In the bibliography, I have an entry whose authors names get replaced by a long dash whenever I change the style from plain to savetrees: \bibliographystyle{savetrees} \bibliography{all} Here is an ...
1answer
812 views

### Biblatex problem with authoryear-comp style

I'm having an unexpected problem with the authoryear-comp style in Biblatex. See this MWE: \documentclass{article} \usepackage[style=authoryear-comp,firstinits=true]{biblatex} \usepackage[autostyle=...
1answer
1k views

### Defining a prose-style section break command [duplicate]

Possible Duplicate: Paragraph breaks with asterisks I'm trying to define a command to insert section breaks into a prose manuscript. Specifically, I would like to use a command to insert white ...
1answer
2k views

### Installing the comicsans package to MiKTeX

Consider this question theoretical in nature; an exercise to understand the TDS tree structure better. Assume one were attempting to install the comicsans package, which is part of neither of the two ...
1answer
744 views

### How to change glossaries alttree: no bold font for second level

How can I modify the glossaries e.g. alttree style to not use bold fonts for the entries in second level. First level should remain bold. I'd like to do it like \newglossarystyle{mylist}{% \...
0answers
1k views

### \SIlist does not work though there is no problem with \SIrange [closed]

When trying to compile the following I get the error undefined control sequence \SIlist. Other parts of the siunitx package like \SIrange work perfectly well, so I really have no idea what what I am ...
2answers
862 views

### Rotate fading in tikz

In tikz I want to draw a narrow long rectangle which is faded at the top and at the bottom. This is supposed to represent a laser beam. I define a tikz fading and it works fine as long as the beam is ...
1answer
805 views

### Placing anchor before and after text in multipart rectangle

In the following graph, i would like the arrows to be originated inside the box and not in the border, possibly aligned and next to the text (for example, right after the word "Pointer:". Here is ...
1answer
2k views

### how do I escape a comma?

I have a tikz picture and at some point I draw the following node: \node[thick, scale=0.5, minimum size=1.3cm, fill=red, circle, draw, fill opacity=0.3, ...
1answer
888 views

### Problem with fontspec and EBGaramond

Im trying to typeset a book using fontspec and the EB Garamond font. I try first to use Lualatex because I wanted to experiment with some features of the impnattypo (french typography) package. ...
6answers
2k views

### Random quadratic equation

I would like to produce quadratic equation with integer coefficients. Here's my code using pgfmath. \documentclass{article} \usepackage{tikz} \pgfmathsetseed{\pdfuniformdeviate 10000000} \begin{...
1answer
362 views

### Incorrect position of hyperref links in block environments in beamer

I use a template for beamer that redefines the block environment to make a real shadow, outline and custom bend corners. The look of it is quite nice but unfortunatly comes with the side effect of an ...
1answer
5k views

### Page numbers only appear on pages where a chapter starts

I have a problem in the number of the pages in my report the problem is that the number of the page appears in the beginning of the chapter but in the next page it is absent. This is a part of my code:...
1answer
1k views

### Automatic background coloring in listings using tikzmark

I am authoring Beamer presentations that feature numerous code listings, and I am required to highlight portions of code with semi-transparent balloons. Yet I've come up with a solution that uses a ...
1answer
2k views

### Have a space after \texttrademark oder any kind of characters [duplicate]

Possible Duplicate: Spaces behind \textgreater not working as expected I am faced with the following problem. I write a document in which I refer to a registered brand and thus looks like "...
0answers
146 views

### Designing a fancy Wedding invitation card [duplicate]

Possible Duplicate: Are there any packages suited for making wedding invitations? i m very very new on working with latex but i am thoroughly impressed by it output and quality. Now my problem ...
1answer
725 views

### Chemfig: how to write vertically?

I am trying to create a reaction scheme using chemfig. I can not understand though how to have text written vertically. Say my set of reaction A+B -> AB, A+C ->AC If I start writing \startscheme A+...
1answer
380 views

### Crop to floats with Preview but skip caption?

I would like my 'figure' environments to be exported tightly cropped. If I use this: \usepackage[floats,active,tightpage]{preview} the caption is included. If I use this (of course, with real \...
1answer
416 views

### pgfplotstable: Two columns into one with numeric data, but can't round

Question: Relates to the question posed here. I have made one column from two, but I would like to round the numbers off from a precision of 4 to 2. How do I do that? Here is the MWE: \documentclass{...
1answer
162 views

### Examplebox from Beamer in Article

I would like use \examplebox{}{} command from Beamer in document class Article. Is it possible? Or can I define it somehow?
0answers
67 views

### TikZ: a point on the ray [duplicate]

Possible Duplicate: What is the equivalent for ([nodesep=10pt]{B}A) in TikZ? Consider a ray [AB), where A and B are \coordinates in TikZ. One wants to select a point M on this ray such that |...
1answer
463 views

### Netography for managing links

To manage my links used in my thesis, I wanted to use a netography so that I can cite links that are listed (with time stamp of the last visit!) at the end, like a bibliography. I couldn't find any ...
0answers
770 views

### Advanced use of listings package [closed]

I am a PhD student in A.I. that is using the listings package to render its code snippets. I am trying to define a language environment for Drools - a quite famous Production Rules System - that is ...
2answers
621 views

### xticklabels misaligned

Please consider the following MWE. The same code is in another document with a larger preamble, so maybe my problem with the misaligned xticklabels is because of conflicting packages. The first ...
0answers
81 views

### How to put an image across double column? [duplicate]

Possible Duplicate: How to make a figure span on two columns in a scientific paper? Below is a page using IEEE trans, how to put the image (see Figure 1) across two columns?
2answers
525 views

### Draw a horizonal line over the entries of a row in an array

How to draw a horizonal line across a row (over the entries) in an array?
1answer
840 views

### tex4ht gives 'illegal storage address' error when trying to convert to odt

I am trying to convert a LaTeX document to opendocument with TeX4ht (on Windows/MiKTeX 2.9 32-bit). I am using the following command (as suggested on the TeX4ht website): D:\latex>htlatex mwe.tex "...
1answer
235 views

### Pre-text (cover, dedicatory, table of contents, list of figures) printed one-sided, rest two-sided

My thesis commitee demands that the pre-text elements, including table of contents, list of figures, list of algorithms goes only on the odd pages, with the body of the thesis go two-sided, with new ...
1answer
2k views

### Change \textwidth after first page in scrlttr2

I am looking for an automated mechanism to change the effective \textwidth at the first pagebreak of a letter in scrpage2. I've tried \afterpage and \nextpage (ideally they would be set within \...
1answer
10k views

### Paragraph after \section doesn't indent [duplicate]

Possible Duplicate: How can I indent the paragraphs which follow a heading? I want to ask why "Hello!" doesn't indent. % work1.tex \documentclass{article} \begin{document} \section{...
1answer
333 views

### algorithm2e - Unwanted warnings when apply commands to content block

In this page, Andrew Swann points me a way to make verbose formatting of algorithms (I need this only for pedagogical reasons). The problem with this solution is that it produces unwanted warnings ...
2answers
2k views

### How to apply a custom pagestyle (with titlesec package) to a part of a document

I have defined a personal page style using the package titlesec. The style defined is: \newpagestyle{myStylePage}[\large\sffamily]{\headrule \sethead{\thechapter . \chaptertitle}{}{\thesection . \...
1answer
240 views

### underline in a part of a section title in amsart

I want to use math symbols including underline (e.g. $\underline{R}_{H,V}$) in a section title in a document in amsart documentclass with table of contents. So I typed (roughly) \documentclass{...
1answer
199 views

### Correct the size of < > in math mode?

I am using \left< and \right> to indicate the average in an equation. Unfortunately it looks quite strange in the following example, as the automatic size estimation is different for both sides ...

15 30 50 per page