latex

Package for drawing queue networks with LaTeX?

Does anyone know how to draw queue network graphs that can be included within LaTeX documents? ...

Rotated table in Latex appears at the end of the file.

Any table I define with "sidewaystable" appears at the last page of created pdf file. How can I solve this? \begin{sidewaystable}[h] \caption{Blah Measurements} \centering % centering table \begin{tabular}{c c c c c c c c c c} \hline\hline % inserting double-line A & B & \multicolumn{3}{c}{C} & C Time + & D & \multicolumn{3}{c}{D Signa...

glossaries package and footnote in LaTeX

Hello *, I am currently stuck, having two separate glossaries: main & acronyms. Acronyms glossary prints footnotes on first use in the text, but main glossary does not. Is there any way to make any other glossary than acronyms to print footnote on first use of the term? I don't get how to do it. Here is the code example compiled with T...

Different encoding of latex and bibtex files.

Does LaTeX handle situation when a .bib file has different encoding than .tex file? For instance, .tex is in ISO-8859-2 and .bib in UTF-8. Can the encoding be converted on the fly by LaTeX? Or the only way is to do is manually? ...

alpha channel in latex colortbl

I'm using the colortbl package to color table cells. I've combined this w/ the xcolor package to define my own colors. However, it appears that xcolor does not support transparency. I saw the package transparent, but it is oriented toward text and I wasn't able to set the transparency level of a defined color. Are there any packages ...

Quality degradation in figures in latex

Possible Duplicate: LaTeX images Images in documents created by latex look worse than their originals. Why is that? ...

Authors separated by different keyword in bibliography

I'm having an internationalization problem with latex. In the .bib files authors are separated by the keyword 'and'. In the file generated by latex the authors in the citations are also separated by 'and'. As the document I am producing is in Portuguese I needed authors to be separeted by the 'e' keyword instead. I am using babel pack...

Create own BibTeX style or customize existing one?

I'm looking for a way to define new BibTeX style or to customize existing one. I have two reasons for this: I want the author names/editors to be italic (for articles in book, book, magazines, encyclopedia etc) I want numbers at the beginning Example: Secondname, B. Book title. Place Year. Site number. Article author, A. Article ti...

Problem in Latex: "There's no line here to end"

I'm using Lyx to produce a Latex document, and when i try to convert to pdf, it complains of the error: "there's no line to end", and description is "//". My Latex document is like 200 lines without many line breaks. How am I supposed to debug this and get this darned pdf converted. I literally am stuck on this for hours, can't submit t...

gettext for HTML or LaTeX?

Hello. Is there something like gettext for HTML or LaTeX? It would be great for generating simple bilingual webpages or LaTeX documents that should be kept in sync. Is there something like that already? I guess there must be some Perl script for that, but I couldn't find one. :-) Thanks! ...

How can I box content in LaTeX such that all boxes are on the same line and the same height?

I need to represent calculator key presses by the text for the keys to press surrounded by a box. I tried to get away with just the bare key presses (no box) but I got marked down for it because it would appear my assessor is a bit of a pedant. Anyway, a bit of research turned up the likes of \boxit and \fbox. I gave them both a go but...

How to write programming code containing the ' character in latex ?

Hi! I am trying to write programming code in latex using the verbatim environment, but when I write \begin{verbatim} char ch = 'x'; \end{verbatim} then the ' -characters around x are displayed incorrectly (they look "curly"). How can I fix this problem? ...

How do I use TeX/LaTeX formatting for custom data tips in MATLAB?

I'm trying to annotate a polar plot with data tips labelled with 'R:...,Theta:...' where theta is actually the Greek symbol, rather than the word spelled out. I'm familiar with string formatting using '\theta' resulting in the symbol, but it doesn't work in this case. Is there a way to apply the LaTeX interpreter to data tips? Here's wha...

References style without line breaks.

I'm writing a grant application and space is at a premium. I want LaTeX to print my references section without line breaks, so References [1] [2] [3] becomes References [1], [2], [3] I don't think the exact references style is too important (this is NSF), but I can't seem to find any bibliography style that will do this. ...

Latex - Change margins of only a few pages

I have a Latex document where I need to change the margins of only a few pages (the pages where I'm adding a lot of graphics). In particular, I'd like to change the top margins (\voffset). I've tried doing: \addtolength{\voffset}{-4cm} % Insert images here \addtolength{\voffset}{4cm} but it didn't work. I've seen references to the ...

Latex: Page number suppressing when a figure covers the whole page

I want to suppress page number in a page where a figure covers the whole page. \thispagestyle{empty} \begin{figure}[H] \centering \fbox{\includegraphics[height=0.95\textheight]{853}} \caption{Whole Model Part 1} \label{fig:wholemodel} \end{figure} I use the command \thispagestyle{empty} as suggested. But this command d...

LaTeX table positioning

Hi, I have a LaTeX document that contains some text, followed by 4 tables, followed by some further text. I want the 4 tables to appear between the two pieces of text, which from what I've read, means I should use the [h] option after beginning the table environment (e.g. \begin{table}[h]). Using this, the first two tables appear afte...

How do I correctly insert an image/figure and have the text "flow around" the image/figure in latex?

I've been struggling with this. I wanted to insert an image and have it 'near' the text that discusses it, but have the text on that page wrap/flow around the image. The image I've converted into eps format. I initially tried to use the figure environment (\begin{figure}...), but that merely placed the image at the top or bottom of the ...

Use of the verbatim environment inside a macro

I latex i want to define a macro which takes three arguments: a string and two code segments. My first idea were to display the code segments using the verbatim environment, but this fails horribly with the error message ! File ended while scanning use of \@xverbatim. Instead I have come up with the following macro. \newcommand{\defi...

LaTeX books VS online tutorials?

What were you missing from the online tutorials and manuals, that you found well explained in LaTeX books? Any LaTeX book, but I'm mainly referring to The LaTeX Companion by Mittlebach, and the A Guide to LaTeX by Kopka. I'm working on a book project in LaTeX and the question came up why don't I buy these much reputed books. Until now I...