2
votes
4answers
247 views

Can (La)TeX compare the time stamps of two external files?

Scenario I have a bunch of standalone PSTricks files. Each of those files can be compiled by latex-dvips-ps2pdf-pdfcrop-pdftops to produce a PDF image. I have made a batch file to do ...
4
votes
1answer
821 views

Drawing line “on top” in tikz

I have a tikz graphic which I'm using in two different final documents. It contains a line-crossing where I've needed to specify which line was on-top, via surrounding it with a white-coloured ...
24
votes
3answers
945 views

Seeking review on a document with people unfamiliar with TeX

I am a great fan of TeX, LaTeX and LyX, but recently I wrote some minutes and then tried to send them off for other people to review. There was no way I could send a TeX file; no-one would know what ...
3
votes
1answer
3k views

appendix formatting: section number before \appendixname

Here is my situation: Source code in preamble: \usepackage[title,titletoc]{appendix} \renewcommand{\appendixname}{priedas} in document: \begin{appendices} \section{Tekstai} Nemo enim ipsam ...
2
votes
1answer
3k views

beamerposter subfigure

I am making a poster with beamerposter and it is treating all my subfigures as part of a single figure, lettering them (a), (b), ..., (q), even though I very clearly \end{figure} several times, which ...
4
votes
2answers
4k views

stripe pattern tikz manual chapter 78

Interleaving two colors in a stripes pattern Aim: coloring a shape (rectangle, circle, etc.) in two interleaving colors with the aid of patterns. One solution would be the definition of four ...
15
votes
2answers
700 views

Predictive mode: Only auto-complete LaTeX keywords

I typeset documents in French, and I don't really need auto-completion of the words that I type. I do, however, love the completions features that Predictive mode offers for LaTeX commands. Is there ...
6
votes
1answer
6k views

Autocomplete current environment

Is there a keyboard shortcut in TeXnicCenter to complete the current environment? In other words, it should add the appropriate \end{....}.
74
votes
5answers
23k views

Useful shortcuts or key bindings or predefined commands for emacs+AUCTeX

On of the problems I've encountered with emacs in general, and with the defaults key bindings in particular, is the diversity. There are simply so many of them, that sometimes, at the end of the day, ...
4
votes
3answers
445 views

Can i automatically load chapters and sections based on the filesystem?

I was interested in knowing if i can load chapters and sections of my book based on the filesystem. For example: Chapter 1/ Section 1.tex Section 2.tex Section 3.tex Chapter 2/ Section 1.tex ...
5
votes
2answers
1k views

Section numbering with chapter in amsbook

I'm using amsbook to write a report. I'm using \chapter{}s and \section{}s, and their numbering is fine. However, \section{}s are numbered sequentially inside each \chapter{}, but without the ...
5
votes
2answers
1k views

How to put a mark on an arc (tikz,decoration)

I have a problem with this code : \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.markings} \begin{document} \begin{tikzpicture}[decoration={markings, mark = at position .5 ...
13
votes
1answer
897 views

What does <++> signify when using Vim LatexSuite?

I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc. However, one of the things that it does is unknown to me, and is difficult to ...
3
votes
1answer
533 views

\item behaviour in footnote, depending on brackets use

I've noticed something strange, and someone might be able to explain things to me. When I do the following code, everything goes awry in the footnote (the itemized phrases go outside the page): ...
23
votes
5answers
8k views

Label angle with tikz

I am able to draw a nice right triangle with \begin{tikzpicture}[thick] \draw (0,0) -- (4,0) node[midway,below]{$f$} -- (4,2) node[midway,right]{$\frac{x}{2}$}-- cycle; \end{tikzpicture} Now I ...
13
votes
2answers
575 views

Centering text on a page

I'll try to illustrate what I want to accomplish. I want an enviroment/page style for poems that works like this -- the title (if present) is placed in the title placeholder (purple). The body of the ...
17
votes
3answers
1k views

Is there any difference between nesting \label in \caption and putting \label outside \caption?

Is there any difference in behavior between the following coding styles? Coding style A: \caption does not enclose \label. \begin{figure} \includegraphics{cat.eps} \caption{This is a cat.} ...
3
votes
1answer
2k views

2x3 images spanning over a two column text

I am trying to align 6 figures in a 2 by 3 organization over a two column text, but all my tries are in vain, the figures end up vertical. I've also tried minipages but no luck. the tex: ...
2
votes
3answers
1k views

What package or class defines an \email macro?

A colleague sent to me a manuscript written in Ubuntu. I am using Mac OS X Snow Leopard and I only have trouble when I compile the document due to the latex command \email. It seems it is not ...
12
votes
2answers
16k views

Setting text color in TikZ without changing line color; conflict with double

I have a certain TikZ style that I would like to use over and over again (so I'd like to use it as a scope). Namely, I want the color of the curves to be red, with white borders (to give a "crossing ...
11
votes
1answer
9k views

Beamer-Button which opens a browser with an URL

is it possible to use a beamerbutton for presentations which would open a browser and a given URL?
2
votes
2answers
1k views

Side by side images problem

I am having some problems using sub-floats. I am trying to put two images side by side in the same row to avoid wasting space, for which I used sub-floats. However, they touch each other that it is ...
4
votes
3answers
4k views

How to have access to (or manage) bib files in MiKTeX?

I use Jabref to manage my bibliography database. I also use it with LyX and it's running well. But now I need to use it with MiKTeX and use TeXmaker as an editor. Using my MiKTeX settings I'm trying ...
10
votes
1answer
2k views

The kerning option of microtype

I wonder what the kerning option of the microtype package does? In the manual it says that kerning=true will give additional kerning. But how? Is this something that has to be specified in addition to ...
32
votes
2answers
13k views

How to superimpose LaTeX on a picture?

I know how to add a picture to my LaTeX file, e.g. \includegraphics[width=7cm]{curve.pdf}. What I'd now like to do is place some latex symbols onto the picture. Like a \gamma to name a curve. I do not ...
8
votes
1answer
1k views

How to draw a hypergraph (forest)?

How can I draw a hypergraph structure (a.k.a. forest) like this: (Note: This is not a duplicate of this question, of course, since that drawing is very different.)
17
votes
1answer
1k views

TeX accents do not seem to work with fontspec and xe/lua/latex

I am using Minion Pro as mainfont and it does not have in its glyph table the character U+1E47 Latin small letter with dot below which I need only once in my document. Rather than change to another ...
14
votes
1answer
2k views

Biblatex cite with footnote only once, with use of brackets

I've started putting into practice the answer to this question. Yet I would like to change this so that there are brackets around the citations: in the superscript in text, in the superscript in ...
8
votes
1answer
721 views

How does TeX decide how to size a middle delimiter?

How does TeX decide how to size a middle delimiter? When I want to show evaluation of limits of an integral, I would type $$\int_1^2 x\; dx=\frac{x^2}{2}|_1^2=4-\frac{1}{2}=\frac{7}{2}.$$ How do I ...
6
votes
3answers
6k views

Resize integral evaluation limits

When I want to show evaluation of limits of an integral, I would type \int_1^2 x\; dx=\frac{x^2}{2}|_1^2=4-\frac{1}{2}=\frac{7}{2} How do I get the vertical bar showing the limits big enough? I ...
42
votes
2answers
13k views

Which package can be used to draw automata?

I'm looking for a LaTeX package which helps drawing automata problems. I googled and found A package for drawing automata and graphs (Version 0.4). But I'm not sure is this package a standard one, or ...
5
votes
3answers
1k views

Why does LaTeX not embed imported EPS images into the DVI file?

Experiment: Compiling a file, having PSTricks code inside, in LaTeX (latex.exe), results in a self-contained DVI, where this PSTricks code is embedded. But if the file has EPS images, the resulting ...
7
votes
1answer
3k views

Get List of Listings in an Appendix [closed]

I am using LyX with the listings package. I want to have Appendix A be titled "Code Listings" and then have the List of Listings. Right now I have \lstlistoflistings in an ERT. By using ...
1
vote
2answers
140 views

What are the advantages and disadvantages between these coding styles?

Some people use the following style setting { a=1 ,b=2 ,c=3 } and the other ones use the style below setting { a=1, b=2, c=3 } I use the latter style but I wonder ...
1
vote
1answer
1k views

How do I draw a B+ tree with tikz in latex with more than 4 Key value pair in a node

I'm using child {node {1 \nodepart{two} 2 \nodepart{three} 3 \nodepart{four} 4 \nodepart{five} 5 \nodepart{six} 7}} to create a node in btree. However it seems that \nodepart{five} and ...
8
votes
4answers
12k views

How to allow line break in a long hyperlink in a PDF compiled by latex-dvips-ps2pdf?

I am using latex-dvips-ps2pdf steps with -Ppdf option passed to dvips. The following code snippet \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage{breakurl} ...
12
votes
2answers
2k views

Adding full-page illustrations before chapters in classic-thesis

I use classic-thesis, and I would like to do the following: each chapter should begin on an odd page (right on a dual-page view), and on the left page should be displayed a picture I choose. would ...
2
votes
1answer
1k views

Inclined line between two cells in a table [duplicate]

Possible Duplicate: Diagonal lines in table cell How can I put an inclined line between two cells in a table? I know that \cline{i-j} put a partial horizontal line, but I want that this ...
1
vote
1answer
625 views

Removing page footer and changing the page header in KOMA-SCRIPT chapters?

My chapters are using scrheadings, as well my entire document. How can I remove the footer, only in chapter pages, and produce a different header?
6
votes
2answers
7k views

Bibliography in two columns, section title in one

I'm using the following to span the bibliography to two columns: \begin{multicols}{2} \bibliographystyle{abbrv} \bibliography{mybib} \end{multicols} Yet, the section title ("References" in the ...
2
votes
1answer
521 views

Scope of catcode change for escape character ?

In the following macro, I change the category code for the escape character (\) to "other" (12): \def\xxA{\begingroup \catcode`\\ = 12 \gdef\xxB ##1z{\tt ##1\endgroup} \xxB} How the heck does ...
2
votes
1answer
821 views

Tuning “numbered citations as footnote”

I wanted to comment on Audrey's answer but I need more characters & I couldn't answer my own question, so let's start a new one ! First thanks a LOT for providing the link to Joseph Wright ...
8
votes
3answers
2k views

Layout with captions in margin and margin notes

Questions summed up below! I want to convert a number of old (read: ugly self-coded html) tutorials into pdfs. They are still read by people, so I think it's worth the effort. The other reasons: ...
2
votes
2answers
5k views

Changing KOMA Script font family?

I'm using KOMA-Script and I would like to know how can I change the default font to FreeSans, or any other font-family? Also, how can I change all text to sans-serif?
1
vote
1answer
3k views

Report, how to start with a “right”-page?

I am writing a report and use the following preamble: \documentclass[10pt,b5paper,twoside]{report} \usepackage[lmargin=25mm,rmargin=25mm,tmargin=27mm,bmargin=30mm]{geometry} Now latex think that ...
21
votes
4answers
5k views

Symbols for Outer Joins

I'm looking for a way to typeset the symbols for outer joins, that is ⟕ U+27D5 onward. There seems to be nothing in symbols-a4. Note that I'm not looking for ⋊ U+22C9 as this represents a semijoin. ...
5
votes
3answers
656 views

Right-aligned constraints for equation

I'm looking to write an equation (using gather), with some constraints on the right-hand side. Ideally, I'd like the equations to be horizontally-aligned with one another (i.e. have centers line-up ...
10
votes
2answers
985 views

Using pgfkeys as an argument to a macro

I would like to use pgfkeys in a macro but find the documentation a bit hard to get started with. The following code should illustrate the problem I am trying to solve: \documentclass{article} ...
2
votes
1answer
201 views

epslatex visible box doesn't fit all of the info (axis names)

i'm preparing a publication into Phys Rev E. they ask to use revtex. in revtex guidelines, they say that i should include eps files. i already have all the plots made with latex symbols and ...
1
vote
1answer
248 views

Are settings that best suit contents for a smaller paper size guaranteed not to produce underfull/overfull warnings for a larger paper size?

Scenario I want to adopt the philosophy "typeset once, produce any size". It means that from the beginning I specify the minimum paper size (e.g., A6) and configure the contents to best suit the ...

15 30 50 per page