我正在尝试为我的简历列出一份技能清单,并尝试了各种方法让某些内容跨越多行,但都无济于事。它看起来就像垃圾一样。
\documentclass{resume} % Use the custom resume.cls style
\usepackage[left=0.75in,top=0.6in,right=0.75in,bottom=0.6in]{geometry} % Document margins
\usepackage{textgreek}
\usepackage{textcomp}
\begin{document}
\begin{rSection}{Skills}
\begin{table}[h]
\centering
\begin{tabular}{ccc}
BSL 2 Aseptic \& Sterile Technique & Polyacrylamide \& Agarose Gel Electrophoresis \\
Cell Culture & SDS-PAGE \\
Streak \& Spread Plating & Western Blotting \\
Light \& Phase-Contrast Microscopy & Chromatography: Column, Thin-Layer, Gas\\
Polymerase Chain Reaction (PCR) & Protein Isolation/Quantification/Crystallization\\
Restriction Enzyme Digests & Spectrophotometry: Bradford Protein Assay, Lowry Protein Assay, Edelhoch Protein Assay\\
Gram Staining Techniques & Gene Expression Analysis\\
Gene Cloning and Transformation & Coliform Testing (Edvotek, Phenol Red Lactose, Endo-Agar)\\
DNA construct design & Microbial Biochemical characterization (IMViC, Enterotube II, Oxi/Ferm Tube II, Api 20NE, API 20E)\\
DNA & Plasmid Isolation & Spectroscopy: IR \textsuperscript{1}H NMR, Fluorescence\\
Phage P1 Transduction & Chromatography: Column, Thin-Layer, Gas\\
Plaque Assay & Y\\
Antibiotic assay (MIC) & Y\\
Conjugation-based Transformation & Y\\
Plant Single Cell Isolation & Y\\
Plant Tissue Culture & Y\\
\end{tabular}
\label{default}
\end{table}%
\end{rSection}
我很感谢你们的帮助。如果你们能解释一下在这种情况下该怎么做,我也会很高兴,这样我就知道以后该怎么做了!我不想只是来这里问一个又一个问题。
答案1
您可以按照上面的建议创建一个逐项列表,但如果您的表格中有一段文本,则最好在表格中创建一个段落列。您可以使用表格环境进行设置:
\begin{tabular}{cp{5.0cm}c}
其中 p{宽度} 创建一个垂直顶部对齐的段落。
您的文本中的斜线存在一些问题。按照您的做法,即 Protein Isolation/Quantification/Crystallization,LaTeX 会将其视为一个单词,并且不知道如何拆分它们。所以它不会拆分。您必须添加 \slash{} 宏,使其看起来像:
蛋白质分离\slash{} 定量\slash{} 结晶
这应该可以让 LaTeX 正确排版。我无法运行你的 MWE,但你的表格代码应该如下所示:
\begin{tabular}{cp{5.0cm}c}
BSL 2 Aseptic \& Sterile Technique & Polyacrylamide \& Agarose Gel Electrophoresis \\
Cell Culture & SDS-PAGE \\
Streak \& Spread Plating & Western Blotting \\
Light \& Phase-Contrast Microscopy & Chromatography: Column, Thin-Layer, Gas\\
Polymerase Chain Reaction (PCR) & Protein Isolation\slash{} Quantification\slash{} Crystallization\\
Restriction Enzyme Digests & Spectrophotometry: Bradford Protein Assay, Lowry Protein Assay, Edelhoch Protein Assay\\
Gram Staining Techniques & Gene Expression Analysis\\
Gene Cloning and Transformation & Coliform Testing (Edvotek, Phenol Red Lactose, Endo-Agar)\\
DNA construct design & Microbial Biochemical characterization (IMViC, Enterotube II, Oxi\slash{} Ferm Tube II, Api 20NE, API 20E)\\
DNA & Plasmid Isolation & Spectroscopy: IR \textsuperscript{1}H NMR, Fluorescence\\
Phage P1 Transduction & Chromatography: Column, Thin-Layer, Gas\\
Plaque Assay & Y\\
Antibiotic assay (MIC) & Y\\
Conjugation-based Transformation & Y\\
Plant Single Cell Isolation & Y\\
Plant Tissue Culture & Y\\
\end{tabular}
这应该能给你带来你所期待的休息。
答案2
使用包tabularx
然后:
\noindent
\begin{tabularx}{\linewidth}{@{}p{5cm}Xp{5cm} @{}}
BSL 2 Aseptic \& Sterile Technique & Polyacrylamide \& Agarose Gel
Electrophoresis \\
Cell Culture & SDS-PAGE \\
Streak \& Spread Plating & Western Blotting \\
Light \& Phase-Contrast Microscopy & Chromatography: Column, Thin-Layer,
Gas\\
Polymerase Chain Reaction (PCR) & Protein
Isolation/Quantification/Crystallization\\
Restriction Enzyme Digests & Spectrophotometry: Bradford Protein Assay,
Lowry Protein Assay, Edelhoch Protein Assay\\
Gram Staining Techniques & Gene Expression Analysis\\
Gene Cloning and Transformation & Coliform Testing (Edvotek, Phenol Red
Lactose, Endo-Agar)\\
DNA construct design & Microbial Biochemical characterization (IMViC,
Enterotube II, Oxi/Ferm Tube II, Api 20NE, API 20E)\\
DNA & Plasmid Isolation & Spectroscopy: IR \textsuperscript{1}H NMR,
Fluorescence\\
Phage P1 Transduction & Chromatography: Column, Thin-Layer, Gas\\
Plaque Assay & Y\\
Antibiotic assay (MIC) & Y\\
Conjugation-based Transformation & Y\\
Plant Single Cell Isolation & Y\\
Plant Tissue Culture & Y\\
\end{tabularx}
但是table
在简历中使用环境是没有意义的,没有任何内容可言。