1
vote
0answers
164 views

How can I do a pseudocode in a powerdot presentation? [closed]

I'm trying to write a pseudocode in a powerdot presentation. I used the commands \usepackage{algorithm} and \usepackage{algorithmic}, but they didn't work. Which package or what can I do to write a ...
10
votes
2answers
6k views

How to remove top margin above \tableofcontents

My contents page would fit on one side, if LateX wouldn't force an automatic whitespace block on top of the table of contents. Is there any way to remove this block and have \tableofcontents start at ...
3
votes
0answers
70 views

Problem in sorting the index? [duplicate]

Possible Duplicate: Layouting the index-page I am writing my master thesis using Latex and I have a problem in sorting the index. The problem is that I am not able to divide the index into ...
5
votes
1answer
102 views

How to create a section whose title looks different in the table of content?

I'm writing my thesis, and one of the sections has a title which looks good in the table of content, but it's too long in the main text, so that it goes on the new line by hyphenating one of the words....
0
votes
0answers
73 views

Arrows in LaTeX [duplicate]

Possible Duplicate: How to draw arrows between parts of an equation to show the Math Distributive Property (Multiplication)? I need to have arrows pointing from one part of an equation to ...
1
vote
1answer
3k views

beamer | One Block displayed, the other covered

I want that when the first block is displayed, the second is gray, and vice versa. \documentclass{beamer} \usepackage[frenchb]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \...
1
vote
1answer
509 views

Align environment

I'd like to ask how in align environment to number only one of the equations. \begin{aligned} \mathsf{E}[W^{i}_{t}-W^{i}_{s}]&=0,\\ \mathsf{E}\big[[W^{i}_{t}-W^{i}_{s}][W^{j}_{t}-W^{j}_{s}]\big]&...
3
votes
1answer
544 views

Changing the output of \vref

I'm using \vref for labels in my text. I'd like to change it in the output form X on p. Y instead of X on page Y. How can I do it?
2
votes
1answer
106 views

How do I force using the blank space before/after a table in a two column env?

I'm using a two column environment, and I placed a table in the left column, as shown in the image: Below it the latex source excerpt used to draw such a table: \documentclass[final,5p,times,...
2
votes
1answer
442 views

Problems using achicago package to create a bibliography

I've been having trouble using achicago package, I tried to run this example: \documentclass[15pt]{article} \usepackage{xltxtra} \usepackage{dialogue} \usepackage{achicago} \usepackage{attrib} \...
10
votes
1answer
551 views

Extract the logically first slide in a Beamer overlay specification?

When writing Beamer slides for a talk, I find that I often want to have some text (usually math) visible on a group of slides and be alerted on only the first slide in the group. For example, I can ...
3
votes
1answer
809 views

nice fonts for the classical sequence spaces?

I have the problem that I want to have nice looking math symbols for the classical sequence spaces like Schwartz space, convergent sequences, sequences with finitely many non-zero members etc. I like ...
1
vote
1answer
3k views

Suppress/remove sectioning (heading) from table of contents?

(NB: not the same question as How to remove “Contents” line from table of contents [closed]) Please consider the following MWE, compiled with pdflatex test.tex: \documentclass[twoside,a4paper]{book} ...
1
vote
1answer
1k views

how to use already-downloaded Miktex 2.8 packages?

After a lot of bother with setting up a Miktex-Texmaker-Adobe arrangement, I've now done a basic install of non-portable Miktex 2.8, which is working fine. But given the slowness of my internet ...
21
votes
2answers
5k views

How to run LaTeX from Word?

I am writing a journal article using LaTeX. Currently, the review process is very difficult as my professor has to comment on the pdf. Previously, I have written a journal paper using Word. Though ...
9
votes
1answer
2k views

Position watermark neatly at the bottom of the page

I use the draftwatermark package to show some drafting information at the bottom of each page (the draft infos are included via svn-multi macros, but I just inserted text in this MWE for simplicity). ...
0
votes
1answer
430 views

Introducing special signs to cls file [duplicate]

Possible Duplicate: How to type special/accented letters in LaTeX? Can sameone provide some suggestion how to introduce special signs to cls file? I had tried to avoid this problem by trying ...
3
votes
1answer
923 views

problem compiling some 'math' using LuaLaTeX

Have a couple of documents with the following sort of construct: \begin{equation} y=\sqrt[n]{\prod_{i=1}^{n} x_{i}} \end{equation} Compiles/renders fine using 'standard' LaTeX, but fails miserably ...
5
votes
1answer
263 views

Balance/flush columns at the end of each chapter in twocolumn layout

In a twocolumn layout, how can I balance columns at the end of each chapter? Package multicol is not appreciated because it doesn't offer nice float placement in the columns (floats are not allowed ...
3
votes
1answer
310 views

limiting align-current in LaTeX-mode

When working on a LaTeX document in Emacs align-current aligns & and \\, but does so for entire sections at a time. Anyone have any idea as to how one limits its range (in a new macro) to say the ...
3
votes
1answer
3k views

Changing BibTeX “format.names” function in .bst file to force “et al.” citations for entries with more than 3 authors

I'm using natbib package for my reference list. I have been struggling with BibTeX. I'm writing for Journal of Finance, and they want > 3 citations to be in "et al." format for the body of the paper. ...
4
votes
1answer
2k views

How to center listings caption?

I would like to know how to center the listings gerenated caption in LaTeX. It always go to the left of the code. The rest of the captions (tables) are OK. \documentclass[11pt,a4paper,oneside, ...
4
votes
1answer
157 views

Back-linking of pgfkeys

Please is there a way to avoid inadvertent cyclic linking of keys in \pgfkeys? A minimal example follows. Here I have keyb<->keya, which took its toll on TeX's capacity. \documentclass{article} ...
18
votes
4answers
687 views

Tikz changes included graphics

I'm including PDF images into my tikzpicture environment, and the line widths in the included images are different than in the original PDF (some are thick as they should be, some are thin). A ...
17
votes
2answers
2k views

Best practice for getting “If not foo” conditionals

So, here are two ways you might set things up such that \dostuff is done when foo is false. The "new conditional" method If you know when foo is going to be set, then after that do: \newif\ifnotfoo ...
6
votes
1answer
245 views

huge table + footnote-ish thing

I have a book, which is basically a 100-page table. I use xtab package to layout this book. The book has a list of 100-ish definitions, which are referenced multiple times in the table. Think of a ...
7
votes
2answers
3k views

Why does pdflatex/dinbrief produce a US letter page for this input?

I want to write a simple letter using the dinbrief class but cannot get it to produce a DIN A4 page. The minimal example is this: \documentclass[11pt,a4paper]{dinbrief} \usepackage{german} \...
3
votes
1answer
1k views

How to draw arcs linking two points in TikZ?

I am a beginner in LaTeX, tentatively using it for industrial documents. I am having difficulties with drawing arcs in TikZ. In the MWE, I am trying a routine that would draw a series of coding ...
2
votes
1answer
1k views

Shadings in head

I am currently trying to code in beamer the following image. So far I got the three beamercolorbox but I can't get the shaded background. Here is the aspect I want: \documentclass[xcolor=...
6
votes
2answers
999 views

Count in document used source references

I currently gathering some statistical information about my thesis for reporting purposes. One metric I want to determine is how many sources I have referenced. I have a BibTeX file with more than 150 ...
8
votes
3answers
16k views

Set position for \maketitle in article

I want to create a handout to support a speech I have to give. Since I am only familiar with the \documentclass{article}, I wrote the following code: \documentclass[12pt,a4paper]{article} \...
6
votes
1answer
3k views

XML syntax highlighting does not work

How do I make comments highlighted in the form: <!-- ======= Processing Root tag ======= --> . This is not working. \documentclass[11pt]{scrartcl} \usepackage{listings, color} \...
14
votes
2answers
2k views

Drawing 3D Transformer with TikZ or PSTricks

Consider the picture of a transformer on the page: How do I draw this using either TikZ (which I have not used before) or PSTricks?
6
votes
2answers
756 views

How do you draw this prism in tikz/pstricks

The numbers are in Persian (side SB=6 and angle SBA=60 degrees).
2
votes
0answers
332 views

Is ADF Venturis based on an established typeface? [closed]

I'm just curious, since I've started using the venturis package with pdfLaTeX. I haven't been able to find much information about its provenance, unlike most of the other 'plug and play' LaTeX fonts. ...
5
votes
3answers
9k views

Set the default path to images directory

I have a project written in LaTeX, that has many pictures (about 1000) which I have divided into 4 folders: letter, legal, booklt and screen for different purposes. I have a folder called "images" ...
2
votes
1answer
2k views

amsthm's \qedhere in a proof ending in a displayed cases array

Is there a sensible way to get the QED box produced by \qedhere aligned with the last line of the cases environment in a situation as in the examples below? \documentclass{article} \usepackage{...
3
votes
1answer
4k views

Making scientific table with AASTex package - is there a better option?

I really like the formatting of tables offered by the AASTex package. AASTex Generator But it is not quite what I need in terms of flexibility. Here is some code for a table I am making. I don't ...
6
votes
1answer
5k views

Biblatex induced headache: Bibliography bst style not found

I'm new to LaTeX and have been trying to get my document to use a specified .bst bibliography style file, but to no avail. I downloaded my preferred .bst file (amnat.bst) from here into the same ...
49
votes
4answers
4k views

LaTeX Photo With Rounded Corners

I have a photograph that I'm loading into my LaTeX document. I'd like the photograph to have rounded corners and no visible border. I'd prefer not to edit the original photograph. Any thoughts on ...
1
vote
0answers
34 views

Simple xelatex or latex document which contains an apple command character [duplicate]

Possible Duplicate: How to typeset the special mac's keyboard's symbols? I don't know how to get an apple command sign in a latex or xetex document. I know that this has been answered ...
7
votes
1answer
12k views

Latex error: \begin{document} ended by \end{table}

I'm getting the following error from my Latex code: \begin{document} ended by \end{table} But the error is not what the message says, because the begin{document} is ended by \end{document}. The ...
5
votes
1answer
151 views

conflict tkz-euclide and nag?

Am I doing something wrong and is this meant to happen? %\documentclass{minimal} edit: should not be used \documentclass{article} \usepackage{tkz-euclide} \usetkzobj{all} \RequirePackage[l2tabu,...
4
votes
0answers
342 views

Triangulated Toruses in Sketch [closed]

I want to be able to use sketch to generate an image like this: I am able to get the torus okay using nested sweeps as demonstrated in the tutorial, but my attempts to draw the diagonals using ...
8
votes
1answer
454 views

Fractional linear transformations in Asymptote

I'm using Asymptote to create some figures illustrating constructions in the disc model of the hyperbolic plane, and I need to be able to transform paths by fractional linear transformations (FLTs), ...
0
votes
0answers
42 views

Left and right alignment in the same line [duplicate]

Possible Duplicate: Raggedleft and raggedright simultaneously I want to align my email and phone number on the same line and have the email in the left and phone number on the right. Does ...
6
votes
1answer
295 views

One of the glyphs used for zero in Chinese does not appear

I use XeLaTeX with TeXShop v. 2.47 and have generally good results with the SimSun and PMingLiU fonts. However, I find that the glyph ○ (U+25CB), which is used for zero in some of my sources, is ...
8
votes
2answers
2k views

3d Image using tikz?

I have attempted to draw a sphere between two planes that are defined as follows. a:= 2x - 2y + z + 2 = 0 and b:= 4x - 4y + 2z - 4 = 0 I know that the line is perpendicular to the two planes are l(5+...
19
votes
3answers
22k views

Natbib sorting and citation order by appearance

I've started writing my thesis using LaTeX (as recommended by the school) and as a complete novice at it, I've been stuck trying to figure out how to change the citation by order of appearance. I'm ...
20
votes
1answer
9k views

Differences and best practices: \onslide vs. \uncover, \onslide+ vs. \visible, \onslide* vs. \only?

Page 81 of the Beamer v3.20 user guide describes the behavior of the \onslide command. In particular, there are three forms when the optional text argument is given: \onslide⟨overlay specification⟩{...

15 30 50 per page