Graphics, Figures & TablesWhitespace frame problem

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
stationww
Posts: 5
Joined: Tue Mar 10, 2015 12:16 am

Whitespace frame problem

Post by stationww »

I have the following code:

Code: Select all

\begin{figure}[!ht]
\centering
\setlength\fboxsep{0pt}
\setlength{\fboxrule}{1pt}
\frame{\includegraphics[scale=1.2]{xx.jpg}}
\end{figure}\par
But borders show up like the attachment. Not over and left. Not at the exact edge of the image.

What am I doing wrong?
Attachments
xx.jpg
xx.jpg (65.97 KiB) Viewed 6100 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

Whitespace frame problem

Post by Stefan Kottwitz »

Welcome to the forum!

I think your image has already some white margin. Or there are settings in your code which you did not show us yet. Perhaps post a Infominimal working example.

Try this and have a look - no whitespace below or above the demo image and no whitespace at the left of the right - I inserted text to distinguish the frame from the image.

Code: Select all

\documentclass{article} 
\usepackage[demo]{graphicx} 
\begin{document} 
\begin{figure}[!ht]
\centering
\frame{Here:\includegraphics[scale=1.2]{xx.jpg}End}
\end{figure}\par
\end{document}
image-frame.png
image-frame.png (5.45 KiB) Viewed 6087 times
Stefan
LaTeX.org admin
stationww
Posts: 5
Joined: Tue Mar 10, 2015 12:16 am

Re: Whitespace frame problem

Post by stationww »

Thanks for the answer,

the problem though is not only the whitespace but that the frame's line don't attach at the edge of the image.

With your code the problem still exists. See the attached image.
Attachments
xx.png
xx.png (153.58 KiB) Viewed 6080 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

Re: Whitespace frame problem

Post by Stefan Kottwitz »

Hm, you could post the image itself as attachment (instead of a screenshot of the output), if you like. So I could test with that image directly.

Stefan
LaTeX.org admin
stationww
Posts: 5
Joined: Tue Mar 10, 2015 12:16 am

Re: Whitespace frame problem

Post by stationww »

here it is, but i don't think that the problem is in the picture..
Attachments
66.jpg
66.jpg (92.73 KiB) Viewed 6070 times
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Whitespace frame problem

Post by Johannes_B »

Can you copy that picture in an extra folder, rename it and fit stefans example to the new filename. Also remove the demo option.

What example do you get? Can you show us the log-file? Your image with Stefans code gives the expected output on my machine.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
stationww
Posts: 5
Joined: Tue Mar 10, 2015 12:16 am

Whitespace frame problem

Post by stationww »

The code:

Code: Select all

\documentclass[12pt,a4paper,twoside]{book}


\usepackage{xltxtra}
\usepackage{xgreek}


\setsansfont{Arial}
\setmonofont{Courier New}
\setmainfont[Mapping=tex-text]{Times New Roman}
\linespread{1}


\usepackage[margin=0.8in]{geometry}


\usepackage{graphicx}
\usepackage{float}


\setlength{\parindent}{3em}
\setlength{\parskip}{0.5em}


\pagestyle{plain}


\usepackage{amsmath}
\numberwithin{equation}{section}
\usepackage{listings}
\usepackage[titles]{tocloft}
\cftsetindents{figure}{0em}{3.5em}
\cftsetindents{table}{0em}{3.5em}

\begin{document}
aaaa\par
\begin{figure}[!ht]
\centering
\frame{Here:\includegraphics[scale=4]{66.jpg}End}
\end{figure}
aaaa
\begin{figure}[!ht]
\centering
\fbox{\includegraphics[scale=4]{66.jpg}}
\end{figure}
\end{document}
The log file:

Code: Select all

LOG FILE :
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (MiKTeX 2.9 64-bit) (preloaded format=xelatex 2014.11.9) 11 MAR 2015 07:34
entering extended mode
**ww.tex
(C:\Users\Xaluvas\Desktop\par\ww.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2013-05-26, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2013-05-26, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\book.cls"
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\bk12.clo"
File: bk12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
Requested font "cmr12" at 12.0pt
)
\c@part=\count80
\c@chapter=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\c@figure=\count87
\c@table=\count88
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.9\tex\latex\xltxtra\xltxtra.sty"
Package: xltxtra 2010/09/20 v0.5e Improvements for the "XeLaTeX" format
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty"
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
("C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty"
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec.sty"
Package: fontspec 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\expl3.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3names.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3bootstrap.sty"
Package: l3bootstrap 2014/01/04 v4640 L3 Experimental bootstrap code
)
Package: l3names 2014/01/04 v4640 L3 Namespace for primitives
)
("C:\Program Files\MiKTeX 2.9\tex\latex\misc\etex.sty"
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count89
)
Package: expl3 2014/01/07 v4646 L3 Experimental code bundle wrapper
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3basics.sty"
Package: l3basics 2014/01/04 v4642 L3 Basic definitions
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3expan.sty"
Package: l3expan 2014/01/04 v4642 L3 Argument expansion
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3tl.sty"
Package: l3tl 2013/12/27 v4625 L3 Token lists
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3seq.sty"
Package: l3seq 2013/12/14 v4623 L3 Sequences and stacks
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3int.sty"
Package: l3int 2013/08/02 v4583 L3 Integers
\c_max_int=\count90
\l_tmpa_int=\count91
\l_tmpb_int=\count92
\g_tmpa_int=\count93
\g_tmpb_int=\count94
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3quark.sty"
Package: l3quark 2013/12/14 v4623 L3 Quarks
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3prg.sty"
Package: l3prg 2014/01/04 v4642 L3 Control structures
\g__prg_map_int=\count95
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3clist.sty"
Package: l3clist 2013/07/28 v4581 L3 Comma separated lists
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3token.sty"
Package: l3token 2013/08/25 v4587 L3 Experimental token manipulation
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3prop.sty"
Package: l3prop 2013/12/14 v4623 L3 Property lists
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3msg.sty"
Package: l3msg 2013/07/28 v4581 L3 Messages
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3file.sty"
Package: l3file 2013/10/13 v4596 L3 File and I/O operations
\l_iow_line_count_int=\count96
\l__iow_target_count_int=\count97
\l__iow_current_line_int=\count98
\l__iow_current_word_int=\count99
\l__iow_current_indentation_int=\count100
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3skip.sty"
Package: l3skip 2013/07/28 v4581 L3 Dimensions and skips
\c_zero_dim=\dimen103
\c_max_dim=\dimen104
\l_tmpa_dim=\dimen105
\l_tmpb_dim=\dimen106
\g_tmpa_dim=\dimen107
\g_tmpb_dim=\dimen108
\c_zero_skip=\skip43
\c_max_skip=\skip44
\l_tmpa_skip=\skip45
\l_tmpb_skip=\skip46
\g_tmpa_skip=\skip47
\g_tmpb_skip=\skip48
\c_zero_muskip=\muskip10
\c_max_muskip=\muskip11
\l_tmpa_muskip=\muskip12
\l_tmpb_muskip=\muskip13
\g_tmpa_muskip=\muskip14
\g_tmpb_muskip=\muskip15
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3keys.sty"
Package: l3keys 2013/12/08 v4614 L3 Experimental key-value interfaces
\g__keyval_level_int=\count101
\l_keys_choice_int=\count102
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3fp.sty"
Package: l3fp 2014/01/04 v4642 L3 Floating points
\c__fp_leading_shift_int=\count103
\c__fp_middle_shift_int=\count104
\c__fp_trailing_shift_int=\count105
\c__fp_big_leading_shift_int=\count106
\c__fp_big_middle_shift_int=\count107
\c__fp_big_trailing_shift_int=\count108
\c__fp_Bigg_leading_shift_int=\count109
\c__fp_Bigg_middle_shift_int=\count110
\c__fp_Bigg_trailing_shift_int=\count111
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3box.sty"
Package: l3box 2013/07/28 v4581 L3 Experimental boxes
\c_empty_box=\box26
\l_tmpa_box=\box27
\l_tmpb_box=\box28
\g_tmpa_box=\box29
\g_tmpb_box=\box30
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3coffins.sty"
Package: l3coffins 2013/12/14 v4624 L3 Coffin code layer
\l__coffin_internal_box=\box31
\l__coffin_internal_dim=\dimen109
\l__coffin_offset_x_dim=\dimen110
\l__coffin_offset_y_dim=\dimen111
\l__coffin_x_dim=\dimen112
\l__coffin_y_dim=\dimen113
\l__coffin_x_prime_dim=\dimen114
\l__coffin_y_prime_dim=\dimen115
\c_empty_coffin=\box32
\l__coffin_aligned_coffin=\box33
\l__coffin_aligned_internal_coffin=\box34
\l_tmpa_coffin=\box35
\l_tmpb_coffin=\box36
\l__coffin_display_coffin=\box37
\l__coffin_display_coord_coffin=\box38
\l__coffin_display_pole_coffin=\box39
\l__coffin_display_offset_dim=\dimen116
\l__coffin_display_x_dim=\dimen117
\l__coffin_display_y_dim=\dimen118
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3color.sty"
Package: l3color 2012/08/29 v4156 L3 Experimental color support
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3luatex.sty"
Package: l3luatex 2013/07/28 v4581 L3 Experimental LuaTeX-specific functions
\g__cctab_allocate_int=\count112
\g__cctab_stack_int=\count113
)
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3candidates.sty"
Package: l3candidates 2014/01/06 v4643 L3 Experimental additions to l3kernel
\l__box_top_dim=\dimen119
\l__box_bottom_dim=\dimen120
\l__box_left_dim=\dimen121
\l__box_right_dim=\dimen122
\l__box_top_new_dim=\dimen123
\l__box_bottom_new_dim=\dimen124
\l__box_left_new_dim=\dimen125
\l__box_right_new_dim=\dimen126
\l__box_internal_box=\box40
\l__coffin_bounding_shift_dim=\dimen127
\l__coffin_left_corner_dim=\dimen128
\l__coffin_right_corner_dim=\dimen129
\l__coffin_bottom_corner_dim=\dimen130
\l__coffin_top_corner_dim=\dimen131
\l__coffin_scaled_total_height_dim=\dimen132
\l__coffin_scaled_width_dim=\dimen133
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is not detected.
))
("C:\Program Files\MiKTeX 2.9\tex\latex\l3packages\xparse\xparse.sty"
Package: xparse 2013/12/31 v4634 L3 Experimental document command parser
\l__xparse_current_arg_int=\count114
\l__xparse_m_args_int=\count115
\l__xparse_mandatory_args_int=\count116
\l__xparse_processor_int=\count117
\l__xparse_v_nesting_int=\count118
)
\l_fontspec_script_int=\count119
\l_fontspec_language_int=\count120
\l_fontspec_strnum_int=\count121
\l_fontspec_tmpa_dim=\dimen134
\l_fontspec_tmpb_dim=\dimen135
\l_fontspec_tmpc_dim=\dimen136
Variant \tl_gset:cV already defined; not changing it on line 69
("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec-patches.sty"
Package: fontspec-patches 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLa
TeX
("C:\Program Files\MiKTeX 2.9\tex\latex\base\fixltx2e.sty"
Package: fixltx2e 2006/09/13 v1.1m fixes to LaTeX
LaTeX Info: Redefining \em on input line 420.
)
LaTeX Info: Redefining \em on input line 22.
LaTeX Info: Redefining \emph on input line 30.
LaTeX Info: Redefining \- on input line 33.
*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \oldstylenums with arg. spec. 'm' on line 128.
*************************************************
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \liningnums with arg. spec. 'm' on line 132.
.................................................
) ("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec-xetex.sty"
Package: fontspec-xetex 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTe
X
("C:\Program Files\MiKTeX 2.9\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
("C:\Program Files\MiKTeX 2.9\tex\latex\euenc\eu1enc.def"
File: eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
)
LaTeX Font Info: Try loading font information for EU1+lmr on input line 100.
("C:\Program Files\MiKTeX 2.9\tex\latex\euenc\eu1lmr.fd"
File: eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
Requested font "[lmroman10-regular]:mapping=tex-text" at 10.0pt
-> C:/Program Files/MiKTeX 2.9/fonts/opentype/public/lm/lmroman10-regular.otf
)
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xunicode\xunicode.sty"
File: xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many
other characters in Unicode lower plane
("C:\Program Files\MiKTeX 2.9\tex\latex\tipa\t3enc.def"
File: t3enc.def 2001/12/31 T3 encoding
Requested font "[lmromanslant10-regular]:mapping=tex-text" at 10.0pt
-> C:/Program Files/MiKTeX 2.9/fonts/opentype/public/lm/lmromanslant10-regular
.otf
Requested font "[lmroman10-italic]:mapping=tex-text" at 10.0pt
-> C:/Program Files/MiKTeX 2.9/fonts/opentype/public/lm/lmroman10-italic.otf
Requested font "[lmroman10-bold]:mapping=tex-text" at 10.0pt
-> C:/Program Files/MiKTeX 2.9/fonts/opentype/public/lm/lmroman10-bold.otf
LaTeX Font Info: Try loading font information for EU1+lmss on input line 357
.
("C:\Program Files\MiKTeX 2.9\tex\latex\euenc\eu1lmss.fd"
File: eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
Requested font "[lmsans10-regular]:mapping=tex-text" at 10.0pt
-> C:/Program Files/MiKTeX 2.9/fonts/opentype/public/lm/lmsans10-regular.otf
)
\tipaTiiicode=\count122
\tipasavetokens=\toks14
\tipachecktokens=\toks15
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks16
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg"
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: xetex.def on input line 91.
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xetex-def\xetex.def"
File: xetex.def 2013/04/29 v0.96 LaTeX color/graphics driver for XeTeX (RRM/JK)
))
\Gin@req@height=\dimen137
\Gin@req@width=\dimen138
))
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \fontspec with arg. spec. 'O{}m' on line 41.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmainfont with arg. spec. 'O{}m' on line 46.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setsansfont with arg. spec. 'O{}m' on line 51.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmonofont with arg. spec. 'O{}m' on line 56.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathrm with arg. spec. 'O{}m' on line 65.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setboldmathrm with arg. spec. 'O{}m' on line 69.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathsf with arg. spec. 'O{}m' on line 73.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathtt with arg. spec. 'O{}m' on line 77.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontfamily with arg. spec. 'mO{}m' on line 96.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontface with arg. spec. 'mO{}m' on line 100.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \defaultfontfeatures with arg. spec. 'om' on line
. 108.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \addfontfeatures with arg. spec. 'm' on line 144.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontfeature with arg. spec. 'mm' on line 156.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newAATfeature with arg. spec. 'mmmm' on line 164.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newICUfeature with arg. spec. 'mmm' on line 172.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \aliasfontfeature with arg. spec. 'mm' on line
. 201.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \aliasfontfeatureoption with arg. spec. 'mmm' on
. line 203.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontscript with arg. spec. 'mm' on line 208.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontlanguage with arg. spec. 'mm' on line 235.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \DeclareFontsExtensions with arg. spec. 'm' on
. line 256.
.................................................
Variant \prop_gput:cnV already defined; not changing it on line 582
Variant \prop_gput:cnx already defined; not changing it on line 583
\l_fontspec_tmp_int=\count123
LaTeX Info: Redefining \itshape on input line 2087.
LaTeX Info: Redefining \slshape on input line 2092.
LaTeX Info: Redefining \scshape on input line 2097.
LaTeX Info: Redefining \upshape on input line 2102.
("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec.cfg")))
("C:\Program Files\MiKTeX 2.9\tex\latex\realscripts\realscripts.sty"
Package: realscripts 2013/03/18 v0.3c Access OpenType subscripts and superscrip
ts
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \fakesubscript with arg. spec. 'm' on line 19.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \fakesuperscript with arg. spec. 'm' on line 22.
.................................................
*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \textsubscript with arg. spec. 's' on line 25.
*************************************************
*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \textsuperscript with arg. spec. 's' on line 28.
*************************************************
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \realsubscript with arg. spec. 'm' on line 45.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \realsuperscript with arg. spec. 'm' on line 60.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \textsubsuperscript with arg. spec. 'sO{l}mm' on
. line 138.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \textsupersubscript with arg. spec. 'sO{l}mm' on
. line 143.
.................................................
\subsupersep=\dimen139
) ("C:\Program Files\MiKTeX 2.9\tex\latex\metalogo\metalogo.sty"
Package: metalogo 2010/05/29 v0.12 Extended TeX logo macros
\xl@everylogo=\toks17
\xl@@everylogo=\toks18
LaTeX Info: Redefining \TeX on input line 193.
LaTeX Info: Redefining \LaTeX on input line 202.
LaTeX Info: Redefining \LaTeXe on input line 219.
)
\xxt@tempbox=\box41
)
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xgreek\xgreek.sty"
File: xgreek.sty 2013/07/05 v2.5 Package `xgreek.sty'
Package `xgreek' version 2.5 by Apostolos Syropoulos
\@attic@num=\count124
)
\g__file_internal_ior=\read1
Requested font "Arial" at 10.0pt
-> ^^K^^O/Windows/Fonts/arial.ttf
Requested font "Arial/ICU" at 10.0pt
-> ù^^N/Windows/Fonts/arial.ttf
\g_fontspec_family_Arial_int=\count125
Requested font "Arial/ICU" at 10.0pt
-> _^^O/Windows/Fonts/arial.ttf
Requested font "Arial/ICU" at 10.0pt
-> z^^O/Windows/Fonts/arial.ttf
Requested font "Arial/B/ICU" at 10.0pt
-> ^^89^^O/Windows/Fonts/arialbd.ttf
Requested font "Arial/B/ICU" at 10.0pt
-> Ñ^^O/Windows/Fonts/arialbd.ttf
Requested font "Arial/ICU" at 10.0pt
-> ÿÿ/Windows/Fonts/arial.ttf
Requested font "Arial/I/ICU" at 10.0pt
-> ÿÿ/Windows/Fonts/ariali.ttf
Requested font "Arial/I/ICU" at 10.0pt
-> (^^A/Windows/Fonts/ariali.ttf
Requested font "Arial/ICU" at 10.0pt
-> "^^A/Windows/Fonts/arial.ttf
Requested font "Arial/BI/ICU" at 10.0pt
-> ^^Y^^A/Windows/Fonts/arialbi.ttf
Requested font "Arial/BI/ICU" at 10.0pt
-> ^^P^^A/Windows/Fonts/arialbi.ttf
.................................................
. fontspec info: "defining-font"
.
. Font family 'Arial(0)' created for font 'Arial' with options [].
.
. This font family consists of the following shapes:
.
. * 'normal' with NFSS spec.:
. <->"Arial/ICU:script=latn;language=DFLT;"
.
. * 'bold' with NFSS spec.:
. <->"Arial/B/ICU:script=latn;language=DFLT;"
.
. * 'italic' with NFSS spec.:
. <->"Arial/I/ICU:script=latn;language=DFLT;"
.
. * 'bold italic' with NFSS spec.:
. <->"Arial/BI/ICU:script=latn;language=DFLT;"
.................................................
Requested font "Courier New" at 10.0pt
-> ©^^A/Windows/Fonts/cour.ttf
Requested font "Courier New/ICU" at 10.0pt
-> ^^9d^^A/Windows/Fonts/cour.ttf
\g_fontspec_family_Courier New_int=\count126
Requested font "Courier New/ICU" at 10.0pt
-> ^^8e^^A/Windows/Fonts/cour.ttf
Requested font "Courier New/ICU" at 10.0pt
-> ^^?^^A/Windows/Fonts/cour.ttf
Requested font "Courier New/B/ICU" at 10.0pt
-> |^^A/Windows/Fonts/courbd.ttf
Requested font "Courier New/B/ICU" at 10.0pt
-> p^^A/Windows/Fonts/courbd.ttf
Requested font "Courier New/ICU" at 10.0pt
-> d^^A/Windows/Fonts/cour.ttf
Requested font "Courier New/I/ICU" at 10.0pt
-> a^^A/Windows/Fonts/couri.ttf
Requested font "Courier New/I/ICU" at 10.0pt
-> %^^A/Windows/Fonts/couri.ttf
Requested font "Courier New/ICU" at 10.0pt
-> §
Requested font "Courier New/BI/ICU" at 10.0pt
-> ^^8c
Requested font "Courier New/BI/ICU" at 10.0pt
-> ^^D^^A/Windows/Fonts/courbi.ttf
.................................................
. fontspec info: "defining-font"
.
. Font family 'CourierNew(0)' created for font 'Courier New' with options [].
.
. This font family consists of the following shapes:
.
. * 'normal' with NFSS spec.:
. <->"Courier New/ICU:script=latn;language=DFLT;"
.
. * 'bold' with NFSS spec.:
. <->"Courier New/B/ICU:script=latn;language=DFLT;"
.
. * 'italic' with NFSS spec.:
. <->"Courier New/I/ICU:script=latn;language=DFLT;"
.
. * 'bold italic' with NFSS spec.:
. <->"Courier New/BI/ICU:script=latn;language=DFLT;"
.................................................
Requested font "Times New Roman" at 10.0pt
-> Ù^^A/Windows/Fonts/times.ttf
Requested font "Times New Roman/ICU" at 10.0pt
-> `^^B/Windows/Fonts/times.ttf
\g_fontspec_family_Times New Roman_int=\count127
Requested font "Times New Roman/ICU" at 10.0pt
-> þ^^C/Windows/Fonts/times.ttf
Requested font "Times New Roman/ICU" at 10.0pt
-> þ^^C/Windows/Fonts/times.ttf
Requested font "Times New Roman/B/ICU" at 10.0pt
-> þ^^C/Windows/Fonts/timesbd.ttf
Requested font "Times New Roman/B/ICU" at 10.0pt
-> >^^C/Windows/Fonts/timesbd.ttf
Requested font "Times New Roman/ICU" at 10.0pt
-> >^^C/Windows/Fonts/times.ttf
Requested font "Times New Roman/I/ICU" at 10.0pt
-> >^^C/Windows/Fonts/timesi.ttf
Requested font "Times New Roman/I/ICU" at 10.0pt
-> ^^80^^C/Windows/Fonts/timesi.ttf
Requested font "Times New Roman/ICU" at 10.0pt
-> ^^80^^C/Windows/Fonts/times.ttf
Requested font "Times New Roman/BI/ICU" at 10.0pt
-> ^^80^^C/Windows/Fonts/timesbi.ttf
Requested font "Times New Roman/BI/ICU" at 10.0pt
-> +^^D/Windows/Fonts/timesbi.ttf
.................................................
. fontspec info: "defining-font"
.
. Font family 'TimesNewRoman(0)' created for font 'Times New Roman' with
. options [Mapping=tex-text].
.
. This font family consists of the following shapes:
.
. * 'normal' with NFSS spec.:
. <->"Times New Roman/ICU:script=latn;language=DFLT;mapping=tex-text;"
.
. * 'bold' with NFSS spec.:
. <->"Times New Roman/B/ICU:script=latn;language=DFLT;mapping=tex-text;"
.
. * 'italic' with NFSS spec.:
. <->"Times New Roman/I/ICU:script=latn;language=DFLT;mapping=tex-text;"
.
. * 'bold italic' with NFSS spec.:
. <->"Times New Roman/BI/ICU:script=latn;language=DFLT;mapping=tex-text;"
.................................................
Requested font "Times New Roman/ICU:script=latn;language=DFLT;mapping=tex-text;
" at 10.0pt
-> +^^D/Windows/Fonts/times.ttf
("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.sty"
Package: geometry 2010/09/12 v5.6 Page Geometry
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty"
Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
)
\Gm@cnth=\count128
\Gm@cntv=\count129
\c@Gm@tempcnt=\count130
\Gm@bindingoffset=\dimen140
\Gm@wd@mp=\dimen141
\Gm@odd@mp=\dimen142
\Gm@even@mp=\dimen143
\Gm@layoutwidth=\dimen144
\Gm@layoutheight=\dimen145
\Gm@layouthoffset=\dimen146
\Gm@layoutvoffset=\dimen147
\Gm@dimlist=\toks19
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xetexconfig\geometry.cfg"))
("C:\Program Files\MiKTeX 2.9\tex\latex\float\float.sty"
Package: float 2001/11/08 v1.3d Float enhancements (AL)
\c@float@type=\count131
\float@exts=\toks20
\float@box=\box42
\@float@everytoks=\toks21
\@floatcapt=\box43
)
("C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsmath.sty"
Package: amsmath 2013/01/14 v2.14 AMS math features
\@mathmargin=\skip49
For additional information on amsmath, use the `?' option.
("C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amstext.sty"
Package: amstext 2000/06/29 v2.01
("C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks22
\ex@=\dimen148
))
("C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen149
)
("C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsopn.sty"
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count132
LaTeX Info: Redefining \frac on input line 210.
\uproot@=\count133
\leftroot@=\count134
LaTeX Info: Redefining \overline on input line 306.
\classnum@=\count135
\DOTSCASE@=\count136
LaTeX Info: Redefining \ldots on input line 378.
LaTeX Info: Redefining \dots on input line 381.
LaTeX Info: Redefining \cdots on input line 466.
\Mathstrutbox@=\box44
\strutbox@=\box45
\big@size=\dimen150
LaTeX Font Info: Redeclaring font encoding OML on input line 566.
LaTeX Font Info: Redeclaring font encoding OMS on input line 567.
\macc@depth=\count137
\c@MaxMatrixCols=\count138
\dotsspace@=\muskip16
\c@parentequation=\count139
\dspbrk@lvl=\count140
\tag@help=\toks23
\row@=\count141
\column@=\count142
\maxfields@=\count143
\andhelp@=\toks24
\eqnshift@=\dimen151
\alignsep@=\dimen152
\tagshift@=\dimen153
\tagwidth@=\dimen154
\totwidth@=\dimen155
\lineht@=\dimen156
\@envbody=\toks25
\multlinegap=\skip50
\multlinetaggap=\skip51
\mathdisplay@stack=\toks26
LaTeX Info: Redefining \[ on input line 2665.
LaTeX Info: Redefining \] on input line 2666.
)
("C:\Program Files\MiKTeX 2.9\tex\latex\listings\listings.sty"
\lst@mode=\count144
\lst@gtempboxa=\box46
\lst@token=\toks27
\lst@length=\count145
\lst@currlwidth=\dimen157
\lst@column=\count146
\lst@pos=\count147
\lst@lostspace=\dimen158
\lst@width=\dimen159
\lst@newlines=\count148
\lst@lineno=\count149
\lst@maxwidth=\dimen160
("C:\Program Files\MiKTeX 2.9\tex\latex\listings\lstmisc.sty"
File: lstmisc.sty 2013/08/26 1.5b (Carsten Heinz)
\c@lstnumber=\count150
\lst@skipnumbers=\count151
\lst@framebox=\box47
)
("C:\Program Files\MiKTeX 2.9\tex\latex\listings\listings.cfg"
File: listings.cfg 2013/08/26 1.5b listings configuration
))
Package: listings 2013/08/26 1.5b (Carsten Heinz)
("C:\Program Files\MiKTeX 2.9\tex\latex\tocloft\tocloft.sty"
Package: tocloft 2013/05/02 v2.3f parameterised ToC, etc., typesetting
Package tocloft Info: The document has chapter divisions on input line 44.
\cftparskip=\skip52
\cftbeforetoctitleskip=\skip53
\cftaftertoctitleskip=\skip54
\cftbeforepartskip=\skip55
\cftpartnumwidth=\skip56
\cftpartindent=\skip57
\cftbeforechapskip=\skip58
\cftchapindent=\skip59
\cftchapnumwidth=\skip60
\cftbeforesecskip=\skip61
\cftsecindent=\skip62
\cftsecnumwidth=\skip63
\cftbeforesubsecskip=\skip64
\cftsubsecindent=\skip65
\cftsubsecnumwidth=\skip66
\cftbeforesubsubsecskip=\skip67
\cftsubsubsecindent=\skip68
\cftsubsubsecnumwidth=\skip69
\cftbeforeparaskip=\skip70
\cftparaindent=\skip71
\cftparanumwidth=\skip72
\cftbeforesubparaskip=\skip73
\cftsubparaindent=\skip74
\cftsubparanumwidth=\skip75
\cftbeforeloftitleskip=\skip76
\cftafterloftitleskip=\skip77
\cftbeforefigskip=\skip78
\cftfigindent=\skip79
\cftfignumwidth=\skip80
\c@lofdepth=\count152
\c@lotdepth=\count153
\cftbeforelottitleskip=\skip81
\cftafterlottitleskip=\skip82
\cftbeforetabskip=\skip83
\cfttabindent=\skip84
\cfttabnumwidth=\skip85
)
(C:\Users\Xaluvas\Desktop\par\ww.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 35.
LaTeX Font Info: ... okay on input line 35.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 35.
LaTeX Font Info: ... okay on input line 35.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 35.
LaTeX Font Info: ... okay on input line 35.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 35.
LaTeX Font Info: ... okay on input line 35.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 35.
LaTeX Font Info: ... okay on input line 35.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 35.
LaTeX Font Info: ... okay on input line 35.
LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line 35.
LaTeX Font Info: ... okay on input line 35.
LaTeX Font Info: Checking defaults for T3/cmr/m/n on input line 35.
LaTeX Font Info: Try loading font information for T3+cmr on input line 35.
("C:\Program Files\MiKTeX 2.9\tex\latex\tipa\t3cmr.fd"
File: t3cmr.fd 2001/12/31 TIPA font definitions
)
LaTeX Font Info: ... okay on input line 35.
Requested font "Times New Roman/ICU:script=latn;language=DFLT;mapping=tex-text;
" at 12.0pt
-> =^^D/Windows/Fonts/times.ttf
.................................................
. fontspec info: "setup-math"
.
. Adjusting the maths setup (use [no-math] to avoid this).
.................................................
\symlegacymaths=\mathgroup4
LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold'
(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 35.
LaTeX Font Info: Redeclaring math accent \acute on input line 35.
LaTeX Font Info: Redeclaring math accent \grave on input line 35.
LaTeX Font Info: Redeclaring math accent \ddot on input line 35.
LaTeX Font Info: Redeclaring math accent \tilde on input line 35.
LaTeX Font Info: Redeclaring math accent \bar on input line 35.
LaTeX Font Info: Redeclaring math accent \breve on input line 35.
LaTeX Font Info: Redeclaring math accent \check on input line 35.
LaTeX Font Info: Redeclaring math accent \hat on input line 35.
LaTeX Font Info: Redeclaring math accent \dot on input line 35.
LaTeX Font Info: Redeclaring math accent \mathring on input line 35.
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 35.
LaTeX Font Info: Redeclaring math symbol \Delta on input line 35.
LaTeX Font Info: Redeclaring math symbol \Theta on input line 35.
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 35.
LaTeX Font Info: Redeclaring math symbol \Xi on input line 35.
LaTeX Font Info: Redeclaring math symbol \Pi on input line 35.
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 35.
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 35.
LaTeX Font Info: Redeclaring math symbol \Phi on input line 35.
LaTeX Font Info: Redeclaring math symbol \Psi on input line 35.
LaTeX Font Info: Redeclaring math symbol \Omega on input line 35.
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 35.
LaTeX Font Info: Redeclaring symbol font `operators' on input line 35.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
(Font) `operators' in the math version `normal' on input line 35.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> EU1/TimesNewRoman(0)/m/n on input line
35.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
(Font) `operators' in the math version `bold' on input line 35.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> EU1/TimesNewRoman(0)/m/n on input line
35.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) EU1/TimesNewRoman(0)/m/n --> EU1/TimesNewRoman(0)/m/n o
n input line 35.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal'
(Font) EU1/TimesNewRoman(0)/m/n --> EU1/TimesNewRoman(0)/m/n o
n input line 35.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> EU1/TimesNewRoman(0)/m/it on input lin
e 35.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/cmr/bx/n --> EU1/TimesNewRoman(0)/bx/n on input lin
e 35.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> EU1/Arial(0)/m/n on input line 35.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/cmtt/m/n --> EU1/CourierNew(0)/m/n on input line 35
.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) EU1/TimesNewRoman(0)/m/n --> EU1/TimesNewRoman(0)/bx/n
on input line 35.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
(Font) EU1/TimesNewRoman(0)/m/n --> EU1/TimesNewRoman(0)/bx/n
on input line 35.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> EU1/TimesNewRoman(0)/bx/it on input l
ine 35.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> EU1/Arial(0)/bx/n on input line 35.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/cmtt/m/n --> EU1/CourierNew(0)/bx/n on input line 3
5.
*geometry* detected driver: pdftex
*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: a4paper
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes: twoside
* h-part:(L,W,R)=(57.81621pt, 481.87546pt, 57.81621pt)
* v-part:(T,H,B)=(57.81621pt, 729.41443pt, 57.81621pt)
* \paperwidth=597.50787pt
* \paperheight=845.04684pt
* \textwidth=481.87546pt
* \textheight=729.41443pt
* \oddsidemargin=-14.45378pt
* \evensidemargin=-14.45378pt
* \topmargin=-46.32758pt
* \headheight=12.0pt
* \headsep=19.8738pt
* \topskip=12.0pt
* \footskip=30.0pt
* \marginparwidth=88.0pt
* \marginparsep=7.0pt
* \columnsep=10.0pt
* \skip\footins=10.8pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidetrue
* \@mparswitchtrue
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)
\c@lstlisting=\count154
File: 66.jpg Graphic file (type QTm)
<use "66.jpg" >
File: 66.jpg Graphic file (type QTm)
<use "66.jpg" > [1
] (C:\Users\Xaluvas\Desktop\par\ww.aux) )
Here is how much of TeX's memory you used:
15595 strings out of 429025
305281 string characters out of 3167800
350098 words of memory out of 3000000
18697 multiletter control sequences out of 15000+200000
4114 words of font info for 37 fonts, out of 3000000 for 9000
912 hyphenation exceptions out of 8191
52i,9n,42p,10440b,235s stack positions out of 5000i,500n,10000p,200000b,50000s
Output written on ww.pdf (1 page).

The result:

The lines don't show up or there are plenty whitespaces..
Attachments
44.png
44.png (292.93 KiB) Viewed 6060 times
stationww
Posts: 5
Joined: Tue Mar 10, 2015 12:16 am

Re: Whitespace frame problem

Post by stationww »

What could possibly be the problem with my code?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

Whitespace frame problem

Post by Stefan Kottwitz »

  • With \frame: no whitespace, the line is thin, so you possibly need to zoom in to actually see it at all edges:
  • [attachment=2]framebox.png[/attachment]
  • With \fbox: in that case you still need your \fboxsep setting and if you like, \fboxrule too:
    fbox.png
    fbox.png (235.99 KiB) Viewed 6033 times
Check the print on paper if you deliver paper. If you deliver an electronic version, such as the PDF file, you could be safe in various zoom levels if you simple make the box line thicker, such as \setlength{\fboxrule}{2pt}together with \fbox.

I attach my PDF output. Zoom in. I modified and used this code, which generated the screenshots above:

Code: Select all

\documentclass[12pt,a4paper,twoside]{book}
\usepackage{xltxtra}
\usepackage{xgreek}
\setsansfont{Arial}
\setmonofont{Courier New}
\setmainfont[Mapping=tex-text]{Times New Roman}
\linespread{1}
\usepackage[margin=0.8in]{geometry}
\usepackage{graphicx}
\usepackage{float}
\setlength{\parindent}{3em}
\setlength{\parskip}{0.5em}
\pagestyle{plain}
\usepackage{amsmath}
\numberwithin{equation}{section}
\usepackage{listings}
\usepackage[titles]{tocloft}
\cftsetindents{figure}{0em}{3.5em}
\cftsetindents{table}{0em}{3.5em}
\begin{document}
\begin{figure}[!ht]
\centering
\frame{\includegraphics[scale=4]{66.jpg}}
\end{figure}

\begin{figure}[!ht]
 \setlength\fboxsep{0pt}
 \setlength{\fboxrule}{1pt}
 \centering
 \fbox{\includegraphics[scale=4]{66.jpg}}
\end{figure}
\end{document}
Stefan
Attachments
boxes.pdf
(101.44 KiB) Downloaded 262 times
framebox.png
framebox.png (236.1 KiB) Viewed 6033 times
LaTeX.org admin
Post Reply