This page is READ-ONLY. It is generated from the old site.
If you are looking for TeX support, please use the VietTUG Google Group
If you are looking for TeX support, please use the VietTUG Google Group
Problem #834
Báo lỗi khi sử dụng gói Pstrick
| Status: | Closed | Start Date: | 07-02-2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | 28-02-2011 | |
| Assigned to: |
|
% Done: |
100% |
|
| Category: | -- chủ đề khác: gói bất kỳ | |||
| Target version: | 2011_help | |||
| Resolution: | Fixed | |||
| Votes: | 0/0 |
Description
Khi mình biên dịch file tex cho gói Pstrick thì nó báo lỗi
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1549 \psset{trigLabels=false}
Mong các bác giúp đỡ
History
Updated by icy about 2 years ago
- Due date set to 28-02-2011
- Category set to -- chủ đề khác: gói bất kỳ
- Status changed from New to Assigned
- Assigned to set to icy
- Target version set to 2011_help
- % Done changed from 0 to 10
thanhansp wrote:
Khi mình biên dịch file tex cho gói Pstrick thì nó báo lỗi
Sao lại biên dịch cho gói? Bạn chỉ có thể biên dịch một tài liệu sử dụng gói pstricks, chứ không thể biên dịch một gói được.
Updated by tanphu about 2 years ago
Bạn cung cấp đoạn mã pstricks sẽ giúp mình xác định lỗi chính xác hơn, không cần cung cấp tập tin tex.
Updated by thanhansp about 2 years ago
Đoạn code đây à...
\documentclass{article}
\usepackage{pstricks,pstricks-add,pst-math,pst-xkey}
\begin{document}
\newrgbcolor{zzttqq}
\psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=*,
dotsize=3pt 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25}
\begin{pspicture*}(-2,-2)(3,3)\psgrid
\psline[linecolor=zzttqq](-1.58,3.96)(-2.28,2.18)
\psline[linecolor=zzttqq](-2.28,2.18)(2.92,2.06)
\psline[linecolor=zzttqq](2.92,2.06)(-1.58,3.96)
\psdots[linecolor=blue](-1.58,3.96)
\rput[bl](-1.5,4.08){\blue{$E$}}
\psdots[linecolor=blue](-2.28,2.18)
\rput[bl](-2.2,2.3){\blue{$B$}}
\psdots[linecolor=blue](2.92,2.06)
\rput[bl](3,2.18){\blue{$C$}}
\rput[bl](-2.24,3.2){\zzttqq{$c$}}
\rput[bl](0.3,1.82){\zzttqq{$a$}}
\rput[bl](0.78,3.32){\zzttqq{$b$}}
\end{pspicture*}
\end{document}
Updated by hungchng about 2 years ago
- Votes: 1/1
Bạn edit lại dòng lệnh \newrgbcolor{zzttqq} bằng \newrgbcolor{zzttqq}{0.6 0.2 0} là chạy bình thường
Updated by icy almost 2 years ago
- Status changed from Assigned to Closed
- % Done changed from 10 to 100
- Resolution set to Fixed