2
votes
1answer
439 views

Textmate: change makeindex

To get the nomencl package working I need to run a makeindex line like: makeindex <filename>.nlo -s nomencl.ist -o <filename>.nls I'm using Textmate, which has a built-in "Run Makeindex" ...
74
votes
2answers
2k views

Margin notes with a pointing arrow that are automatically vertically adjusted

I am trying to emulate margin notes as they are in my (favourite) macroeconomics textbook. The crucial thing here is that the little arrow points to the line where the margin note is set. I have ...
2
votes
1answer
444 views

URLs and other information

I am having a problem. My bib files contains: @misc{hfs+, Date-Added = {2012-10-18 15:39:01 +0100}, Date-Modified = {2012-10-18 15:44:41 +0100}, Howpublished = {\url{http://developer.apple.com/...
3
votes
1answer
544 views

Program Tikz in Beamer

The attached .Rnw-code produces two similar slides, but with different texts and different arrow positions. I wrote both slides manually, but because I need to produce hundreds of similar slides, I ...
3
votes
1answer
8k views

\lstdefinestyle syntax highlighting

I´m new to latex and got the following problem. I defined a listing style for XML Syntax highlighting like this: How can I get also the equals symbol in the attribute color (orange)? I want to do ...
13
votes
4answers
782 views

Is there another symbol that is slightly different from \forall (likewise for \exists)?

What Is there a symbol that is slightly different from $\forall$ (e.g. having a second line from upper left to lower middle)? It should obviously mean "for all" but be sufficiently different to not ...
8
votes
1answer
1k views

gnuplot calculated curve shifts to the left

The following code samples are borrowed from Test 1 and Test 2. My computer configuration is Windows XP SP.3 Japanese version, MiKTeX 2.9 (already updated), TeXmaker 3.5 or TexStudio 2.4 and ...
2
votes
1answer
630 views

\textsc not working after \renewcommand

I recently fond a nice document template (here) andI would like to use it for my thesis. However, the template uses the following line to change the default font for small capitals text: \...
4
votes
2answers
11k views

MikTeX: How to run pdflatex from cmd prompt on Windows 7 compared to Windows XP?

In Windows XP I create my test.tex in emacs and then run it in the cmd promt as pdflatex test.tex in the corresponding directory, and it works without a problem. However, in Windows 7 doing the same ...
10
votes
2answers
190 views

Silent problems: bugs that do not result in an error or warning

If you do not use the inputenc package and have non-ascii characters in your source, this does not generate a error or warning. It does generate a Missing character: There is no ▒ in font cmr7! ...
7
votes
2answers
798 views

right align in align environment

I use a align* environment and on one line I have a very long equation which does not contain into a line. Thus for this line I would like to have the same behavior as a multline environment, that is ...
3
votes
1answer
829 views

Statecharts using TikZ

I haven't found any example of using TikZ for drawing Harel's statecharts notation. There are numerous examples of finite-state automata, but that cannot be applied for statecharts for two reasons: no ...
25
votes
2answers
26k views

Table rowspan and colspan

I need to create similar table using LaTeX: I have tried to use \tabular and \multicolumn, but every time I get something wrong. I want: Fixed width columns and fixed height rows; Centered cells ...
22
votes
1answer
69k views

Indentation within an Itemized List [duplicate]

I am using res.cls to write my resume. I have changed the indentation of my itemized list using: \setlength{\itemindent}{-.5in} This works great for the first line, but if the item goes onto the ...
0
votes
1answer
626 views

Incorrect page numbers in ToC

I am using tocbibind to get Acknowledgements, Declaration and Intro into ToC. The problem is, page numbers are incorrect. I have also tried adding them by \addcontentsline, it stays the same. ToC ...
10
votes
1answer
1k views

Spacing around \cdot when used as a wildcard

I have to use \cdot as a wildcard indicator in an expression like: K(\cdot,y). My concern is: is the spacing around the \cdot correct? should I force something in either one side or the other of it?
7
votes
1answer
624 views

Can I have bigger margins on pages containing only floats?

Latex sets the margins to give a good reading experience for text. For pages containing only figures this generally does not matter and I would like my figures to fill as much space as possible, in ...
3
votes
1answer
483 views

Draw multiple arrows as a bus

It's my first post, I've been using LaTeX for some time now but frankly I'm still a rookie. But this question is more about TikZ than about LaTeX: I want to draw somehting like this, set of ...
7
votes
1answer
263 views

What should I build my new nomenclature package on top of?

This question led to a new package: concepts This is a major edit. In my previous attempt I overgeneralized, which obfuscated my real question. I'd like to write a new package which I want to ...
20
votes
4answers
3k views

How to draw these (closed contours) diagrams using TikZ or PSTricks?

First, I must say I have no knowledge about PGF/TikZ nor PSTricks, but I would like to draw the following or similar closed contours using one of them or another adequate package. Where can I find the ...
4
votes
1answer
559 views

Text between two lines

i'd like to write words that fit between two lines. i found the following code: \documentclass[parskip,paper=a4]{scrartcl} \usepackage{calc} \setlength{\parindent}{0pt} \setlength{\fboxsep}{0pt} \...
17
votes
4answers
3k views

How can I draw a transparent cube in 3D perspective?

I would like to draw a transparent, `flattened cube' in perspective with dotted lines from both vanishing points to each of the vertices of the 3D solid. Is there a PSTricks package for this? It is ...
0
votes
0answers
32 views

Numbering of subsections using memoir [duplicate]

Possible Duplicate: Turn on subsection numbering in memoir I'm writing a thesis using memoir as my class. I've noticed it only includes numbering on chapters and sections, not subsections. ...
3
votes
1answer
851 views

Centering the frontpage using memoir

I'm using memoir (two-side layout). I have the problem that my front page is centered with respect to the margins, which are not equal in left and right side. \begin{center} will not solve this, since ...
3
votes
1answer
2k views

Including both chapter name and name of section in header using memoir

I'm writing a thesis using memoir as my class. I would like a header similar to fancyhdr, but this is not emulated in memoir. I know how to make my own pagestyle, however when I try to refer to the ...
8
votes
1answer
328 views

Are the datetime package and the memoir class known to conflict?

Using the \formatdate macro from the datetime package within a \date definition seems to break when using the memoir class. Is this just something strange that I'm doing because it seems reasonable. ...
1
vote
1answer
243 views

How to put white space under header in theorem environment

Ok, I am pretty new with latex so maybe this is a basic question. I am writing in theorem environment and I want to produce only white space under my theorem header, with the text continuing right ...
5
votes
1answer
361 views

Fix page numbering format for latex listings package (lstlistoflistings)

I have a problem with the listings of my latex document. I am using the "listing*s*" package (not the "listing" package). Although the pagenumbering is still set to "roman" right after the titlepage, ...
5
votes
1answer
237 views

\placeongrid and \moveongrid not working in ConTeXt

I am trying to use the grid features in ConTeXt, but some of the commands are somehow not recognized by the compiler. Whenever I try to use the commands \placeongrid or \moveongrid, the compiler ...
1
vote
1answer
796 views

mdframed and minipage

I'm trying to find a way to use mdframed to make separation of the frame to the next page but low knowledge does not help me. My effort is try and effect .... no results so far. I know there have ...
7
votes
1answer
2k views

Chemical process flow sheets TikZ/PGF

I'm working with simulation and control of chemical process-systems and I'm trying to get a grip on how to make nice looking process flow sheets. On the web everybody is referring to Microsoft Visio, ...
6
votes
1answer
2k views

How does LaTeX make line-breaking for word that can not fit in cell?

Often in my tables LaTeX doesn't want to line-break a word that can not fit in a cell. How I can teach it to split such a word? As you can see in my example below the same word in some cases will be ...
12
votes
1answer
270 views

What is the equivalent for ([nodesep=10pt]{B}A) in TikZ?

\documentclass[pstricks,border=20pt]{standalone} \usepackage{pst-eucl} \begin{document} \begin{pspicture}(3,3) \pstGeonode(0,0){A}(3,3){B} \pnode([nodesep=10pt]{B}A){A'} \pnode([nodesep=10pt]...
2
votes
1answer
130 views

How to add References in Bibliography without a specific Author

I want to refer to a report available on a particular site. Although some human being must have compiled the report, but there isn't any reference to any specific name. Which BibTeX attribute should I ...
11
votes
1answer
309 views

Replace individual page numbers with mathematical expressions

I'd like to replace a few individual page numbers in a document with mathematical expressions, like $a^0$ for page 1, $2(2)^1$ for 4, etc. I don't have a ToC or index, so I'm not concerned about the ...
6
votes
1answer
195 views

Errors thrown when using (custom) thermodynamic states in chemmacros's reactions environment

An argument error is thrown when I attempt to use thermodynamic states (as well as custom state variables via \DeclareChemState) in chemmacros's reactions environment. The MWE provided at the end of ...
4
votes
1answer
339 views

How to reuse vertex names using the tkz-berge graph drawing package?

I'm trying to draw a graph using tkz-berge, where many of the vertices might display the same value, is there a way I can do this? Here is my code: \begin{figure}[h] \centering \begin{tikzpicture}[...
1
vote
0answers
163 views

Listings package and BigInteger Library Conflict? [closed]

In my java code, I have extensively used the variables and methods from the BigInteger library. In LaTeX, in order to display my code neatly, I have used listings package. So between the \begin{...
79
votes
4answers
5k views

When and why should I use % !TEX TS-program and % !TEX encoding?

Occasionally, I see other people's documents starting with two lines like that: % !TEX TS-program = xelatex % !TEX encoding = UTF-8 Unicode It's clear to me that the first line declares the engine ...
6
votes
1answer
2k views

Captioning nested subfigures with subcaption

The following creates a figure with three images arranged appropriately. If I remove the two \caption{} lines, it numbers the main subfigures as I'd like, and keeping the two \caption{} lines puts ...
12
votes
1answer
7k views

Manually breaking a long URL (in the bibliography)

I have a large bibliography in which a few items are causing underfull hboxes due to a long URL. Answers to similar questions suggest a number of global options for fixing this; e.g. Forcing ...
3
votes
2answers
714 views

Forcing enumerated \bibitems using bib units

I'm editing my CV and I wanted to use the bibunits package to make separate mini-bibliographies for different sections. Here is some code: \documentclass{article} \usepackage[ManyBibs]{currvita} \...
14
votes
1answer
1k views

Headers of \chapters* take the headers of their previous \chapter

When using book.cls and using \chapter* after a \chapter, the header used in \chapter* is wrong. An example is pasted below. Is there any known workaround for that? I have tried quite some tricks ...
4
votes
1answer
2k views

Placing extra x tick on the upper axis

Please consider the following MWE. In addition to the xstick of the bottom x-axis (or primary x-axis) I would like to add a extra tick at the upper x-axis (or secondary x-axis). \documentclass{...
4
votes
2answers
1k views

How can get rid of margins and minimize white space to fully use a page in LaTeX?

I want to create a formulary in LaTeX. I can use it at the exam and it has do be at maximum a page recto-verso. I don't want margins (only the strict necessary for printing). I also want to minimize ...
7
votes
1answer
1k views

Bibliography and Index \label for cross-reference

I have each chapter of my book class in a different file all linked up in a master file. I also have bibliography in refs.bib file and also have an index. I'm trying to create a cross-reference to the ...
7
votes
1answer
1k views

svmono+amsmath causes a warning

\documentclass{svmono} \usepackage{amsmath} \begin{document} \end{document} generates the warning Package amsmath Warning: Unable to redefine math accent \vec. Is there any way to remove this ...
2
votes
0answers
83 views

Check if compiled using MiKTeX or TeX Live? [duplicate]

Possible Duplicate: Is there a way to detect from inside a package that MikTeX is used? We have multiple people writing on the same project. Since some of us are TeX Livers and other MiKTeXers,...
0
votes
0answers
89 views

How to write a dirac delta symbol in LaTeX? [duplicate]

Possible Duplicate: How to look up a symbol? I mean the squiggle d_{ij} Dirac Delta thing but I am not sure how to put the notation for it. Does anyone know?
18
votes
1answer
2k views

Multi-page with Tabulary?

I know that you can combine tabularx and longtable functionality with either ltxtable or ltablex, but is there something similar for tabulary? My searching has come up dry when looking for any way to ...

15 30 50 per page