Search found 10 matches

by meznaric
Tue Sep 01, 2009 3:03 pm
Forum: XeTeX
Topic: PDF graphics and xelatex
Replies: 9
Views: 18314

Re: PDF graphics and xelatex

Just to update anyone who might be reading this, I have tested the same code in Ubuntu and it works perfectly. It seems that Fedora might have a buggy distribution of TeXLive ...
by meznaric
Tue Aug 25, 2009 4:04 pm
Forum: XeTeX
Topic: PDF graphics and xelatex
Replies: 9
Views: 18314

Re: PDF graphics and xelatex

Yes, I tried that as well and it didn't work any better.

When I first installed xetex I had some problems with mathematical fonts and so I installed the newest fontspec package from CTAN (which fixed the problem). Could this package now be causing the graphics problem? A friend of mine, on Fedora ...
by meznaric
Mon Aug 24, 2009 5:35 pm
Forum: XeTeX
Topic: PDF graphics and xelatex
Replies: 9
Views: 18314

Re: PDF graphics and xelatex

Hmmm, this is really strange. I get no errors or warnings when I compile the file and the result is as attached.

I am using the programme Kile in Linux to compile the above file with the TeXLive distribution that comes with Fedora 10. I had to set up kile manually to use xelatex and here are the ...
by meznaric
Thu Aug 20, 2009 5:42 pm
Forum: XeTeX
Topic: PDF graphics and xelatex
Replies: 9
Views: 18314

PDF graphics and xelatex

Sure, here goes the code:


\documentclass[a4paper, 11pt]{article}

\usepackage{graphicx}
\usepackage[no-math]{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}

\begin{document}

\begin{figure}
\centering
\includegraphics{UsefulEntanglementGraph.pdf}
\caption{The graph showing useful ...
by meznaric
Wed Aug 19, 2009 8:56 pm
Forum: XeTeX
Topic: PDF graphics and xelatex
Replies: 9
Views: 18314

PDF graphics and xelatex

I was wondering why when I include a PDF graphic in the document it simply shows up as empty space whereas in pdflatex it works as expected? Any ideas?
by meznaric
Tue Aug 18, 2009 5:02 pm
Forum: Math & Science
Topic: Changing fleqn option for part of doc only
Replies: 5
Views: 18497

Re: Changing fleqn option for part of doc only

Oh sorry, forgot to mention you need to add \usepackage{nccmath} lol. Then you use it like this:

\begin{fleqn}
Text and stuff.

\begin{align}
Equation aligned left.
\end{align}

Bla bla.

\end{fleqn}

\begin{align}
This equation is aligned like normal again.
\end{align}
by meznaric
Wed Aug 12, 2009 6:07 pm
Forum: Math & Science
Topic: Changing fleqn option for part of doc only
Replies: 5
Views: 18497

Re: Changing fleqn option for part of doc only

Since you are using the amsmath package, you can use the \begin{fleqn} \end{fleqn} environment for all the equations that you want left justified instead of usual. If you have already used the align or equation environment you can easily use a replace function in any of the common text editors and ...
by meznaric
Tue Aug 11, 2009 8:00 pm
Forum: Math & Science
Topic: Resizable \prec and \succ
Replies: 3
Views: 4223

Re: Resizable \prec and \succ

Thanks for the answers. The reason I need to be able to resize \succ and \prec in this way is because I want to use them sort of like parentheses in a special notation. So if I have a fraction inside of these symbols I don't want them to look small - instead I want them to be stretched in the same ...
by meznaric
Mon Aug 10, 2009 7:19 pm
Forum: Math & Science
Topic: Resizable \prec and \succ
Replies: 3
Views: 4223

Resizable \prec and \succ

The symbols \prec and \succ cannot be used with \right and \left commands. However, I would like them to be in some way automatically resizable in the math environments just like the delimiters (like parentheses etc) are. If anybody knows of a piece of code that lets you do this I would be very ...