2
votes
1answer
277 views

LyX forbids horizontal centering of tables inside a theorem environment!

How can I center a table in a, say, theorem environment in LyX ? When I have a centered table in the standart LR-mode writing mode everythings ok. But when I select the whole table and try to turn it ...
12
votes
1answer
5k views

Output Filename

I'm using texmaker and PdfLaTeX. With the exception of changing the .tex filename, does anyone know how to modify the output file name based on a parameter? I am aware that the following line... %&...
9
votes
1answer
653 views

Write the value of enumerate to output file

I would like to save the present value of an enumeration into an output file. Using information from another question I have the following minimal example: \documentclass{article} \newcommand{\...
6
votes
1answer
336 views

Setup for producing multiple documents based on the same source file [duplicate]

Possible Duplicate: Guide to managing multiple resume with one LaTeX? I would like to make a combined résumé & CV document class that can be used to generate two documents with some ...
8
votes
1answer
694 views

Is there an biblatex equivalent to natbib's citealp command?

Currently I'm trying out biblatex but not entirely committed, so I've declared a few aliases in my preamble (which I can comment out if I compile in bibtex): \newcommand{\citep}{\autocite} \...
6
votes
1answer
5k views

How to change fonts

I'm sure this is a newbie question, but I can't figure this out. I have tried to follow the advice here: http://en.wikibooks.org/wiki/LaTeX/Fonts and here: http://www.cl.cam.ac.uk/~rf10/pstex/...
3
votes
1answer
2k views

How to encoding of Lyx LaTeX output without Lyx adding inputenc declaration to preamble

I want to specify encoding that is used by Lyx when it generates LaTeX source for preview or export. That is not a big problem Document->Settings->Language->Encoding->Other->Select encoding from combo ...
8
votes
1answer
216 views

Back references for shorthandlist

I am using biblatex for writing my thesis and it works generally fine. Now I want to put back references to my bibliography. However, after putting the option into the preamble, the back references ...
9
votes
2answers
380 views

Rounded corners as a tangent in the right direction

I want to split a path into two branches as in the following MWE. \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \node (A) [rectangle] {...
10
votes
1answer
4k views

Beamer miniframes: side-by-side section names and navigation dots

I'm using the beamer miniframes outer theme (with subsection=false). Currently the navigation shows navigation dots below each section name. I would prefer it if the dots came to the right the ...
5
votes
1answer
127 views

Using page counter in \newtheorem

I would like to use the page counter as a the first part of the label for definitions. I tried \newtheorem{definition}{Definition}[page] but that wouldn't work if the definition is at the top of a ...
11
votes
2answers
2k views

Center caption in listing

I want to put the caption of my listing in the center but I can't do that. Do you have any idea how I could achieve this? The code: \documentclass{report} \usepackage{color} \usepackage{xcolor} \...
6
votes
1answer
377 views

Footer Suppression

I'm wondering if it's possible to suppress footers if the page has a footnote, but display the footer as normal otherwise. To be specific, I'm reproducing an old book which uses catchwords for pages ...
3
votes
1answer
450 views

Print section number with moderncv

Using moderncv, I want to print the section number before the section name. Does anyone know how to do it?
4
votes
1answer
4k views

Option clash for package inputenc when using Lyx with LaTeX class that already uses inputenc

I use Lyx to edit document whose class declares \usepackage[latin2]{inputenc} in its .cls file. While I only use languages for which Lyx uses the same encoding it only adds the same command (\...
6
votes
1answer
330 views

\expandafter usage and plain TeX programming

Hello everybody out there using TeX, Actually, I wanted to write a LaTeX macro in plain TeX in order to include source code examples with individual modifications like stripping off comments and the ...
13
votes
1answer
4k views

Problem with multicolumn color tables

edition might be grateful since i don´t know how to name this problem. English is not my native idioms. Also I don't know how to interpret this problem as well on so apologies in advance. I am ...
18
votes
2answers
7k views

Remove the qed symbol of only a proof environment, not everyone else

I have seen several posts on how to remove the qed symbol in a proof, but that affects all proof environments. I would like to know how to remove the qed symbol in a particular proof because I have a ...
12
votes
3answers
22k views

Working with Bib files in Word/LibreOffice

I've a huge database of books in .bib files. Are there any ways to import this database into Microsoft Word, Open Office, Libre Office etc.?
21
votes
1answer
3k views

Mindmap with Tikz

I created a mindmap according to this example: http://www.texample.net/tikz/examples/computer-science-mindmap/ Sometimes the branches contain too much information so that the map looks ugly like in ...
2
votes
0answers
1k views

Latex would not set because it fall over things like \begin{document} and other thing [closed]

I can't set my latex document. it stuck at l.22 \begin{document}. When i type H in the type area under the controle output, it says: I suspect you have forgotten a }, causing me to read past it when ...
9
votes
1answer
2k views

Why do the output fonts of Latex often appear fuzzy? [duplicate]

Possible Duplicate: Why are Bitmap-Fonts used automatically? When I look at the output of my LaTeX files, the fonts appear markedly more blurry than standard computer output. Why is this? Is ...
7
votes
0answers
6k views

File expl3.sty not found when trying to compile a *.tex file with XeLaTeX [closed]

I've installed XeTeX to my Fedora 17 recently (before that, I was using pdfLaTeX). The main reason for switching to XeTeX was the polyglossia package I'd like to make use of. Unfortunately, whenever ...
5
votes
1answer
186 views

Linenumbering per page with XePersian and the traditionalpoem environment

I’m editing an Arabic poem with XePersian and the traditionalpoem environment which works fine so far, but I have some questions regarding the line numbers and the paragraph footnotes. (1) I would ...
7
votes
1answer
182 views

Alignment in Rotated Text

Does anyone have a workaround to this problem? I am working on my CV, and want to use some rotated text to improve the presentation. Here is a MWE. \documentclass[10pt]{article} \usepackage[a4paper,...
8
votes
3answers
674 views

How to do such a figure in pgf

I am new to latex and pgf/tikz. My supervisor asked me to create such a figure below in pgf. I don't know where to begin. Could anybody help/lead me on this please?
5
votes
1answer
1k views

Row colored with alternatingly with \taburowcolors is pink

I'm making a table with tabu having alternating row color, but I'm getting a pink row, which is not a color that I defined. The code: \definecolor{lightb}{RGB}{217,224,250} \begin{table} \begin{...
2
votes
1answer
1k views

Middle height dot like `\vdots`

I am trying to make actually a "\vdot" instead of \vdots. What I am trying to achieve is something like that I tried \vdot(within $$) in the sence of \cdots and \cdot but it's not recognised as a ...
7
votes
2answers
145 views

Match number sign inside plain TeX loop

In order to strip comments from code I would like to input from a file into TeX, I am using the following loop \documentclass{article} \def\getfirst#1#2\relax{#1} \begin{document} \openin1=mysrcfile....
3
votes
1answer
2k views

XeTeX/mathspec math environment font

How does one set the font for text inside a math environment? If I use \setmathsfont(Latin){FontName}, I can change the font for individual letters in the math environment, but not for functions such ...
5
votes
2answers
865 views

Stop listings going over page breaks

I am using Pandoc to generate Tex from Markdown. It automatically generates listings when it comes across the appropriate Markdown (code indented four spaces). It then uses the listings package to ...
10
votes
1answer
2k views

fancyhdr not centering after changed geometry

I have a document with different page margins, so I have to change geometry settings after fancyhdr loaded. However, the width of header after geometry is not correct. \documentclass[12pt]{article} \...
8
votes
1answer
777 views

Translating custom \section format to titlesec

I have some custom \section formatting with a horizontal rule, and I'm trying to DRY out my code by using titlesec to define default formatting options. But I can't exactly reproduce what happens when ...
6
votes
1answer
7k views

Alternative to \text inside an align environment

Is there a way to write texts without resorting to using the \text macro every time I write something in the align enviroment? I am trying to write a proof and pretty much 90% requires me to write ...
4
votes
1answer
200 views

How can I justify without making a new line in mdframed?

\begin{mdframed}[backgroundcolor=green] \textbf{Theorem:} \begin{center} A set $E$ is {\bf open} $\iff E^c$ is {\bf closed} \end{center} \centerline{or equivalently,} \centerline{...
8
votes
0answers
745 views

Problem randomizing answers in eqexam [closed]

I'm trying to use the eqexam package to randomize answers to multiple choice questions in an exam. The package works without options, but when I include the allowrandomize option needed for this ...
8
votes
1answer
167 views

How to avoid logo on beamer been covered by graphics

While using Beamer I found that when I add figures, if they are big enough they will cover the logo on the bottom-right. How can I define the logo to be on top of every image? The solution I am using ...
6
votes
1answer
379 views

Using Sweave and XeLaTeX

I'm doing a report that is heavy in R but also would like to use system fonts, so I was hoping to be able to use Sweave and XeLaTeX. My preferred tex editor is TexShop (Mac 10.7), but it seems to ...
9
votes
1answer
161 views

Does \today use the system clock or take time off of a time server?

I would like to know whether \today gets time off of a time server or the system clock, and when. Does it get the time when compiling? Upon viewing the document created?
6
votes
1answer
956 views

Indent only first line in multi-line subsection header

I'm requested that my subsection titles look like this: However, so far I didn't manage to achieve that. titlesec documentation didn't help much. The best I could get is something like this: ...
7
votes
1answer
576 views

Custom style for \listplot or \dataplot

Is it possible to make custom style for \listplot and friends? By default they support only plotstyle=curve, line, bezier, and I need to use bspline from pst-bspline package. \documentclass[a4paper,...
12
votes
2answers
240 views

How to define an environment that begins with a node?

Please see the following definition: \tikzstyle{boxStyle} = [draw=blue!80, fill=blue!9, very thick, rectangle, rounded corners=3mm, inner sep=10pt, inner ysep=15pt] \tikzstyle{...
4
votes
1answer
849 views

Bar overlapping in bar plot

I created this graph using pgfplots: As you can see, the bars overlap near 0. How can I solve the problem? MWE \documentclass[12pt,a4paper,twoside,openright]{book} \usepackage{tikz} \...
5
votes
2answers
154 views

How to reference the most recently used multiply-defined label

I want to be able to do something like the following: \incmycounter{abc} %% counter value initialized to 0; associated with label 'abc' \incmycounter{def} %% counter value initialized to 0; ...
4
votes
0answers
452 views

Create bar graph wider [closed]

I created a bar graph using pgfplot and option ybar. I would get a graph wider. I used width option \documentclass[12pt,a4paper,twoside,openright]{book} \usepackage{tikz} \usetikzlibrary{positioning}...
3
votes
3answers
160 views

Distance between related, but separate math terms

Say I have two equations that I would like to have in display math, a_1 = 1 and a_2 = 2. If I just put them like this, they do not look separated enough: \[ a_1 = 1, a_2 = 2 \] I usually use ,\quad ...
3
votes
1answer
116 views

Image displays until it's wrapped by {figure}

I have the following code which works and adds an image to my document \includegraphics[scale=0.71]{ed.jpg} However when I try to turn it into a figure \begin{figure}[t] \caption{A nice ...
3
votes
0answers
54 views

Dynamic (sub)sections? [duplicate]

Possible Duplicate: Create context sensitive headings I am working on a rather large document, where the final structure is not quite clear. As another dozen people are working on it, we ...
1
vote
0answers
47 views

Hiding Bookmarks in PDFLaTeX [duplicate]

Possible Duplicate: How to disable initial view of PDF bookmarks panel? I would like to hide bookmarks in my pdf which are appearing at left side of the PDF like chapters. I'm using \...
6
votes
1answer
317 views

Breaking equation in align enviroment to put textwidth matrix in separate line

I have to put a textwidth pmatrix into an align environment. When using split, it destroys the centered alignment of the other equation. Pseudocode: \begin{align} \vec{a} &= \vec{b} + \vec{c} \\...

15 30 50 per page