Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing subscripts for Organic Chemistry HW Program

Status
Not open for further replies.

MeathooK427

Technical User
Feb 5, 2010
3
US
I have searched everywhere on whether or not this is possible with Fortran. My teacher has written a program for the online HW in the Organic Chemistry class I'm taking. He's asked me if I know of a way to write subscripts so that he can properly write for example...methane CH3, with the 3 being a subscript. Right now he's just writing on the next line below...which looks OK, but not as good as it could. I'm not sure as to what version of Fortran it's written in, but I know the source is an ASCII file. Any help would be appreciated.
 
It may be possible but it depends on which OS you're using and how you want to display it.

1) Do you want it printed on paper or displayed on a screen
2) Are all the fonts the same size or are there several sizes?
 
Well the program is accessed with Putty...so we just need it to be displayed on the screen. Putty has a log file, and it doesn't matter if the subscripts work in the log file, just when students are accessing the HW through putty. All of the fonts are the same size.
 
The instructor is programming with XP, and most of the students are accessing the app on mostly windows based machines, however you can access it through a linux/unix terminal w/ SSH.
 
Subscripts can be done with graphical packages but if it is just command line stuff, you can't do any better than what you're doing now. Most fonts don't have subscripts.
 
Just wondering whether you could do it as an HTML page since HTML supports subscripts. If it is Linux then have a look at PHP, if it is windows, have a look at ASP (if you don't wish to go down the .net route).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top