2
votes
2answers
1k views

Problems with theorem/definition/statement numbering

I have theorems, definitions, statements, that look like as follows \section{1} \subsection{1} Theorem 1.1.1 .... Statement 1.1.2 .... Definition 1.1.3.... \subsection{2} Theorem 1.2.1 .... ...
6
votes
1answer
860 views

How to Format C Program Code Block Nicely

I am using the following settings to format my code blocks: % xxxxxxxxxxxxxxxxxxxxxxxxx Code Snippet STARTS xxxxxxxxxxxxxxxxxxxxxx \lstset{ language=C, % choose the language of ...
4
votes
2answers
6k views

In LyX, how do I indent the paragraph right after an lists (itemize/enumerate) environment

See the example above, I want to indent the second paragraph. The generated .tex file is %% LyX 2.0.4 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really ...
5
votes
3answers
472 views

Expanding an argument of code added by \g@addto@macro

I would like to have the following (it's a part of a large code block): \def\C{foobar} \def\A{} \g@addto@macro\A{\B{\C}} Now \show\A outputs \B{\C} I would like to modify the 3rd line so that ...
10
votes
2answers
882 views

More fine grained syntax highlighting in Emacs/AUCTeX

I'm using Emacs with AUCTeX to do all my LaTeX. When it comes to syntax highlighting it seems that all mathematics is by default just orange. Do you know of a mode or package that adds some more fine ...
8
votes
2answers
2k views

Passing argument to \ifnum

\ifnum works fine it it's got two straight numbers. However, when calculation is involved, I get bunch of ! Missing = inserted for \ifnum. errors. Is there any way to solve that problem? ...
3
votes
1answer
817 views

How to vertically center included pdfs?

when I'm trying to fill a poster with multiple (landscape) slides, like this: \documentclass[a0]{sciposter} % Support for PDF inclusion \usepackage[final]{pdfpages} \begin{document} ...
2
votes
1answer
398 views

how to make the line between two tuples longer?

I drawed a picture like a process flow, However, I found the line between two tuples is too short as seen in the following image. How to make the line longer? Here is the code: ...
0
votes
1answer
2k views

references not printing to pdf properly

I've struggled with a new computer and miktex for sometime. I asked this question before and thought I had it resolved (saw a green hyper link box in the pdf and assumed all was good) but did not. ...
9
votes
1answer
411 views

What is best practice for aligning distinct arrays or tables side-by-side?

I have two related tables that could naturally be displayed side-by-side but don't have to be. However, it saves space to display them side-by-side rather than one atop the other. If I do so without ...
15
votes
1answer
2k views

What is the best practice for typesetting set-builder notation with a large number of membership criteria?

That is, I have something akin to the following right now: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} We must have $(a^i,b^i,c^i) \in X^i(d) = \bigg\{(a,b,c) ...
11
votes
1answer
8k views

Paragraph header

I want to include an indented, underlined, upper- and lowercase paragraph heading ending with a period in my document instead of using \subsubsection. Anyone who knows how I can define the command for ...
2
votes
0answers
271 views

Latex Conditional Display of Image [closed]

I have an interesting situation, I am passing a variable into a LaTeX page via smarty & php. I am generating a PHP Quote form to be used by multiple companies, and what changes is just the logo ...
2
votes
1answer
355 views

Combining citations for two different sets of authors with Natbib when they share a common lead author

I use natbib and bibtex. I have 2 different articles as follows: Article 1- Written by authors A, B, C, and D in year 2000. Article 2- Written by authors A, C, E, and G in year 2003. I want to ...
9
votes
2answers
1k views

Can I make all section headings bigger?

I want to make all section headings in LaTeX document bigger by a given scale. For example, I want all of them have 150% of size that they have now. Can I do that somehow? (Ideally using sectsty)
5
votes
1answer
223 views

Fit frame to (flushright) text

I would like the frame to fit the text inside? \documentclass[a4paper]{memoir} \usepackage{mdframed} \begin{document} \begin{flushright} \begin{framed} $\textsc{casregner}$ $(f(x)=g(x),x)|x>0$ ...
7
votes
1answer
597 views

Is there any support for Esperanto in LaTeX?

Is Esperanto supported by LaTeX? And, if so, are there any required packages?
3
votes
1answer
460 views

Appendix pages placement and layout

I use \chapter{Appendix I} to create an Appendix I title however it appears as shown below: Then I use \chapter*{Appendix I} to remove the Chapter 10 part but when I do that the Appendix I no ...
5
votes
1answer
2k views

PaloAlto theme in beamer : logo

In PaloAlto theme, I would like to have the logo on the top right corner instead of the top left corner so that the sidebar begins at the top left. Any Idea ? thanks
2
votes
1answer
426 views

pgfplots: how to check if addplot filters all data

is there an easy way to check if a \addplot(+) table [...] command in PGFPLOTS has any drawn any points? The reason is that I want to process the data dynamically, and if the plot is empty, the legend ...
1
vote
1answer
446 views

gentium as font with pdflatex from texlive 2012 [closed]

How can Gentium be used as default font with pdflatex from TeX Live 2012? Somehow Gentium is included in TeX Live but cannot be accessed with \usepackage{gentium}, see What font packages are installed ...
2
votes
1answer
234 views

Where does MacTeX store fonts in texmf?

Where does MacTeX store fonts in texmf? Specifically, I want to know where it stores XITS and whether or not I have to add it to the fonts list to use XITS with XeTeX.
11
votes
2answers
5k views

Highlight table cells using thick, colored border

I'd like to highlight certain cells of my table. In particular, I'd like to set the border of these sells colored and thick. These cells should also have a background color. Here's a minimal example ...
5
votes
1answer
310 views

Skip given vertical space accross pages if needed

I would like to leave a vertical space of a given length, say 10cm, in my tex document. In fact, I want to leave enough space in a proof environment for the proof to be written at hand once the ...
4
votes
1answer
6k views

Shadow blocks in Beamer

Some beamer themes such as Berlin, Warsaw use shadow environment for theorems, definitions, proofs. How can I get rid of it and have the same look as in CambridgeUS for example?
0
votes
0answers
76 views

How can I use these fonts? [duplicate]

Possible Duplicate: How do I find out what fonts are used in a document/picture? How can I use these fonts? Is the text font the font Palatino also used in classcthesis? And what is the ...
8
votes
2answers
3k views

Make tikzpicture white on black

I have a simple gantt chart made using tikzpicture. How can I invert the whole thing so it is white on black? If I change the node lines to node[anchor=north west, text=white, fill=black] then this ...
4
votes
2answers
608 views

Customize \ answerline in Exam class

I would like to create a quiz item that resembles this example: ____ 1. (p. 63) In a grouped frequency distribution, the mode falls in the most frequently occurring class interval, more ...
7
votes
1answer
2k views

Space before chapters titles in ClassicThesis

I want to add some space before the chapters titles in classicthesis to get an effect like this thesis so I have modified the classicthesis.sty in this manner: % chapters ...
10
votes
2answers
5k views

Rotate entire tikzpicture without using graphics.sty

This question is related to the one here. The question is given in the following text. \documentclass{article} \usepackage{tikz} \usetikzlibrary{mindmap,arrows} \usepackage{graphicx} \tikzset{ ...
9
votes
1answer
4k views

Modification of Beamer theme

I would like to modify this theme. \documentclass{beamer} \DeclareOptionBeamer{compress}{\beamer@compresstrue} \ProcessOptionsBeamer \mode<presentation> ...
3
votes
0answers
4k views

Latex Error “log file not found” [closed]

Same problem as Rachelle's of Aug. 11: I am using TeXMaker with MikTeX on Windows 7. Had to reinstall MikTeX. Previous programs work fine on the new installation. New ones I write, don't. The error ...
4
votes
3answers
702 views

Dropped column in multicolumn table

In a table with 4 rows and 4 columns I try to merge different cells in every row while preserving the table layout. As there are never more than 3 cells in a row, a table column seems to be dropped. ...
6
votes
1answer
418 views

Draw a rectangle hiding an area of a picture

I have something drawn as a tikzpicture: \begin{tikzpicture} \node[above] at (8,13) {$...$}; \filldraw[fill=white!20] (2,0) rectangle (6,12); \draw (2,4) -- (2,12); \draw (2,12) -- (6,12); ...
0
votes
0answers
54 views

Item in PaloAlto theme Beamer [duplicate]

Possible Duplicate: beamer: change individual bullet color for pros and cons list I would like to change the color of bullets in the PaloAlto Theme. I tried : \setbeamercolor{itemize ...
5
votes
1answer
17k views

Fix the height/length of a minipage

I have 2 columns in 1 slide. On the left hand, it is a tabbing inside a minipage in a framed. Some sentences are shown one by one by overlay, that results in the height/length of the whole minipage ...
5
votes
1answer
1k views

How to add decorations to tikz-qtree branches (for example, create AND-branches and OR-branches)?

Suppose I want to show the expression a IF b OR c b IF d AND e c IF f OR g as a tree, using tikz-qtree. I'd want to do something like this: \documentclass{article} \usepackage{tikz-qtree} ...
16
votes
2answers
19k views

Beamer: Pausing before the first item in itemize[<+->]

In Beamer, \begin{itemize}[<+->] causes items to appear one-by-one. However, item 1 is visible starting from the first slide itself. Is there a way to insert a pause before the first item too? ...
1
vote
1answer
865 views

Override global page style? [duplicate]

Possible Duplicate: Change paper size in mid-document How can I use default \documentclass[a4paper] styles in Title page, index pages, header and footer - but the text itself as if I ...
1
vote
0answers
73 views

Adding Text to Caption via Style File [closed]

I am trying to add text to a caption via a sty file. With the following code: \ifthenelse{\equal{#1}{caption}}{% {Sample Tex \\ Added Here} }{}% The style file will add "Sample TexAdded Here" ...
8
votes
1answer
191 views

What's the relation between NbibTeX and biblatex/biber?

Both projects want to replace BibTeX in a way but with different goals. Searching for both search terms at the same time is a rather frustrating experience. Is there any mutual recognition at all? Can ...
0
votes
3answers
2k views

phvr7t cannot be found despite having installed psnfss

I wish to use the Helvetica package. I installed the psnfss package with tlmgr (and in a fit of desperation other font-related packages, such as times and ae). However, I still do not have any phvr7t ...
3
votes
1answer
992 views

Parallel overlays in Beamer

I have 2 columns of blocks side by side in 1 slide: \begin{columns} \begin{column}{0.48\textwidth} \begin{block}{left block 1} left block 1 \end{block} \begin{block}{left block 2} ...
2
votes
1answer
168 views

How to add text to beginning of body via sty file

This is my first post here. I can usually find what I'm looking for using questions other people have asked, but this time I'm stumped. Please can anyone help? I am very new to Latex. I am trying to ...
16
votes
1answer
20k views

How do I get normal-sized fractions in my matrices?

I would like to write something like the definition of a gradient operator in cartesian coordinates. \usepackage{amsmath} \begin{equation} \nabla \Phi = \begin{pmatrix} \frac{\partial ...
4
votes
1answer
591 views

\citeyear{} omits trailing character for citations from same date

Bug in biblatex Well, I have this document: \documentclass[11pt]{scrreprt} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
3
votes
3answers
6k views

Using \Letter symbol in ifsym package

Here is what I did: I downloaded ifsym package from MiKTeX Package Manager. (MPM) I added the line to my .tex file: \usepackage{ifsym} I tried typing \Letter in the document. but it doesn't ...
6
votes
1answer
10k views

Overlay of blocks in Beamer

I have several blocks in a slide: \begin{block}{block 1} block 1 \end{block} \begin{block}{block 2} block 2 \end{block} \begin{block}{block 2} block 2 \end{block} Does anyone know how to ...
2
votes
0answers
424 views

How to add numbering to author-year bibliography / how to modify .bst style [closed]

I would like to to get the Bibliography list in the form of: [1] Author. (Year). Title. Journal Volume: PageFrom-PageTo I think it might be sufficient to slightly modify (if such a style already ...
4
votes
1answer
398 views

Strange interaction between amsmath and setspace

Compiling the MWE below, you will observe in the output the following phenomenon (you may have to zoom in): Comment amsmath out. Then, the spacing beteen lines is such that the subindex of the ...

15 30 50 per page