All Questions

518 views

certificate ending layout

How can I achive the above layout in latex? Place and Name should be on the same horizontal line, and so as Date and En.No.. Signature, Name and En.No should come on a same vertical line.
3k views

Obey spaces with URL package (path command)

Background Using the \path command from the URL package to mark-up directory paths. Some of the paths have spaces. Problem The preamble is set to: \usepackage{algorithm} \usepackage{booktabs} % ...
720 views

Driver specification for hyperref and graphicx

When using hyperref and compiling via pdflatex or dvips, I do not need to specify the driver with \usepackage{hyperref}. However when compiling via dvipdfm this fails and I have to specify the driver ...
813 views

biblatex, hyperref and punctuation issue

And a little bit more biblatex stuff: I've noticed that, when using hyperref, there is an issue in form of an ugly space between the citation and the punctuation (be it comma or period). Please, take ...
2k views

Biblatex, capitalization of arabic names and name prefixes

As we know, using the useprefix option, when name prefixes like von, della etc. are present in the bibliography, enables us to change name sorting as well as capitalize those prefixes using commands ...
685 views

Using \nameref within \path

Background Looking to apply a consistent style to file and directory names. The book's appendix has a subsection for every file referenced by the book. Every subsection has a label whose value is ...
846 views

Using the scrartcl class for a report I am writing, I would like to have only the sections show up in the table of contents. Although I manage to do that, the linespread looks too big in my eyes, and ...
14k views

How do I install a .dtx file?

When I run: tex algorithms.dtx for example, I get this message. ! Undefined control sequence. l.34 \documentclass {ltxdoc} ? Help?
565 views

Disable movie15 movies and U3D graphics for printing

I am using the movie15 package to include movies and U3D graphics into my document. I have it setup so that a PDF reader not supporting U3D will display a static image which I have chosen instead. ...
947 views

Equation environment definition

Where is the full definition of the equation environment? I cannot find it in the .cls files. Is this in latex.ltx? Or something?
2k views

bottomrule not working in a self-made environment

I have this environment for consistent tables in my LaTeX documents: \newenvironment{defaultTable}[2] { \@float{table}[h] \noindent \tabularx{\textwidth}{#1} \specialrule{0.5pt}{10pt}{0pt} ...
1k views

Harpoons in TikZ

Can I have any harpoons in TikZ? I refer to my previous question on harpoons: "How to draw protocol interaction" using amsmath. The closest thing I have found is this code: ...
1k views

Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong

Background A while ago it became possible to use the letters æ, ø and å in URLs, and some websites, like the encyclopaedia Store Norske Leksikon, has made use of this. Recently, a question was ...
2k views

Table is overlapping text

I'm using the IEEE format latex files from here: http://mocha-java.uccs.edu/ieee/ I have the following code: \begin{center} \begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{UHF/VHF Antenna ...
4k views

I am following tikz tutorial and my code has reached to this point: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,decorations,shadows} ...
28k views

Tikz: Multi-line text in the node description [duplicate]

I use tikz to create pictures in latex. My picture consists of set of nodes. Every node has its own text inside the node, for example, "This node is valuable": \node (mynode) [mystyle,right=of ...
2k views

Alternatives to $\backslash$

Background Instead of marking up the text with bold or emphasis, I read (and agree) that it is better to define a command, or environment, that describes the content. Then apply text formatting ...
447 views

TikZ label do not display correctly anymore?

I upgraded my MiKTeX from 2.8 to 2.9 today. When I run my old code in this new system, I find it do not work well. label=90:$A$ and label=0+90:$A$ are displayed in two very differently ways! They were ...
5k views

Is there a good LaTeX package for generating barcodes?

I'm looking for a good LaTeX package to generate one dimensional barcodes, that has the following properties. It doesn't require any external scripts or internet connection to work. It easily ...
965 views

list of requirements, problem with listing text of requirements

I would like to have "requirements" in my document numbered. Then I wanted to have list of requirements, but not only number of requirement and corresponding page/section but also theirs text. I ...
960 views

Generate a complete bibliography [duplicate]

Possible Duplicate: Using BibTeX to make a list of references without having citations in the body of the document? Is there an easy way, given a bibtex file, to generate a compiled version ...
1k views

Conventions for formatting scientific units?

I would appreciate some guidance on how to format units that incorporate SI, molecules, and text. Right now I am formatting the letters in chemicals or names as 'text' and the SI units, sub/super ...
893 views

Manually setting the total number of points in the exam document class

I am writing an exam using the exam document class. In the exam you only need to answer 10 out of 12 questions (10 points each question). When I create the grade table with the command \gradetable, ...
33k views

How can I display a short chapter name in the header and a long chapter name in the ToC?

I am writing a book and one of my chapter has a very long title. As it can't be displayed correctly on the top of even pages, I provide a "short title name" via the \chapter[short title]{long title} ...
2k views

Abbreviations and spacing

I'm sure this is a pretty standard questions that's been asked (and answered!) a hundered times before, so apologies for boring people. In LaTeX, I'd like to write a macro for abbreviations, such as, ...
3k views

single column footnote in multicols environment?

I use the multicols environment (multicol package). I have two columns. If I simply use \footnote{the footnote text, which is quite long} the footnote behaves as if there was just one big column (as ...
14k views

Cannot determine size of graphic in * (no BoundingBox)

I use convert filename.gif filename.eps to produce EPS from images before include them into TeX document, and get error: ! LaTeX Error: Cannot determine size of graphic in filename.eps (no ...
5k views

Create new paragraph style in LyX

Background In OpenOffice and Microsoft Word it takes seconds to create a new paragraph style. Here is how I currently use LyX with the KOMA Script document class to mark text as a quotation: Type ...
45k views

Table and figure side-by-side with independent captions

Looking to put a table and a figure side by side so that the table and figure have their own captions. A crude sketch ------------ ----------------- TABLE | a | b | ...
6k views

Automatically dereference DOI to .bib?

Is there an established way to, given a list of DOI identifiers, produce a .bib file containing the citation information?
6k views

Compile LaTeX with BibTeX and glossaries

i need a little of help here. Till now wat I now is that to compile a latex into a pdf with bibtex references i need to execute the next sequence: 1. pdflatex document.tex 2. bibtex document.tex 3. ...
3k views

Suppress Numbering of Subfigures

Is there a way to supress the numberings of subfigures within subfigures? Currently, I have something like the following: \begin{figure} \subfigure{ \subfigure{...} \subfigure{...} ...
702 views

Marking Specific x-values in TikZ Plot

I've plotted a function using TikZ and gnuplot and would like to indicate certain points on the graph. From the manual, I can only figure out how to get TikZ to place a mark at a point it's using to ...
4k views

tabular* with rubber spacing and \cline

I'm using a tabular* with rubber spacing to fill the complete width of the page. This works fine, except that when I use \cline, the line is not complete. It seems that \cline does not cover the ...
3k views

Minimum length for \xrightarrow

I want to place text over arrows. The obvious choice is to use the amsmath command \xrightarrow{#1} However, sometimes the text above may be a single digit: %Example 1 \xrightarrow{1} other times ...
9k views

Change paper size in mid-document

My document should be letterpaper and my attachments should be a4paper. I had high hopes for the \newgeometry command from the geometry package, but the documentation says \newgeometry is almost ...
1k views

slidestop for a single slide in beamer

Is it possible to align text at the top of the slide for only a single slide? Alternatively is there a simple way to absolute align anything in a beamer slide.
851 views

\jobname, character codes and \detokenize

I recently wanted to compare \jobname to a string (with the xstring package) and was rather surprised that the string never matched. Tho internet told me that I had to use \detokenize on the string. ...
2k views

Minus signs vanish with listings and breqn - any solutions?

When using listings and breqn, the minus signs (or dashes, according to the unix.SX site then there's some controversy about which it is) disappear from code listing. Here's an example: ...
891 views

Spanish Glossary

I want to create a glossary and to name it "Glosario" (Spanish), but despite my attempts it continues to print "Glossary". MWE: \documentclass{article} \usepackage{hyperref} ...
672 views

Astrology Charts in LaTeX

Is anyone here using LaTeX to typeset astrology charts? Would pgf/tikz be an appropriate tool to use for that purpose?
2k views

Ugly spacing around f in math mode

My paper contains many math expressions like $abcde$ or $abdefv$. Unfortunately, the latter looks very ugly, particularly in regards to the spacing around the f. In particular, there is a ...
1k views

Xelatex, Biblatex: biber.exe not working properly (IPC::Run) error

I'm using biber.exe and biblatex with the following preamble in my tex document \documentclass[fontsize =10pt, BCOR=0mm, DIV=default]{scrartcl} \usepackage{fontspec} \usepackage{xunicode} ...
9k views

Insert graphic at precise place on a page

I would like to put a small graphic in the bottom right corner of a the title page of an article. Is there a way to specify a precise location for a graphic on a page (that has text on it)? I've ...
2k views

An environment to change the vertical space around a formula

Specially in beamer presentations, I use a custom environment to change the vertical space around a formula. The code is: \newenvironment{shrinkeq}[1] { \bgroup ...
2k views

Is there a tool that will read a .bib file and add the correct DOI fields for all the entries that don't have them? My current workflow is to just add citations as and when I need them with auctex in ...
18k views

.bib library file in a different directory, how to use? (Mendeley centralised .bib file)

problem Hello All, I have the possibility of a centralised, updated .bib file using Mendeley Desktop. This file will stay updated with all the changes I make using my Mendeley citation software. I ...
151 views

What is the M4-based text format used in the TUG Interviews book?

The files used to prepare the TUG interviews book, Tex People: Interviews from the world of Tex, contains examples such as http://dw2.tug.org/ivbook/trunk/levien.m4, which begins dnl \$Id: rahtz.m4 ...