Editing
SEGTeX
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[Image:SEG-Logo Final SM.png|thumb|[https://seg.org Society of Exploration Geophysicists]]] '''SEGTeX''' is a LaTeX package for geophysical publications. It consists of * LaTeX2e class files for [https://library.seg.org/journal/gpysa7/ Geophysics] papers, SEG expanded abstracts, etc * BibTeX style files [https://github.com/SEGTeX/texmf/blob/master/bibtex/bst/seg/seg.bst seg.bst] * BibTeX cumulative bibliography of geophysical publications [https://github.com/SEGTeX/texmf/blob/master/bibtex/bib/seg/SEG.bib SEG.bib] * [http://www.latex2html.org/ latex2html] customizations == Downloading == Access SEGTeX through its [http://sourceforge.net/projects/segtex/ SourceForge project] by downloading [http://sourceforge.net/projects/segtex/files/ the latest stable release]. Alternatively, access the current working version by using [https://git-scm.com/ Git] and running <pre> git clone <nowiki>https://github.com/SEGTeX/texmf</nowiki> </pre> You can also [https://github.com/SEGTeX/texmf browse the GitHub repository]. == Installation == If your LaTeX installation is missing/incomplete, try installing [http://www.tug.org/texlive/ TeX Live] first. To install, put the contents of the <tt>texmf</tt> folder where LaTeX can find it. Most systems recognize <tt>$HOME/texmf</tt> as one of the default places. On MacOS X, it can be <tt>$HOME/Library/texmf</tt>. You may need to run <tt>texhash</tt> to tell LaTeX about the new files. For more help on <tt>texmf</tt>, see [http://www.tex.ac.uk/cgi-bin/texfaq2html?label=privinst โPrivateโ installations of files]. === Prerequisites === Some of the required additional LaTeX packages are: * [http://www.ctan.org/pkg/natbib natbib] support for (author,year) bibliography style of natural sciences == Download and Install SEGTEX on Mac == cd $HOME/Library git clone https://github.com/SEGTEX/texmf sudo port install texlive-latex-extra == SEG expanded abstracts == '''SEGTeX''' includes '''segabs.cls''' -- a LaTeX class for generating SEG expanded abstracts. Alternatively, you can [https://sourceforge.net/projects/segtex/files/segabs/segabs-2015.1/ download '''segabs-2015'''] -- a packaged expanded abstract template. To generate an expanded abstract without references, as SEG requires, use two LaTeX files: one for the abstract itself and the other for separating pages without references. Examples are [http://sourceforge.net/p/segtex/code/HEAD/tree/trunk/tex/latex/seg/segabs_example.ltx segabs_example.ltx] and [http://sourceforge.net/p/segtex/code/HEAD/tree/trunk/tex/latex/seg/segabs_final.ltx segabs_final.ltx] <syntaxhighlight lang="latex"> \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages={1-4}]{segabs_example} \end{document} </syntaxhighlight> This solution only works with '''pdflatex'''. Alternatively, you can separate pages using an external program. * In [http://www.adobe.com/products/acrobatpro/ Acrobat Pro], open the PDF file with references, select <tt>Document -> Pages -> Extract</tt>, and extract the reference page with the delete option (''thanks to Norm Bleistein for the tip''.) * Another helpful program is [http://www.accesspdf.com/pdftk/ pdftk] (PDF toolkit.) == Documentation == The [https://github.com/SEGTeX/texmf/tree/master/tex/latex/seg tex/latex/seg] directory contains several example files. Use the manuscript style to submit papers to '''Geophysics'''. * Manuscript style '''Geophysics''' paper [http://reproducibility.org/wikilocal/docs/geophysics_example.pdf geophysics_example] [http://reproducibility.org/wikilocal/docs/geophysics_titlepage.pdf geophysics_titlepage] [http://reproducibility.org/wikilocal/docs/geophysics_notitlepage.pdf geophysics_notitlepage] * Manuscript style '''Geophysics''' paper using <tt>endfloat</tt> [http://reproducibility.org/wikilocal/docs/geophysics_endfloat.pdf geophysics_endfloat] * Manuscript style '''Geophysics''' with author information (no double-blind review) [http://reproducibility.org/wikilocal/docs/geophysics_noblind.pdf geophysics_noblind] * Publication style two-column '''Geophysics''' paper [http://reproducibility.org/wikilocal/docs/geophysics_twocolumn.pdf geophysics_twolumn] * '''SEG''' expanded abstract (with references) [http://reproducibility.org/wikilocal/docs/segabs_example.pdf segabs_example] * '''SEG''' expanded abstract (without references) [http://reproducibility.org/wikilocal/docs/segabs_final.pdf segabs_final] * Report style paper [http://reproducibility.org/wikilocal/docs/geophysics_paper.pdf geophysics_paper] == Tips and tricks == * '''Equations, citation commands, etc. don't work inside \old.''' Enclose citations in <tt>\mbox</tt>: Instead of <tt>\old{wrong citation \cite{wrong}}</tt>, use <tt>\old{wrong citation \mbox{\cite{wrong}}}</tt>. Enclose equations in <tt>\parbox</tt> or <tt>minipage</tt>: Instead of <syntaxhighlight lang="latex"> \old{wrong equation \begin{equation} 2*2 = 5 \end{equation}} </syntaxhighlight> use <syntaxhighlight lang="latex"> \old{wrong equation \\ \begin{minipage}{\textwidth} \begin{equation} 2*2 = 5 \end{equation} \end{minipage}} </syntaxhighlight> or <syntaxhighlight lang="latex"> \old{wrong equation \\ \parbox{\textwidth}{ \begin{equation} 2*2 = 5 \end{equation} }} </syntaxhighlight> <tt>\parbox</tt> seems to work better with <tt>\eqnarray</tt>. ''Thanks to Brad Artman and James Gunning for reporting this problem.'' == Communication == The SEGTeX development is discussed at the [http://listserver.seg.org/cgi-bin/mailman/listinfo/segtex SEGTeX mailing list] maintained by Joe Dellinger. == Reproducible papers == SEGTeX is used in the [[Main Page|Madagascar]] package to produce [[Reproducible Documents|reproducible research papers]]. See a [http://reproducibility.org/wikilocal/docs/vancouver06/fomel_latex.pdf presentation on LaTeX and Web tools] from the [[RSF School and Workshop%2C Vancouver 2006]]. == LaTeX references == * LaTeX [http://www.latex-project.org/ open project] * LaTeX [http://en.wikipedia.org/wiki/LaTeX Wikipedia page] * LaTeX [http://www.latex-project.org/guides/books.html books] == News == [[Image:image21.png|frame|right|[https://imageevent.org/2021 SEG/AAPG Image Conference]]] * 07/04/2006 SEGTeX moved to [http://sourceforge.net/projects/segtex SourceForge] * 07/07/2006 version 0.8 released * 10/26/2006 version 0.8.1 released * 10/27/2006 version 0.8.2 released * 12/11/2006 version 0.8.3 and segabs-2007.1 released * 03/15/2007 version 0.8.4 and segabs-2007.2 released * 04/03/2007 version 0.8.5 and segabs-2007.3 released * 04/20/2008 version 0.8.6 and segabs-2008.1 released * 04/27/2008 version 0.8.7 and segabs-2008.2 released * 05/16/2008 version 0.8.8 released * 06/07/2009 version 0.8.9 and segabs-2009.1 released * 03/09/2011 version 0.9 and segabs-2011.1 released * 03/23/2013 version 0.9.1 and segabs-2013.1 released * 03/11/2014 version 0.9.2 and segabs-2014.1 released * 03/06/2015 version 0.9.3 and segabs-2015.1 released * 07/28/2015 SEGTeX repository moved to [https://github.com/SEGTeX/texmf GitHub] * 03/07/2016 version 0.9.5 and segabs-2016.1 released * 09/05/2018 version 0.9.6 released * 08/31/2021 version 0.9.7 and segabs-2021.1 released * 10/12/2021 version 0.9.8 released
Summary:
Please note that all contributions to Madagascar are considered to be released under the GNU Free Documentation License 1.3 or later (see
My wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Getting Madagascar
download
Installation
GitHub repository
SEGTeX
Introduction
Package overview
Tutorial
Hands-on tour
Reproducible documents
Hall of Fame
User Documentation
List of programs
Common programs
Popular programs
The RSF file format
Reproducibility with SCons
Developer documentation
Adding programs
Contributing programs
API demo: clipping data
API demo: explicit finite differences
Community
Conferences
User mailing list
Developer mailing list
GitHub organization
LinkedIn group
Development blog
Twitter
Slack
Tools
What links here
Related changes
Special pages
Page information