Search found 192 matches

by php1ic
Mon Nov 29, 2010 5:40 pm
Forum: Math & Science
Topic: how to lay the supscript exactly on the top of the symbol
Replies: 3
Views: 2582

how to lay the supscript exactly on the top of the symbol

Use a combination of \overset and \underset which are provided by amsmath

Code: Select all

\documentclass[a4paper,11pt]{article}

\usepackage{amsmath}

\begin{document}

\[
\overset{N}{\underset{1}{\times}} \{0,1\}
\]

\end{document}
by php1ic
Mon Nov 29, 2010 5:32 pm
Forum: Graphics, Figures & Tables
Topic: pdflatex wont import png files
Replies: 4
Views: 2692

Re: pdflatex wont import png files

Glad to help, I'm not going to comment on you second sentence :D
by php1ic
Mon Nov 29, 2010 1:43 pm
Forum: Graphics, Figures & Tables
Topic: pdflatex wont import png files
Replies: 4
Views: 2692

Re: pdflatex wont import png files

Sounds like you are using the 'draft' option somewhere in your document.

Read this link
http://www.latex-community.org/forum/vi ... =37&t=7878

Random bits of code are useless and make it very difficukt for people to help.
by php1ic
Mon Nov 15, 2010 7:42 pm
Forum: Text Formatting
Topic: Highlighting text
Replies: 1
Views: 17484

Highlighting text

Looks like each word is created and positioned individually with the background colour. The "f" character is too wide so is covered by the background of the next word.

Add a small space to words that end with an "f"
\documentclass{article}
\usepackage{color,soul}
\definecolor{lightgray}{gray}{0.85 ...
by php1ic
Mon Nov 15, 2010 7:30 pm
Forum: Graphics, Figures & Tables
Topic: GNUMERIC Tables: Issues
Replies: 2
Views: 2976

GNUMERIC Tables: Issues

A table is a float like a figure so you need to have a \begin{table}..\end{table} somewhere for it to appear in the \listoftables. What does Table1A.tex contain, only a tabular environment?

You could try

Code: Select all

\begin{table}[thb]
\input{Chapter1/Chapter1Tables/Table1A.tex}
\end{table}
by php1ic
Mon Nov 15, 2010 7:25 pm
Forum: Graphics, Figures & Tables
Topic: Gnuplot Histogram, color problem in latex
Replies: 1
Views: 2618

Gnuplot Histogram, color problem in latex

We need more information. From your other gnuplot related post, you use the latex terminal, do you use the colour option?

Can you post an example of how you create the histogram (the gnuplot commands), a minimal working example (MWE) and either the file 'data.dat' or a small amount of it so we can ...
by php1ic
Thu Nov 11, 2010 1:57 pm
Forum: Graphics, Figures & Tables
Topic: Gnuplot + subfigure
Replies: 3
Views: 3867

Gnuplot + subfigure

You could use gnuplot to create the subfigures

Code: Select all

set multiplot
set size 0.5,1
set origin 0,0
plot x**2
set origin 0.5,0
plot x**3
unset multiplot
Then you can include the output in latex like a single figure.
by php1ic
Mon Nov 01, 2010 2:55 pm
Forum: General
Topic: How to vertically center an equation in a merged row?
Replies: 2
Views: 5237

How to vertically center an equation in a merged row?

I think the formula in your MWE is vertically centered over 3 standard rows. By expanding the height with \parbox the alignment is lost.

Try changing the distance between rows to get vertical alignment

\documentclass{article}
\usepackage{multirow,longtable,array}

\begin{document}

\renewcommand ...
by php1ic
Mon Oct 11, 2010 12:42 am
Forum: General
Topic: batch replace text?
Replies: 1
Views: 1893

Re: batch replace text?

Are you on a windows or linux/unix system?

If linux/unix the command 'sed', combined with a basic script will allow you to do what you want. Windows, I don't know.
by php1ic
Sat Sep 25, 2010 2:52 pm
Forum: Math & Science
Topic: unequal superscript heights
Replies: 5
Views: 4674

Re: unequal superscript heights

Thanks for the responses, I've dropped the automatic adjustment of the parentheses to get everything aligned.

I'll definitely remember the \mathstrut for the future.

Thanks again.