# All Questions

13k views

### How to install additional LaTeX packages in Debian/Ubuntu

I just installed texlive-latex-base package from official Ubuntu repo, now I have to add some modules (ucs and utf8x) for compiling .pdf files with Cyrillic encoding, so, how to install it? I found ...
2k views

### A font to typeset proofreader's marks in LaTeX?

I always overlook mistakes when I proofread documents on screen. When I proofread a printed paper I can find much more mistakes and mark them with the defined proofreader's marks – for German ...
482 views

### setting the 'filename' of a file embedded in a PDF using the attachfile package

I'm using the attachfile LaTeX package (in PDFLaTeX) to embed files in a PDF and I've run into a difficulty regarding what I suspect is the 'filename' of the embedded file. I can attach/embed files ...
1k views

### Colon after appendix number

How do I get a ":" to show up after Appendix in my ToC. Right now I have APPENDIX A. Classification experiments but I want: APPENDIX A: Classification experiments In the preamble I am ...
13k views

### What is the thickness of \hrulefill

This seems like a simple question ... I know from this question that \hrule and presumably \hrulefill have a thickness of 0.4pt. I think \hrule is a primitive, so does that mean that you cannot ...
417 views

### natbib error only when using “round” option

When I use sort&compress, everything works fine: \usepackage[sort&compress]{natbib} % ... \bibliographystyle{unsrt} \bibliography{refs} I get the following error only when I include round ...
2k views

### pgfplots black and white line graph

hi refered the pgfplots user manual but found no instructions as to how one can proceed with creating a black and white line graph. My graph is as follows \begin{figure}[H] \begin{tikzpicture} ...
116 views

### Understanding some pieces of luatex the program [closed]

I'm looking forward the implementation of a tex.execute() command on the lua side in luatex. But it needs patching luatex the program and I have a dream: providing the patch... :) As I have nearly no ...
6k views

### Plotting parametric curves

I am trying to plot some parametric curves, however I always get an an error saying "Dimension is too large". Is there any way to fix this? \begin{tikzpicture}[scale=.2] \draw[very ...
647 views

### Error when creating a surf plot with matlab2tikz

I'm using matlab2tikz to generate the tikz code for my figures. When compiling the document with the figure code as below, i get an error: Package pgfplots Error: No such element: ...
129 views

### Token expansion with the token library

I don't understand how the token library of luatex works. \documentclass{standalone} \begin{document} \def\mymacro{A} \directlua{% t = token.create ('mymacro') token.expand(t) ...
424 views

### Conflict between hyperref and attachfile2 package

I have a problem with creating pdf document that contains an attachment. This code works fine: % <xetex — Unicode-based TeX engine> \documentclass[12pt, a4paper, czech, twoside]{book} ...
3k views

### underfull vbox (badness 10000) with memoir

Sorry if this question has been asked very often, but I can't easily find an answer to my specific question. I am using XeLaTeX and the memoir class to produce a rather long document (100 pages) with ...
497 views

### How to print keywords into margin?

Many documentations and textbooks print essential keywords of a paragraph into the margin. Is there any package for this? Of course it wouldn't be all too complicated to define a custom command based ...
1k views

### is it possible to include tikz picture from a file

I have a tikz picture in a tex file \begin{figure}[ht!] \begin{center} \resizebox{.4\textwidth}{!}{\begin{tikzpicture}[ .... \end{tikzpicture}} \end{center} \end{figure} The ... portion is quite ...
2k views

### Glossary as appendix

I'm using the glossaries package to manage my glossary. This works nicely, except that it forces a page break and creates a huge heading saying Glossary that conflicts with the style of my paper ...
6k views

### Beamer: Change color of items

I'm customising a Beamer theme for my own needs and I am wondering how I can efficiently work with parent templates. For example, I want to modify the color of all items (enumerate, itemize, table of ...
11k views

### \newpage,\clearpage and \cleardoublepage not working

I'm trying to compile the following: \documentclass[twoside,11pt,titlepage]{article} \usepackage[paperwidth=5in,paperheight=7in]{geometry} \usepackage{graphicx} \usepackage[absolute]{textpos} ...
492 views

I have a question similar to TikZ Fading Speed and defining a fading-style directly in the fill command but I can't figure out how to get a nice solution. I would like to, given a list of increasing ...
1k views

### TikZ/PGF: Simple function is not plotted. Where is the mistake?

I'm just starting to learn TikZ/PGF. I would like to draw a simple function, f(x) = x² to start with. \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \begin{document} ...
2k views

### Custom shapes in TikZ

I am trying to define a new shape in TikZ following the instructions of section 75.5 of the manual. Reading the question Drawing mechanical systems in LaTeX, I started to think that a "mechanical" ...
64 views

### How to escape single quote in lstlisting? [duplicate]

Possible Duplicate: Package listings: Error “Undefined control sequence.” because of single-quote-symbol? How to escape single quote ' in lstlisting? I tried \' and ''' but ...
293 views

### Could TeX typeset note text between two lines of the body?

How to typsetting the note text like There is body blahblah blahblah I need a note here and then blah blah The note about word blahblah blahblah ...
594 views

### How to escape backslash in rangeprefix?

I want to escape backslash to be used as a rangeprefix as follows. The current MWE does not work as expected because it still imports all codes rather than the codes sandwiched by document ...
737 views

### Automatically bold first sentence of a floats caption

How to bold automatically the first sentence of the float caption and second sentence is normal? \begin{figure}[t] \centering \caption{First sentence. Second sentence.} \end{figure} Output should ...
200 views

### Lining numbers in bibitem label

I'm using luatex with fontspec and "Minion Pro" font. I want to typeset the labels in thebibliography environment in lining numerals instead of text numbers (as it is when you simply invoke Minion ...
200 views

### Where is TeXfont in TeX Live 2012?

All of the font installation instructions in the ConTeXt Wiki say to use TeXfont. To my great despair, I can't seem to access TeXfontin my TeX Live installation on Windows. Given that I've installed ...
2k views

### How to download MacTeX 2011 now that MacTex 2012 is available

Is there a way to download the older MacTeX-2011? I am transitioning to a new mac and would prefer to have both MacTeX2011 and the 2012 version available. I thought I was in luck when I found the the ...
3k views

### IEEEtran authorrefmark and affiliation

How to change IEEEtran \IEEEauthorrefmark to numbered style 1, 2, 3... instead of the star and dagger marks and make the author affiliation as footnote in the first page?
360 views

### How to suppress page number on cover page? [duplicate]

Possible Duplicate: removing page number for title page I'm using the following code to create my front cover: \documentclass[twoside,11pt,titlepage]{article} ...
342 views

### How to rotate the label such that its base line is parallel to the bisector?

How to rotate the label counter clockwise such that its base line is parallel to the bisector? \documentclass[border=0pt,pstricks]{standalone} \usepackage{pst-eucl} ...
11k views

### How to put code in beamer two column

I was trying to put code and a figure side by side in a beamer presentation. I tried two methods - one said in beamer documentation and other in standard LaTeX. But couldn't get the output. The two ...
116 views

### How can I randomize a text itemization in ConTeXt?

I've defined my item groups as: \defineitemgroup[institm] \setupitemgroup[institm][1][text][symbol=2, indentnext=no, ] And \startinstitm {\bf Contributors } \item Foo Pty Ltd {\sc nsw} ...
52 views

### Why doesn't cleveref's \namecref work? [duplicate]

Possible Duplicate: Which packages should be loaded after hyperref instead of before? I'm trying to use cleveref's \namecref command to get the name of the type of section a label is in, ...
785 views

### Introducing a blank area in the header with a0poster

I'm writing a poster with a0poster and have to make the poster according to the conference instruction. In the header, left of the title, I have to leave some space so that the organizing committee ...
3k views

### How do one reset the section numbers in beamer?

I want to reset the section numbers when a part in beamer starts. So I tried: \setcounter{section}{0} That does not work. So after searching I found this: \makeatletter ...
482 views

### Switching math fonts and back to normal fails in figures?

For my current document I want to use a normal serif font for the main text. Most diagrams from other sources and myself are with sans serif fonts (TeX Gyre Heros). Now I want to use pgfplots to ...
1k views

### Beamer: display previous graphics (in an overlay) in a lighter color

With Inkscape (software to create vector images) I created a file with several layers. Thanks to a very useful script (beamerscape), these layers are then saved as separate PDF files. Next, using ...
510 views

### Counters for use in array/tabular cells

The following practical example \documentclass{article} \usepackage{array}% http://ctan.org/pkg/array \newcounter{tabcol}\newcounter{tabrow} \newcolumntype{C}{>{\stepcounter{tabcol}}c} ...
208 views

### .bst function to strip LaTeX command from string

Is there a preexisting .bst command to stip all LaTeX commands from a string? For example, if the string on the top of the stack is "Hello \textsc{ladies}" I'd like to replace it with just "Hello ...
4k views

### Use a custom shape as a “building block”

I want to create a custom shape (not a big one) and use it in custom places. The shape is a camera and is quite simple: \draw [fill=black](0,0) -- (2,2.5) -- (-2,2.5) -- cycle; \draw ...
465 views

### Pgfplotstable. How to exclude one row from sorting scope?

I am a beginner in LaTeX, experimenting with industrial documents. I cannot find the suitable code to solve some of the problems below: I would like to be able to sort the table, but excluding the ...
959 views

### How to create my own ref label system?

I want to add a hyperlink to sections where a file is discussed. Additionally the usage should be added to the index. In principle this is very close to the label ref system. A simple approach would ...
15k views

### How to cite a standard (ISO, etc.) in BibLaTeX?

I want to cite an ISO standard using BibLaTeX. All guidelines I found for BibTeX suggested using misc and replacing the author and editor fields by a number field which was then the full string ...
874 views

### Springers svmult template - bibliography with bibtex? [closed]

I'm using Springers (free) svmult template to compose a book as editor with several individual contribution by different authors. Every author should be able to have his own bibliography at the end of ...
4k views

### Specific margin size in memoir

I am writing my thesis nowadays, and one of the few things the instructions have specific recommendations about is page size and margins. The page should be A4, and the margins should be: (I revised ...
302 views

### Misalignment in custom big symbol using mathop

Following the advice of this question, I created the \itsep symbol: \newcommand{\itsep}{\mathop{\scalebox{1.5}{\raisebox{-0.2ex}{$\circledast$}}}} When used with single character sub/super-scripts, ...
556 views

### LaTeX figure placement

I'm trying to place some figures within a document as well as some figures at the end of the document. Packages like endfloat seem to force all figures to the end, but I would like some flexibility. ...