# All Questions

11 views

### How to put two (or multiple) QED symbols on one line

Suppose the proof of a theorem contains a claim and its proof, and the proof of the claim completes the proof of the theorem. That is, no further text is required in the proof of the theorem after ...
18 views

### Including a forward slash within org mode italics block

In org mode (Emacs-24.4.1) I am trying to include a forward slash in a sentence that is italic but it is used as the italic boundary e.g. /Using double Flk1^{-/-} mutants/ where I want the whole ...
8 views

### Image inclusion in TeX (not LaTeX)

I am using TeX (not LaTeX). I want to print our company logo in TeX Generated Invoice. Kindly help.
3 views

### how to include the Subfig captions below the main figure caption in LaTex?

I am preparing a manuscript for an IET journal. I have used the following packages for figure: \documentclass[10pt]{article} \usepackage{graphicx} \usepackage{caption} ...
80 views

### Problem with crosswords

While making a crosswords in LaTeX, I found out I am unable to do two things: A part of it must be blue. Two letters must be visible in the unsolved version. Can anybody tell me how to do these ...
3 views

### How to refer more specifically in Tufte-style handout

This question may be open-ended and have many solutions.... Usual Style Consider the following simple document which is generated by the following code. \RequirePackage{filecontents} ...
6 views

### Aligning a table entry to the right

I want to adjust a column of a table, such that the heading is centred, the rest rows are left aligned, which I managed myself (see figure). Now, all rows have an additional attribute (length), which ...
12 views

### How to decrease the vertical spacing between formula and text in beamer?

Too much spacing between formula and text in beamer. When I insert the command \vspace{-0.5cm} before the formula, the spacing decreases. But the command \vspace{-0.5cm} after the formula has no ...
5 views

### Biblatex with biber backend fails to compile citations on Yosemite

As the title already states, biblatex/biber combo doesn't compile citations on Yosemite. The TeX compiles property on Mavericks though. It seems .bbl file can't be created. I'm using Texpad on Mac. ...
95 views

### Errors in authorinfo in ACM template

In a submission to a ACM conference with double blind review process, I'm getting errors while compiling my tex file. The error says "No authors were specified for this paper" if I try to comment out ...
53 views

### Indenting text after numbered paragraphs

I have a 60 page document with numbered Sections, subsections and paragraphs. All the paragraphs are numbered. I want all the text to be indented evenly after the numbered paras, such as the following ...
36 views

### Insert (and ref) uncompressed PDF literals in Latex document?

I'm having a document whose source files are kept in git, and I'd like something similar to Print subversion repo number on each page ... I've already managed to pull the information I need and show ...
9 views

### How to control the Bibliography numbered and author year in single command

I am using natbib package. I would like to control bib style in single command \numberedref. My requirement is if the \numberedref command is available in the tex file the output is shown in numbered ...
486 views

### How to write pseudocode similar to code presented in “Beautiful Code” by J. R. Heard

I came across an astonishing piece of text, which is called "Beautiful Code, Compelling Evidence" by J. R. Heard. I was wondering if there is a package or something that allows me to present my code ...
12 views

### Preprocessing code for cross-compilation of two different projects?

I have two different projects, which are the LaTeX code for English and Greek for the same book. Does LaTeX support preprocessing code (without using any external tools) that would allow two ...
38 views

### Dividing long sentence to several lines in table

I have a sentence in a table that is too long and makes my table go out of the page. How can I make the sentence divide into several lines so it doesn't ruin the layout of the table? ...
768 views

### Non rectangular page geometry

I am interested in using non-rectangular page geometries for my flipbook idea (in fancyhdr with image and flowing text). The page geometry that I'm after is that the text has a little rectangle ...
55 views

### \mkbibquote does not close quotation marks if immediately followed by colon

The following biblatex record (embedded within a minimal LaTeX example): \begin{filecontents*}{\jobname.bib} @article{test1, Author = {Craft, Robert}, Title = {Stravinsky at His ...
28 views

### list all 3 to 5 author names in the first in-text citation using apacite

I use \usepackage{apacite} in the preamble (sublime 2 editor) and \bibliographystyle{apacite}. I did not have to manually install the apacite package. For in-text citations of 3 to 5 authors, I need ...
48 views

### Time clock at the footline of a beamer slide is not adjusted in the middle if compiling with XeLaTeX

I'm adding a title clock in the foot line of a beamer slide, if I compile it with pdfLaTeX it works fine; while the clock doesn't align in the middle vertically if compiling with XeLaTeX. How can I ...
31 views

### How to change the default font of math operators

How to change the default font of math operators? The problem is that if I use the command \DeclareMathAlphabet\mathrm{U}{eur}{b}{n}, only new defined operators will be changed in terms of its font. ...
19 views

### Can't install texlive debian

i'd like to make a .pdf file from a .tex one. I've searched for solutions and everyone was like "install the texlive package", "use pdflatex" or something else. The problem is that when i open the ...
257 views

### How to set maintitle and subtitle?

Recently, I have been translating a foreign paper that has main title and subtitle. My trial: \documentclass[UTF8]{ctexart} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} ...
22 views

### How to generate a dynamic bubble answer sheet for multiple-choice exam

I want to produce a bubble answer sheet where the number of questions are shown by \qCount. It is always below than 100. Is it possible to produce it dynamically? I cannot print the question numbers ...
145 views

### How to create a rectangle filled with image using TikZ?

I want to create a rectangle with tikz and fill it with a predefined image. For example the following line fill the rectangle with a color. How can I fill with my images instead? ...
8k views

### LaTeX vs Word; improvements of LaTeX over the years

When comparing MS Word vs LaTeX the proponents of Word often say that many advantages of LaTeX over Word from say 1997 disappeared over the years as Word evolved to the current 2013 version. For ...
75 views

### Big title on one page [on hold]

I would like to put a big title on a page, alone. Is is possible to do this? I want to do it to indicate all of my annexes, at the end of my document. And I would like it to appear in my table of ...
82 views
+150

### How to align baselines of picture text and body text?

The following code wraps the body text around a picture and its accompanying text. Set this way (with the \vfills) picture and text are centered vertically in the recess. What I want to achieve is ...
27 views

### Exam class: same space solution vs. no solution

In exam class, by inserting a fixed minipage same size of your answerslines for students you create the same space when answers are printed or when answers are not printed. How come the depth is still ...
123 views

### How do I typeset this diagram used to explain folding?

How do I typeset this: (this is an explanation of the folding used in derivation) Edit: Here's a code of the formula and XeLaTeX MWE: \documentclass{article} \usepackage{fontspec} ...
117 views

### How to put tikzpicture nicely between paragraphs?

I want to put my tikzpicture nicely between paragraphs. How do I do that? I do not want to put it in a picture environment because than there is extra space underneath. ...
93 views

### print the chapter number as name in class file latex

I am using a Duke University LaTeX template for master thesis, the template print chapter headers as follows: Chapter 1 chapter name but I want to print it as follows Chapter one: ...
50 views

### Reference does not work for me

I dont know what is wrong, but reference wont work for me. Can someone help.
174 views

### Horizontal - Vertical connectors in a tree (in place of slanted lines)

Here is the MWE: \documentclass[landscape]{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \begin{document} \tikzset{ treenode/.style = {align=center, inner sep=2pt, rounded corners = ...
98 views

### How to make gv (DOT) files work under LyX

I'm using LyX. After adding this gv file using Insert->Graphics, LyX automatically generated a perfect preview of the file, as expected. However, when I try to export or get a preview using dvi ...
78 views

### State of Unicode math typesetting fonts?

In a 2011 EuroBachoTeX talk, Ulrik Vieth discusses TeX unicode math fonts and their state of completeness. He lists the following 4 fonts as (more or less) production-ready: Cambria Math Asana ...
31 views

### fitting table to single column and error messages

Hi i am having some problems getting a table to fit within a single column can someone help out? \documentclass[fleqn,10pt,twocolumn]{article} \usepackage[utf8]{inputenc} ...
41 views

### How do I draw arrow in my figure, such that the arrow points to a particular node?

I have a figure of a graph with 8 nodes. I want to draw arrows, s.t. they will point to some of the nodes (for example I want to draw arrows pointing to 4 of the nodes). Also, next to each arrow I ...
70 views

### Venn diagrams for 4, 5, and 6 sets in TikZ?

I'm trying to reproduce the following Venn diagrams in TikZ: Venn diagram for 4 sets: Venn diagram for 5 sets: Venn diagram for 6 sets:
35 views

### how to put a same costum text at the end of every page

I have set the bottom margin to zero: \usepackage[margin=1cm,marginparwidth=1.5cm, top=0cm,bottom=0cm,left=0.1cm,right=0.1cm,showframe ]{geometry} and I want to put the same text at the bottom ...
17 views

### Automatically creating a table from datatool using references in the text (merging solution into format of question)

In Automatically creating a table from datatool using references in the text I asked a question about datatool automatically generating a table based on references to the text. David Carlisle ...
42 views

### XML and LaTeX, including figures PGF plots

I am about to submit an article to a scientific journal. This journal provides some guidelines for those who want to submit the work in LaTeX. Requirements, however, are quite restrictive: Do not ...
45 views

### Can I add a \for field in a report style?

I'm using a report class, which works just fine. On the title page I have listed the author, but I'm doing it for someone else. Like writing a memo, it would be nice to put in a field, something like ...
26 views

### Latex/MikTex Put multiple figures in twocolumn article document

I'm using latex to put the 1st figure in the top center of the page that span the twocolumns, just after this figure i want to add 2 other figures with some few paragrpahs and equations to the same ...
28 views

### Insert a image to Latex preamble in LYX

I am writing a survey report and I need used a template as a cover page from here. It is working fine and now I need to add my university logo into that cover page. Cover page has been included in to ...
2k views

### Automatic line breaking for two-column text

I am using the following document class: \documentclass[twocolumn]{svjour3} Unfortunately, the two columns of output text just look horrible as they are not properly aligned on the right-hand side ...
30 views

### Listing sourcecode - two columns, associations with colored background

I stumbeled over a way of formatting sourcecode in a book I am currently reading. It looks like this: So basically we have a following structure: There are two columns. Left column contains the ...
37 views

### Using same font style of an already defined algorithm function in another algorithm

I want to use the same font style of a previously defined function in an algorithm environment when I call it in a different algorithm environment. Below is a minimal working example. I want the same ...