0
votes
2answers
192 views

bidi and hyperref change hyphenation

I try to compile th following document. If I load both bidi and hyperref, Mittelbach is not hyphenated. If I comment out one of them, everything is fine. The bstfile is here: ...
3
votes
1answer
105 views

Can one reconfigure packages after \usepackage?

Is it possible to change the options a package was invoked with after the fact? That is, could one define \OopsIWishIHadWrittenDraftWhenIncludingGraphicx so that \documentclass{article} ...
5
votes
1answer
447 views

Flexible rule length in titlesec

I'm trying to get a rule just after the label of a chapter. (i.e., between "chapter 1" and "This is the chapter 1 title"). So far, I've managed to do this: \titleformat{\chapter}[display]% ...
6
votes
2answers
4k views

Add space before and after tabular environment

The tabular environment does not add any vertical space before or after it. This looks odd, in my view. What is the "correct" or "best" way to add some space? Also, why is there more space after the ...
2
votes
2answers
2k views

Put two pictures above one another within one sub float / reference problem

I was going through some crazy hoops to get minipage and subfloat work nicely (?) together, only to find out in the very end that I screwed up the figure references. I have a figure with two ...
2
votes
1answer
69 views

Short syntax for including multiple times the same pages in pdfpages

Using the pdfpages package I can do something like this to merge some pages of a document. \includepdf[page={1,1,1,2,2,10,10,10,10},nup=1x2]{mypdf.pdf} In this case 3 times pages 1 and 2 times ...
4
votes
1answer
219 views

split longtable over even and odd pages (2)

I am a first-time user of LaTeX, trying to typeset my thesis. My problem is that some of my tables are large and do not fit on a single page; both in length (many rows) but some also in width (many ...
3
votes
1answer
178 views

Appendix Problem

I have a problem with \appendix in my thesis. The result it's correct in the ToC, but wrong (i would like to have it as "Appendix A") in the text: I'm using this template: ...
3
votes
0answers
204 views

Font package needed for PDF built using TEX?

This question might sound stupid (I am not a CS major). I built my grad school application resume using Latex (based on a CS grad suggestion :) ) and successfully generated the required PDF. I ...
6
votes
2answers
109 views

Adding a document number as a first line in \documentclass{article}

I would like to add a document name in a small font, as a very first line of the title page inside the article environment, something like: review of project number: 1234 ...
3
votes
0answers
169 views

Reference style in between author-year and numbers and its LaTeX implementation [closed]

I am at a technical university where there are no templates and rules for writing a dissertation, especially not regarding the bibliography style. My supervisor prefers the author-year style, as it is ...
7
votes
1answer
200 views

Wrong Page Numbering using hepthesis [duplicate]

I am using the hepthesis document class, which is built on scrbook, and it produces incorrect page numbering for the following code: \documentclass[oneside]{hepthesis} \begin{document} ...
5
votes
1answer
243 views

Processing data in pgfplots: Elementwise multiplication?

I like to process data that I read in from a file within pgfplots. Consider the following example: \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{graphicx} ...
2
votes
0answers
204 views

Remove white margin from a page tiles with an image?

I am trying to tile a page with an image. I have successfully added the image using the command \TileWallPaper from the background package, but I am having a problem with a white margin on the left of ...
6
votes
2answers
195 views

Creating a Korean to English Dictionary

What package would be best for creating a multilingual dictionary? The glossaries package doesn't seem to work very well with Korean.
1
vote
0answers
113 views

Spacing within a box, relative to the page

I am attempting to place a textbox precisely 75mm from the top edge of a page (to correspond with a cut-out on the cover). On printing this out, I noticed I was getting positioning problems, so got ...
2
votes
1answer
315 views

beamer presentation with enumerated list problem

I have a beamer presentation. In the presentation I have a numbered list... within each number I have a sub-numbered list which I would like to be like the following. How do I fix this problem? 1. ...
19
votes
6answers
716 views

How to let three subscripts and three superscripts to be aligned

Suppose I need to get a formula like $L^{2,3/4,5/6}_{1,2,3}$ in Latex. Then $2$--$1$, $3/4$--$2$, $5/6$--$3$ is not aligned. See Then how can I let these three to be aligned?
7
votes
1answer
440 views

Separating a decimal number into whole and fractional parts with only the digits using pgfmath

Note: Firstly my apologies for making this confusing to start with. I have finally clarified matters I hope. This particular question is asking for macros that will split pgfmath results. The ones ...
2
votes
1answer
94 views

Spacing rows in a table

I am having a very difficult time typesetting this Cayley table. When I use this code, it gives me an error and tells me that I am using an illegal unit of measure. I know I do not have the correct ...
1
vote
1answer
164 views

Automatic PDF generation, image scaling

I am currently working with GitHub's wiki and I have markdown pages in the wiki that I would like to convert to PDF files. I have a script that uses Kramdown, bash/sed/grep and custom HTML tags for ...
2
votes
3answers
188 views

Blank Column in the left part of the document

I would like to reproduce the code from the output shown in the picture. \documentclass[a4paper, 11pt]{article} \pagestyle{empty} \usepackage[utf8]{inputenc} \usepackage[english, russian]{babel} ...
5
votes
1answer
386 views

Tikz-uml error when using positioning keywords

I use the tikz-uml package with MikTeX. I put it in the '...latex/misc' directory and used the 'Refresh FNDB' function in the settings. Consider this minimal example: \documentclass{article} %Tikz ...
10
votes
3answers
203 views

How to provide more horizontal space between cases in a system?

I have the following ugly system: This is my LaTeX code: \newcommand{\Aaa}{\begin{bmatrix} 1 & 0 \\ 0 & -1\end{bmatrix}} \newcommand{\Ba}{\begin{bmatrix} 0 & 1 \\ -1 & ...
1
vote
1answer
96 views

Changing sorting order with natbib

I am writing my proposal and a professor asks me to change the multiple citation order in text, sorting by year, not alphabetically. Here is what I have now using the 'sort' option in natbib package: ...
5
votes
1answer
129 views

how to truncate labelname using authoryear-style?

I've got a problem with my labelname in the bibliography. I adapted authoryear-style in order to display labelname and labelyear at the beginning of a reference. I want to display a maximum of two ...
4
votes
0answers
389 views

Complex Page Layout in LaTeX [closed]

I'm a complete beginner at LaTeX, and I'm trying to typeset a complex layout. How should I go about building a page like the one shown below. Edit I was able to replicate the layout using minipages ...
10
votes
2answers
5k views

Change default font size while using fontspec

I'd like to set the main font size (i.e. all text which isn't a heading or something else with an explicit font size) to a particular font size, in this case, 9.5pt. I can't use the default package ...
1
vote
0answers
77 views

hyperref vs hyperxmp

What is the better package to use in embedding metadata, hyperref or hyperxmp? Which has a wider range or can be extended further? (Like: Does using xmp metadata more reliable than just embedding a ...
4
votes
1answer
324 views

Harvard style bbx, cbx, and lbx

I am trying to get a Harvard style bibliography with Biblatex. Not just something that looks more or less like Harvard style, but the actual Harvard bibliography. APA generates: last name, initials ...
1
vote
0answers
174 views

All \ref{} to an equation refer to the section, not to the labeled equation [closed]

I am writing a document in LaTeX using TeXShop on OS X Mavericks. My .tex file looks like this: \documentclass[11pt,titlepage]{article} ...
0
votes
1answer
190 views

Exclude certain references in the bibliography

I'm creating my bib-file (Literaturverzeichnis.bib) with jabref under windows and I'm also inserting papers and books etc which I read but might not need as they might be irrelevant for my current ...
0
votes
0answers
69 views

Segmentation fault after Mavericks upgrade [duplicate]

I can't resolve a segmentation fault after upgrading my OS X. After upgrading to Mavericks my system crashes and can't typeset any lualatex file. My lualatex files contain gregorio (a program for ...
8
votes
2answers
2k views

Combine column types defined in dcolumn with tabularx

I'm looking for a way to define a column type which "mixes" the 'D' column defined in the dcolumnpackage and the 'X' column defined by the tabularx package. In other words, I want a column type that ...
7
votes
3answers
961 views

Drawing text in vertices using polygon regular tikz

I'm trying plot the regular polygon induced by the equation x^(11)+1=0. I've drawn the polygon and the circunference with this code: \documentclass[a4paper]{article} \usepackage[english]{babel} ...
1
vote
1answer
67 views

Package loading speeds

Is there any benchmarking regarding which packages take more to load than others? Of course I know it depends on the computer you are running and perhaps even your Internet connection if you are ...
3
votes
1answer
123 views

Vertically stack parboxes in a cell of a table

I need to insert an enumerate environment in a table. Following hints from this page: itemize in a tabular environment, I used \parbox to prevent error (Putting itemize environment in a tabular ...
4
votes
1answer
113 views

reset theorem counter after every subsection and print just #subsection

I have declared \newtheorem{thm}{Theorem} \numberwithin{thm}{subsection}. This numbers every theorem in this format [chapter].[section].[subsection].[numberofthm]. Is it possible to have the counter ...
5
votes
3answers
3k views

Removing extra space after itemize environment in longtable in memoir

I have a macro that creates itemize environment in it. The issue is that I have extra space after the itemize environment when used in longtable. How to remove the space? \documentclass{memoir} ...
4
votes
1answer
592 views

Set author font in scrartcl

I've got a document using the scrartcl and fontspec packages, like so: \documentclass[a4paper]{scrartcl} \usepackage{fontspec} I'm setting the fonts using the following: ...
4
votes
1answer
687 views

Suddenly, a problem with boldface Greek symbols; bm package doesn't work

I've added the following packages: \usepackage{fontspec} \usepackage{xunicode,xltxtra,url,parskip} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{hyperref} ...
6
votes
1answer
1k views

Splitting Algorithm across multiple slides

I am wondering how to split an algorithm across multiple beamer slides. The algorithm is created using package psuedocode. I tried using [allowframebreaks] but all that did was push my algorithm to ...
2
votes
1answer
414 views

Myriad Pro: Chapter number style of the toc with pdfLaTex

I use the MinioPro and MyriadPro fonts in my document. To compile I use the pdfLaTex. I would like to change the format of the table of contents. I'm looking for an option to make the chapter ...
4
votes
1answer
388 views

table in LaTeX giving error

I'm trying to create the table using the below script and its giving this error "! Missing $ inserted.<inserted text> $ l.689 \end{tabularx}" \begin{table*}[t] ...
4
votes
1answer
486 views

relative paths for bibtex in lyx

I insert a bibliography into my LyX document through insert > list/TOC > bibtex bibliography. I find my file and everything works out. However, the path it uses is absolute as opposed to ...
2
votes
1answer
51 views

Indicate an “added entry to the index” in the main text

I'm writing a text with many index entries: Variable $\Kappa$\index{Kappa@$\Kappa$} is used to ... I'd like to see a hint in the main text, that an entry was added to the index. I tried using ...
4
votes
1answer
190 views

Joining lines and text together (and a grey footnote) in a new environment for grey text

I defined an environment called bewertung that's delimeted by two lines. I observe three problems I can not solve: Pagebreaks after the first line (page 1 of MWE PDF). Pagebreaks before the second ...
3
votes
1answer
128 views

Number and reference paragraphs

For "law-documents" you often want to enumerate every paragraph and cite them somewhere else in your document. This enumeration shall increase through the whole document and have the possibility to ...
4
votes
1answer
189 views

Drawing custom shape with MetaUML

How to draw image like this: I use MetaUML package for drawing Uml. Can it be used to draw this image? I want to keep my image styles uniform and don't want to use other drawing package just for ...
2
votes
1answer
367 views

Alignment of siunitx S-column looks bad with big numbers

I have to put a bunch of numbers into a lab report, and I currently use siunitx with tabular and the S column type. It looks great for small numbers and large column heads. However, for small heads ...

15 30 50 per page