2
votes
1answer
343 views

Online manual in “Book” format, like DocBook, but providing collarborative editing like mediawiki?

I have a reference document for some software that I would like to publish online, and to provide a pdf and multi-page html version. DocBook looks idea for this, similar to how subversion publish ...
3
votes
2answers
5k views

Left-aligning authors section in an article

I want to align the authors section of my article to the left. If there are more than one authors, each author should be aligned left in its own cell. I am using memoir's article class. This is what ...
8
votes
2answers
2k views

Transparency in tikz, preview package and xelatex

Is it possible to have transparency in a tikz picture while using the preview package and compiling with xelatex? The following mwe compiles without warnings/errors under both xelatex and pdflatex ...
2
votes
1answer
629 views

List of graphs in latex and numbering like Graph 1: , Graph 2:, ect

I am using the trivfloat package to define new environment for graphs. So far so good. I would like to make a list of graphs in the following layout: Graph 1: This is my graph Graph 2: This is my ...
11
votes
3answers
1k views

Add asterisk after labels in enumerate

I would like to add an asterisk after certain labels in the enumerate environment. So for example \documentclass{article} \begin{document} \begin{enumerate} \item Kuttel \item* Daddeldu ...
4
votes
3answers
1k views

Create a rectangle with the same width as another, fitted rectangle?

The title says it all. I have a few nodes, and created a fitting rectangle. Now, I'd like to create another rectangle at exactly the bottom of it, so it would look like one big rectangle has been ...
-3
votes
2answers
877 views

How can I draw an aircraft diagram using Latex/tikz ? [closed]

I want to draw an aircraft diagram with three axes (longitudinal, lateral and normal) using latex/tikz. I also need three views (top, side, and front) of it.
2
votes
1answer
382 views

How to create a table with equally-spaced rows?

Several years ago I succeeded to create a table below. But now I forgot. Maybe I used a \rule with zero width. Is there another smart method to accomplish this mission? I used longtable to make the ...
2
votes
2answers
1k views

Check installed packages on Mac OS X and install new ones

When trying to compile a new LaTeX document, this line \usepackage[mtplusscr,mtbold]{mathtime} produces the error ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion ...
3
votes
1answer
450 views

How to change the pointing location of an edge to a state using the TikZ automata package?

When there are two nodes pointing to the same node, the picture looks odd because they point to the same location. How can I change the location of pointing? For instance, ...
15
votes
1answer
8k views

Changing babel package inside a single chapter

I have a document written in British English and I am using \usepackage[british]{babel} in the preamble; however, this same document also has an abstract written in a different language, whose ...
4
votes
1answer
124 views

Where to look up argument for a function in TikZ?

For instance, (q_5) edge [loop above] node {a} (q_5) This is Automaton package, the one I want to look up is [loop above], I want to know what other options can I put in ...
5
votes
2answers
3k views

How to use three dots and brackets with TikZ to draw Automaton state machine?

I tried to add a curly braces below all the states in order to group them, but I couldn't find a way to make it work. Furthermore, how could I draw a three dots as a state since I need to prove a ...
23
votes
3answers
3k views

What is the advantage of using minimal over article when creating a standalone graphic?

What is the advantage of using minimal document class over article document class when creating a standalone graphic? Bonus question: Before I have time to make a test by myself, is there anybody ...
1
vote
1answer
173 views

Is there a formula to setup the smallest rectangle enclosing a PSTricks grid and its labels?

I want to minimize the size of the red rectangle enclosing a PSTricks grid and its labels. How to do this? \documentclass{minimal} \usepackage{pstricks} \newpsstyle{gridstyle}{gridlabels=5pt} ...
3
votes
1answer
872 views

vertical subseteq symbol in label of subfloat

Math symbols (\subseteq and \supseteq) are rotated and rendered successfully in text mode with the aid of \rotatebox{}{}. In the commented section below, there is a problem with getting these symbols ...
7
votes
3answers
6k views

One inch margins and the geometry package

Using \usepackage[margin=1in]{geometry} I can create a margin of 1 inch around my document. What would be the equivalent commands if I used the native LaTeX commands such as \textwidth, ...
25
votes
3answers
13k views

Should I put a space between a number and its unit?

No too much more to say. \( 2.63\si\ohm \) looks odd. But it might be the correct way. \( 2.64\,\si\ohm \) looks much better IMO. What about the \,? Sould it be bigger, smaller or there is no really ...
1
vote
1answer
920 views

How to show grid labels when using starred pspicture?

I need grid labels even when I use \pspicture*. How to do this? \documentclass{article} \usepackage{pstricks} \psset{linecolor=red} \begin{document} \figure[h]\centering ...
9
votes
4answers
1k views

How to use a \write command inside a \newenvironment ?

I'd like to make a new environment which would store its content in a file, so that I can read that file at another part of the document. More specifically, I want to have an environment {proof} such ...
5
votes
2answers
4k views

Why won't my glossary print, using glossaries pkg?

I used \makeglossaries in the preamble. Defined my terms, and issued \printglossaries. I've been reading the manual but can't see what I'm missing: \documentclass[12pt]{article} ...
1
vote
1answer
2k views

latex - fancyfoot - page count in box - colour not shown

I'm using the following from here: http://www-ra.phys.utas.edu.au/~jstevens/code_thesis_style.html There are also image attachments which show exactly what the following extract of code achieves. ...
2
votes
1answer
1k views

Xelatex and hyperref to file

I would like to add link to video in the same folder where pdf document is stored. There is code: \documentclass[a4paper,10pt]{article} \usepackage{hyperref} \begin{document} ...
5
votes
1answer
952 views

Proper spaces with verbatim

there is following code: \begin{verbatim} pc:~$ ls folder1 Documents folder2 New Folder folder3 folder4444 Downloads folder5 Pictures ...
34
votes
4answers
6k views

What exactly is leading?

Wikipedia: In typography, leading ( /ˈlɛdɪŋ/) refers to the distance between the baselines of successive lines of type. By this definition, isn't it the same thing as line height? But in ...
9
votes
1answer
13k views

TikZ node with includegraphics, and x coordinates

I am using the following LaTeX code to get a TikZ picture that includes a PDF and then draws two nodes: \begin{figure} \begin{tikzpicture} \node (label) at (0,0)[draw=black]{ ...
5
votes
2answers
480 views

Mini index for subsection

There is the following code: \subsection{some subsection} Some \mindex[mean=aaa]{sentence} with some \mindex[mean=bbb]{unknown} words. \listminiindexfromsubsection The expected output: Some ...
6
votes
2answers
251 views

Word breaking for two sentences

I have written following command: \newcommand{\ger}[2]{{\noindent\raisebox{-0.2mm} {\includegraphics[width=5.47mm,height=3.28mm]{Flag_1.pdf}} \color{red} ...
7
votes
2answers
6k views

tikz legend in caption

I have adapted a piece of code that I found on the Q&A forum multiple legends in pgfplots as follows in order to include the legend of a drawing directly into the caption: EDIT 1 ...
13
votes
2answers
2k views

Plot reciprocal function with tkiz

I need to plot f(x) = 1 / x in LaTeX and am trying to with Tikz. I haven't found a way to set the vertical range, so the values go out of bound around x=0. Using gnuplot directly doesn't seem to be ...
1
vote
4answers
806 views

Draftwatermark Draft not in Italics

I have installed the draftwatermark package, but 'DRAFT' comes horizontaly in my document, not in diagonal. The same happens with the draftcopy package. Furthermore, modifying the angle option in ...
1
vote
1answer
2k views

How do I convince tocloft to put the word 'Figura' ahead of entries in my List of Figures?

How to customize list of figures, adding word FIGURA to appears in the table of contents? I changed \newcommand{\cftfigfont}{Figura }, but in the summary, it's not linked (hyperref). How to solve it? ...
6
votes
2answers
300 views

How to invert long term to short term using ACRONYM list?

In my text, I'd like to have in first use of \ac the result (all my text is typed using \ac or \acp): PC (Personal Computer) So, normally the result is opposite: Personal Computer (PC) How ...
2
votes
2answers
541 views

How do I draw a white border on a black page ?

I use \pagecolor{black} \color{white} to create a document with white text on black background. I draw a border around the page using \pgfpagesdeclarelayout{boxed} { ...
14
votes
2answers
1k views

Using counters or macros

Should I use counters or macros to store numerical data? Is there a limitation on a number of counters that can be used at the same time or other considerations? I would also like to perform simple ...
4
votes
2answers
516 views

Capital sigma missing in Euler font

I'm using the Euler font in my equations and it appears that the capital Sigma symbol is missing (a dot is displayed in its place). It appears to be caused by a conflict between euler or eulervm, ...
6
votes
2answers
453 views

Splitting an argument of a custom macro into a list

Introduction I created a simple bus timetable with TikZ: Currently, the node placing is done manually. The problem I would like to create an environment which would look approximately like this: ...
14
votes
2answers
1k views

Breakable vboxes

In Plain TeX how can I make vboxes breakable, and can I handle/measure them separately? What I'm trying to do, is that I have a portion of text, that is treated separately (no indention, narrower, ...
7
votes
1answer
536 views

mdframed options style=1 or style=3 fail to draw frames

The mdframed package offers the options style=1 and style=3 to have the frames drawn by tikz or pstricks respectively. Using either of these options means that the frames around my boxes just aren't ...
11
votes
2answers
15k views

Difference between \footcite and \cite in BibLaTeX

Since recently, I am having some trouble with the short/ibidem and full citations in BibLaTeX. When I use a \cite command inside a footnote, it behaves differently than \footcite: it seems each keeps ...
12
votes
2answers
1k views

Make index entries refer to something other than the page numbers

For a given book which is a daily devotional, I have no page numbers at all, but each section corresponds to a day in the year, with one day per page. I generate an index of Bible references in the ...
10
votes
2answers
618 views

Concurrently interleaving execution of Lua and TeX in LuaTeX

The usual way to interleave Lua and TeX in generating documents is by invoking Lua from Tex through the \directlua facility and generate Tex from Lua using tex.print(). For example, consider the ...
14
votes
2answers
2k views

Define an “escape underscore” environment

I am writing a text document in LaTeX where I need a lot a words with underscores: foo_bar_1, more_bar_2_long_expression_3. I know about the underscore package, but for some reason the [strings] ...
1
vote
0answers
160 views

biblatex: how to add a key with authoyear style [duplicate]

Possible Duplicate: Adding an [AuthorYear] block at the beginning of bibliography entries I use biblatex on Ubuntu 11.04 (TeXLive 2009, biblatex 0.9, no biber). The style is authoyear. In ...
55
votes
2answers
26k views

Draw Curly Braces in TikZ

I am using TikZ with the following code to draw a picture. How can I turn the curly bracket next to $P_2$ to the right? \documentclass{article} \usepackage{tikz} ...
48
votes
10answers
84k views

How to convert PDF to EPS?

I can't find a tool to convert PDF to EPS, neither in MikTeX nor in TeXLive. Is there such a tool actually? Update: Based on Herbert's accepted answer, I simplify his batch as follows: #!/bin/sh ...
7
votes
1answer
844 views

Alignment within enumerate

I'm looking for a way to sort of combine the features of enumerate (and other list-like environments) with features of tabular environments. Specifically, what I like about enumerate is that it ...
13
votes
1answer
4k views

Comma as decimal marker with siunitx (Spanish usage)

I'm using siunitx to input some big numbers and units in my document. Is there a way to make the output of \num{3.14} be "3,13" instead of "3.13"? In Spanish, we use the first one.
2
votes
0answers
575 views

Rubber and \include: Missing aux file [closed]

I'm trying to build a multi-file document with Rubber. In thesis.tex, I have: \include{intro} and I have a file intro.tex. It builds fine with pdflatex, but with rubber -d, I am getting the error: ...
3
votes
2answers
4k views

Horizontal lines of different thickness above and below text which span the entire page.

I am trying to make section headers like in this resume. I want one line above the text and one below with the above line thicker than the one below. The lines also need to span the entire page. I ...

15 30 50 per page