# All Questions

302 views

### avoid space before \textsuperscript in linebreak

I have a lot of Ca\textsuperscript{2+} in my text. In my editor I use automatic linebreaking to keep the text readable. Now it sometimes happens that lhe line breaks like this: Ca ...
2k views

### How to put an itemize label on multiple lines?

I was wondering if it was possible nicely display a long label when using the itemize environment? e.g.: \begin{itemize} \item[long ugly displaying label] Stuff \subitem more stuff ... ...
2k views

### \global\renewcommand equivalent of \global\def

The following MWE works just fine, but I had to resort to using \global\def (not that there's anything wrong with it). The intent of the MWE is to provide access to the value of macro as set in an ...
785 views

### LaTeX: outputting a “tight” svg

Concise Problem Statement Given an input of a *.tex (LaTeX) file, I want to output a "tight" *.svg file. By "tight", I mean a svg file that does not show the full page -- rather, just the rendered ...
88 views

### Long Execution Time with pdfLaTeX on Mac OS X [duplicate]

Possible Duplicate: Fast PNG embedding using pdflatex I'm using pdfLaTeX on Mac OS X v10.7.3, and I've added about 25 PNG images to a LaTeX document that is roughly 35 pages long. The ...
2k views

### Can't get this caption right (wrapfig + floatrow)

I'm trying to get a caption to span the figure width on a wrapfig environment. But for some reasons it just won't go. Here is my code and a graphical representation: ...
2k views

### Full page table template

I am making a manual with LaTeX and at the end of the manual I want to insert a full-page blank table where I can have people sign to acknowledge that they have read the manual. Currently I am doing ...
16k views

### How to properly code a TeX file, or at least avoid badness 10000

I'm coding a TeX file and although the .pdf is correctly rendered, I'm using "stone age" tools to code it. As some examples, I use \\ to leave a line space between two paragraphs, or \noindent in ...
3k views

### Proper way to change a font temporarily with fontspec

I have been using fontspec in a lualatex document where as instructed by the manual I set my main/sans/mono font in my preamble with some default features. However at some point I wish to temporarily ...
993 views

### Variability in the line spacing of paragraph breaks?

Don't know how to describe my problem properly, but there seems to be a variablility in the line spacing of paragraph breaks, with my settings or generally or anything. Since I don't know what is ...
143 views

### vim-latex always moves the cursor to the beginning of the line upon compilation. How do I stop this? [closed]

I have posted this question to /r/vim, with no success. The title basically explains the situation: every time I compile with <leader>ll, Vim moves my cursor to the beginning of the line, which ...
277 views

### zooming with mouse over [closed]

I am looking for existing codes for magnifying pre-defined portions of text in PDF the output of LaTeX. The applications is for accessibility for the visually impaired, so from users' point of view ...
9k views

### amsthm: \newtheoremstyle, headspace, \mbox{}, and lists

Q: How do I define a newtheoremstyle which will start the theorem text on a newline after the header even when the theorem text starts with a list, e.g., enumerate? If there's no way of doing this, ...
586 views

### Name tikz circuit symbol node

Consider the following minimal example in with TikZ circuit library \documentclass{article} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC} \begin{document} \begin{tikzpicture} [circuit ee ...
524 views

### Learning TeX via the TeXbook

As I most often am not able even to ask the right question, much lesser to understand answers, I have decided to read thoroughly Knuth's TeXbook. But on Appendix B--Control Sequences--I find ...
1k views

### Drawing a collaboration graph or tree with TikZ

I'm trying to draw a collaboration graph for C data structures. originally I got dot files from Doxygen which I tried to convert using dot2tex with varying degrees of success, though none produced ...
1k views

### Creating list of for \newtheoremstyle

I want to create an list of theorems much like the list of figures, but couldn't find a packacke or tutorial to solve my problem. I tried this http://texblog.org/2008/07/13/define-your-own-list-of/ ...
435 views

### Hyphenation patterns / lccode / “.dat” format of hyph-utf8

I have made a new encoding for "modern" greek based on ISO 8859-7. Now I'd like to create hyphenation patterns for it, to use with pdftex (that is, 8 bit based). If I understand correctly, I can do ...
698 views

### Applying \lowercase to index entries

I would like to sort the index entries independent of case. Initially I was getting (code provided in MWE) the image on the left. So, that seemed like an easy fix: just apply \lowercase (uncomment ...
22k views

### Beamer: change size of figure caption

I am creating a beamer presentation and I would like to change the size of the caption under the figures. I am using the Madrid theme. I tried the obvious way: \caption{\scriptsize{Text of the ...
24k views

### Is it possible to pagebreak aligned equations?

The report I'm writting features a lot of long, multiple lines equations. To reduce visual polution I've been using an aligned environment nested inside equation. This way (unlike just using an align ...
768 views

### JavaScript/HTML/SVG rendered inside a TeX PDF document, impossible?

I have a pretty general question. I have a report that is automatically created from HTML and Javascript and is output as a PDF. I'm using JavaScript because it's the best and easiest way I've found ...
2k views

### Subscript vertical position dependent on presence of superscript - how to change? [duplicate]

Possible Duplicate: Subscripts for primed variables If I have a variable which is always subscripted but only sometimes superscripted, the vertical position of the subscript varies. For ...
3k views

### Change caption width together with subfloat

In the following code the package that give the problems is \usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up,width=0.85\textwidth]{caption} What I want to do is change ...
797 views

### Emacs - Predictive mode [closed]

I am trying to setup the Predictive Mode of Emacs and to use it with the LaTeX-mode. I have one problem: as soon as LaTeX-mode is loaded, it loads "auto-overlays" and it takes up to two minutes before ...
5k views

### fancyhdr: Section number, Section, colon and subsection in header

I am a bit confused with the fancyhdr options. I currently have this style for my headers: MWE: \documentclass[12pt,oneside]{book}%use oneside to ensure no blanks\ \usepackage[text={5.45in,8.5in}, ...
982 views

### Problems with numbering compounds using bpchem

I have a problem numbering my compounds using bpchem in chemstyle. In the eps files, I use TMP and TMP2 etc, when I insert the figure, I do it like this: \begin{scheme} \begin{center} ...
11k views

### Appearance of the name of the author in beamer

I am using the theme CambridgeUS for a beamer presentation. I encounter the following problem. Here is my heading. \documentclass{beamer} \usetheme{CambridgeUS} \title{Title of my talk} \author{John ...
555 views

### \listoffigures problem

As a part of my thesis, I am using \listoffigures to display the list of figures. Now, some of the figures have \footnote in their captions. To display the \footnotes properly, I have used the ...
1k views

### Remove formatting

2k views

### Beamer option definition

Hi I'm building from scratch a new beamer theme. I would like to define an option in the theme where I can define the conference name which can be used afterwards for the footline. Up to now I've done ...
281 views

### Key Value option in package

I trying to write a package, and I'd like to specify whether there should be colour or not. I'd like to do: \usepackage[color=false]{foo} and have this set \RequirePackage[color=false]{hyperref} ...
75 views

### Adding urldate to url function? [duplicate]

Possible Duplicate: urldate in BibTeX gets ignored My university has their own .bst file for outputting references. But the urldate of internet articles is not included. There is a function ...
6k views

### Show/hide the sections, subsections and subsections that I want from the navigation sidebar (beamer, Berkeley)

I am using the theme Berkeley, I have lot of sections and subsections, I want to hide certain sections, subsections and subsubsections from the navigation bar, but not from the table of contents. If ...
1k views

### Superscript page numbers with natbib

I'm with an annoying problem with natbib. When the super parameter is used, the citation happily goes superscript but the page or chapter number doesn't. \documentclass{article} \usepackage[numbers, ...
4k views

### x86-64 assembler language dialect for the listings package

I'm writing a paper with a lot of x86-64 code listings in it. Unfortunately, the listings package itself does not have support for x86-64 instructions and register names (which are just named ...
289 views

### Tocloft + KOMA, get rid of numberings in table of content, but keep them in the content and in other lists such as list of figures

I am using the documentclass scrbook (KOMA) with tocloft and would like to get rid of all the numberings of the chapters, sections and subsections in the table of content, but not in the content and ...
1k views

### How to place minitoc in right place where some chapters are with star?

I have a main.tex file. There is a part called front matter. Part of the code is, 1. \frontmatter \selectlanguage{english} \include{title} \include{dedication} \include{acknowledgements} ...
671 views

### Lost labels using intertext with varioref and hyperref

I have a problem using \intertext together with \vref when hyperref is also used. Consider the following minimal example: \documentclass{article} \usepackage{amsmath, varioref} ...
6k views

### Embedding sound files into beamer presentation with media9

I'm trying to embed a sound file inline into a beamer so i don't need to carry the sound file around with the pdf. Currently I place sound files into my beamer with the multimedia package and this ...
1k views

### What document class should I use for a variable size image generator

Currently, whenever I want to make a math image, I head over to my Wikipedia Sandbox and use the WP math tag(which uses TeX). I then copy the image from the preview. I have TeXmaker (from USBTeX), ...
507 views

### Creating a new float (memoir)

I recently started using memoir. Previously I had a number of floats defined using float package-- attachment, code, and illustration in addition to default figure and table. Now that I'm trying to ...
322 views

### Problem with >> inside of \tt

I have an inline code example with a nested Java generic declaration, using the typewriter typeface. However, the closing >> is rendering as a black box. A cursory Google search suggested ...
956 views

### Method of avoiding variant Greek letters

Using a virtual greek keyboard and the following packages it's possible to directly implement Greek unicode characters (e.g. θ) \usepackage[mathletters]{ucs} \usepackage[utf8]{inputenc} However the ...
614 views

### Adjust line numbers in error messages

Question Is there any way I can alter the line-numbers reported by TeX and friends in error messages? This is almost an identical question to Add offset to line number (in error message) when using ...
599 views

### Minted: am I using illegal characters?

I have the following simple LaTeX document... \documentclass[letterpaper, 10pt]{article} \usepackage[margin=1in]{geometry} \usepackage{minted} \usepackage{hyperref} \hypersetup { colorlinks=false, ...
142 views

### How do I adjust the margins just at the beginning of certain sections?

I'm using plain TeX and I'm writing a document that will have multiple sections. Each sections starts a new page (i.e. it's immediately preceded by an \eject). How can I adjust the top margin just on ...
2k views

### tikz: Bigger arrowheads, merging lines

I'm trying to add arrows between equations using TikZ and I'm having some issues. First, I can't figure out how to make the lines thicker and the arrowheads bigger. Second, I can't figure out how to ...