2
votes
2answers
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.
12
votes
2answers
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} % ...
11
votes
1answer
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 ...
5
votes
1answer
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 ...
19
votes
1answer
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 ...
7
votes
2answers
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 ...
7
votes
2answers
846 views

What is the easiest way to decrease the linespread in a table of contents?

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 ...
20
votes
2answers
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?
5
votes
2answers
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. ...
7
votes
2answers
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?
1
vote
1answer
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} ...
8
votes
1answer
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: ...
14
votes
3answers
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 ...
1
vote
1answer
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 ...
7
votes
1answer
4k views

Tikz \path problem, command not found

I am following tikz tutorial and my code has reached to this point: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,decorations,shadows} ...
30
votes
3answers
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 ...
11
votes
1answer
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 ...
3
votes
1answer
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 ...
31
votes
4answers
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 ...
4
votes
1answer
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 ...
5
votes
1answer
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 ...
13
votes
2answers
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 ...
10
votes
3answers
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, ...
56
votes
4answers
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} ...
14
votes
1answer
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, ...
12
votes
2answers
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 ...
11
votes
2answers
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 ...
13
votes
2answers
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 ...
33
votes
2answers
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 | ...
30
votes
8answers
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?
8
votes
1answer
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. ...
5
votes
2answers
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{...} ...
3
votes
1answer
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 ...
5
votes
3answers
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 ...
9
votes
1answer
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 ...
31
votes
3answers
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 ...
6
votes
1answer
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.
16
votes
1answer
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. ...
5
votes
2answers
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: ...
7
votes
1answer
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} ...
3
votes
3answers
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?
12
votes
2answers
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 ...
3
votes
3answers
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} ...
29
votes
1answer
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 ...
3
votes
1answer
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 ...
12
votes
2answers
2k views

Automatically adding DOI fields to a hand-made bibliography

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 ...
36
votes
6answers
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 ...
3
votes
1answer
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 ...
5
votes
1answer
347 views

How do I use git submodules to keep one preamble template for all my documents?

I’ve read this which outlines the advantages of using submodules in git to use one centralized preamble .tex to be used for all future LaTeX document. When the preamble is changed, all documents ...
3
votes
2answers
2k views

Problem with formatting tables with equal column widths

I want to create two tables that have the same width of columns. Both tables consist of 6 rows and 3 columns. In both tables, row 1 and row 4 are explanatory, and should expand in all columns. In ...

15 30 50 per page