1
vote
1answer
2k views

Changing Margins in Stockton Beamer Theme

I am creating a presentation with beamer using Stockton theme. You can find tex file here I have two questions to ask. How can I change the margins of a slide? For the example below, I would like to ...
4
votes
1answer
297 views

Problem with libertine font for pretty big quotes

The following code, that I used with success, does not work with the last TeX LIve distribution. I don't know why. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
178 views

Move section anchors generated by tex4ht

When compiling a file with tex4ht, the sections are transformed with header HTML tags with anchor. So, if I compile \documentclass{article} \usepackage[xhtml,mathml]{tex4ht} \begin{document} ...
3
votes
3answers
2k views

How to have an itemize inside a tabularx

I am trying to have an itemize inside one of the columns in a tabularx, but when trying to compile this code: \begin{table} ...
1
vote
1answer
184 views

Optimize Wrapfigure's output

I am including a wrapfigure in my document. My code is \documentclass[11pt]{article} \usepackage{wrapfigure} \usepackage{graphicx} \begin{document} \begin{wrapfigure}{l}{60mm} % \begin{center} ...
1
vote
1answer
211 views

table numbers are wrong for double column table

My: \begin{table*}[t] \begin{minipage}{\textwidth} \begin{tabular} \end{tabular} \CaptionType{table} \caption{...} \label{tab:res2} \end{minipage} \\ ...
1
vote
1answer
730 views

Pass multiple options to \newcommand

I have defined a new command for each of the team members in my project group to add individual todo-notes with different color and name. Now I would like to add another option, but is having trouble ...
3
votes
1answer
422 views

linerange reference in lstinputlisting

I have a listing that refers to my c code; I would like to reference the code using commented section in the code, as seen in the code example bellow. I have created a list style which does this, but ...
2
votes
1answer
7k views

How to create bibliography in LyX

I use Lyx (Layout report) for my thesis and i need your help on adding Bibliography.. I added bibliography, but how can i add reference at each nunber in my text. For example i want when clicking on ...
1
vote
0answers
45 views

Handout is not the same as last displayed state of a frame [duplicate]

Possible Duplicate: How to exclude certain slides from handout OK. Here is the MWE that explains it all. When compiled as beamer (onscreen) option, the itemized items appear on every click. ...
10
votes
1answer
193 views

How to write the € symbol into a file, when using Package [utf8]{inputenc}

With the following MWE, I can write the € symbol into the file euro.txt \documentclass{article} \newwrite\tempfile \immediate\openout\tempfile="euro.txt" \begin{document} Write Euro symbol into a ...
4
votes
1answer
116 views

How to reference a point in a document with a counter and descriptive text?

This is a follow-up question to the previous questions: How to label a word inside a paragraph? How to refer back to a point in the document with custom counters? The code below ...
9
votes
1answer
774 views

Default sans-serif for T1

When using \usepackage[T1]{fontenc}, my understanding was that the fonts were pretty much the same as the defaults, except that they carried native accentuated characters. Now, I use sans-serif in my ...
17
votes
1answer
3k views

Documentation of the tikz 3d library

Where can I find the documentation of the tikz 3d library? There seems to be no such section in the manual and google didn't help me in this case.
8
votes
1answer
620 views

Best way to get the unit vector of a given vector in tikz 3d

Suppose I have a coordinate in tikz 3d which I interpret as a vector, for example \coordinate (v) at (3,2,9); What's the best way to get the unit vector pointing into the same direction? My first ...
10
votes
4answers
230 views

A line of text with proper positioning but consuming no space?

Welcome to part 4 in a series of questions about me trying to improve my crazy layout! I'm using tabu to create a table with a central heading, and two small blocks of text on the left and right ...
3
votes
1answer
649 views

how to remove the linebreak after one bibitem in article+bibtex environment

I recently encountered the following problem. Here is a sample of tex file I used \documentclass{article} ... \begin{document} ... \bibliography{mybib} \bibliographystyle{plain} \end{document} ...
32
votes
5answers
4k views

How to draw the region of inequality?

Everyone, I would like to draw the region \begin{align*} x_1 + x_2 &\ge 3 \\ 2x_1 - x_2 &\le 5 \\ -x_1 + 2x_2 &\le 3 \end{align*} Here is my code to draw the region of inequality: ...
4
votes
2answers
4k views

Changing vertical position of a figure caption with sidecap/SCFigure

I use the sidecap package to add small graphics with captions on the inner side of a page with the following options in the preamble: \usepackage[innercaption]{sidecap} \sidecaptionvpos{figure}{t} ...
0
votes
2answers
836 views

float placement using endfloat

I have a lyx file in which there are several figures and tables. The preamble has been amended to have: \usepackage{multirow} \usepackage{rotating} \usepackage{subfig} ...
6
votes
1answer
276 views

Place a figure at the beginning/end of a specific page

So I'm putting together a paper using LaTeX and I know that I want to place a specific figure at the bottom of page 1, another figure at the top of page 2, etc, and let the text just wrap around the ...
5
votes
2answers
200 views

Have \foreach restart or loop

I understand that trying to have a "loop function" like \foreach loop sounds like a paradox but I'll try to explain what I mean. Recently, I've asked a question about automatising the creation of ...
9
votes
1answer
631 views

Identical vertical spacing between paragraphs of different textsize

Something that happens to me very often is that I change the size of certain formula-like material (something close to but not identical to pseudocode in my case) but get inconsistent vertical ...
4
votes
1answer
827 views

Dimension too large with tikz-qtree

I want to draw a tree with tikz-qtree, but it bails with Dimension too large. \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{pdflscape} \usepackage{tikz} ...
7
votes
1answer
260 views

After a series of nested \includegraphics, some PDF viewers fail to display the image

I'll admit this is a convoluted example, but I like drawing with TikZ and LaTeX and this particular issue has come up for me more than once. The minimal working example takes a few files, but in a ...
3
votes
2answers
3k views

Referencing a table vs. a figure in LyX, format

Currently, when I reference things using labels I have setup LyX simply inserts the table number. I would like it to insert Table N where N is the table number. Similarly, I would like it to insert ...
8
votes
1answer
374 views

hangindent + wrapfig = bad spacing?

I am using the wrapfig package in order to place some text on the right side of my paragraph: \documentclass{article} \usepackage{wrapfig} \begin{document} \begin{wrapfigure}{r}{0pt} ...
1
vote
0answers
100 views

float placement at the end of the document [duplicate]

Possible Duplicate: Force impagination sequence How can I remove the figures from a draft of my document? Is there a way I can specify an option to tell TeX to place all of the floats I ...
6
votes
1answer
217 views

TikZ: posticipate execution of type /.code key

I'm trying to create some TikZ keys which allows to easily draw distributed loads on a mechanical structure (or truss). The code I wrote at the moment is: \documentclass[a4paper]{article} ...
15
votes
1answer
857 views

hyperlinking author names in biblatex when using \citeauthor

Using biblatex, the \citeauthor no longer is hyperlinked by default (as done in natbib). I am currently desperately looking for a way to make it a hyperlink ... any suggestion welcome
5
votes
2answers
802 views

Biblatex: bibliography section headings without numbers in scrreprt or scrbook

The following code produces headings on the section level starting with the number of the section before the bibliography: \documentclass{scrbook} \usepackage{csquotes} \usepackage[english]{babel} ...
2
votes
0answers
76 views

How to acknowledge LaTeX and its community in a report/manuscript/dissertation/book? [duplicate]

Possible Duplicate: What is best way to mention that a document has been typeset with TeX? I did my thesis with LaTeX, even the figures, they were all done with TikZ !! I would like to ...
7
votes
2answers
412 views

Assignment macro

Out of curiosity I wanted to find the limits of TeX regarding macro definitions. Assume there should be an assignment command which assigns the value of an already defined macro to a yet undefined ...
2
votes
1answer
6k views

White spaces around IEEEbiography at IEEE Journal Template

There are four co-author biographies at the end of my paper. There are some white spaces among them. I am trying to get rid of them. Is there a way to do it other than -vspace, because I guess it will ...
3
votes
3answers
949 views

Recommendation for homework use [closed]

I'm re-discovering LaTeX after an absence of 15-17 years. Sadly all my previous skills are gone so I'm starting from scratch. I am taking two grad courses for which I have to submit assignments every ...
5
votes
1answer
597 views

Transcribing pdf into tikz code

How do I convert this PDF from a WASD keyboard layout into tikz code. Is there an automated way to at least extract the key outlines?
5
votes
1answer
141 views

How I can eliminate the date on the top right in a slide?

I use Warsaw theme but the date appear on the top right of each slide. How I can eliminate this date? PREAMBLE \documentclass{beamer} \usetheme{Warsaw} \setbeamertemplate{headline}{} ...
2
votes
1answer
277 views

Altered marginpar conflicts with biblatex citation

Consider the MWE below: \documentclass[10pt,twoside,onecolumn,openright,draft]{memoir} \usepackage{fontspec} \usepackage{filecontents} \usepackage{calc} \usepackage[french]{babel} ...
8
votes
1answer
626 views

Automatic branching for versions and git

I am writing my PhD thesis and as I am not the least chaotic guy I also add notes for future reference. Surely, this means it is not production grade, or how you would like to call it. There is a ...
2
votes
1answer
77 views

cross references different from tableofcontents

I have a document divided into \part \chapter \section and \subsection. I have 3 parts and in each part I reset all the counters. I want that, when I do a crossref to something that is in the 1st ...
4
votes
1answer
3k views

transparency of beamercolorbox and opaqueness of its text

this is a follow up question to How to make partially transparent beamercolorbox The question is that I would like to have a transparent beamercolorbox, but a not transparent text. What should I do? ...
11
votes
1answer
2k views

Customizing biblatex styles using \usebibmacro

I am currently trying to adapt a biblatex style to my needs. I was able to do most tweaks by reading all the answers to similar demands here (such as Suppress "In:" biblatex or Guidelines ...
6
votes
1answer
990 views

Creating a seamless XOR symbol as node

I want to have a XOR node in my TikZ diagram, but couldn't find any available symbol, therefore made one myself, but I am not very happy with it. I used the example from how to draw XOR gate symbol as ...
14
votes
1answer
881 views

How to plot integral as summation, as pictured?

I'm new to TikZ and pgfplots but would like to know how to plot the square as well as how to plot the arrows + delta x as well as arrow + delta A: I'd be most grateful if some of you had some ...
14
votes
2answers
1k views

How do I show the equation formula again instead of its number of ref?

I have an equation: \begin{equation}\label{eq:equation} f(x)=x \end{equation} I would like to refer to this equation and show the whole formula again, and not only its number. In other words, I ...
3
votes
2answers
145 views

What is an appropriate way of plotting a number as a function of year?

I am trying to plot a certain number as a function of year for different entities. In this example, it is the number of missions to the Moon for different agencies per year. What I have come up with ...
4
votes
1answer
185 views

How do I format the document? [closed]

I have a document. This is my code \documentclass[a4paper, 12pt]{article} \usepackage{fouriernc} \usepackage{amsmath,amsfonts,enumerate,tabularx,calrsfs,esvect, multicol} \usepackage{graphics} ...
7
votes
2answers
17k views

Insert figure in a multicol article

I am trying to insert a figure with a caption into a multicol article. When the figure was inserted on its own, it was fine: includegraphics[width=0.5cm]{image} However, when I tried to insert the ...
4
votes
1answer
867 views

variable for color in latex

I am using beamer for writing my presentation. I was initially using latex+dvipdf, then with the help of other tex.exchange users I recognized that I cannot use transparency in this way. So now I am ...
0
votes
0answers
29 views

How to achieve different page Heading and Table of Contents entry? [duplicate]

Possible Duplicate: How can I display a short chapter name in the header and a long chapter name in the ToC? Sometimes the name of a chapter or section is too long and in the headings it ...

15 30 50 per page