2
votes
1answer
495 views

(Vim+latex) How to compile a single tex file in a project directory using \ll

I am using Vim+latex. In my project directory, I have another separate tex file (for example a tikz/PGF file to draw a figure). When I input \ll, instead of compiling my current file, the system ...
5
votes
1answer
2k views

Grouped multi-column nomenclature

I'd like to print a multicolumn nomenclature list that consists of several groups. At the moment, using the grouping approach described in the manual and with a code snippet from ...
3
votes
2answers
192 views

Why does using Greek break em-dashes?

I know the conversion of --- to an em-dash is an on-going problem with lualatex. But I don't understand why using Greek in one font should (afterwards) break conversion of 3 hyphens to an em-dash in ...
6
votes
1answer
267 views

Unique counter for all foot, side and end notes

When used together, as in the MWE, the text might be plagued of identical numbered marks, that is rather confusing. I want to have marks in this MWE ordered from 1 to 9 instead of three ...
7
votes
2answers
653 views

Macro for the average width of a character

How can i made a macro similar to \averagecharwidth of ConTeX in LaTeX, that calculates the average width of a character based on the frequency of that character into my document ? that macro is show ...
6
votes
1answer
2k views

\includegraphics clipping and trim is squishing image

Clipping keeps squishing my image. My command is: \includegraphics[keepaspectratio=false,clip=true,trim=90px 0 0 0]{blue.jpg} But I'm getting: Where the original image is: Why can't I clip ...
22
votes
2answers
625 views

Can citation numbers be stored as variables, then used in my tex file?

I'm trying to create a "flow chart" of papers that shows the progression of key ideas over time. A very basic example is this: \documentclass{article} \usepackage{tikz} \begin{document} ...
5
votes
1answer
102 views

Problem setting lengths in an environment (spilling outside of the environment)

I am having with spacing between paragraphs in my document, and I think I have been able to trace back to a custom environment I have defined. \makeatletter \def\remarkname{Remark} ...
21
votes
2answers
323 views

Lifespan lines in TeX

I'm writing a document (written in plainTeX) about the lives of important mathematicians and physicists in human history. Now I have a problem I'd like to tackle. I need to be able to visualize their ...
19
votes
1answer
33k views

How do I add syntax coloring to my C++ source code in beamer

I have just learned how to insert source code into beamer with the listings package. However I dont know how to go about adding any syntax coloring on the C++ source code. How do I do that? Here ...
1
vote
1answer
1k views

side by side minipages with keepaspectratio=true

This question may seem superficially similar to side by side minipage figures but in fact I believe its different. This code produces a result which is messed up (the text should be under the ...
8
votes
3answers
12k views

How to put C++ source code into beamer slides [duplicate]

Possible Duplicate: How display LaTeX code in LaTeX document? How do I fit java style source code in one frame in beamer? How do I add C++ formatted and coloured source code to my beamer ...
4
votes
1answer
2k views

Better looking nested subscripts and superscripts

I have a situation where I need to subscript a superscript in math mode (and actually, subscript that subscript in some cases). (Please don't waste time telling me to change my notation; this is the ...
30
votes
2answers
23k views

Beamer Bibliography Icon

I want to list my references in a beamer presentation using thebibliography environment, with the nice little book icon (\beamertemplatebookbibitems) and article icon ...
10
votes
1answer
1k views

Solution for typesetting interviews in LaTeX?

Are there any packages for typesetting interviews in LaTeX? Of course, I could manually format all the text but I am sure that there are typographical rules for interview sections that I would ...
1
vote
0answers
81 views

what is the best package for making a math poster? [duplicate]

Possible Duplicate: How to create posters using LaTeX I am going to make a poster. I find that there are several possibilities: e.g., beamerposter, a0poster, baposter. Does anyone know ...
5
votes
1answer
226 views

Referencing part of a book that's by multiple authors, but not in an edited collection

I need to add a bibliographic reference to a section of a book in bibtex, which is a paper with its own title, by a single author, but in a book that's written by four authors, and not an edited ...
3
votes
1answer
1k views

Latex: Reference label individual images within figure [duplicate]

Possible Duplicate: Why does an environment's label have to appear after the caption? I currently have: \begin{wrapfigure}{R}{0.3\textwidth} \vspace{-20pt} \begin{center} ...
3
votes
1answer
717 views

Beamer, alltt environment and \only

I have got the following problem using an alltt environment in a beamer document. I placed an alltt environment inside a block environment. Then all line breaks are correct in the output document. But ...
2
votes
1answer
232 views

Automatically center array of images inside table cell

I have this kind of table: \begin{tabular}{p{0.5\textwidth}|p{0.5\textwidth}} caption1 & caption2 \\ \includegraphics[params]{path11} \includegraphics[params]{path12} ... ...
3
votes
2answers
2k views

Font and Style considerations for business reporting

I read through this question on general considerations about using LaTeX for business reporting. I am interested in any advice on how to style LaTeX appropriately for business type reports. For ...
2
votes
1answer
3k views

insert MAPLE algorithm to LaTeX

I am writing my dissertation through LaTeX, and I want to insert the code from MAPLE, it is about 2 pages and I am not sure how to include the algorithm, do you have any idea how am I going to do it?
1
vote
1answer
173 views

A flexible enumeration for my maths dissertation

So I'm currently writing my maths dissertation. Say I am in "section 5" of the dissertation and am ordering lemmas, propositions, theorems and corollaries by 5.1, 5.2, 5.3,... etc. Is there a way to ...
3
votes
1answer
2k views

Use ampersand & in citations and bibliography in biblatex

With biblatex and biber, citations in the text and the entries in the bibliography use the word and before the last author by default. I would like to replace this with the ampersand &. My ...
11
votes
2answers
4k views

What is the difference between \maketitle and \titlepage in Beamer?

I am looking for someone who has read the lengthy Beamer manual. Using \maketitle \begin{document} \maketitle \end{document} versus using \titlepage \begin{document} \begin{frame} \titlepage ...
8
votes
1answer
707 views

What is the correct syntax for subfootnote?

After upgrading from ConTeXt stable to beta, any code containing subfootnote does not compile. E.g.: \definestructureconversionset [footnote] [numbers, Characters] [numbers] \setupenumerations ...
3
votes
2answers
6k views

Changing vertical space between paragraphs globally

To obtain space between paragraphs I'm currently using \medskip. (I'm not using the parksip package as this gave me problems with space when writing lists. Also when using it I couldn't work out how ...
20
votes
1answer
560 views

Why are \@title, \@author, and \@date cleared during \maketitle?

(This is not a duplicate of How can I use @author, @date, and @title after maketitle?) I understand that \maketitle resets a bunch of macros, including \@title, \@author, \@date, and \maketitle ...
4
votes
1answer
1k views

MikTeX cannot find the file

Why is it that MikTeX's XeTeX cannot find my file? Dude, you're right there in the same directory as the file, why can't you see it?!
2
votes
1answer
444 views

XeLaTeX, otf fonts and dotless i

I am on an ubuntu machine with XeLaTeX and have been facing this annoying issue. On setting roman font to any of my otf files (Adobe Jenson Pro, Adobe Garamond Pro etc), the dotless i and j characters ...
5
votes
3answers
507 views

redefine \ref so that it also shows page number?

i was idly wondering instead of having see Section \ref{labelname} produces see Section 4.1.1 i could make it so that see Section \ref{labelname} produces see Section 4.1.1 (p65) is this ...
3
votes
2answers
288 views

Specify name of reference

See the MWE below. I want to achieve that, the \nameref{c} is printed as Appendix not as Some Stuff. \documentclass{book} \usepackage{lipsum} \usepackage{appendix} \usepackage{hyperref} ...
6
votes
3answers
435 views

How can I align two split environments at the equal signs?

\documentclass{scrartcl} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{amsmath, amsthm, amssymb} \usepackage{mathtools} \begin{document} ...
5
votes
1answer
8k views

Setting default distance between subfigures

I use a lot of subfigures in my thesis. What I realize now is that the captions between adjacent subfigures are very close together, which makes them hard to read. My two questions are therefore: ...
4
votes
2answers
314 views

How to build macros for vector-matrix operators?

Can anybody build macros for doing the following vector operations? Or are there already such macros? For example, 1) Example data: \def\a{(5,3,0)} \def\b{(5,1,6)} ...
0
votes
1answer
542 views

Problem with fancyref, babel and equation references

I am using fancyref and babel together in a LaTeX document and redefine the label for the equation references by \renewcommand{\frefeqname}{Eq.}, so that they look something like "Eq. (3.4)". However, ...
3
votes
1answer
473 views

Align inside align

I have a list of equations with annotations like the one below: \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \begin{align*} aaaa &= 1 &&\text{for $X$} \\ bbbb ...
4
votes
1answer
143 views

If mathcode is used to typeset e and i upright, how to force it italics again?

I'm using \mathcode"69"69 in the preamble, as proposed in a comment in this question, to automatically typeset e and i upright in mathematical equations. The question is, is there a way to get an ...
9
votes
3answers
715 views

Automatically indexing references by author and year

I'm writing a literature review, and would like to add indices for both authors and publication year (i.e., two separate indices). Now, I could manually enter the appropriate \index{} commands, but it ...
4
votes
1answer
753 views

How to create a Fancy Notes-Box in half of the Page along with text

I can draw the following type of Notes-Box: Can someone please suggest me how to draw this type of Notes-Box: The second one is different from the first one in 2 ways: We can add text below ...
13
votes
2answers
1k views

How to create Multilevel Colored Boxes using tcolorbox/any other package?

tcolorbox Manual provides the following example: Can anybody please suggest me how to create exactly this type of box - The no. of rows to add must be flexible(It seems that tcolorbox has no option ...
16
votes
2answers
1k views

Typesetting an old Latin ligature with pdftex

I am using pdftex (MiKTeX) to typeset snippets of old texts. I am stuck on how to get the ligature that looks like qz in old latin (1526) (but could be some form of que). For example the third word ...
15
votes
3answers
36k views

side by side minipage figures

I have this code where the part marked A is the same as the part marked B except that .4 in A is .45 in B. Even though they are so similar the first one puts the images side by side with the ...
2
votes
2answers
679 views

Strategies to visualize multiple two-dimensional regressions?

Hopefully I can describe my question more clear here in the content than in the title. It might be more about visualization strategy than specific pgfplots techniques. The problem is about regressions ...
15
votes
1answer
510 views

Escaped characters in typewriter font

I know a number of ways to fix this (e.g. \usepackage[T1]{fontenc}), but I want to understand what's happening in the following example. \documentclass{article} \begin{document} \noindent \$ \% ...
4
votes
1answer
722 views

Display the bullet of \item

In the following code, at the place of *step 2*, I would like to display exactly . Does anyone know how to do it? \begin{block}{title} \begin{enumerate} \item ... %Step 1 \item ... %Step 2 ...
11
votes
2answers
3k views

Footnotes layout in multicols environment

I am using the package multicol to typeset a one-column (spanning the entire text width) heading and a two-column main text block. In order to do so, I begin the multicols environment along with the ...
12
votes
2answers
8k views

Labeled Number Line

I am transferring a professor's .doc files to LaTeX so that we can do more sophisticated formatting and I ran across a problem. I would like to recreate this number line in LaTeX. Help with which ...
4
votes
1answer
5k views

How to set font size for \caption* (but not \caption)

I need to change the font size from \caption* to 10pt.However, using \captionsetup the \caption font size changes as well. How can I solve that?
1
vote
0answers
668 views

Include an image in title page using powerdot [closed]

I want to include an image at the center of the title page of my powerdot presentation. Incidentally, I want the same image to appear as a logo on all the other slides (positioned bottom centre), ...

15 30 50 per page