fix fonts and margins
This commit is contained in:
parent
8ecc56240e
commit
5b22aab472
@ -1,23 +1,36 @@
|
|||||||
\documentclass[a4paper]{article}
|
\documentclass[a4paper]{article}
|
||||||
|
|
||||||
|
\usepackage{geometry}
|
||||||
|
\geometry{
|
||||||
|
paperwidth=271mm, paperheight=582mm,
|
||||||
|
inner=36.1mm,
|
||||||
|
outer=54.2mm,
|
||||||
|
top=97mm,
|
||||||
|
bottom=135.8mm,
|
||||||
|
}
|
||||||
|
|
||||||
\usepackage[T1]{fontenc}
|
\usepackage[T1]{fontenc}
|
||||||
\usepackage[english]{babel}
|
\usepackage[english]{babel}
|
||||||
\usepackage{tikz}
|
\usepackage{tikz}
|
||||||
\usetikzlibrary{patterns}
|
\usetikzlibrary{patterns}
|
||||||
\usepackage{wrapfig}
|
\usepackage{wrapfig}
|
||||||
\usepackage[utf8]{inputenc}
|
\usepackage[utf8]{inputenc}
|
||||||
\usepackage[a4paper, top=27mm,bottom=28mm,left=35mm,right=18mm]{geometry}
|
\usepackage{nopageno}
|
||||||
|
\usepackage{setspace}
|
||||||
\usepackage{fontspec}
|
\usepackage{fontspec}
|
||||||
\linespread{1.6}
|
|
||||||
|
|
||||||
\newcommand\partone[1]{{ \fontspec{ELPHIN.TTF} \fontsize{6}{12} \selectfont #1}}
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
\partone{
|
\doublespacing
|
||||||
|
\fontspec{ELPHIN.TTF}
|
||||||
|
\fontsize{6}{7}
|
||||||
|
\selectfont
|
||||||
|
|
||||||
I have long bemoaned the absence of any support for tabulated text in AutoCAD, and so have many other people. It is a common need to place tables of textual information on drawings. The only obvious method appears to be to use a mono-spaced font and space out the columns with multiple spaces, which is not very satisfactory.
|
I have long bemoaned the absence of any support for tabulated text in AutoCAD, and so have many other people. It is a common need to place tables of textual information on drawings. The only obvious method appears to be to use a mono-spaced font and space out the columns with multiple spaces, which is not very satisfactory.
|
||||||
|
|
||||||
|
Some users create their tables in Microsoft Excel and then paste a selected region of the Excel table into AutoCAD as an OLE linked object. That has its problems. If you use a black background, as most AutoCAD users seem to do persist with, despite my advice, then the Excel table with its white background looks a bit odd. But, more seriously, Microsoft?s OLE mechanism in Windows is far from reliable, has severe limitations on the amount of linked data, and is a serious resource hog. I have always recommended AutoCAD users to avoid OLE if possible, and it usually is.
|
||||||
|
I only found out recently from a long-time user of AutoCAD that it is possible to import Excel table data quite satisfactorily as AutoCAD text. To prove this and explain the options, I made a test table in Excel by cutting some text out of part of the ACAD.PGP file and editing it with tabs so that it would paste into Excel in rows and columns. The illustration here shows three ways at pasting it into AutoCAD. After selecting the cell range in Excel and copying it to the clipboard by Ctrl-C, I opened AutoCAD and used the Edit menu, Paste Special. The resulting dialog box, shown here, presents several options of the form in which to paste the clipboard data.
|
||||||
|
|
||||||
\begin{wrapfigure}{r}{55mm}
|
\begin{wrapfigure}{r}{55mm}
|
||||||
\resizebox{55mm}{151mm}{%
|
\resizebox{55mm}{151mm}{%
|
||||||
@ -27,9 +40,6 @@ I have long bemoaned the absence of any support for tabulated text in AutoCAD, a
|
|||||||
}
|
}
|
||||||
\end{wrapfigure}
|
\end{wrapfigure}
|
||||||
|
|
||||||
|
|
||||||
Some users create their tables in Microsoft Excel and then paste a selected region of the Excel table into AutoCAD as an OLE linked object. That has its problems. If you use a black background, as most AutoCAD users seem to do persist with, despite my advice, then the Excel table with its white background looks a bit odd. But, more seriously, Microsoft?s OLE mechanism in Windows is far from reliable, has severe limitations on the amount of linked data, and is a serious resource hog. I have always recommended AutoCAD users to avoid OLE if possible, and it usually is.
|
|
||||||
I only found out recently from a long-time user of AutoCAD that it is possible to import Excel table data quite satisfactorily as AutoCAD text. To prove this and explain the options, I made a test table in Excel by cutting some text out of part of the ACAD.PGP file and editing it with tabs so that it would paste into Excel in rows and columns. The illustration here shows three ways at pasting it into AutoCAD. After selecting the cell range in Excel and copying it to the clipboard by Ctrl-C, I opened AutoCAD and used the Edit menu, Paste Special. The resulting dialog box, shown here, presents several options of the form in which to paste the clipboard data.
|
|
||||||
Method 1 used the ?Paste as text? option. The result is a single ?Multiline Text? object, with each row of Excel cells as one text line with hard line-end, but with all the column spacing lost. That?s not much use as a text table. Also, even though pasting Word text into AutoCAD?s Mtext dialog-editor preserves the fonts and formatting nicely, this operation ignored the Excel text format and inserted it as the current AutoCAD Style, which in my test used the awful-looking TXT.SHX font that is still AutoCAD?s default for its Standard Style.
|
Method 1 used the ?Paste as text? option. The result is a single ?Multiline Text? object, with each row of Excel cells as one text line with hard line-end, but with all the column spacing lost. That?s not much use as a text table. Also, even though pasting Word text into AutoCAD?s Mtext dialog-editor preserves the fonts and formatting nicely, this operation ignored the Excel text format and inserted it as the current AutoCAD Style, which in my test used the awful-looking TXT.SHX font that is still AutoCAD?s default for its Standard Style.
|
||||||
Method 2 used the ?Paste as Picture (Metafile)? option. This gives quite a good result, more so if you use a white background in AutoCAD, but you cannot edit it in any way at all.
|
Method 2 used the ?Paste as Picture (Metafile)? option. This gives quite a good result, more so if you use a white background in AutoCAD, but you cannot edit it in any way at all.
|
||||||
Method 3 is the most satisfactory, I think. This used the option that surprised me: ?Paste as \%PRODUCT entities?. I cannot find any reference to any such type of entity. It inserts the cells each as a separate ?Single-line Text? object, and automatically organises the insertion points of the text objects vertically and horizontally to form a sensibly arranged table. It also, and rather surprisingly, creates new Text Styles to reproduce the format of the Excel text! In my test, which used Excel?s default Arial font and size, but with the header row in bold, the pasted text objects used new Styles called ?WMF-Arial0? (for the top row in bold) and ?WMF-Arial1? (for the other cells).
|
Method 3 is the most satisfactory, I think. This used the option that surprised me: ?Paste as \%PRODUCT entities?. I cannot find any reference to any such type of entity. It inserts the cells each as a separate ?Single-line Text? object, and automatically organises the insertion points of the text objects vertically and horizontally to form a sensibly arranged table. It also, and rather surprisingly, creates new Text Styles to reproduce the format of the Excel text! In my test, which used Excel?s default Arial font and size, but with the header row in bold, the pasted text objects used new Styles called ?WMF-Arial0? (for the top row in bold) and ?WMF-Arial1? (for the other cells).
|
||||||
@ -213,6 +223,5 @@ I only found out recently from a long-time user of AutoCAD that it is possible t
|
|||||||
Method 1 used the ?Paste as text? option. The result is a single ?Multiline Text? object, with each row of Excel cells as one text line with hard line-end, but with all the column spacing lost. That?s not much use as a text table. Also, even though pasting Word text into AutoCAD?s Mtext dialog-editor preserves the fonts and formatting nicely, this operation ignored the Excel text format and inserted it as the current AutoCAD Style, which in my test used the awful-looking TXT.SHX font that is still AutoCAD?s default for its Standard Style.
|
Method 1 used the ?Paste as text? option. The result is a single ?Multiline Text? object, with each row of Excel cells as one text line with hard line-end, but with all the column spacing lost. That?s not much use as a text table. Also, even though pasting Word text into AutoCAD?s Mtext dialog-editor preserves the fonts and formatting nicely, this operation ignored the Excel text format and inserted it as the current AutoCAD Style, which in my test used the awful-looking TXT.SHX font that is still AutoCAD?s default for its Standard Style.
|
||||||
Method 2 used the ?Paste as Picture (Metafile)? option. This gives quite a good result, more so if you use a white background in AutoCAD, but you cannot edit it in any way at all.
|
Method 2 used the ?Paste as Picture (Metafile)? option. This gives quite a good result, more so if you use a white background in AutoCAD, but you cannot edit it in any way at all.
|
||||||
Method 3 is the most satisfactory, I think. This used the option that surprised me: ?Paste as \%PRODUCT entities?. I cannot find any reference to any such type of entity. It inserts the cells each as a separate ?Single-line Text? object, and automatically organises the insertion points of the text objects vertically and horizontally to form a sensibly arranged table. It also, and rather surprisingly, creates new Text Styles to reproduce the format of the Excel text! In my test, which used Excel?s default Arial font and size, but with the header row in bold.
|
Method 3 is the most satisfactory, I think. This used the option that surprised me: ?Paste as \%PRODUCT entities?. I cannot find any reference to any such type of entity. It inserts the cells each as a separate ?Single-line Text? object, and automatically organises the insertion points of the text objects vertically and horizontally to form a sensibly arranged table. It also, and rather surprisingly, creates new Text Styles to reproduce the format of the Excel text! In my test, which used Excel?s default Arial font and size, but with the header row in bold.
|
||||||
}
|
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
Loading…
Reference in New Issue
Block a user