4
votes
2answers
3k views

How to create simple graph in latex

How to create simple graph in latex. x,y axis with straight line drawn at (0,0) at 45 degress through the x,y axis. The graphs here are excellent but just too complicated for newcommers. here is ...
9
votes
2answers
491 views

Compiling a 870 mb latex file

I have a tikz file that is 870 mb and I want to compile it using some latex. How can I achieve this? I have tried increasing the amount of main memory to latex to the maximum and it still doesn't ...
0
votes
1answer
927 views

Fix the height of a column

I have several similar slides in beamer. Each slide has 2 parts side by side. On the left hand, there is a tikzpicture in a minipage, it is same for all the slides; On the right hand, there are ...
2
votes
1answer
270 views

\lstinputlisting of a whole java project

I'd like to print the complete source code of my java project, which has multiple .java files in several packages (i.e. folders), many .properties files and many .xml files, and others. I want to use ...
2
votes
1answer
234 views

Creating a box framework for inside the formula enviroment

For a list of things to be used inside the formula enviroment, I want to create boxes stacked over each other. I basically want to write $$ A := "Box with lines like 'A is a number', 'A is bigger ...
1
vote
1answer
661 views

Subscript of bigcap in Beamer [duplicate]

Possible Duplicate: Show inline math as if it were display math I write \bigcap_{0 \leq k \leq n} in Beamer, the subscript 0 \leq k \leq n is shown on the right side of the \bigcap. Does ...
1
vote
1answer
392 views

Correct use of sub-entries with glossaries package

I am writing my thesis and I am including a glossary. I am trying to nest some definitions under a "parent" definition. For example, I first define a mass and then define categorical mass whose parent ...
2
votes
0answers
156 views

Example of the use of :: in XY-pic [closed]

Could someone please provide an example of the use of ::, using sample code and coordinates and showing step-by step the changed content of p, c, origin, xbase, ybase, and any other pertinent ...
9
votes
1answer
1k views

Change colour of boxes surrounding links in hyperref

How can I achieve in the following MWE that the box surrounding the link gets coloured in blue? \documentclass{article} \usepackage{color} \usepackage[linkcolor=blue]{hyperref} \begin{document} ...
1
vote
1answer
156 views

Glossary and picture?

Here my question: what would be the best in order to make a sort of glossary, with picture ? In fact, I've got make tools description, in one hand with text (nothing hard here), and, in the other ...
3
votes
1answer
734 views

DOI in IEEEtran bibliography

The IEEE Citation Reference specifies that a DOI should be provided for electronic articles without page numbers. However, IEEEtran.bst appears to provide no such functionality. What is the best way ...
2
votes
1answer
263 views

LaTeX like Math.SE

I quite like how the Mathematics Stackexchange site's LaTeX looks, and I know that they have a LaTeX functionality by running MathJax on the site. What fonts/packages are available to achieve this ...
5
votes
1answer
373 views

Similar header format for my company

I need to reproduce the following header format: Please help; I'm a completely starter at LaTeX or TeX. I work with LyX and this is included in the document's preamble: \usepackage{fancyhdr} ...
6
votes
3answers
3k views

Break an inline math formula

I have a theorem that looks like this: Now I would like to break the (A....D) math expression. The problem is, that nothing I did from the solution of this answer helped (since probably people will ...
6
votes
1answer
186 views

Manually copy older TeXLive2011 from one Mac to a new Mac

From an earlier question of mine, it was determined that one can not obtain the latest version of older releases (ex. TeXLive2010, TeXLive2011). I am upgrading my Mac and would like to know the ...
2
votes
1answer
543 views

vim type Display for C Code in Latex

Target Display: My Latex Code: % xxxxxxxxxxxxxxxxxxxxxxxxx Code Snippet STARTS xxxxxxxxxxxxxxxxxxxxxx \lstset{ language=C, % choose the language of the code stepnumber=1, ...
0
votes
1answer
185 views

How can I find out how this thesis was TeXed?

This is the thesis in question. I have never seen this style, both with the transparent large numbering in the top right of the page, and the style of \mathbb{}. So I'm wondering how to find this out. ...
5
votes
1answer
1k views

redefine \includegraphics for beamer

I'm using Pandoc to convert from markdown to LaTeX or Beamer. The LaTeX template of Pandoc has nice command so that images are resized to fit the text width but the Beamer output is not. ...
0
votes
1answer
4k views

Bib file does not update in TexMakerX when I build the file

I am using Bib.bib file for all the references. When I use \cite{someref} it works fine for the first time but when I update the Bib.bib file it does not get the updated information, it just show the ...
4
votes
1answer
2k views

Literature in ModernCV

I currently write my CV and I want to include a Bibliography. The following is my header: \documentclass[11pt,a4paper,sans]{moderncv} \usepackage[latin1]{inputenc} \usepackage[ngerman]{babel} ...
11
votes
1answer
970 views

How to force hyperref to reference only \cite and not \citeauthor or \citeyear?

I would like hyperref to make links only when I use \cite and not with \citeyear and \citeauthor. Here is an example : \documentclass{article} \usepackage[numbers]{natbib} \usepackage{hyperref} ...
2
votes
1answer
192 views

Where can I find the official version of MiKTeX to download safely?

I just tried downloading a newer version of MiKTeX from the MiKTeX site and a huge amount of sketchy junk, including shop to win and blekko seemed to come with it, scaring me off. Is this safe? And ...
2
votes
1answer
579 views

Overwriting environment style

How can I change the style of an element in LaTeX ? I would like to do some basic modifications on some environments. For example changing the text size in quotation, margins in verbatim or the line ...
5
votes
1answer
652 views

Center parts in toc with tocloft

I'm trying to create a toc in a large Latex document which uses the KOMA script. In the toc I would like to center the parts and remove all other components (pagenumber, partnumber). I use tocloft (a ...
0
votes
0answers
54 views

How to compose and compile separate .tex files into a single article/book? [duplicate]

Possible Duplicate: How can I divide my book into different project without repeating myself? I want to compose and compile separate .tex files without repeat the preamble in every source ...
5
votes
1answer
170 views

Newenvironment not cursive

I created a new envrionment and it looks good, but I want to distinguish between normalfont and cursive font, so here is my code: \newshadetheorem{beispiele}{Beispiel} ...
5
votes
1answer
807 views

Equations in fancy boxes

I've checked the post here, where the package empheq is used for embedding equations into coloured boxes. With that idea, I wrote in my file the following: % in the preambule \usepackage{empheq} ...
13
votes
2answers
767 views

Is it possible to fill the complement of (A union B union C) with a solid color but the remaining regions remain transparent?

Please ignore the binary numbers. Without finding the intersection points in advance, is it possible to fill the complement of (A union B union C) with a solid color but the remaining regions ...
4
votes
1answer
501 views

\overleftarrow in subfigure caption

This compiles fine. \documentclass{article} \usepackage{subfig} \begin{document} test: $\overleftarrow{a}$ \begin{figure} %\subfloat[Subcaption $\overleftarrow{a}$]{\framebox[3cm]{First}} ...
8
votes
1answer
213 views

Is there a way to manually set the height of a bracket?

I am aware one can change the size of a single bracket to be slightly bigger than the object attached to it using \left\{<object>\right. What I would really like to do though, is to manually ...
2
votes
1answer
290 views

Probem with Bookmarks and Linking and page numbering

I have several problems with my latex book: I want the appendix bookmark as an extra bookmark on part level, now it is under my second part. In the table of content its is right, but not on the pdf ...
17
votes
4answers
2k views

How to generate all possible Venn diagrams (with the case below) efficiently?

I can draw Venn diagrams but now my question is more complicated than just drawing Venn diagrams one by one. I need to draw all possible Venn diagrams efficiently. I need a combinatorical approach ...
6
votes
2answers
897 views

Perpendicular line to two-points-line given the length

I have two points A and B, I call the line consisting of A and B as LAB:ax+by+c=0, I would like to draw a line segment starting from the point B perpendicular to LAB and with length len such that the ...
9
votes
2answers
2k views

Change equation font to Times New Roman?

How would I change equation font in the \begin{equation} environment to Times? For instance, I use this code in LaTeX: \begin{equation} \begin{split} {L_{CML}}\left( \theta \right) ...
2
votes
2answers
692 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
519 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 ...
2
votes
1answer
3k views

In LyX, how do I indent the paragraph right after an 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
233 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 ...
9
votes
2answers
513 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 ...
7
votes
2answers
1k 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
355 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
244 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
785 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
256 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 ...
10
votes
1answer
831 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) ...
7
votes
1answer
3k 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
246 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
267 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 ...
8
votes
2answers
615 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
166 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$ ...

15 30 50 per page