Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
605 views
in Technique[技术] by (71.8m points)

visual-studio - 如何在LateX中编写一个小节?(How do I write a sub-section in LateX?)

I'm writing a Cockburn table and I need a subparagraph for an extension like the ones you can see in the picture (for example "3a1. Renegotiate order."):

(我正在编写一个Cockburn表,并且需要一个扩展子段,例如在图片中可以看到的扩展(例如“ 3a1。Renegotiate order。”):)

example

()

This is my code:

(这是我的代码:)

documentclass[a4paper]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}

usepackage{multirow}
usepackage{float} 
usepackage{tabularx}

egin{document}
egin{table}[H]    

defarraystretch{1.5}


egin{tabularx}{linewidth}{|l|X|X|X|}

  hline Use Case #N & multicolumn{3} {l|}{Login Mockup} \ hline Goal in
  Context & multicolumn{3}{>{hsize=dimexpr 3hsize+4abcolsep+2arrayrulewidth
elax}X|}{%
    L'utente effettua il login sulla piattaforma.  } \
 hline Preconditions &
  multicolumn{3}{>{hsize=dimexpr 3hsize+4abcolsep+2arrayrulewidth
elax}X|}{%
    L'utente seleziona Login dal menù laterale. } \
 hline Success End Conditions &
  multicolumn{3}{>{hsize=dimexpr 3hsize+4abcolsep+2arrayrulewidth
elax}X|}{%
    L'utente visualizza la home page.} \
 hline Failed End Conditions &
  multicolumn{3}{>{hsize=dimexpr 3hsize+4abcolsep+2arrayrulewidth
elax}X|}{%
    Viene visualizzato un messaggio di errore Login fallito che invita l'utente a riprovare o a registrarsi se non ha un account. } \
 hline Primary Actor &
  multicolumn{3}{>{hsize=dimexpr 3hsize+4abcolsep+2arrayrulewidth
elax}X|}{%
   Utente non registrato. } \
 hline Trigger & multicolumn{3}{>{hsize=dimexpr 3hsize+4abcolsep+2arrayrulewidth
elax}X|}{%
    L'utente conferma i dati del login premendo sul tasto Login.} \

  hline multirow{2}{*}{Description} & Step & User Action & System \

  cline{2-4} & 1 & L'utente inserisce i dati nei relativi campi & \
  cline{2-4} & 2 & L'utente invia i dati premendo sul pulsante "Login" & \
  cline{2-4} & 3 & L'applicativo invia i dati al server e prova il login & \
  cline{2-4} & 4 & L'applicativo completa il login e visualizza la home page & \
 hline multirow{2}{*}{Extensions} & Step &
  User Action & System \
 cline{2-4} & 1a & L'utente richiede l'accesso con Facebook & \ hline
  multirow{2}{*}{Subvariations} & Step & User Action & System \

  cline{2-4} & & & \
 hline Notes & multicolumn{3}{l|}{} \
 hline


end{tabularx}

end{table}
end{document}

I have to insert the subparagraph in this line before the last &

(我必须在最后一行&之前的这一行中插入该分段)

 cline{2-4} & 1a & L'utente richiede l'accesso con Facebook & \ hline
  ask by Gibser translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...