Search found 23 matches

by nphaibk
Mon Dec 10, 2012 12:18 pm
Forum: BibTeX, biblatex and biber
Topic: Bibliography Database in other Directory than Source
Replies: 2
Views: 10418

Bibliography Database in other Directory than Source

just enter the full path for the bib file

Code: Select all

\bibliography{C:/literature/ref.bib}
or relative path (assume you have:

Code: Select all

C:/MyDocument/PhD/Literature/ref.bib
C:/MyDocument/PhD/Thesis/thesis.tex
then you can write:

Code: Select all

\bibliography{../literature/ref.bib}
in your thesis.tex, it will understand
by nphaibk
Thu Feb 09, 2012 1:39 pm
Forum: Graphics, Figures & Tables
Topic: How to get image size by code (to crop it)
Replies: 1
Views: 6013

How to get image size by code (to crop it)

I found the answer

add a new length command:
\newlength{\imagewidth} % the name can be chosen, e.g. picwidth...
Before using \imagewidth , set the width of image to it by
\settowidth{\imagewidth}{\includegraphics{yourimage}}
When using in calculation, remember to add {} , like this ...
by nphaibk
Thu Feb 09, 2012 12:18 pm
Forum: Graphics, Figures & Tables
Topic: how to crop (trim) half of the picture?
Replies: 1
Views: 7399

Re: how to crop (trim) half of the picture?

I have the same question, but not an answer :(

---------------GOT THE ANSWER-----------
1. add a new length command:
\newlength{\imagewidth} % the name can be chosen, e.g. picwidth...

2. before using \imagewidth, set the width of image to it by:
\settowidth{\imagewidth}{\includegraphics{yourimage ...
by nphaibk
Thu Feb 09, 2012 12:04 pm
Forum: Graphics, Figures & Tables
Topic: How to get image size by code (to crop it)
Replies: 1
Views: 6013

How to get image size by code (to crop it)

I want to crop images (which can be done by the option 'trim = l b r t'). This means I need to know the absolute size (in points or cm or inch ...) to set the parameters for the option 'trim'.

I can look at the image for the real size, but it is not convenient because I have a lot of images. Does ...
by nphaibk
Thu Oct 22, 2009 7:05 pm
Forum: General
Topic: How to make Table captions bold?
Replies: 19
Views: 55852

Re: How to make Table captions bold?

:D it works perfectly
Thank you very much, Thorsten
by nphaibk
Wed Oct 21, 2009 10:10 pm
Forum: General
Topic: How to make Table captions bold?
Replies: 19
Views: 55852

Re: How to make Table captions bold?

Hello, I got the problem again :(

\renewcommand{\figurename}{\bf Figure} works perfectly until I installed Miktex 2.8 and winedt5.6, which makes the whole caption bold. I just want to bold 'Figure <number>'.

I tried \renewcommand{\thefigure}{\bf figure} and it makes bold also the figure number in ...
by nphaibk
Fri May 15, 2009 12:13 pm
Forum: Page Layout
Topic: Line on left border
Replies: 2
Views: 2437

Re: Line on left border

Thanks for your reply, Juanjo!
The pdfcomment does offer bars next to the text. However, the bars should not be longer than 1 page. Thus, it is difficult to apply.

By the way, I found a solution with changebar.sty. It works perfectly for all I need. Bars on left or right, color, thickness... can be ...
by nphaibk
Mon May 11, 2009 11:03 am
Forum: Page Layout
Topic: Line on left border
Replies: 2
Views: 2437

Line on left border

Hi, I need to create a line on left border for some paragraphs in a report. These paragraphs may include figs, tables, formula... and are not continuous. The purpose of the lines is to mark newly-added parts of my report, so that my prof can easily trace them. Thus, other tricks may be ok.

I was ...
by nphaibk
Thu Oct 02, 2008 9:53 am
Forum: General
Topic: include pictures with wrong scale
Replies: 5
Views: 5249

Re: include pictures with wrong scale

Thank you very much.

That's the perfect answer. I knew that I was wrong, not Latex but I did not know what it was.

Hai
by nphaibk
Tue Sep 30, 2008 2:03 pm
Forum: General
Topic: include pictures with wrong scale
Replies: 5
Views: 5249

Re: include pictures with wrong scale

Thanks Thorsten for your reply. Here are the pics and the MWE and the pdf result as well.