A4 landscape ps2pdf

Herbert Voss Herbert.Voss at fu-berlin.de
Thu Jan 26 11:04:41 UTC 2023



Am 26.01.23 um 10:26 schrieb Patrick Dupre:
> Here one


Works fine for me ... see example

However, you can use lualatex instead of pdflatex. It uses an own
PostScript interpreter and do not need the GhostScript run with ps2dpf

Herbert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 148262 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230126/777d4de1/attachment-0001.pdf>
-------------- next part --------------
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\begin_preamble
\usepackage{pstricks}
\usepackage{pst-coil,pst-text}
%\usepackage{tikz}
%\usetikzlibrary{decorations.pathreplacing}
\usepackage{pdflscape}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf5
\output_sync 1
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 2cm
\topmargin 2.5cm
\rightmargin 2cm
\bottommargin 2.5cm
\secnumdepth 4
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Section
A section
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
begin{landscape}
\end_layout

\end_inset


\end_layout

\begin_layout Subsubsection
Sum Frequency
\end_layout

\begin_layout Standard
Fig.
 3a
\end_layout

\begin_layout Standard
\begin_inset Note Note
status open

\begin_layout Plain Layout
\begin_inset Float figure
wide false
sideways false
status collapsed

\begin_layout Plain Layout
\begin_inset ERT
status open

\begin_layout Plain Layout

%Use export ps2pdf
\end_layout

\begin_layout Plain Layout

% or latex with dvips and ps2df
\end_layout

\begin_layout Plain Layout


\backslash
psset {unit=1cm} 
\end_layout

\begin_layout Plain Layout


\backslash
begin{pspicture}(0,0)(8,10)%bottom-left, top-right
\end_layout

\begin_layout Plain Layout


\backslash
psline[linewidth=0.5mm]{-}(2.5,1.0)(2.5,8.0)
\end_layout

\begin_layout Plain Layout


\backslash
psline[linewidth=0.5mm]{-}(5.0,1.0)(5.0,8.0)
\end_layout

\begin_layout Plain Layout


\backslash
psset{arrowlength=3,arrowsize=4pt,arrowscale=3 1}
\end_layout

\begin_layout Plain Layout


\backslash
pszigzag[linewidth=0.5mm,coilwidth=4mm,linearc=1.6pt,coilarmA=0pt,coilarmB=15pt]{-
>}(1,1.5)(2.5,3.0)
\end_layout

\begin_layout Plain Layout


\backslash
pszigzag[linewidth=0.5mm,coilwidth=4mm,linearc=1.6pt,coilarmA=0pt,coilarmB=15pt]{-
>}(1.0,4.5)(2.5,6.0)
\end_layout

\begin_layout Plain Layout

\end_layout

\begin_layout Plain Layout

%
\backslash
pszigzag[linecolor=lightgray,linewidth=0.4mm,coilwidth=4mm,linearc=1.6pt,coilarmA=
0pt,coilarmB=15pt]{->}(9.0,11.0)(7.0,13)
\end_layout

\begin_layout Plain Layout

\end_layout

\begin_layout Plain Layout

%
\backslash
psset{linestyle=none}
\end_layout

\begin_layout Plain Layout


\backslash
rput(2.5,0.5){
\backslash
huge$
\backslash
left| a
\backslash
right
\backslash
rangle$} %
\backslash
left
\backslash
langle a
\backslash
right|$}
\end_layout

\begin_layout Plain Layout


\backslash
rput(5.0,0.5){
\backslash
huge$
\backslash
left
\backslash
langle a
\backslash
right|$}
\end_layout

\begin_layout Plain Layout


\backslash
rput(3.0,4.0){
\backslash
huge$
\backslash
left| b
\backslash
right
\backslash
rangle$}
\end_layout

\begin_layout Plain Layout


\backslash
rput(3.0,7.25){
\backslash
huge$
\backslash
left| c
\backslash
right
\backslash
rangle$}
\end_layout

\begin_layout Plain Layout

%
\backslash
rput(4.5,7.0){
\backslash
huge$
\backslash
left
\backslash
langle c
\backslash
right|$}
\end_layout

\begin_layout Plain Layout

\end_layout

\begin_layout Plain Layout


\backslash
rput(0.5,2.5){
\backslash
Large$
\backslash
omega_1, k_1$}
\end_layout

\begin_layout Plain Layout


\backslash
rput(0.5,5.5){
\backslash
Large$
\backslash
omega_2, k_2$}
\end_layout

\begin_layout Plain Layout

%
\backslash
rput(15.5,16.0){
\backslash
textcolor{gray}{
\backslash
huge$ (-)
\backslash
 
\backslash
omega_2, k_2$}}
\end_layout

\begin_layout Plain Layout

\end_layout

\begin_layout Plain Layout


\backslash
rput[c](3.75,3.0){
\backslash
huge$ 
\backslash
Omega_{ab}$}
\end_layout

\begin_layout Plain Layout


\backslash
rput[c](3.75,6.0){
\backslash
huge$ 
\backslash
Omega_{bc}$}
\end_layout

\begin_layout Plain Layout

\end_layout

\begin_layout Plain Layout


\backslash
end{pspicture}
\end_layout

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption Standard

\begin_layout Plain Layout

\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Formula 
\[
\rho^{(2)}\left(t\right)=-\widehat{\epsilon}_{1}\widehat{\epsilon}_{2}\left|b\right\rangle \left\langle c\right|\rho_{aa}^{(0)}\,\int_{-\infty}^{t}{\rm e}^{-\left({\rm i}\omega_{ca}+\Gamma_{ca}\right)\tau_{2}}\Omega_{bc}\left(t_{2}\right){\rm e}^{-{\rm i}\omega_{2}t_{2}}\,\int_{-\infty}^{t_{2}}{\rm e}^{-\left({\rm i}\omega_{ba}+\Gamma_{ba}\right)\tau_{1}}\,\Omega_{ab}\left(t_{1}\right){\rm e}^{-{\rm i}\omega_{1}t_{1}}\,{\rm d}t_{1}\,{\rm d}t_{2}
\]

\end_inset

with 
\begin_inset Formula $\tau_{2}=t-t_{2}$
\end_inset

, 
\begin_inset Formula $\tau_{1}=t_{2}-t_{1}$
\end_inset

, or 
\begin_inset Formula $t_{2}=t-\tau_{2}$
\end_inset

, 
\begin_inset Formula $t_{1}=t_{2}-\tau_{1}$
\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
end{landscape}
\end_layout

\end_inset


\end_layout

\begin_layout Section
Another section
\end_layout

\end_body
\end_document


More information about the lyx-users mailing list