Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
4c22cb2f
Kaydet (Commit)
4c22cb2f
authored
Ock 25, 1991
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Changed code environment into \bcode and \ecode macros.
Learned a lot about these things.
üst
5ce78f11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
18 deletions
+23
-18
myformat.sty
Doc/myformat.sty
+23
-18
No files found.
Doc/myformat.sty
Dosyayı görüntüle @
4c22cb2f
% Style parameters and macros used by all documents here
% Page lay-out parameters
\textwidth
= 1
5
0mm
\textwidth
= 1
6
0mm
\textheight
= 240mm
\topmargin
= -11mm
\oddsidemargin
= 5mm
\evensidemargin
= 5mm
% Macros for e.g. and E.g. if you want them italicized:
% \newcommand{\eg}{{\it e.g.}}
% \newcommand{\Eg}{{\it E.g.}}
% If you don't want them italicized:
\newcommand
{
\eg
}{
e.g.
}
\newcommand
{
\Eg
}{
E.g.
}
\oddsidemargin
= 0mm
\evensidemargin
= 0mm
%\parindent = 0mm
% Frequently used system names
\newcommand
{
\Python
}{
Python
}
\newcommand
{
\Python
}{
Python
}
% Sometimes I want this italicized
\newcommand
{
\UNIX
}{
U
{
\sc
nix
}}
%
Calculate the text width for the minipage in the code environment:
%
Variable used by begin code command
\newlength
{
\codewidth
}
\setlength
{
\codewidth
}{
\textwidth
}
\addtolength
{
\codewidth
}{
-
\parindent
}
% Code environment. Use together with begin/end verbatim!
\newenvironment
{
code
}
%
{
\vspace
{
10pt
}
\par
\begin{minipage}
{
\codewidth
}}
% begin stuff
{
\end{minipage}
\par\vspace
{
10pt
}
\noindent
}
% end stuff
\newcommand
{
\bcode
}{
% Calculate the text width for the minipage:
\setlength
{
\codewidth
}{
\linewidth
}
\addtolength
{
\codewidth
}{
-
\parindent
}
%
\vspace
{
3mm
}
\par
\indent
\begin{minipage}
[t]
{
\codewidth
}
}
\newcommand
{
\ecode
}{
\end{minipage}
\vspace
{
3mm
}
\par
\noindent
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment