latex

Use of Acronyms in LaTeX

Hi, I'm trying to add a list of all acronyms I use at the end of my document. This is an example of what I'm trying: \begin{thebibliography}{mel} \bibitem[Sigurdur]{mel} Sigurdur Sigurdsson,\emph{'Mel Frequency Cepstral Coefficients: An Evaluation of Robustness of MP3 Encoded Music'}, Informatics and Mathematical Modelling, Techn...

Automatical consecutive numbering of footnotes in LaTeX

Is it possible in Latex to make footnotes without providing the number manually but instead let LaTeX number them consecutively throughout the document? ...

How to print out a backslash in LaTeX

Hi, I want to write a backslash character to a text file using LaTeX. The first line of code below declares a variable 'file' which describes the file 'myfile.out'. The second line opens the file and the third one tries do write a backslash '\' to the file. \documentclass{article} \begin{document} \newwrite\file% \immediate\open...

A set implementation in LaTeX?

Hi, Consider the following straightforward implementation of a list in latex: \newcommand{\add@to@list}[2]{% \ifx#2\@empty% \xdef#2{#1}% \else% \xdef#2{#2,#1}% \fi% }% I wonder if there is a simple way to implement a set (list with no repeated elements) ? ...

Compiling LaTeX via an on-line server

Hello, I have a LaTeX text document that compiles fine with the current version of pdflatex on my home computer. I've made minor edits to the body of the document. I'm trying to recompile it, using either http://sciencesoft.at/latex/?lang=en or the first google result for the words "latex to pdf online." (I can't post the hyperlink d...

Can one make Theorem numbers behave like subsubsection numbers in latex?

I would like to ask two questions about the numbering schemes in Latex for which I am unable to find any precise reference. I will be very happy if somebody could help me out on this. Question 1) Is it possible to number theorems and subsubsections consistently as follows: 2 Section two 2.1 A subsection 2.1.1 A subsubsection The...

Installing pstricks in windows with MikTex

Hello I've been trying to get pstricks to work but to no avail. I am using Miktex, and I downloaded the package from it packages manager. But when I try to build it, it always fails: This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8) entering extended mode (C:\xxxx\Desktop\untitled-6.tex LaTeX2e <2009/09/24> Babel <v3.8l> and h...

Comprehensive list of Tikz-timing options

Anyone here a guru in Tikz-timing? I am/was looking for a way to label a timing diagram with annotations, but the vertical scale is too compressed. I couldn't find a comprehensive list of options for the \timing command (or if I did, it was a meagre list). My initial guesses at what they might be failed (e.g. height=), but eventually...

Preventing \texttt LaTeX tag from letting its content passing over the margin

Hi there! In my report, I'm writing some class names or variable names inside of a paragraph, and I want these names to be rendered in a monospace font. Example: This is my class name: \texttt{baseAdminConfiguration}. Sometimes when the single word inside of the \texttt tag is rendered at the end of a line, the word does not go to t...

Suppressing linebreak when entering environment

In the following LaTeX fragment, how can I suppress the newline that is automatically generated between XXX and YYY after entering the align* environment. XXX \begin{minipage}{t}{0.1in} YYY \begin{align*} ZZZ... \end{align*} \end{minipage} yields XXX YYY ZZZ... But I want XXX YYY ZZZ... Perhaps align* is simply the ...

Where to find mapping of Latex \sum commands to actual Sigma symbol in ttf?

Hi! If this is OT, please tell me where to repost it. I need to render some math equations, in real time. Where can I find a mapping of the LaTeX "english" names (like \sum ) to symbol XYZ of ABC.ttf ? I can read + render ttf's fine; I just don't know where to get the ttfs that have the math symbols and how they're indexed. Thanks! ...

Increase image quality from dvipng without increasing image size?

For dvipng, the -D option increases the dpi of the image but also increases the image size, and the -Q option improves antialiasing but doesn't do enough. Is there a way to increase the image resolution and quality without increasing image size? ...

[LaTeX] write and read from a LaTeX temporary file?

I am writing a document that has a set of "task lists" scattered throughout. I want to have a single list of all of the tasks at the end. It seems to me that I should be able to do this with the same sort of intermediate files that are used for the table of contents, list of tables, and list of figures. But I just can't figure out any w...

LaTeX: Which OS am I running on?

I’m writing a LaTeX package which needs to use \write18. Some of the shell commands I issue are system-specific (e.g. rm vs. del). Is there a way to determine what system I’m running on? It would be enough to disambiguate between Windows and other (Unix-like) systems. ...

LaTeX command for last modified

Is there a LaTeX command that prints the "last modified" date of the actual document? Since LaTeX projects consist of more than one file this command ideally prints the date of the actual file, not that of the project. ...

Storing and recalling variable number of text strings in LaTeX

I'm currently writing an API document in LaTeX. I have a tabular environment with a list of error codes and descriptions, like so: \begin{tabular}{|c|l|} \hline \textbf{Code} & \textbf{Description} \\ \hline 1 & (description of error 1) \\ \hline 2 & (description of error 2) \\ \hline \end{tabular} At various places later in the doc...

How do I create a new Beamer environment with a verbatim environment?

I'm creating a Beamer presentation that has a lot of example LaTeX in it, which has to go in a verbatim environment. I'm getting tired of typing \begin{example} \begin{verbatim} Verbatim Text \end{verbatim} \end{example} So I wanted to create a new command or environment that will shorthand this for me. I also need to do thi...

ispell in Emacs LaTeX mode

When I run Emacs command ispell-buffer on an Emacs buffer which is in the LaTeX mode, ispell checks spelling also inside math expressions. I'd very much like to disable this. Is there an easy way to do it? I've read about detex but detex does not seem to be integrated into Emacs. Thanks a lot!!! ...

Latex listings-package format option for uppercase keywords

I use the listings package to insert source code. I would like to print all keywords uppercase in the output, regardless of the case in the input. The manual states that keywordstyle=[number][*]style produces just what I want. However the following (almost) minimal example does not work. if I set keywordstyle to "[1][]{\bfseries}" I...

Custom aligning text in a Table in LaTeX

Basically, I want to produce the following table in LaTeX (Notice the "comma alignment" of the second cell) : ---------------------------------------- | Header1 | Header2 | ---------------------------------------- | 1 | "value 1" , "value 2" | | 2 | "one" , "two" | | 3 | "abcdefheas...