6
votes
2answers
219 views

Is there a way of using changebars with XeLaTeX?

Is there any way of using the changebars package with XeLaTeX? The current release of changebars doesn't support a xetex option. Almost three years ago there was a discussion on comp.text.tex about ...
5
votes
2answers
645 views

Using glossaries (acronyms) with Beamer

I would like to use the glossaries package for acronyms in Beamer presentations. However, when using Beamer's overlay mechanisms, I run into trouble. An acronym (used for the first time) on a slide ...
5
votes
2answers
3k views

Changing the location of auto-installed packages in MiKTeX

This is a software question, specific to MiKTeX: I have automatic downloading of packages enabled, so that if I try to use a style that's not in the existing directory trees, it is downloaded from ...
2
votes
0answers
242 views

Jpgfdraw and transparency problems [closed]

I have built dozens of shapes with jpgfdraw . The problem I have is problems with the transparency of shapes. Why this happens? is there a solution? I take this as an output in pdf after I've done ...
7
votes
1answer
680 views

How can I install citeref via tlmgr from TexLive 2012?

How can I install citeref via tlmgr from TexLive 2012 in Ubuntu 12.10? Why was citeref.sty dropped in Texlive 2012?
14
votes
2answers
212 views

Load different options depending on package version

Is there any possibility to load a package with different options depending on the version of the package? The command \@ifpackagelater{package}{date}{true}{false} only works if the package is ...
10
votes
1answer
6k views

Add algorithm label to list of algorithms

I'm using the classicthesis package along with the algorithmic package. I'm trying to get the list of algorithms to look the same as the list of figures/tables etc., but cant find a way to make it ...
0
votes
1answer
88 views

How to display the character ^ in LaTeX? [duplicate]

Possible Duplicate: How to insert characters with special meaning into a document I have tried \^ but that doesn't work. I need to display something like this text: (^OnDocumentDidLoad)
18
votes
1answer
12k views

Does TeXShop for Mac have key bindings?

There's a Macro's and Key Binding option in the Preferences Menu, but the only way to utilize these macros is to click through the menus. How do I get the good ol' classic Ctrl+B -> \textbf{} ...
15
votes
2answers
788 views

Why are these commands considered as bad practice?

I was reading LaTeX: Do not use these commands, but the author didn't explain why they are bad. Could anyone help me understand. \\ (except inside a special environment like tabular, array, or ...
2
votes
2answers
918 views

\tabular multicols noalign

I can not figure out what's wrong. The pdf appears okay anyway \documentclass[a4paper,12pt]{book} \usepackage[margin=1.5cm]{geometry} \usepackage{colortbl} \usepackage{multicol} \everymath=\...
4
votes
2answers
1k views

Get a includegraphic to stick in the same place for several beamer slides

I am working with a presentation where I want a sequence of slides with a figure that changes slightly for each slide. I want the figure to to stay in the same place for many slides and I want to ...
2
votes
1answer
144 views

Insert the subsubsection number in the content part of a frame when using the beamer class

Is there a way to insert the subsubsection number in a frame when using the beamer class? I tried \insertsubsubsection number, to no avail. I would be glad if I get only the subsubsection number, or ...
7
votes
2answers
4k views

pgfplot column chart legend shape

I have the following code in Latex using gpfplot. The legend in the generated graph always looks like the image attached. There are two boxes instead of one for each entry. Why this is happening? How ...
3
votes
1answer
651 views

Creating a new list of appendices with tocloft

I just implemented Mike Renfro's solution from here, but the content in the list of appendices also gets listed in the toc, which should not be the case. How would one ensure this is avoided? Below is ...
4
votes
1answer
536 views

inserting png introduces inputenc error

I want to write an article in Chinese, which needs to insert pictures. It's fine when I insert pictures as .pdf but the following problem occurs if .png is inserted: ! Package inputenc Error: ...
2
votes
1answer
2k views

Overline in text mode, Background Color

I've got the following code below to mimic a TI83 Calculator screen, but I'm stuck on adding a couple of things I'd like to add. I'd like to make the \overline{x} in text mode. I tried \={x}, and ...
3
votes
1answer
733 views

@webpage fields in BibTeX

For a BibTeX @webpage entry, what fields are mandatory, and what fields are optional? I've tried to Google for an absolute reference for this, but can't seem to locate one.
4
votes
1answer
3k views

TeXworks and Command Line Compilation ok, But TeXShop yields different result

Background: As per my earlier question, Can't get real currfile if used in precompiled .fmt file, I am trying to speed up compilation by generating a .fmt file. The example below tests that the ...
5
votes
3answers
823 views

LaTeX to HTML - Square roots

I used SimpleTeX4ht to convert a LaTeX file to HTML. The file is fine except that square roots are rendering badly in juxtaposition with the rest of the text, e.g. like: Any suggestions on how to ...
5
votes
3answers
426 views

Automatically stretch/fit contents of a paragraph

I am preparing my thesis and in many places I find the Overfull/Underfull warnings. Usually it is not very alarmingly visible in the document but sometimes it is painfully out of the specified margins....
2
votes
1answer
141 views

Add a brace on the left side of a group [duplicate]

I can't figure out how to place the brace on the opposite side, that is on the left of the group of equations, when following the answer in this link: How to put a brace on the right, not left, to ...
10
votes
1answer
114 views

Creating Command with environments

So I repeatedly use this format for embedding a picture and some text beside it, \begin{tabular}{l l} \begin{minipage}{0.3\textwidth} \includegraphics[SCALE]{NAME} \end{minipage} & \begin{...
27
votes
2answers
2k views

Mouseover events in beamer: hovering on \eqref and a comment containing the original equation popping up

This idea came into my mind while I was listening to a speaker presenting his results in a seminar, he used lots of equation references in his later slides, however I can't remember which equation he ...
6
votes
1answer
104 views

Extracting source from pgfplotstable

I like using pgfplotstable because I can feed data in tables directly to it and generate a latex table. However, not all of my coauthors have the right packages to compile pgf-enabled latex. Since ...
61
votes
6answers
2k views

How bad for TeX is omitting braces {}, even if the result is the same?

Sometimes writing braces and omitting them produces the same result: \tilde{\psi} \mathrm{e}^{\mathrm{i} \pi} vs \tilde \psi \mathrm e^{\mathrm i \pi} Or (taken from Werner's comment below) ...
13
votes
1answer
1k views

Creating a new environment with referencing

I'm trying to create a referenceable "system" environment that basically displays an equation with a custom counter. Then I want to reference the environment with autoref, so as to have "System (S1)" ...
7
votes
2answers
619 views

Odd behaviour with arrows and multipart rectangles

I recently posted a question Display issues drawing DNA sequences with TikZ. The issues I described were for the most part resolved, but one remains. I managed to simplify my example down to show the ...
0
votes
0answers
38 views

Image is not in the right position [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned Why does the image is not at the point where I included it in the code, but at the end of the part? \documentclass[...
1
vote
1answer
52 views

Remove un-numbered section names [duplicate]

Possible Duplicate: How do I make the sections un-numbered? I'm using \documentclass[12pt]{article}. All my section titles get numbered. How can I make them un-numbered?
5
votes
1answer
173 views

redeclare an arrow in TikZ

As you know, I'm adding more arrows to the code in this answer (maybe tomorrow). At this point, I'd like to overwrite the arrows declarations so that one can simply write -latex instead of -latex new, ...
8
votes
1answer
7k views

Insert code or text file in latex as is?

Question : How can I insert a txt file ( a source code) as such in latex without any change in indentation, tabs, formatting etc? Scenario : Consider I have a text file as below ( It is a part of a ...
17
votes
1answer
1k views

Comma at the end of last BibTeX field

A BibTeX entry looks like @entry_type{internal_key, field_1 = "value_1", field_2 = "value_2", ... field_n = "value_n" } I've seen examples that put a comma after "value_n". Is there any ...
4
votes
3answers
245 views

Shorthand for variables lead to name clash

In formulas I need often the same constants and variables with lot of "make-up". I want to have readable and maintainable LaTeX code, so I thought about writing \newcommands like \newcommand*{\Cref}...
4
votes
2answers
646 views

Replacement for \curveto in the tikz library - Inkscape export svg to tikz

I need to draw a complex curve and I wanted to help a vector program Inkscape. In first step I tried to use Inkscape to TikZ exporter (http://code.google.com/p/inkscape2tikz/)to convert curve to tikz, ...
7
votes
2answers
4k views

List of figures as a section with number

How can I get the list of figures as a section in an article document, so it will be listed in the table of contents? At the moment it's listed in the ToC, but without number.
4
votes
2answers
327 views

Footnote inside stackrel

I am writing an equation and I'd like to put above the equal sign $(=)$ a footnote describing shortly the reason for that equality. I tried \[x^2\stackrel{\footnote{foo}}{=}x\ast x\] but this ...
7
votes
1answer
1k views

Dashing one edge from parent in a tree: why does it work

This is related to the question How to make a connection in a tree with a dashed line?. Therein, it is asked how one can make one connection between a parent node and a child dashed. The final ...
1
vote
0answers
362 views

License in LaTeX document, packages and answers [closed]

A serie of questions related themselves. Context: I'm writting a LaTeX document and I want to license it under a GPL v3 license. I have a own package with some macros, the great majority ...
5
votes
1answer
429 views

Pgf plot square not positive

I am using pgfplot to draw a node and a cusp but it seems to be that the squares \x^2 are returning negative numbers to the coordinates. This is strange. I was using the same code before and getting ...
3
votes
1answer
249 views

Align text and logo

I'm trying to find a way to place a logo at the top left of the page, with at the same height and right aligned my information (eg name, adress). The rest of the text has to be placed below that. I ...
5
votes
1answer
502 views

matlab2tikz and bar3 function

If I use the function hist3() it perfectly works with matlab2tikz. But if I use the function bar3 I find this in my matrix.tikz: % This file was created by matlab2tikz v0.2.3. % Copyright (c) 2008--...
10
votes
2answers
3k views

How to generate multiple, numeric-style citation call-outs?

In my kile documents, I want to add multiple citations. For this I use the command \cite{cristo,taylor,polgar,phillips,speirs,simoes,roberto} The names in this command give numeric references, ...
10
votes
1answer
295 views

querying whether a font feature has been activated via a fontspec command

A LaTeX package I'm currently writing makes use of -- and definitely requires -- some of the power of LuaLaTeX. I would like to make my package's user interface -- in particular, the options that need ...
6
votes
0answers
6k views

Arrow end type stealth unknown [closed]

This is the first time I approach at drawing diagrams with latex. I have included the tkz library and the tkz library shapes.multipart. As my code is processed I get back a bunch of nasty errors, on ...
17
votes
4answers
3k views

Symbol for encoding error: black diamond with white question mark �

I would like to add this symbol: � to a beamer presentation. It is shown when something went wrong with the encoding. Sadly, I can't simply include this symol: [53] ! Package inputenc Error: ...
1
vote
0answers
36 views

Error in installing packages [duplicate]

Possible Duplicate: How can I fix the error “GUI framework cannot be initialized” with TeXnicCenter and MiKTeX? I am using window7 and MiKTeX2.9. I want to install new packages which is not ...
12
votes
2answers
2k views

Cut one side of a rectangle node in TikZ

I would like to draw two consecutive rectangle nodes (one is next to the other with an intersected edge). How to cut one side of a rectangle node in TikZ so that the intersected side looks like others?...
8
votes
1answer
106 views

Without changing the shape of the figure, how I can decrease the size?

\begin{figure} { \begin{center} \begin{tikzpicture}[scale=2.00] \node [draw, thick, minimum size=3cm, circle] at (0.5,1.3) {}; \node [draw, thick, minimum size=3cm, circle] at (0.0,0) {}; \node [...
5
votes
1answer
83 views

align environment according to *first* character, rather than last

\begin{align*} abcd &= abcd &(abcdefghijk)\\ &= ab &(ab) \end{align*} After the first ampersand the equal signs are aligned. However, after the second ampersand, the ...

15 30 50 per page