# All Questions

10 views

### Highlighting particular bibliography entries

I'm trying to create a bibliography in which certain items are highlighted as being more important. Ideally this would put an asterisk at the front of that particular item while leaving the sorting ...
28 views

### Chaotic billiard with TikZ

I'm looking for a TikZ library that could help me to represent different shapes of chaotic billiards. Any idea?
8 views

### exsheets varying of question's point value

I'm using exsheets package. I want variations with different point values. \documentclass[a4paper]{article} \usepackage[magyar]{babel} \usepackage[utf8x]{inputenc} \usepackage{t1enc} ...
14 views

### University's Thesis format bib compile error

I am using my school's thesis templates for my thesis. I am just compiling the template to make sure everything works but I have run into an issue with the bibliography. The error is [3] [4] ...
48 views

### Color fraction bar

What would be the easiest way to create a fraction whose bar can be coloured as desired? I know one can use the \genfrac{left-delim}{right-delim}{thickness}{mathstyle}{numerator}{denominator} command ...
13 views

### Graphics importation and master image into Beamer

A conference accepted a presentation idea I submitted. They provided a PowerPoint template, but I want to use LaTeX and beamer The presentation will include pdf graphics. They want to know: Can ...
52 views

### Why does my Image not load?

I've included some .jpg images in my LaTeX document. It won't load, even though the image is saved in the same folder as the main .tex documents. Edit 1 ss.jpg is currently saved in same folder as ...
23 views

### problem with substack command

Help me please with the following problem. I want to write the following equation $$\phi(U)_{\substack{\cap\\ \mathbb{R}}}$$ and my problem is \cap and \mathbb{R} don't appear under \phi. ...
19 views

Someone is trying to install a package of mine (http://www.ctan.org/pkg/lilyglyphs) in MiKTeX on Windows 7. After some hassles with file and font paths we managed to get him going, but there is one ...
17 views

### Problem with column widths

I'm trying to create a table that has 2 rows: 25% and 75% of the \textwidth I also want the left column to be bold and right aligned by default. The second column is also right aligned. Now I want ...
26 views

### Integrating listings with fancyvrb

I am trying to use fancyvrb with listings and I get an error saying l.2 ...{Verbatim}[formatcom={\lstset{style=Java}}] Package Listings Error: language java undefined. ...
17 views

### Texmaker (windows 7) don't use TEXINPUTS environment variable?

I normally use Unix system, but I am forced for a while on a Windows7 setup. I installed MikTex and texmaker 4.0.4. All is working except it seems that texmaker is not respecting the TEXINPUTS ...
34 views

### How can I cite three papers of different years, by one author? e.g. Smith(1990, 1995, 2001)

I'm pretty new to LaTeX and BibTeX so I apologise in advance if I'm missing information or this seems like it should be simple! I have three papers by one author which I would like to cite in the ...
27 views

### Scaling inside a TikZ matrix does not work?

I'm having some difficulty at scaling a TikZ draw inside a matrix: \documentclass[margin=5pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=.5] \matrix ...
41 views

### How to write math symbols in a verbatim?

Basically I have a section that is describing my algorithm in a pseudo code kind of way, and so I want that text to look like the verbatim text except I still want to be able to use math symbols. Is ...
30 views

### Changing from \def to \newcommand*

Consider the following example: \documentclass{article} \usepackage{pstricks-add} \def\door(#1,#2)#3{ \psline[ linecap = 0, linewidth = 1.5\pslinewidth, linecolor = white ...
18 views

### Simple list of abbreviations manually with tabular environment

I have written my whole document without using any packages like nomencl or acronym because it wasn't necessary in my case, that means I only have a few abbreviations which should fit on one page ...
33 views

### A macro adding or removing parenthesis automatically

This is a second question on this macro definition: Defining a macro with three optional arguments in the form \newmacro{a}{b}[c]{d}[e][f] and \newmacro{a}{b}[c]{d}*[f] To sum up: I had define a ...
78 views

### Defining a macro with three optional arguments in the form \newmacro{a}{b}[c]{d}[e][f] and \newmacro{a}{b}[c]{d}*[f]

I am defining a macro in LaTeX2e for writing function declarations. I want that the macro has tree compulsory arguments: the name of the function (v.g f), a depiction of the type of variable it takes ...
60 views

### Are LaTeX's label names case-sensitive? Can label names contain spaces?

According to Guide to LaTeX, 4th edition, when creating a \label{name}, The keyword name may be any combination of letters, numbers, or symbols. Is the name of a label case-sensitive? Can the ...
21 views

### What is the correct form for the acid-base equilibrium constant potential: pK_a or pK_A? [on hold]

In science, the acid-base equilibrium constant potential is denoted or depending of the source. Since it is the potential of the acide-base equilibrium constant defined as I would write ... It ...
24 views

### Modifying bibliography style using the biblatex package (with \usepackage)

I was keen on using \usepackage[style=alphabetic, sorting=none]{biblatex} ... \printbibliography but I really don't like the bibliography style: all those "»"s for articles' titles really hurt my ...
31 views

### Spacing around inline equations

What is the parameter determining spacing and stretchability around inline equations? I want to tweak spacing exactly but cannot find where the parameters are.
48 views

### How can I mark the preimage of covering map (spiral on circle)?

I'm currently trying to create the following image with TikZ: I currently have: But the orange part is missing. How can I get this? (By the way: This looks much better as PDF ... there seems to ...
17 views

### Group statements, avoid pagebreak

I make an FAQ document, for this I redefined environments like \newenvironment{question} % no indenting, bold and new paragraph {\setlength\parindent{0pt}\bfseries} {\par} \newenvironment{answer} % ...
47 views

### Fonts that look alike as text and as math

What fonts give similar look when used as text and within math environment? I'm particularly interested in sans serif fonts, but serif fonts are also very welcomed.
31 views

### Funky pdfscreen margins

You can set the margins on pdfscreen to 0pt, but there remains a gap at the top of the page. \textheight has the correct value, and it is possible to write all the way to the top using \vspace* or ...
40 views

### How to make a tidy grouped and stacked barchart?

I found this chart in a recent paper. I've emailed the author about it but they didn't reply. I want to create something similar but I don't know what the correct software to use is. I need the ...
22 views

### How to configure the mirror http://mirror.ctan.org/ redirects to?

I'm using vanilla TeXLive 2013 in ubuntu 13.10. Here, running getnonfreefonts-sys --all fails to download arial.zip and all such files. I think this is because the mirror closest to me ...
39 views

### TeXstudio Is Not Responding

I have been using TeXstudio for some time now, and have highly enjoyed using. However, just now it has been acting up. Whenever I open the program, my cursor always reverts to the wait-cursor, this ...
49 views

### \cmidrule with two multirows not behaving correctly?

Here is the code: \begin{table} \centering \begin{tabular}{rrrrr} \toprule \multirow{2}{*}{b} & \multicolumn{2}{c}{QCDH} & Single & \multirow{2}{*}{$\frac{\pi_{q1}}{\pi_{s1}}$} \\ ...
21 views

### Inserting extra pages without affecting the rest of the text

I am working on a document of the two-column IEEEtran style and I want to "insert" two special pages. So I have these two page-filling figures. I want each figure to appear on its own page, say page ...
18 views

### Global scaling of images in html output (only) of htlatex

I have the following MWE with some images: \documentclass{book} \usepackage{graphicx} \begin{document} Lorem ipsum dolor sit amet, consectetur adipisici elit: \begin{centering} ...
31 views

In exam documents where there are index pages and the page numbering restarts, I'm having trouble with getting the lhead and rhead to work correctly. Reference this example: ...
39 views

### Page numbering at wrong place

I am quite new to TeX. I'm writing my thesis and I want to place the page numbers at bottom left for even pages and bottom right for odd pages. I've done this and it works for even pages, but the odd ...
33 views

### Dealing with Large Tables/Figures in The “Narrow” Documentclass Book

I am writing a document that involves several lengthy mathematical expressions, tables that have to be adjacent, and large algorithms. The documentclass in use is 'book'. Despite the many attempts to ...
43 views

### Adding vertical rule into tabu

Community, :) I know it might sound like some noobish' question, but I have some trouble adding the last vertical rule into my tabu. I've retrieved the code from here: How to Create Comparison Tables ...
21 views

### Arrange subfigure according to the text

I have a little issue. I have a figure made by 5 subifgures. They fill perfectly a page. The problem is that, when I have some lines of text before the image, the figure goes to the next page without ...
15 views

### Reference links to algorithm but shows? [duplicate]

I am using algorithm2e when I reference an algorithm it shows ?? which links to the correct algorithm, but it should show something like 1.1. Any suggestions as to how I can fix this? Here is an ...
47 views

### \multicolumn issues

I try to achieve a table that resembles the one given in this link. Here is my code, and the result of running the code: \begin{tabular}{l|l|l|} \cline{2-3} & \multicolumn{2}{l|}{Inner Rings} ...
20 views

### “Failed to find …x.pdf” error message in Texstudio

I have been using Miktex for years and now wish to use Texstudio as it looks much easier and faster. To do so, I set up Texstudio on my PC and wrote a very simple code to start off. However, the code ...
50 views

### More Math Fonts in ConTeXt

Yesterday Aditya very helpfully updated the Wiki: http://wiki.contextgarden.net/Math_fonts#Using_Math_fonts_in_MkIV. Modern, times, palatino, bonus, iwona (not iowna), antykwa-torunska, lucidanova, ...
18 views

### Reference author year website in LNCS

How do I write a website reference in author year format in LNCS style?
27 views

### Non-italic \emph, italic biblatex titles

The internal Biblatex \mkbibemph macro defaults to being an alias for \emph (see section 4.10.4 Auxiliary Commands and Hooks in its documentation). It is used with \DeclareFieldFormat to typeset ...
64 views

### Node distance “and” command not working [duplicate]

I am trying to build a flow chart using TikZ. I would like the horizontal and vertical spacing to be different. Thus, I am using node distance=2.5cm and 1cm. However, the second distance (1cm) is ...
217 views

### Is it more common to type period inside dollars or outside?

Which one is more common way to type LaTeX or are there any standards? Thus $x=2$. or Thus $x=2.$
70 views

### A basic question about raw pdf file output by pdftex

Consider the following simple tex file, to be compiled with pdflatex. \pdfcompresslevel=0 \documentclass{standalone} \begin{document} \hrulefill \end{document} Thanks to \pdfcompresslevel=0, the ...
33 views

### esopic and repeating part of document

This answer nicely illustrate the use of eso-pic to repeat part of document. Repeating part of document on every page But when the text entered is large, it is cut-off from the page. It possibly ...